Ansicht
Dokumentation

OALE_HRDST_01 - Set Transfer of HR Master Data from External Systems

OALE_HRDST_01 - Set Transfer of HR Master Data from External Systems

TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

This section explains the settings that are necessary for the scenario Transfer of HR master data from external systems. You can find information on the business background in the section HR master data from external systems in "Application Help".

Procedure

The employee master data entered in an external system is stored as a sequential file in IDoc format. The external system starts the SAP System (for example, by means of a script) by using the C program startrfc and transmits the path, the name and the logical identifier of the IDoc as well as the name of the EDI function module EDI_DATA_INCOMING to EDI inbound processing. EDI inbound processing opens the file and processes the
IDoc. Once the file has been successfully transferred to the SAP System, it is then deleted.

In order to process the IDoc in HR, you have to call the HR function module IDOC_INPUT_HRSM_HIRE. The processing status of this IDoc is logged in EDI.

  1. The HR function module IDOC_INPUT_HRSM_HIRE writes the data to interface tables.
  2. Depending on the Customizing settings, further processing of the data is triggered or you have to manually start it via the work list.
  3. The processing of the data leads to personnel numbers being allocated in the HR system. These personnel numbers are sent back to the external system as an IDoc.
  4. The processing status of the data is logged in the interface.

Customizing Distribution (ALE)

In order to ensure that the IDoc is imported and processed, you have to make the following settings:

  1. Maintain logical systems

In this step you define logical systems for your external systems.

  1. Maintain distribution model

In this step, include the following entries via Create message type:

  • Sender/Client: external logical system

  • Recipient/Server: HR System

  • Message type: HRSM_A

  • Sender/Client: HR System

  • Recipient/Server: external logical system

  • Message type: HRSM_B

  1. Define port

In this step, define the following file ports:

  1. File port for the import of HR master data
  2. Data port for the export of allocated personnel numbers. Click on the pushbutton Outbound file and enter a path name and a function module in order to generate a file name.
  • Maintain partner profiles
  • In this step you set up the inbound and outbound parameters for the logical systems involved:

    1. Declare the following outbound parameters for the external system.
    • Partner type: LS

    • Message type: HRSM_B

    • Recipient port: Port für Export der vergebenen Personalnummern

    • Output mode: Immediate transfer of IDocs
      Do not start subsystem

    • Basic type: HRSM_B01

    1. Declare the following inbound parameters for the HR system:
    • Partner type: LS

    • Message type: HRSM_A

    • Process code: HRSM

    • Processing: Immediate processing

    Further notes

    Latest supported HR System release: 4.5A






    BAL_S_LOG - Application Log: Log header data   ROGBILLS - Synchronize billing plans  
    This documentation is copyright by SAP AG.

    Length: 4861 Date: 20240607 Time: 051733     sap01-206 ( 57 ms )