cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Please append two fields sold to party and ship to party in ur acctount determination field catalog. See the SAP note no. 92413 and 314995.

Define new account determination table with this key Condition type/sold to party and ship to party.

In ur current access sequence add this table at fiirst step no.

then maintain VKOA account determination with ur sold to party and ship to party.

Former Member
0 Kudos

Hi Dhiraj,

Thanks for the solution!

I know this solution, but i want to ask

if i use the solution as mentioned by me.

will there be any implications/impact to the Customer Group, as i am changing the value at runtime.

Thanks,

Veeru.

Former Member
0 Kudos

No, I dont think so, there should not be any problem, as you are changing your account determination as per your perticular requirement.