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

Question to BAPI_SALESDOCU_CREATEWITHDIA

Former Member
0 Likes
821

Hi,

i will simple copy an sales order to another sales order without any reference.

I found the FM BAPI_SALESDOCU_CREATEWITHDIA.

Has anyone experiance with this FM.

Is it possible to fill any parameter to say take all Information from another sales order?

Another way would be using fm BAPISDORDER_GETDETAILEDLIST and fill with this data

all parameters in BAPI_SALESDOCU_CREATEWITHDIA.

Is this the right way?

thanks.

Regards, Dieter

Hi,

i will simple copy an sales order to another sales order without any reference.

I found the FM BAPI_SALESDOCU_CREATEWITHDIA.

Has anyone experiance with this FM.

Is it possible to fill any parameter to say take all Information from another sales order?

Another way would be using fm BAPISDORDER_GETDETAILEDLIST and fill with this data

all parameters in BAPI_SALESDOCU_CREATEWITHDIA.

Is this the right way?

thanks.

Regards, Dieter

4 REPLIES 4
Read only

Former Member
0 Likes
721

Hi,

Check the stucture fields SALES_HEADER_IN-REF_DOC & SALES_HEADER_IN-REF_DOC_CAT .

Regards

Vinod

Read only

0 Likes
721

Hi,

thanks for answer, but i have to fill the partners too and there are no fields copied.

Regards, Dieter

Read only

0 Likes
721

Hi,

You have to fill all the structures. By passing the values to Reference document, system will create a link between reference document and the new Order created by you.

Regards

Vinod

Read only

0 Likes
721

Hi,

thanks, i will do it.

Regards, Dieter