cancel
Showing results for 
Search instead for 
Did you mean: 

Want to capture sales document in assignment field of Sales Account item

Former Member
0 Kudos

Hi Gurus

I want to capture sales document number in assignment field of sales account item row of accounting document.

I want to do this using sort key functionality.

Please tell me how can I do this.

Regards

Ajay

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I am facing the exact same problem in my project.

I have set upp a sort key with VBEL2 and POSN2. And assigned this one to the correct G/L account. Everything works fine in the acounting document from Goods Issue, but for the accounting document from the invoice it is not working. I am invoicing based on the delivery.

Have you solved your issue?

Regards

Erik B

Former Member
0 Kudos

Erik,

If you are able to pupolute the sort key in goods issue then use the "copy control" settings to copy the same sort key to billing doc.

T Code. VTFL

Hope this helps...

Thanks

gladys_xing
Active Contributor
0 Kudos

Hi Ajay,

You could define a sort key for sales document VBEL2 lengh:1-0 in T-cd:OB16, then assign this sort key to G/L master data in FS00. when you post document, the value in VBEL2 will be populated into ZUONR field auto.

Hope the above infor. are helpful to you!

Best Regards,

Gladys xing

Former Member
0 Kudos

Hi

I have done as per your guidelines. But still this is not appearing

I am doing as follows:

1. Sort key defined in GL Master

2. Prepared one Sales order

3. Done post goods issue

4. Completed billing and accounting doc posted

I am getting the assignment field blank

Please advice the solution

Regards

Ajay