sap uniemens

40
User Guide | INTERNAL 2020-07-10 SAP UniEmens © 2020 SAP SE or an SAP affiliate company. All rights reserved. THE BEST RUN

Upload: others

Post on 06-May-2022

30 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SAP UniEmens

User Guide | INTERNAL2020-07-10

SAP UniEmens

© 2

020

SAP

SE o

r an

SAP affi

liate

com

pany

. All r

ight

s re

serv

ed.

THE BEST RUN

Page 2: SAP UniEmens

Content

1 SAP UniEmens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.1 Introduction to UniEmens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.2 What's New in the UniEmens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.3 Customizing Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

UniEmens Customization Tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6DAQ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

1.4 Managing Social Insurance Data at Employee Level. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Selection Screen of the RPCUEMI0 Report. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Main Elements for UniEmens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13ANF Main Elements for UniEmens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19COVID-19 Main Elements for UniEmens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23SI Exemption Incentives for Hiring of Employees Under 35 of Age. . . . . . . . . . . . . . . . . . . . . . . . 25

1.5 Managing Agricultural Workers Data in UniEmens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251.6 UniEmens Reports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

UniEmens Declaration Management (RPCUEMI0). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27UniEmens Unified Reports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Deleting UniEmens Individual Results. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

1.7 Transactions for UniEmens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

2 INTERNALSAP UniEmens

Content

Page 3: SAP UniEmens

1 SAP UniEmens

1.1 Introduction to UniEmens

This guide is a single source of information for the UniEmens solution.

UniEmens is a social insurance report where companies must send monthly to INPS (Istituto Nazionale della Previdenza Sociale) an XML with information related to SI data from employees and employer.

The UniEmens is an unification of the old reports Emens and DM10.

The main report (RPCUEMI0) can generate a single XML file for INPS (Private sector), ex-INPDAP (Public sector), ex-ENPALS employees (Sports and entertainment sector), ex-DM10, and Agricultural Workers (Farm sector) data.

UniEmens FAQ Note

In this SAP Note 1406119 you can find known issues and updates about UniEmens. There are also several documents attached, such as customizing, correction packages, other important SAP Notes and so on.

1.2 What's New in the UniEmens

In this chapter, you can find what are the news enhancements of UniEmens.

Improvements's descriptions

Improvement Description

Allow execution for employees without cluster In the selection screen of the report RPCUEMI0 was added a field Includere CID senza Risultati. It allows generating all employees se­lected in the period, even for those without payroll result.

Horizontal Log In the output of the report RPCUEMI0 a new button Uniemens Orizzontale was added. You can generate the horizontal log data from employees and export it to Excel.

You can also customize it and select columns not to be displayed.

SAP UniEmensSAP UniEmens INTERNAL 3

Page 4: SAP UniEmens

Improvement Description

Forzatura ● In the report RPUDUII0 output, when in edit mode, the column Seq Number (SEQNO) was splitted into two columns: Sez.seq (PARENT_SEQNO) and Elem. seq. (SIBLING_SEQNO). To facili­tate the way you insert data in these fields, they were changed from hexadecimal base to decimal base.

● The button Proppore Settimana/Giorno was added. It calcu­lates data from the two sections: <Settimana> and <Giorno>. It proposes how the employees’ result is in the selected month that is being run. The values are based in the same logic that generates the information of the RPCUEMI0 report. You can also change the values if needed.

● You can select multiple rows for deleting.● The button Cancellare tutti gli inserimenti was added. It allows

to delete the whole selection.

DM10 execution for more than one employee In the output of the report, RPCUEMI0 you can now select all em­ployees in the list and generate a list with employees’ data.

Lunghezza field The name of the field P15_APPEARS has changed from Lunghezza dati to Tipo di suddivisone dell’importo.

4 INTERNALSAP UniEmens

SAP UniEmens

Page 5: SAP UniEmens

Improvement Description

Change on the section name from Marcare come inviato to Opzioni di elaborazione del file

In the report RPUESBI0, the section has three different options, that were reorganized:

● Marcare come inviato: when you select this checkbox, the XML file containing the UniEmens declaration is marked as sent to the INPS. To mark the file as sent, its status must have the value 'blank' (Iniziale / no inviato) or 10 (Dichiarazione da In­viare con attributo "ELIMINA"). In other cases, the pre-existing status, which indicates that the declaration has already been sent won't be changed.The possible values are:○ " " Iniziale / non inviato○ 10 Dichiarazione da Inviare con attributo "ELIMINA"○ 20 Dichiarazione Attuale inviata○ 25 Dichiarazione inviata con attributo "ELIMINA"○ 30 Dichiarazione precedente○ 40 Dichiarazione anteriore a quella precedente○ 50 Dichiarazione originale già cancellata (attributo "ELIM­

INA")○ 54 Dichiarazione cancellata (attributo "ELIMINA") prece­

dente○ 90 Dichiarazione con errori

● Eliminare la marcatura: When you select this checkbox, the sta­tus of the file is returned to the previous status or is deleted. To delete this option, the status of the file must have the value 20 (Dichiarazione Attuale inviata) or 25 (Dichiarazione inviata con attributo "ELIMINA"). At the end, the new status will be respec­tively "blank" (Iniziale / non inviato) or 10 (Dichiarazione da In­viare con attributo "ELIMINA").The possible values are exactly the ones as in Marcare come inviato option.

● Esecuzione produttiva: When you select the checkbox, you run the program in a productive manner, the program updates and stores the data inserted.

Report data for Agricultural Workers (Farm sector). It is now possible to report Agricultural Workers (Farm sector) data in UniEmens.

1.3 Customizing Steps

SAP UniEmensSAP UniEmens INTERNAL 5

Page 6: SAP UniEmens

1.3.1 UniEmens Customization Tables

The tables that UniEmens consumes are the following:

UniEmens's Tables

Table Description

Customizing tables for the XML generation:

T5ITUS In this table it is possible to register new sections to be used in UniEmens.

T5ITUG Once a section and fields are created in T5ITUS and T5ITUD, respectively, it is now possible to create the Map­ping for the XML Generation.

T5ITUI This table is used to input data directly in the UniEmens cluster without further processing. This view is used for a mass input of individual data.

T5ITUF In this table you configure forms to the XML generation.

Customizing tables related to DM10:

T5ITNP This table defines the relationship between a contribution code and a branch in XML.

T5ITUD In this table you fill the field types for each of the fields gen­erated for UniEmens.

T5ITNR This table defines calculation rules.

T5ITNT This table defines the relationship between a contribution code and Azienda individual code.

T5ITN2 In this table you define the conditions.

T5ITUP This table is used to configure the STEPs processes. You can define function module to be ran in which step you prefer.

1.3.2 DAQ

UniEmens uses DAQ as a source of information, it collects data and links the data with what is customized in T5ITUD table, and then generates the elements in the XML.

The tables involved in this process are:

6 INTERNALSAP UniEmens

SAP UniEmens

Page 7: SAP UniEmens

DAQ`s Tables

Tables Description

T596A In this table, you define the application UEPY.

T5F99F0 In this table, you define the DAQ's forms.

T5F99FS In this table, you define sections that will be used in the Form and their respective structures.

T5F99FF In this table, you define the fields that will be used in the Form and how they are filled.

T5F99FD In this table, you define the field for the sections of each Form.

T5F99FV In this table, you define the wage type groups that fills in the fields from RT table.

T5F99FX In this table, you define the wage types for a wage type group.

T5F99FC In this table, you define conditions for DAQ fields.

T5F99FW In this table, you define which wage types will be used in each wage type group.

As UniEmens consumes too many transactions, there are 2 transactions that help to maintain DAQ views, by grouping all views.

They are:

● HR99S00_DAQVIEW● HR99S00_DAQMGR

1.4 Managing Social Insurance Data at Employee Level

The Social Insurance contributions are calculated at employee level to acquire employee information to be displayed on the sections of UniEmens declaration.

Here follows an example on how to generate the Social Insurance data only at employee level:

1. Access the RPCUEMI0 report.2. Select the employees, or any type of group of employees to calculate.3. Input the relevant year and month parameters

○ It is not necessary to select Rettifiche per retrocalcoli checkbox, this is used for other purposes of UniEmens, the parameter Elab. obbl. del periodo is used to force the calculation since a specified year and month. This parameter is optional.

4. Select the Società (Company Code BUKRS) and Raggrupamento DM10 to be processed and specify, if needed, the INPS codes to be filtered.

SAP UniEmensSAP UniEmens INTERNAL 7

Page 8: SAP UniEmens

5. Uncheck the checkbox Calcola Elementi UniEmens.6. Check the checkbox Calcola dati previdenziali.

The parameter Esecuzione Produttiva determines if this execution is only a test run (no update) or if it is a productive run, which stores the results on the database.

Generating Ex-DM10 at Employee Level

If you execute the steps, the result is stored in the database and you can see it in the RPCLSTI1 Report.

To view results:

1. Select Dati Dipendenti2. Select the employees to be viewed.3. Specify a period range.4. Press Run

8 INTERNALSAP UniEmens

SAP UniEmens

Page 9: SAP UniEmens

The selection should be as in the following example:

SAP UniEmensSAP UniEmens INTERNAL 9

Page 10: SAP UniEmens

The output is similar to this example (for one employee):

To display the individual DM10 data:

1. Select the employee, by marking the row.2. Click the button Dati ex-DM10.3. Another screen is then displayed containing the details of DM10 codes and amounts for the employee.

How to Manage Social Insurance Data at Company Level

If you select the Calcola ex-DM10 (per pos.INPS) field in the selection screen of the report RPCUEMI0, it generates DM10 data not only at employee level, but also at company level.

1.4.1 Selection Screen of the RPCUEMI0 Report

The UniEmens report is RPCUEMI0.

10 INTERNALSAP UniEmens

SAP UniEmens

Page 11: SAP UniEmens

Selection Screen

● Selezione○ C.I.D.: The personnel number uniquely identifies employees and is used to display and maintain

infotypes.

SAP UniEmensSAP UniEmens INTERNAL 11

Page 12: SAP UniEmens

○ Area calc. retr.: A payroll accounting area (which is abbreviated to payroll area) is an organizational unit containing all of the employees for whom the payroll runs at the same time.

● Periodo di elaborazione○ Periodo (mese - anno): it refers to month and year of the process.○ Elab. obbl. del periodo: insert the period that you want to run the UniEmens rettifica.○ Rettifiche per retrocalcoli: by checking this option, the RPCUEMI0 report checks IT0003 to find the

retro date. In this way, the UniEmens is retro calculated until the date defined in the IT0003.● Raggrupamento/Codice INPS

○ Società: Defines for which company code the RPCUEMI0 report is executed.○ Raggruppamento DM10: the range defined in this option is used, when selecting entries in T5ITNB

table, then, when initializing RPCUEDI0 report. During the process employee, this data is used to filter the IT0154.

○ Codice INPS: During the process employee, this data is used to filter the IT0154.○ Sede lavorativa: During the process employee, this data is used to filter the IT0154.

● Opzioni di elaborazione○ Calcola dati previdenziali: If selected, the Social insurance (SI) is recalculated. If not selected, the

options “Calcola ex-DM10 (per pos.INPS)”, “Consolida dati ex-DM10” and “Vis. Dettagli ex-DM10 per Dip” are blocked.

○ Esecuzione produttiva: If selected, the report runs and save the data generated in the cluster.○ Calcola ex-DM10 (per pos.INPS): If selected, the report calculates the ex-DM10 data by calling the

RPCUEDI0 report. If not selected, the options "Consolida dati ex-DM10" and " Vis. dettagli ex-DM10 per Dip" are blocked.

○ Consolida dati ex-DM10: by selecting this option, the cluster generated by RPCUEDI0 will be “freezed” to avoid any additional change.

○ Vis. Dettagli ex-DM10 per Dip: If selected, a log, with details regarding ex-DM10 by employee, is generated.

○ Calcola Elementi UniEmens: Generate branchs from UniEmens.○ Dett. x dip. in background: Executes a background job with an ALV with employee’s details.○ Calcola INPDAP: Calculates branchs for INPDAP declaration.○ Calcola ramo agricolo: Calculates branches for Agricultural Workes data declaration (Farm Sector).○ Includere CID senza risultati: It allows generating all employees selected in the period, even for those

without payroll result.

Output

● Raggruppamento/Codice INPS○ DM AAA: it displays the number of employees processed.○ Totali

○ Denuncia Aziendale: it contains all information about employees (denuncia individuale).○ Messaggi: it displays all messages of the report.

● PeriodoIt displays all periods that have been processed. It shows one node for each processed period:○ Lista C.I.D: here you can see the individual results for each employee selected.

The UniEmens Orizzontale button allowas you to generate the horizontal log data from employees and export it to Excel. You can also customize it and select columns not to be displayed.

12 INTERNALSAP UniEmens

SAP UniEmens

Page 13: SAP UniEmens

In the Dati ex-DM10 button allows execution for more than one employee.

Generating Agriculture Sector Branch

1. Configure the IUAGR feature, where you identify whether an employee is from agriculture sector or not:

ExampleCIDA=IT01

CIDS=03

TPMA=IT03

2. Select the checkbox Calcola Ramo Agricolo in the selection screen.3. You can see the results in the output.

1.4.2 Main Elements for UniEmens

In this chapter you can find main elements for UniEmens, in the first table you can find the description for the elements, and in the second table you can find the technical information of the elements.

The source of the main elements are:

Description of the Main Elements

Section Element Description

<PosContributiva> <Matricola> This field is based on MODMN (Raggrup­pamento calcolo DM10) and INPSC (Codice INPS) fields from IT0154. The UniEmens report searchs in the T5ITNB table to get the Matricola INPS from INPSM field.

<DenunciaIndividuale> <CFLavoratore> This field is filled in with values that comes from PERID field from IT0002.

<DenunciaIndividuale> <Cognome> This field uses the DAQ (NACHN field) to get the value of NACHN field from IT0002.

<DenunciaIndividuale> <Nome> This field uses the DAQ (VORNA) field to get the value of VORNA field from IT0002.

SAP UniEmensSAP UniEmens INTERNAL 13

Page 14: SAP UniEmens

Section Element Description

<RecapitiLav> <CelLav> This field has the CELL field, from DAQ, customized but there is no standard source customized.

<RecapitiLav> <EmailLav> This field has the EMAIL field, from DAQ, customized but there is no stand­ard source customized.

<RecapitiLav> <TelLav> This field has the TELF field, from DAQ, customized but there is no standard source customized.

<DenunciaIndividuale> <Qualifica1> It comes from CODQU field from T5ITNG table. The report starts from the payroll area TRFAR and TRFGB from IT0008, CTTYP from IT0016 and TRFKZ field from T503 table.

<DenunciaIndividuale> <Qualifica2> The value of this field comes from AR770 field from IT0155. In case it is not filled, the system checks if the em­ployee is full time or not, if he is, the value is "F", if not, the value is "P".

<DenunciaIndividuale> <Qualifica3> The value of this field comes from CONTR field from IT0154. If not, it comes from CONTR field from T5ITNG table.

<DenunciaIndividuale> <TipoContribuzione> The value of this field comes from CDRAP field from T5ITNG table.

<Assunzione> <TipoAssunzione> This field uses the DAQ (TPASS field) where the function module HR_IT_UNIEM_DAQ_HIFI is custom­ized. This function fills in this element based on EVOUT field from T5IT32 ta­ble. This entry from this table is searched based on the event type found in T5IT34 table for this element.

14 INTERNALSAP UniEmens

SAP UniEmens

Page 15: SAP UniEmens

Section Element Description

<Cessazione> <TipoCessazione> This field uses the DAQ TPCSS field) where the function module HR_IT_UNIEM_DAQ_HIFI is custom­ized. This function fills inn this element based on EVOUT field from T5IT32 ta­ble. This entry from this table is searched based on the event type found in T5IT34 table for this element.

<DatiRetributivi> <TipoLavoratore> This field uses the DAQ TPLAV field) where the function module HR_IT_UNIEM_DAQ_TPLAV_EXAMPLE which is just an example of how cus­tomer should implement their own logic. Anyway, in case the IT0154 is fil­led, the system gets the last two digits of TIPEAPPREND field from this info­type.

<ListaCollaboratori> <CAP> Not filled by SAP.

<ListaCollaboratori> <ISTAT> Not filled by SAP.

<Collaboratore> <CFCollaboratore> If a COCOCO employee, the value of this field comes from PERID field from IT0002.

<Collaboratore> <Cognome> If a COCOCO employee, the value of this field comes from the DAQ (NACHN field) to get the value of NACHN field from IT0002.

<Collaboratore> <Nome> If a COCOCO employee, the value of this field comes from the DAQ (VORNA field) to get the value of VORNA field from IT0002.

<Collaboratore> <CodiceComune> If a COCOCO employee, the value of this field comes from the DAQ (CDCOM field) which has the function module HR_IT_UNIEM_DAQ_COMUNE_LAV cus­tomized. This function module fills this element with field MUNICCDFS from T5ITM4 table. This table is read based on MUNIC field from T5ITND table which is read based on MODMN and SEDEL fields from IT0154.

SAP UniEmensSAP UniEmens INTERNAL 15

Page 16: SAP UniEmens

Section Element Description

<Collaboratore> <TipoRapporto> If a COCOCO employee, the value of this field comes from the DAQ (CDATT field) to get the value of CODATT field from IT00154.

<Collaboratore> <CodiceAttivita> If a COCOCO employee, the value of this field comes from the DAQ (CATTI field) to get the value of CDATTIV field from IT00154.

<Collaboratore> <Imponibile> If a COCOCO employee, the value of this field comes from the DAQ (IMPOC field) to get the value from IMPC DAQ wage type group.

<Collaboratore> <Aliquota> If a COCOCO employee, the value of this field comes from the DAQ field (TAXR field) which uses the function module HR_IT_UNIEM_DAQ_GET_ALI­QUOTA that sums the PRCDP and PRCDI fields from T5ITC1 table.

<Collaboratore> <AltraAss> If a COCOCO employee, the value of this field comes from the DAQ (CDALT field) to get the value of CODALTR field from IT0154.

<ListaPosPA> <PRGAZIENDA> Not filled by SAP.

<ListaPosPA> <CFRappresentanteFirmatario> Not filled by SAP.

<EnteAppartanenza> <CFAzienda> Not filled by SAP.

<EnteAppartanenza> <PGRAZIENDA> Not filled by SAP.

<EnteAppartanenza> <ISTAT> Not filled by SAP.

<EnteAppartanenza> <RagSocAzienda> Not filled by SAP.

<EnteAppartanenza> <FormaGiuridica> Not filled by SAP.

<SedeServizio> <CFAzienda> Not filled by SAP.

<SedeServizio> <PGRAZIENDA> Not filled by SAP.

<SedeServizio> <IdMEF-SPT> Not filled by SAP.

<SedeServizio> <RagSocAzienda> Not filled by SAP.

16 INTERNALSAP UniEmens

SAP UniEmens

Page 17: SAP UniEmens

Section Element Description

<D0_DenunciaIndividuale> <CFLavoratore> If a DMA employee, it comes from PERID field from IT0002

<D0_DenunciaIndividuale> <Cognome> If a DMA employee, the value of this field comes from PERID field from IT0002

<D0_DenunciaIndividuale> <Nome> If a public sector employee, the value of this field comes from the DAQ (D0002 field from UEPS sub-application) to get the value of NACHN field from IT0002.

<DatiSedeLavoro> <CodiceComune> Not filled by SAP.

<DatiSedeLavoro> <CAP> Not filled by SAP.

<DenunciaIndividuale> <TipoRetrMal> This element is filled by the Recupera le informazioni relative alla il tipo trattamento retributivo (HRPAYIT_UNIEM_DAQ_TIPORETRMAL) function module used in the Tipo Retributivo in caso di Malattia (TREMA) DAQ field of Moduli: definizione campo (V_T5F99FF) table view. The function module calls the ITRAL feature and it will be evaluated to get the value of Tipo Retributivo in caso di Malattia accord­ing to the customizing of the feature it­self.

Technical description of Main Elements

In this section you find the technical descriptions of main elements.

Technical description of Main Elements

Section Element Technical Section Technical Element

<PosContributiva> <Matricola> VARINQLA MATRICOLA

<DenunciaIndividuale> <CFLavoratore> LAVDIPENDE CODICEFISC

<DenunciaIndividuale> <Cognome> LAVDIPENDE COGNOME

<DenunciaIndividuale> <Nome> LAVDIPENDE NOME

SAP UniEmensSAP UniEmens INTERNAL 17

Page 18: SAP UniEmens

Section Element Technical Section Technical Element

<RecapitiLav> <CelLav> RECAPITILA CELLAV

<RecapitiLav> <EmailLav> RECAPITILA EMAILLAV

<RecapitiLav> <TelLav> RECAPITILA TELLAV

<DenunciaIndividuale> <Qualifica1> LAVDIPENDE QUALIFICA1

<DenunciaIndividuale> <Qualifica2> LAVDIPENDE QUALIFICA2

<DenunciaIndividuale> <Qualifica3> LAVDIPENDE QUALIFICA3

<DenunciaIndividuale> <TipoContribuzione> LAVDIPENDE TIPOCONTRB

<Assunzione> <TipoAssunzione> ASSUNZIONE TIPOASSUNZ

<Cessazione> <TipoCessazione> CESSAZIONE TIPOCESSAZ

<DatiRetributivi> <TipoLavoratore> DATIRETRIB TPLAVRTORE

<ListaCollaboratori> <CAP> LISTACOLLA CAP

<ListaCollaboratori> <ISTAT> LISTACOLLA ISTAT

<Collaboratore> <CFCollaboratore> COLLABORAT CFCOLLABOR

<Collaboratore> <Cognome> COLLABORAT COGNOMECOL

<Collaboratore> <Nome> COLLABORAT NOMECOLLAB

<Collaboratore> <CodiceComune> COLLABORAT COMUCOLLAB

<Collaboratore> <TipoRapporto> COLLABORAT TPRAPPORTO

<Collaboratore> <CodiceAttivita> COLLABORAT CODICEATTV

<Collaboratore> IMPONIBILC COLLABORAT IMPONIBILC

<Collaboratore> <Aliquota> COLLABORAT ALIQUOTA

<Collaboratore> <AltraAss> COLLABORAT ALTRAASSIC

<ListaPosPA> <PRGAZIENDA> LISTAPOSPA PRGAZIENDA

<ListaPosPA> <CFRappresentanteFirma­tario>

LISTAPOSPA CFRAPPFIRM

<EnteAppartanenza> <CFAzienda> ENTEAPPART CFAZIENDA

<EnteAppartanenza> <PGRAZIENDA> ENTEAPPART PRGAZIENDA

18 INTERNALSAP UniEmens

SAP UniEmens

Page 19: SAP UniEmens

Section Element Technical Section Technical Element

<EnteAppartanenza> <ISTAT> ENTEAPPART ISTAT

<EnteAppartanenza> <RagSocAzienda> ENTEAPPART RAGSOCAZIE

<EnteAppartanenza> <FormaGiuridica> ENTEAPPART FORMAGIURI

<SedeServizio> <CFAzienda> SEDESERVIZ CFAZIENDA

<SedeServizio> <PGRAZIENDA> SEDESERVIZ PRGAZIENDA

<SedeServizio> <IdMEF-SPT> SEDESERVIZ IDMEF-SPT

<SedeServizio> <RagSocAzienda> SEDESERVIZ RAGSOCAZIE

<D0_DenunciaIndividuale> <CFLavoratore> DENUNCIAIN CFLAVORAT

<D0_DenunciaIndividuale> <Cognome> DENUNCIAIN CFLAVORAT

<D0_DenunciaIndividuale> <Nome> DENUNCIAIN COGNOME

<DatiSedeLavoro> <CodiceComune> DATISEDELA CODICECOMU

<DatiSedeLavoro> <CAP> DATISEDELA CAP

<DenunciaIndividuale> <TipoRetrMal> LAVDIPENDE TIPORETRMA

<PosAgri> <CIDA> POSAGRI CIDA

<PosAgri> <TipoManodopera> POSAGRI TIPOMANODO

<PosAgri> <CIDASomministrata> POSAGRI CIDASOMMIN

<DenunciaAgriAziendale> <QuadraturaNumLav> DENAGRIAZI QUADNUMLAV

<DenunciaAgriAziendale> <FlagAutRisPreInt> DENAGRIAZI FLAGAUTRPI

<DenunciaAgriAziendale> <DichBeneficiContributivi> DENAGRIAZI DICHBENCON

<DenunciaAgriAziendale> <DichTrattQuotaLav> DENAGRIAZI DICHTRQLAV

1.4.3 ANF Main Elements for UniEmens

SAP UniEmensSAP UniEmens INTERNAL 19

Page 20: SAP UniEmens

Description of the Main Elements for ANF

Section Element Description

<InfoAggCausaliContrib> <CodiceCausale> This element is filled with one of the fol­lowing 3 values:

● 0035: For ANFs for current period.● L036: For positive values of ANF

for previous periods.● F110: For negative differences of

ANF for previous periods.

<InfoAggCausaliContrib> <IdentMotivoUtilizzoCausale> This element is filled with the claimer's fiscal code. This information comes from Infotype 0160, CLAIMER_FISCAL_CODE field of the rel­evant ANF.

<InfoAggCausaliContrib> <AnnoMeseRif> This element is filled with the period that an ANF refers. The expected for­mat is YYYY-MM.

20 INTERNALSAP UniEmens

SAP UniEmens

Page 21: SAP UniEmens

Section Element Description

<InfoAggCausaliContrib> <ImportoAnnoMeseRif> This element must be filled with the rel­evant ANF amount paid. This informa­tion come from different sources:

● Current payroll period:○ In this scenario, it's necessary

to look for the relevant wage type in the T5ITAT table using the 'INPS' ANF fake-code (WTGEN field). Usually, the wage type is /670.

○ Just look in the current payroll period that is being ran.

● Payroll Retro:○ It's necessary to look for the

relevant wage type in the T5ITAT table using the 'INPS' ANF fake-code (WTGEN field). Usually, the wage type is /670.

○ For this scenario, in case there’s a retro calculation in the current period, the report analyzes each period retro paid, that is, the ones that have In-period different from the For-period.

○ Each time an ANF retro calcu­lated is identified, it's also necessary to consider the possible payment done in the Previous run (SRTZA = 'P') and deduct from the actual payroll run.

● Previous Period Payment for ANF:○ It's necessary to look for the

relevant wage type in the T5ITAT table using the 'INP3' ANF fake-code (WTGEN field). Usually, the wage type is /672.

○ Each time this wage type ap­pears in the current payroll period, it means that a retro calculation was done and this

SAP UniEmensSAP UniEmens INTERNAL 21

Page 22: SAP UniEmens

Section Element Description

wage type should be linked to a date in the V0 table (by means of the V0TYP and V0ZNR fields).

○ Look in the current payroll pe­riod that is being ran;

1.4.3.1 Disabling the Generation of ANF in the <InfoAggCausaliContrib> Element

Use Configuration Option IUANF to enable or disable the generation of ANF in the <InfoAggCausaliContrib> element.

The possible values are:

● 1 (On): this value enables the generation of ANF via the <InfoAggCausaliContrib> element.● Blank or 0 (Off): this value disables the generation of ANF via the <InfoAggCausaliContrib> element.

To change the value of the ABILITA ANF NEL RAPPORTO UNIEMENS (IUANF) Configuration Option:

1. Run transaction SM30.2. Change the Value of the existing entry in Valori cliente per opzioni di configurazione (V_T5F99K2) table

view as follows:○ Codice Paese (Country grouping): 15○ Opzione (Option): IUANF○ Inizio Validità (Start Date): 01.01.1900○ Fine Validità (End Date): 31.12.9999○ Valore (Value): <1 or 0>

NoteThe default value for the above switch is 1, which means that the generation of ANF codes in <InfoAggCausaliContrib> element is activated by default.

22 INTERNALSAP UniEmens

SAP UniEmens

Page 23: SAP UniEmens

1.4.4 COVID-19 Main Elements for UniEmens

The source of the COVID-19 main elements are:

Description of the Main Elements

Section Element Description

<InfoAggCausaliContrib> <CodiceCausale> This element is filled with one of the fol­lowing 3 values:

● L072: (MV2 event): congedo COVID 19 of the art 23, co. 1 DL 18/2020;

● L073: (MV3 event): congedo COVID 19 of the art 23, co. 5 - DL 18/2020 relative to parents of chil­dren with disabilities in severity without age limit;

● L074: (MV4 event): avente il signifi­cato di “estensione permessi re­tribuiti COVID 19 of the art 24 DL 18/2020; using in daily mode;

● L075: (MV5 event): allowance hourly leave paid of art 24 DL 18/ 2020; using in hourly mode.

<InfoAggCausaliContrib> <IdentMotivoUtilizzoCausale> This element is filled with the Fiscal Code. The fiscal code is retrieved from the Descrizione malattia (UMSCH) field of the relevant Assenze (2001) info­type.

<InfoAggCausaliContrib> <AnnoMeseRif> This element is filled with the period, which is the same as the period of the absence.

SAP UniEmensSAP UniEmens INTERNAL 23

Page 24: SAP UniEmens

Section Element Description

<InfoAggCausaliContrib> <ImportoAnnoMeseRif> This element is filled with the amount that corresponds to the absence:

● In case of absence paid in the same month of the absence it­self, this element is filled based on the wage type, customized in the Tabella regole di cal­colo (T5ITNR) table view for the relevant code (e.g. L072) and for Tabella risultati (RT) payroll ta­ble, linked to the absence, in As­senze (AB) payroll table, by means of  Puntatore su assenze (ABZNR) field.

● In case of absence added in previ­ous month with retrocalcula­tion, this element is filled based on the wage type, customized in the Tabella regole di cal­colo (T5ITNR) table view for the relevant code (e.g. L072) and for Tabella risultati (RT) payroll ta­ble, linked to the absence, in As­senze (AB) payroll table, by means of Puntatore su assenze (ABZNR) field.

● In case of Mese Differito, this ele­ment is filled based on Mese dif­ferito (/7MD) wage type linked to the absence, in Assenze (AB) pay­roll table, by means of Puntatore su assenze (ABZNR) field.

24 INTERNALSAP UniEmens

SAP UniEmens

Page 25: SAP UniEmens

1.4.5 SI Exemption Incentives for Hiring of Employees Under 35 of Age

The source of the SI Exemption Incentives for Hiring of Employees Under 35 of Age main elements are:

Recovery of Years 2019 and 2020

Element Description

<InfoAggCausaliContrib> <CodiceCausale> This element is filled with Indemnity Code L473.

<InfoAggCausaliContrib> <IdentMotivoUtilizzoCausale> This element is filled with code N.

<InfoAggCausaliContrib> <AnnoMeseRif> This element is filled with the period for which the incentive amount is recov­ered.

<InfoAggCausaliContrib> <ImportoAnnoMeseRif> This element is filled with the SI exemp­tion incentive amount recovered.

NoteThe recovery periods and amounts mentioned above come from a payroll retrocalculation to years 2019 and 2020.

1.5 Managing Agricultural Workers Data in UniEmens

In this chapter, you can find more information on how Agricultural Workers Data is reported in UniEmens, the elements that are filled by SAP, and how these elements are managed.

Agricultural Workers (Farm Sector) data is reported in the <PosAgri> branch.

You extract the Social Insurance contributions data for Agricultural Workers by running the UniEmens (RPCUEMI0) report with the Calcola ramo agricolo (P_POSAGR) parameter selected. The report generates a new node called Lista Ramo Agricolo with the results.

You generate the <PosAgri> branch in the UniEmens XML Generator (RPCUEXI0) report by running it with the Generare ramo Agricolo (P_AGRI) parameter selected.

Farm Sector Main Elements for UniEmens

These are the Farm Sector elements in UniEmens that are filled by SAP:

● For the UniEmens (RPCUEMI0) report

SAP UniEmensSAP UniEmens INTERNAL 25

Page 26: SAP UniEmens

Section Element Description

<PosAgri> <CIDA> It’s filled with the return value of the CIDA field of the UniEmens - Settore agricolo (IUAGR) feature.

<PosAgri> <TipoManodopera> It’s filled with the return value of the TPMA field of the UniEmens - Settore agricolo (IUAGR) feature.

<PosAgri> <CIDASomministrata> It’s filled with the return value of the CIDS field of the UniEmens - Settore agricolo (IUAGR) feature.

NoteSAP only fills the elements <CIDA>, <TipoManodopera>, and <CIDASomministrata>. All other elements related to the <PosAgri> branch must be handled by customers.

SAP delivers the elements and subelements of the <PosAgri> branch in the standard structure of UniEmens so you can report the information.

● For the UniEmens XML Generator (RPCUEXI0) report

Section Element Description

<DenunciaAgriAziendale> <QuadraturaNumLav> It’s filled with the total number of <De­nunciaAgriIndividuale> in the <PosA­gri> branch.

<DenunciaAgriAziendale> <FlagAutRisPreInt> It’s filled with value S.

<DenunciaAgriAziendale> <DichBeneficiContributivi> It’s filled with value S.

<DenunciaAgriAziendale> <DichTrattQuotaLav> It’s filled with value S.

NoteSAP only fills the elements <QuadraturaNumLav>, <FlagAutRisPreInt>, <DichBeneficiContributivi> and <DichTrattQuotaLav>. All other elements related to the <PosAgri> branch must be handled by customers.

SAP delivers the elements and subelements of the <PosAgri> branch in the standard structure of UniEmens so you can report the information.

26 INTERNALSAP UniEmens

SAP UniEmens

Page 27: SAP UniEmens

Configuration of the UniEmens - Settore agricolo (IUAGR) Feature

The feature IUAGR allows you to configure which employees shall be identified as Agricultural Workers (part of the Farm Sector) for UniEmens.

It’s necessary to return the fields that identify an employee as an Agricultural Worker. They are:

Feature field Corresponding UniEmens segment

CIDA <CIDA>

TPMA <TipoManodopera>

CIDS <CIDASomministrata>

The pattern is: FIELD=VALUE.

ExampleCIDA=XXXXXXX

1.6 UniEmens Reports

In this section you find all reports consumed by UniEmens and its descriptions.

1.6.1 UniEmens Declaration Management (RPCUEMI0)

The XML declaration production starts with the program RPCUEMI0. It may be produced at the same time, in a single step, with the ex-DM10 data or it may be produced, and rectified later or separately.

Example of how to produce the employee declarations:

1. In program RPCUEMI0, select the employees to be produced, and specify the company code.2. Select the parameter Calcola Elementi UniEmens3. Choose if this is a test run or productive run by checking the Esecuzione Produttiva flag.4. The results are displayed in an ALV, listing all the processed employees.

Note that you have 3 options on the top:

● Unimens: the first Uniemens generates the XML view of the employee.● Dati ex-DM10: it represents the DM10 codes and its values.● Uniemens: it displays an ALV of the result.

You may select an employee and click on UniEmens XML button to visualize the employee declaration in XML format online. The UniEmens button to the right displays the classical emens elements table. There is an

SAP UniEmensSAP UniEmens INTERNAL 27

Page 28: SAP UniEmens

example of the XML view for single employees:

28 INTERNALSAP UniEmens

SAP UniEmens

Page 29: SAP UniEmens

1.6.2 UniEmens Unified Reports

In this section, you find all reports that UniEmens consumes. They are:

● RPCUEMI0: Generates the <DenunciaIndividuale> for the employees and stores the information in Cluster

PCL1 I1.

SAP UniEmensSAP UniEmens INTERNAL 29

Page 30: SAP UniEmens

● RPCUEDI0: It calcolates the payment of contributions (ex-DM10) for INPS, and also generates the <DenunciaAziendale> and posts the information for report F24.

30 INTERNALSAP UniEmens

SAP UniEmens

Page 31: SAP UniEmens

● RPCUEXI0: Generates the XML Output for UniEmens.

The report:○ Extracts cluster data for each employee and generates the section <DenunciaIndividuale>.○ Extracts employer data and generates the section <DenunciaAziendale>.○ Generates an ALV result.

You can use the transaction for this report is PC00_M15_UECONS_XML.

SAP UniEmensSAP UniEmens INTERNAL 31

Page 32: SAP UniEmens

● RPCUECI0: Checks the customizings related to UniEmens.

● RPCLSTI1: UniEmens cluster viewer. This is a specific program to access the I1 cluster where all data

related to UniEmens is kept.

32 INTERNALSAP UniEmens

SAP UniEmens

Page 33: SAP UniEmens

● RPUESBI0: This report marks UniEmens XML files as sent to INPS.

● RPUTMSI0: Management of the TemSe files related to UniEmens.

SAP UniEmensSAP UniEmens INTERNAL 33

Page 34: SAP UniEmens

● RPUDUII0: Management of V_T5ITIUI table view.

34 INTERNALSAP UniEmens

SAP UniEmens

Page 35: SAP UniEmens

● RPUDUAI0: Management of V_T5ITUA table view.

1.6.3 Deleting UniEmens Individual Results

To delete employee’s UniEmens results, access program RPUDELI0, select the employees and execute.

1. After the execution, the employees are listed on the left tree, one employee by node.

SAP UniEmensSAP UniEmens INTERNAL 35

Page 36: SAP UniEmens

2. Click twice on an employee number and select the results to be deleted. It is possible to select multiple rows by pressing and holding the “Ctrl” key and clicking on the rows header.

3. Press the Cancel button to delete the selected rows (results).4. By selecting the flag Select all results (elencare tutti i risultati), all the employees are listed on the node:

C.I.D.; and therefore it is possible to select multiple results belonging different employees

NoteIMPORTANT: this program should be blocked with authorization objects on productive systems. It should not be necessary to delete UniEmens results.

1.7 Transactions for UniEmens

You can use the transactions to UniEmens. In the SAP Easy Access, type in the transactions.

They are:

UniEmens' Transactions

Transactions Description

PC00_M15_UECHECK This transaction checks the customizing that you have set and pops up if something is missing.

PC00_M15_UECLDEL This transaction deletes UniEmens' cluster for employees.

PC00_M15_UECLDELAZIE This transaction deletes UniEmens' cluster for company.

PC00_M15_UECLVIEW In this transaction, you can visualize employees' cluster.

PC00_M15_UE_F_MATRIC In this transaction, you can force data in the company's clus­ter.

PC00_M15_USERINPUT In this transaction, you can force data in the employees' cluster.

36 INTERNALSAP UniEmens

SAP UniEmens

Page 37: SAP UniEmens

Transactions Description

PC00_M15_UECONS_XML This transaction changes the status of the declaration.

SAP UniEmensSAP UniEmens INTERNAL 37

Page 38: SAP UniEmens

Important Disclaimers and Legal Information

HyperlinksSome links are classified by an icon and/or a mouseover text. These links provide additional information.About the icons:

● Links with the icon : You are entering a Web site that is not hosted by SAP. By using such links, you agree (unless expressly stated otherwise in your agreements with SAP) to this:

● The content of the linked-to site is not SAP documentation. You may not infer any product claims against SAP based on this information.● SAP does not agree or disagree with the content on the linked-to site, nor does SAP warrant the availability and correctness. SAP shall not be liable for any

damages caused by the use of such content unless damages have been caused by SAP's gross negligence or willful misconduct.

● Links with the icon : You are leaving the documentation for that particular SAP product or service and are entering a SAP-hosted Web site. By using such links, you agree that (unless expressly stated otherwise in your agreements with SAP) you may not infer any product claims against SAP based on this information.

Videos Hosted on External PlatformsSome videos may point to third-party video hosting platforms. SAP cannot guarantee the future availability of videos stored on these platforms. Furthermore, any advertisements or other content hosted on these platforms (for example, suggested videos or by navigating to other videos hosted on the same site), are not within the control or responsibility of SAP.

Beta and Other Experimental FeaturesExperimental features are not part of the officially delivered scope that SAP guarantees for future releases. This means that experimental features may be changed by SAP at any time for any reason without notice. Experimental features are not for productive use. You may not demonstrate, test, examine, evaluate or otherwise use the experimental features in a live operating environment or with data that has not been sufficiently backed up.The purpose of experimental features is to get feedback early on, allowing customers and partners to influence the future product accordingly. By providing your feedback (e.g. in the SAP Community), you accept that intellectual property rights of the contributions or derivative works shall remain the exclusive property of SAP.

Example CodeAny software coding and/or code snippets are examples. They are not for productive use. The example code is only intended to better explain and visualize the syntax and phrasing rules. SAP does not warrant the correctness and completeness of the example code. SAP shall not be liable for errors or damages caused by the use of example code unless damages have been caused by SAP's gross negligence or willful misconduct.

Gender-Related LanguageWe try not to use gender­specific word forms and formulations. As appropriate for context and readability, SAP may use masculine word forms to refer to all genders.

38 INTERNALSAP UniEmens

Important Disclaimers and Legal Information

Page 39: SAP UniEmens

SAP UniEmensImportant Disclaimers and Legal Information INTERNAL 39

Page 40: SAP UniEmens

www.sap.com/contactsap

© 2020 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company. The information contained herein may be changed without prior notice.

Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. All other product and service names mentioned are the trademarks of their respective companies.

Please see https://www.sap.com/about/legal/trademark.html for additional trademark information and notices.

THE BEST RUN