Functionality This method checks account assignments, one after the other, atdiffering levels of detail. The T_COBLHR-RESULT parameter informs youat which level of detail the check was successful. First of all, the account assignments entered in HR (such as costcenter or order) are checked for validity from a CO viewpoint. If thisis successful, the T_COBLHR-RESULT = "0" is set by the system. If these checks are negative, the system checks the transferred mastercost center of the employee. If successful, the system setsT_COBLHR-RESULT = "1". If this check should also be negative, the system determines and checksa cost center that can be stored in CO Customizing. If successful,T_COBLHR-RESULT = "2" is set by the system and the cost centerdetermined is contained in the T_COBLHR-COSTCENTER_DEFAULT field. If no general cost center is stored in CO Customizing or this costcenter cannot be posted to, the system sets T_COBLHR-RESULT = "3". Description The account assignments to be checked are transferred to the lines oftable ACCOUNTINGOBJECTS and the results of the CO and FM checks arereturned to these lines. The table must exist but may be empty. Required paramters of a line are: COMP_CODE,,,,,,,,Company code POSTING_DATE,,,,,,,,Document posting date Three options are available for when checking CO account assignments: The record of the CO account assignments available in HR BUS_AREA,,,,,,,,Business area (optional, can be derived from theaccount assignment) COSTCENTER,,,,,,Cost center ORDERID,,,,,,,,Order number COST_OBJ,,,,,,,,Cost object WBS_ELEMT,,,,,,WBS element NETWORK,,,,,,,,Network number ACTIVITY,,,,,,,,Activity number for network assignment SALES_ORD,,,,,,Customer order number S_ORD_ITEM,,,,,,Item number in customer order These account assignments are checked based on CO account assignmentlogic for a line item. It thus should have a valid, true accountassignment. The main cost center of the employee is used for posting if the COaccount assignment check for the record of CO account assignmentspossible in HR returns an error: COSTCENTER_EMPL,,,,Cost center of employee A backup cost center for the company code and business area if the COaccount assignment check also outputs an error for the main cost centerof the employee COSTCENTER_DEFAULT,,Default cost center per company code and businessarea The result of the CO account assignment checked is returned RESULT,,,,,,,,,,Result of the CO checks for HR with the values: ,,,,,,,,,,,,0,,OK ,,,,,,,,,,,,1,,OK after substitution of master cost center ,,,,,,,,,,,,2,,OK after substitution of the default cost center ,,,,,,,,,,,,3,,Not OK FM account assignments are checked in addition to CO: CMMT_ITEM,,,,,,,,Commitment item FUNDS_CTR,,,,,,,,Funds center FUND,,,,,,,,,,,,Funds The results of the FM account assignment checks are returned RESULT_FM,,,,,,,,Results of the funds management checks for HR with thevalues: ,,,,,,,,,,,,0,,OK ,,,,,,,,,,,,1,,OK with warnings Afterwards, in the case of integration between HR Position Managementand Funds Management, the system checks whether a funds commitmentexists in FM for personnel costs. This funds commitment is identifiedby OBJ_SYS,,,,,,,,,,Logical system or original document OBJ_TYP_P,,,,,,,,,,Peceding document: Reference transaction OBJ_KEY_P,,,,,,,,,,Preceding document: Object key OBJ_POS_P,,,,,,,,,,Preceding document: Reference document item The results of the checks are returned RESULT_FR,,,,,,,,,,Result of the funds commitment check for HR with thevalues: ,,,,,,,,,,,,0,,OK ,,,,,,,,,,,,1,,OK after deleting reference to funds commitment |