Ansicht
Dokumentation

ISU_SAMPLE_TE760 - User Exit TE760: Derivation of CO-PA Attribues from IS-U Data

ISU_SAMPLE_TE760 - User Exit TE760: Derivation of CO-PA Attribues from IS-U Data

CL_GUI_FRONTEND_SERVICES - Frontend Services   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

In this user exit you can derive the characteristics for determining result object assignment, according to your own logic.

The derivation is called in billing per billing document line and CO PA characteristic, as long as a result object assignment is required for these lines, and a derivation module is defined for the characteristic in accordance with the customizing settings (table TE760)

Notes

The import structure X_TE760 contains the current rule for the allocation of an IS-U field to a CO PA characteristic. X_TE760-ERKRS_FIELDNAME represents the CO PA characteristic for which the values are to be derived. The value of the allocated IS-U field X_TE760-EVU_FIELDNAME is supplied in parameter X_VALUE - so long as it concerns a standard field from structure EVU-COPACRIT. The derived CO PA characteristic is returned in the Y_VALUE field.

If, on the other hand, no result object is to be determined for a certain billing document line, then set the Y_NOT_COPA_RELEVANT parameter to 'X' when processing this line.

As well as the information on current billing document lines (Structure X_ERCHZ), the information for the complete billing document (Object X_BILL_DOC) and other IS-U master data (see structures X_SOBJ and X_OBJ) are available for decision support.

Character derivation can be carried out for both the CO PA update according to posting periods, and the update according to consumption months. The update according to consumption month is identified by the parameter X_STATIST being set as 'X'.

As long as you set the partial billing procedure for budget billing, and the posting of budget billing requests in CO PA, the result object is determined when generating the budget billing extrapolation lines for the billing document. These lines are indicated by the set indicator X_ERCHZ-ABSLKZ = 'X'.





Parameters

X_ACC
X_BILL_DOC
X_COBL
X_ERCH
X_ERCHZ
X_OBJ
X_SOBJ
X_STATIST
X_TE760
X_VALUE
Y_NOT_COPA_RELEVANT
Y_VALUE

Exceptions

Function Group

E72B

TXBHW - Original Tax Base Amount in Local Currency   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2254 Date: 20240523 Time: 141711     sap01-206 ( 57 ms )