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

Problem with BAPI_SALESDOCU_CREATEFROMDATA

Former Member
0 Likes
500

Hi all

I have this problem

I want create a sales order for goods return.

I try the BAPI BAPI_SALESDOCU_CREATEFROMDATA with the business object BUS2102.

When I manually insert the items

material number, quantity, price etc it works,

but when I try to create the document from

an other reference document such as an invoice document

it seems doesn't works, because no data is taken from the

reference document.

I need create the goods return from a reference!

Thanks in advance for your tips.

Alessandro

1 REPLY 1
Read only

Former Member
0 Likes
367

Hi Alessandro,

have you tried to use BAPI_CUSTOMERRETURN_CREATE.

Regards Claudio