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

Link sales documents with BAPI_SALESDOCU_CREATEFROMDATA1

Former Member
0 Likes
373

Hi,

I create a credit note with BAPI_SALESDOCU_CREATEFROMDATA1 and I'd like to link the order related with. I guess that a field exists to put the number of the order... Does someone know how to do it ?

Thanks

Hi,

I create a credit note with BAPI_SALESDOCU_CREATEFROMDATA1 and I'd like to link the order related with. I guess that a field exists to put the number of the order... Does someone know how to do it ?

Thanks

1 REPLY 1
Read only

Former Member
0 Likes
342

This BAPI will create sales document....so SALESDOCUMENT is the exporting parameter.

If u want to create sales document using reference of another sales document...then u have use flds REF_DOC_L in SALES_HEADER_IN structure.

Amitava