Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Can i change Cust. Account Group field value using UserExit during Billing

Hi Experts,

Can you help by letting me know,

will there be any implication if i change the value of KOMKCV-KTGRD(Standard Field)

using the user exit : RV60AFZZ (FORM USEREXIT_ACCOUNT_PREP_KOMKCV)

during the G/L Account determination for Billing

My concern is as the value of field KOMKCV-KTGRD(Customer :Account Assignment Group)

is determined from Customer master, if i change it at run time will it affect at any other places.

To understand better and to give the valuable suggestion please see the below explanation

of the requirement:

To cater to the need of the Business for the below

scenario.

When

Billing Type :F2

Ship to is: Customer 1 (Any Customer other than H.Q) &

Sold to is: Customer 2 (H.Q).

the posting has to be this specific GL Account Always (E.g. 900001) .

Other than the above scenario

the posting has to continue based on the existing Setting in VKOA.

Below are our Existing VKOA procedures / tables used

501 : Sales org./ Cust.Grp / Mat.Grp / Ship Point / Acct key

502 : Sales org./Bill. Type/Cust.Grp/Mat.Grp/Acct key

Since the the new scenario Picks the "502" : Acc.Determination procedure/table

as we have Billing Type/ Cust.Grp / Mat.Grp/Acct.Key

I am planning to Use the USER EXIT : FORM USEREXIT_ACCOUNT_PREP_KOMKCV

of Include RV60AFZZ

to pass the value '02' to Field KOMKCV-KTGRD.

Based on some logic

e.g.( If PO No field of Sales order has Value * X * then KOMKCV-KTGRD = '02)

If vbak-BSTKD = 'X'.
KOMKCV-KTGRD  = '02'
endif. 

Please let me know will it have any implication if change the Custom Account Group

during the Run time , as this user exit comments does not mention much in detail.

Thanks & Regards,

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question