Show TOC

New Fields For Account Determination

Basics of Modification in 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.

Example for usage of the new fields in account determination

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.
2. 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.
3. Activate the structure.
4. 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.
5. Assign the specifications C,V, and 001 to the field ZZLLAND in table T681F.