Ansicht
Dokumentation

/MRSS/SGE_API_SUBS_CRE - API for creation of irregular work time

/MRSS/SGE_API_SUBS_CRE - API for creation of irregular work time

TXBHW - Original Tax Base Amount in Local Currency   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This API function module is used to create a substitution for a resource.,,

Example

This API will take the substitution details in a table line to be created and will return the substitution created and alerts if any were created or deleted.

Importing parameters:

  1. IT_SUBS_CRE - This parameter holds the details for the creation of the substitution. You need to specify the resource GUID, the HR sub type, the HR daily work schedule and (if necessary) a daily work schedule variant.
  2. IV_RETURN_ALERTS - Alert return flag

Exporting parameters

  1. EV_FAILED - This parameter is set if the function module fails to create the substitution for the input data in the importing table.
  2. ET_MESSAGES - This parameter holds all the success, error and information messages during the execution of the function module.
  3. ET_SUBS - This parameter holds the details of the substitution created.
  4. ET_ALERTS & ET_ALERTS_DEL - These two parameters return the alerts if the imported alert return parameter is set.

Notes

NOTE: After calling this function module, /MRSS/SGE_API_COMMIT should be called to save the changes.

If the EV_FAILED parameter is not set, you can call the above function module to save the changes made. The input data for which the substitution was not created will be available in the ET_MESSAGES parameter.

NOTE: Only one substitution can be created in a transaction.

Further information





Parameters

ET_ALERTS
ET_ALERTS_DEL
ET_MESSAGES
ET_SUBS
EV_FAILED
IT_SUBS_CRE
IV_RETURN_ALERTS

Exceptions

Function Group

S/SAPLSGE_API

rdisp/max_wprun_time - Maximum work process run time   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 1912 Date: 20240419 Time: 133021     sap01-206 ( 38 ms )