Ansicht
Dokumentation

HR_IN_PE_HRPADINDB_P2E - P2E: Save update function

HR_IN_PE_HRPADINDB_P2E - P2E: Save update function

BAL Application Log Documentation   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function modules performs the following database operations:

  • Creates/ inserts records
  • Updates records
  • Deletes records

It performs these functions based on the incoming policy data which includes initiate policy data, validate policy data, decision policy data, approval policy data and closure policy data.

In case the corresponding database operation is not successful, the system uses raises the following exceptions:

  • ERROR_INSERT - Error during insert
  • ERROR_DELETE - Error during delete
  • ERROR_UPDATE- Error during update

If the data is invalid, the system raises the following exceptions:

  • INVALID_DATA- Invalid data

Based on these exceptions, system generates an error message.

In case the corresponding database operation is successful, the system uses COMMIT_POLICY_DATAmethod of CL_HR_IN_PE_SAVE class to trigger a synchronous Commit. If an exception is raised, then the same method triggers a Rollback on the Logical Unit of Work (LUW).

Example

Notes

Further information





Parameters

IT_CREATE_POLICY_DATA
IT_DELETE_POLICY_DATA
IT_UPDATE_POLICY_DATA

Exceptions

ERROR_DELETE
ERROR_INSERT
ERROR_UPDATE
INVALID_DATA
OTHERS

Function Group

HRPADINDB

Fill RESBD Structure from EBP Component Structure   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 1906 Date: 20240523 Time: 090615     sap01-206 ( 32 ms )