Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using SD_SALESDOCUMENT_CREATE update VBAP-KTGRM

Former Member
0 Likes
1,094

Hello Experts,

I am seeking your quick help. I am creating credit memo using FM SD_SALESDOCUMENT_CREATE. I need to update VBAP-KTGRM (i.e. Account Assignment Group for this Material ).

I am using ITEMS_EX (table parameter) of FM SD_SALESDOCUMENT_CREATE. While passing value in ACCT_ASSGT field of BAPISDITM, the field is not updating. Can anyone suggest me why it is happening? Any sample code would be really great help.

Thanks.

1 REPLY 1
Read only

Sathya_Gunasekaran
Contributor
0 Likes
747

I think you should use f SALES_ITEMS_IN and SALES_ITEMS_INX.

Sathya