Ansicht
Dokumentation

BAPI_CODINGBLOCK_PRECHECK_HR - Check Module: CO Account Assignments in Personnel Settlement

BAPI_CODINGBLOCK_PRECHECK_HR - Check Module: CO Account Assignments in Personnel Settlement

Vendor Master (General Section)   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This method checks account assignments, one after the other, at differing levels of detail. The T_COBLHR-RESULT parameter informs you at which level of detail the check was successful.

  1. First of all, the account assignments entered in HR (such as cost center or order) are checked for validity from a CO viewpoint. If this is successful, the T_COBLHR-RESULT = "0" is set by the system.
  2. If these checks are negative, the system checks the transferred master cost center of the employee. If successful, the system sets T_COBLHR-RESULT = "1".
  3. If this check should also be negative, the system determines and checks a cost center that can be stored in CO Customizing. If successful, T_COBLHR-RESULT = "2" is set by the system and the cost center determined is contained in the T_COBLHR-COSTCENTER_DEFAULT field.
  4. If no general cost center is stored in CO Customizing or this cost center cannot be posted to, the system sets T_COBLHR-RESULT = "3".




Parameters

ACCOUNTINGOBJECTS
RETURN

Exceptions

Function Group

ACC7

General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1288 Date: 20240523 Time: 115258     sap01-206 ( 29 ms )