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

Credit Memo Creation - Sold-to-party / Ship-to-party fields

Former Member
0 Kudos
321

I am trying to create a SD Credit memo document.

From the thread I understand that the BAPI BAPI_SALESORDER_CREATEFROMDAT2 cant be used and instead I gotta use the FM SD_SALESDOCUMENT_CREATE for this purpose.

On this backdrop, I am trying to pass sold-to-party / ship-to-party values into this FM.

But, in the structure SALES_HEADER_IN type BAPISDHD1, I couldnt find the fields to pass these values.

Please advise the name of the fileds/structure where I should pass shiptoparty and soldtoparty values.

In VA01 screen, you could see these fields.

Thanks,

Message was edited by:

Jay

Message was edited by:

Jay

2 REPLIES 2
Read only

Former Member
0 Kudos
199

jay,

check the below link for couple of sample codes...

May be helpful for you

~~Guduri

Read only

0 Kudos
199

Thanks for the reply.

I did pass partnr number and partnr role details to partnr (structure bapiparnr).

It didnt solve the issue.

Any other inputs?

Thanks.