Entering content frameProcedure documentation Affiliation messages through the RED system Locate the document in its SAP Library structure

Use

The generation of Social Insurance affiliation messages is performed using the Affiliation message through the RED system of the Social Insurance Administration (TGSS). (RPCAFIE1). Using this program, you can communicate registrations, de-registrations and changes in the details of workers directly in the Social Insurance affiliation data file.

Requirements

In the payroll Implementation Guide, the activities related to setting of data exchange through the RED system must have been performed, under Evaluations for Social Insurance ® RED system:

Functional Characteristics

Program RPCAFIE1 creates a file for sending information to Social Insurance with the object of maintaining company employee data in the affiliation data file. Using this program, you can communicate registrations, de-registrations and changes in the employee data. The notifications of changes of data supported by the program include all the actions at employee level: change of contribution group, change of contract and change of epigraph for industrial accident (IA) and industrial disease (ID). Meanwhile the possibility is included of modifying or eliminating previous movements.

You create the file in accordance with the specifications published by the Social Insurance Administration for the exchange of documents through the RED system (Electronic Document Readmission), which is based on Electronic Data Interchange technology (EDI).

You can display the data and store it in the data carrier with the help from the display program of sequential (TemSe) files (RPUTMSE0). Likewise, it is possible to choose the display of individual data medium exchange (DME) records. You can perform this display with both MS-Word and MS-Excel.

The affiliation message is structured in such a manner that it allows inclusion of only one EDI message from:

The segments constituting the AFI message are:

Note: (1) Not created by the program, since this is optional for TGSS.

The program creates the enrollment message from actions carried out in the system at employee level. Generally only those actions and reasons associated with one or several actions with their reasons according to the RED System through the table Adapt Actions and Reasons for Social Insurance (T5E30) are considered. Before being able to run the program successfully it is therefore essential to set the corresponding basic data as shown above.

One exception is the change of epigraph actions (MT), change of contract category (MC) and change of contribution group (MG). These actions are automatically reported, so it is not necessary to carry out any allocation of them in the table T5E30.

To report these changes at employee level, the program consults the infotype Personnel Actions (0000). For each segment of this infotype, it looks in the infotype Social Insurance (0061) to see if there has been any change (change of epigraph, change of contract category, change of contribution group) and if so, it automatically reports them in the FAB segment. Additionally, for each segment of infotype 0000, the program also looks in infotype 0061 for a change of contribution account code and, if there is one, reports it, generating two EMP segments with a general leaving action in the previous CAC and an entry action in the new CAC.

The data exchange file generated in the user work directory in the R/3 server takes as name:

MMM.RRRRRRRR.V01

being:

MMM, the logon client, and

RRRRRRRR, the name of the program being run

Activities

You can access the program through the system menu, under System ® Services ® Reporting.

Enter the name of the program RPCAFIE1 and then press the activation key.

In the selection screen of the program, enter the corresponding data in accordance with the information shown below and then run the program.

Selection parameters

Action and Situation fields: the keys entered in these fields will tell the system the transaction and employee-level reason to be carried out.

If you do not enter the action or reason, all the transactions/reasons that have occurred in the period are selected for the selected persons.

The keys allowed by the program are:

Action

Reason

Comment

MA

01

Entry

MB

51

Voluntary departure of contracted worker (*)

MB

54

Involuntary departure (*)

MB

56

Departure due to death (*)

MB

58

Departure due to becoming a pensioner (*)

MB

61

Departure for military service (*)

MB

63

Departure for voluntary leave (*)

MB

64

Leave for legal strike or employer lockout (*)

MG

Change in contribution group (**)

MC

Change in contract (**)

MT

Change in IA and ID epigraph (**)

ME

Deletion of previous movements

MD

Deletion of consolidated entries

Note

In the case of a leaving action (*), the following special features must be taken into account:

The leaving date for Social Insurance is the day before the day on which the leaving action begins in infotype 00. Therefore, if you want to report the leaving action, the start date of the leaving action must be included in the evaluation time interval shown when launching the program.

The actions marked with (**) are reported automatically, so it is neither necessary nor advisable to allocate them an action in the table T5E30. Otherwise, although the system still accepts the allocation, errors of information can occur.

Example

Any change action allocated to an MC action without a contract change having really occurred in infotype 0061 can lead to the erroneous reporting of a contract change.

The selection screen also offers the following groups of fields:

Ticket data for ETI segment

Identify Message Syntax: This identifies the category of the following message.

Release Message Syntax: Release of previous message.

Identif. process syntax: Identifies the version of the validation program, printout and process that the previous issuer has used in the exchange.

Version process syntax: Version of previous validation module.

Authorization key: Key provided by the TGSS when it receives administrative authorization to present the nominal employee list. One per company, employer group or authorized professional.

SILCON key. SILNET network: Key provided by Social Insurance Administration (TGSS). This identifies each physical person that interacts with the system.

New Silcon key: Since the SILCON key has a limited time duration, a new access key is requested, that is entered as new if the existing key has expired or you want to change it. (Future use).

Presentation date: The year, month and day of sending the message.

Presentation time: In hours and minutes.

External name AFI file: This records the MS-DOS plan file name with AFI suffix that has been prepared for the exchange.

Test indicator: This indicates the category of message sent:

CENDAR reference: TGSS reference. For internal use by the TGSS.

Change Contract Keys: This field is related to the use of contract keys.

Ticket data for SIL segment

Personal Key AFI File: Operator’s personal key.

Ticket data for FAB segment

Printout indicator: This indicates whether the user wants a printed response to the request, or not.

Individual case: Modification of a Previous Movement

With the object of notifying of a previous movement, you must ensure that personnel action and reason correspond to two actions according to the RED System. The first action is to delete the movement to be modified (ME) and the second, notification of entry, leaving or change in employee data.

See also:

Social Insurance legal reports

RED System

Data medium exchange using RED System

 

 

Leaving content frame