Ansicht
Dokumentation

SIMG_XXMENUOLSDMODA3 - New Fields For Account Determination

SIMG_XXMENUOLSDMODA3 - New Fields For Account Determination

CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book
  • The following communication structures are relevant for the account determination:
  • KOMKCV (Account determination communication header)

  • KOMPCV (Account determination communication item)

  • KOMCV (Allowed fields for the account determination)

For technical reasons, the communication structure KOMCV is used, which combines KOMKCV and KOMPCV, and which contains all fields that can generally be used for the account determination. When entering new fields in KOMKCV or KOMPCV, the fields are also automatically included in KOMCV.
  • New fields for the account determination are integrated in the following INCLUDES:
  • Header data in KOMKCZ (INCLUDE in KOMKCV or KOMCV)

  • Item data in KOMPCZ (INCLUDE in KOMPCV or KOMCV)

  • The routines for supplying the new fields in billing are found in member RV60AFZZ. Use the following user exits:
  • USEREXIT_ACCOUNT_PREP_KOMKCV

  • USEREXIT_ACCOUNT_PREP_KOMPCV

  1. Check whether a corresponding document field exists in the billing header (VBRK).
The billing header contains the field LAND1, which is defined as a header field in table VBRK.
  1. Include the field name ZZLLAND in the communication structure KOMKCV using the INCLUDE KOMKCZ, and allocate the data element LLAND to it.
Remember that new data fields must start with the letters "ZZ" or "YY", since SAP reserved these letters to protect them against overwriting during a release changeover.
  1. Activate the structure.
  2. Supply the field in the FORM routines using the appropriate user exits in member RV60AFZZ. The statement is as follows:
FORM USEREXIT_ACCOUNT_PREP_KOMKCV.
,,MOVE VBRK-LAND1 TO KOMKCV-ZZLLAND.
ENDFORM.
  1. Assign the specifications C,V, and 001 to the field ZZLLAND in table T681F.





ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 2515 Date: 20240523 Time: 180520     sap01-206 ( 30 ms )