Application Development 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: 

Using SD_SALESDOCUMENT_CREATE update VBAP-KTGRM

Former Member
0 Kudos

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

sathyags
Active Participant
0 Kudos

I think you should use f SALES_ITEMS_IN and SALES_ITEMS_INX.

Sathya