Fonction SAP ALE_TIMESHEET_HR_DATA_TRNSFER - BAPI -> IDoc: ALE_TIMESHEET_HR_DATA_TRNSFER

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
OBJ_TYPE SERIAL-OBJ_TYPE C 10 'TSHRCONNEC' X
SERIAL_ID SERIAL-CHNUM N 4 '0' X

Paramètre Reférence Long. Facultatif Description
APPLICATION_OBJECTS SWOTOBJID 100 X
COMMUNICATION_DOCUMENTS SWOTOBJID 100 X
RECEIVERS BDI_LOGSYS 10
TRANSFERRECORDS BAPI_TIMESHEET_HR_DATA_TRANSF 397

Exception Description
ERROR_CREATING_IDOCS

Functionality
This function module was generated from the object TSHRCONNEC
and method DATATRANSFER for the BAPI call by ALE.
The function module is executed in the output system. It firstconverts the data from the BAPI parameters into IDoc format. The IDocis then sent to the relevant receivers. From here, the BAPI is called.
The interface of the function module contains all outgoing parametersfrom the relevant BAPI function module.
BAPI_TIMESHEET_HR_DATA_TRNSFER
and, in addition, the following parameters that are used in the ALElayer:

  • SERIAL_ID

  • This input parameter contains the channel number and isis only used for active serialization.
    • RECEIVERS

    • The parameter contains the name of logical systems(receivers) from where the BAPI is called.
      • COMMUNICATION_DOCUMENTS

      • The return table contains the name of the logical system in fieldLOGSYS, the object type in field OBJTYPE, and the object key in fieldOBJKEY. It indicates that an object of type IDOC has beengenerated with this key for the logical system.
        • APPLICATION_OBJECTS

        • The input table contains the objects from applications that areprocessed when the BAPI is called. Enter the name of the logicalsystem from which the application objects originate in the LOGSYSfield. The application objects are identified using the object typeOBJTYP and object key OBJKEY. They are related with outgoing IDocs.