Skip to end of metadata
Go to start of metadata

Purpose

 

This wiki explains how to add new field for account determination.

 

Overview

 

You want to add a new field for account determination.(for example add a new field in KOMKCV)

 

 

Introduction

 

1, Check whether a corresponding document field exists in the billing header (VBRK).  

For example, you want to add payer as a new field. The corresponding field in VBRK is VBRK-KUNRG 

 

2, Include the field name ZZKUNNR in the communication structure KOMKCV using the INCLUDE KOMKCZ, and allocate the data element KUNRG to it. Then activate the INCLUDE.

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, Supply the field in the FORM routines using the appropriate user exits in member RV60AFZZ.For example: 

FORM USEREXIT_ACCOUNT_PREP_KOMKCV.

MOVE VBRK-KUNRG TO KOMKCV-ZZKUNNR.

ENDFORM.

 

4, Assign the specifications C,V, and 001 to the field ZZKUNNR in table T681F.

The corresponding menu path is as below:

SPRO->Sales and Distribution 

->Basic Functions->Account Assignment/Costing->Revenue Account Determination 

->Define Dependencies Of Revenue Account Determination 

->Field catalog: Allowed fields for the tables 

 

 

5, Complete accounting determination customizing.(create account determination table, etc)

 

  • No labels