Ansicht
Dokumentation

H00RSM_CONVRSM1_IDO_EXITS - File Layout RSM1_IDO User Exits

H00RSM_CONVRSM1_IDO_EXITS - File Layout RSM1_IDO User Exits

PERFORM Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Title

User Exits for File Layout RSM1_IDO

Purpose

For more information, see the report documentation on H00RSM_EXPRSM1: Time Data Download: Start Export Program.

For more information on the use of user exits in file layouts, see the documentation for the Interface Toolbox (PU12).

The file layout RSM1_IDO generates IDocs with massage type HRSM_C. No productive (usable) sequential file is written.

This program provides three user exits. You set up the IDoc control record, data extraction, and the generation of the IDocs.

Prerequisites

Features

The file layout RSM1_IDO consists of three blocks:

  • Block IDOC_CONTROL_SEGMENT is processed once at the start. It calls the subprogram _FILL_CONTROL in the user exit.
Meaning of the subprogram parameter _FILL_CONTROL:

  • Return parameter,,,,,,,,,,,,,,(not used)

All parameters can be initial (blank). The values are read from the ALE distribution model for the message type HRSM_C. You can enter individual parameters; the values must be contained in quotation marks (" ").
  • Block IDOC_DATA_SEGMENT is processed for each employee per period. It calls the subprogram _EXTRACT_ALL in the user exit.
Meaning and values of the mandatory parameters in the subprogramms _EXTRACT_ALL:
  • Start date of first payroll period;,,,,,,Value: &VAR-BEGDA

  • Start date of payroll period;,,,,,,,,Value: &VAR-PERBE,,

  • End date of payroll period;,,,,,,,,Value: &VAR-PEREN,,

  • End date of last payroll period;,,,,,,Value: &VAR-ENDDA

  • For period;,,,,,,,,,,,,,,,,Value: &VAR-FPPER

  • Interface format;,,,,,,,,,,,,,,Value: "RSM1"

  • Summarization;,,,,,,,,,,,,,,,,Value: "X" or " "

You must enter the fixed value "RSM1" for the interface format parameter.
The recipient determination parameter identifies the branch stores by their cost centers. If a value other than "1" is used, then the receiver determined differently for the interface for HR master data.
The summarization parameter controls whether the wage types exported are summarized based on times or days. Enter the value "X" to summarize the wage types.
  • Block IDOC_CREATE is processed once at the end. It calls the subprogram _CREATE_IDOC in the user exit.
Meaning and value of mandatory parameters of the subprogram _CREATE_IDOC:
  • Switch: Update or Test (X = Update);,,,,,,,,Value: &VAR-UPDATE

The &VAR-UPDATE parameter is provided with data by the export program H00RSM_EXPRSM1 called.

Output

The recipient determination parameter controls how the receiver system determines the time data to be exported for each employee.

One IDoc is generated for each recipient system.

Activities






PERFORM Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 6111 Date: 20240520 Time: 091536     sap01-206 ( 48 ms )