Ansicht
Dokumentation

RPUE2DD0 - ELStAM Proced.: Fill System and Client Fields in Administration Table

RPUE2DD0 - ELStAM Proced.: Fill System and Client Fields in Administration Table

CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This auxiliary report fills the SYSID and SYMDT fields of the table P01E2_ADM.

With the retroactively delivered option to execute the ELStAM procedure using distributed reporting, the system saves for each notification the system name and the client in which the data was created. This information is stored in the SYSID (System Name) and SYMDT (Client) fields.

Distributed reporting occurs if at least one record in the ELStAM database was retrieved with the report RPCE2SD0_OUT_VR.

When distributed reporting is used in the leading system, the reports for the ELStAM procedure read only notifications for which the following applies:

  • The SYSID and SYMDT fields are initial or
  • The content of the SYSID field contains the current system name and the content of the SYMDT field contains the current client.

Integration

This report is used in the ELStAM procedure.

Run the report as well when using distributed reporting:

  • After copying ELStAM notifications to a test system
  • After transferring ELStAM notifications to another live system

Prerequisites

The report checks against authorization object P_B2A with the following values:

  • MOLGA = 01
  • SAGRP = ST
  • B2A_ACTIO = R (Reorganize Notifications)

Features

Selection

On the selection screen, the following selection criteria are available:

  • Person Selection
You can restrict the data records that are to be converted to personnel numbers
  • Data Selection
Select one of the two options:
  • Initial Fields

All data records are processed in which the SYSID or SYMDT fields are initial. In these records, the SYSID field is filled with the current system name and the SYMDT field is filled with the current client.
  • Copy from External System

All data records are processed that were transferred from the specified system. Entering a source system is mandatory.

Enter the client in order to convert all records from the source system and source client (for example, after copying live data to a test system).
Leave the field for the client blank in order to convert the data records that were created before SAP Note 1826553 (ELStAM: Corrections after year-end legal change 14/2013) was implemented.

When you enter an RFC connection, you can only select the Initial Fields option.
  • RFC Connection
If you enter RFC connections, the table fields are updated in the remote systems. In addition, the remote system and client in which the data was created are transferred to the leading (=calling) system into the SYSID and SYMDT fields respectively.

Standard Variants

Output

The following information is output in the statistics:

  • Number of data records to be updated in the current system/client
  • Number of updated data records in the current system/client

If RFC connections are entered, the following information is also output:

  • Number of data records to be updated in the remote systems/clients
  • Number of updated data records in the remote systems/clients

The number of selected data records are output as a message for each remote system.

If the number of selected data records and the number of updated data records differ in the live run in the relevant system/client, a ROLLBACK is performed and the changed data records are not saved. In this case, the error message "Error During Update" is output.

A log of the changed table entries is not created.

Activities

Example

You use distributed reporting with the two systems X (100) and Y (200). The ELStAM data is sent using the B2A Manager from system X (100) only. In system X (100), the table P01E2_ADM contains entries for all notifications from X (100) and Y (200); in system Y (200), the table contains only notifications from Y (200).

  1. You start the report RPUE2DD0 in system X (100) with the selection criteria Initial Fields and with an RFC Connection to system Y (200):
    1. In system Y (200), the contents of the fields SYSID und SYMDT in the table P01E2_ADM are updated for the data records that had initial values in these fields: The content of the field SYSID is set to Y; the content of the field SYMDT is set to 200.
    2. In system X (100), the data records are changed in table P01E2_ADM that were also updated in Y (200) (see 1a) above). The other data records of the table are not changed.
You then start the report RPUE2DD0 in system X (100) with the selection criterion Initial Fields.
  1. In system Y (100), the contents of the fields SYSID und SYMDT in the table P01E2_ADM are updated for any data records where the field SYMDT was empty: The content of the field SYSID is set to X; the content of the field SYMDT is set to 100.
  2. You have copied a personnel number from system X (100) into the test system T (200). You start the report RPUE2DD0 in system T (200) with the selection criteria Personnel Number and Copy from External System (system name X, client 100).
In the system T (200) in the table P01E2_ADM for the specified personnel number, the field contents for SYSID are changed from X to T and the field contents for SYMDT are changed from 100 to 200.






BAL_S_LOG - Application Log: Log header data   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 7160 Date: 20240601 Time: 195410     sap01-206 ( 93 ms )