2008 Mar 04 12:51 AM
Hi ,
I want to develop a new RFC for 'Creating Sales Order' with reference to another sales order -
Is there any BAPI available for the same ? (Version 4.7) - I know its available for new create and change
but couldn't find for create with reference to Order ...
Thanks in advance ...
Regards
Rajesh.
2008 Mar 04 5:08 AM
Hi,
You can use this FM "/SAPNEA/SMAPI_ORDER_CREATE". I haven;t tried this but you can still give it a try. Mention the Reference Order Type and other data in the header work area and pass it to the FM.
Reward if it's useful.
Thanks,
Anil
2008 Mar 04 6:40 AM
Use "BAPI_SALESDOCUMENT_COPY" .
This should help creating sales doc with reference .
regards
sampada
2009 Oct 23 5:02 AM
Hi Rajesh,
Is your question answered? Else try using BAPI_SALESDOCUMENT_COPY and BAPI_TRANSACTION_COMMIT.
pass your reference document in BAPI_SALESDOCUMENT_COPY and the Document type to be created. Use the BAPI_TRANSACTION_COMMIT to save the sales order.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |