Skip to Content
0
Former Member
Nov 10, 2012 at 07:49 AM

Populating Customer Code in Assignment Field

734 Views

Hi SAP Gurus,

We are having a scenario in which we want to populate Customer Code in Assignment Field for one single GL Code in Billing Document.

For example, When the user saves the biliing document in Transaction code VF01 or VF02, then in the accounting document which was created will be

Posting key Account Amount Assignment

01 Customer (AB) Dr. 1000

50 Sales Cr. 1000

40 Rebtes Dr. 900

50 Rebates Acc Cr. 900 AB

Now It should populate Customer Code which is AB in the above example in the assignment field of Rebate Accrual GL Code only.I have already maintained Sort Key as Customer Number in GL Master of Rebate Accrual.But still it was showing blank.

Can anybody help me with the substitution to be written .

Thanks in Advance

Regards

Nikhil