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

Bapi: create sales order with reference to Invoice.

Former Member
0 Likes
784

HI ,

i am trying to create sales order(credit memo request) with respect to invoice.

What BAPI to use. also, please provide with sample code.

I have passed invoice to BAPI_SALESDOCU_CREATEFROMDATA1 at header level(ref_doc).

and i am passing other details correctly. the pricing procedure attched to original invoice is not getting triggered for th newly creating sales order.

Please help me with this.

HI ,

i am trying to create sales order(credit memo request) with respect to invoice.

What BAPI to use. also, please provide with sample code.

I have passed invoice to BAPI_SALESDOCU_CREATEFROMDATA1 at header level(ref_doc).

and i am passing other details correctly. the pricing procedure attched to original invoice is not getting triggered for th newly creating sales order.

Please help me with this.

1 REPLY 1
Read only

Former Member
0 Likes
514

use BAPI_SALESORDER_CREATEFROMDAT2

search the forum for sample program