2008 Apr 01 12:46 PM
hi
i need to create a sales order using bapi.
can any one help me
hi
i need to create a sales order using bapi.
can any one help me
2008 Apr 01 12:51 PM
2008 Apr 01 12:56 PM
Do NOT USE BAPI_SALESORDER_CREATEFROMDATA, that FM is obsolete!
Use BAPI_SALESORDER_CREATEFROMDAT1 .
To build a reference to your contract you have to supply ORDER_HEADER_IN.
Here´s a sample:
MOVE:
gs_vbak-vbeln TO ls_bapisdhd1-refobjkey,
gs_vbak-vbeln TO ls_bapisdhd1-ref_doc,
gs_vbak-vbtyp TO ls_bapisdhd1-refdoc_cat,
gs_vbak-auart TO ls_bapisdhd1-refdoctype.
also gothrouh the links
2008 Apr 01 1:00 PM
Hi Hari,
Please use the below mentioned BAPI.
BAPI_SALESORDER_CREATEFROMDAT2
Reward me with points if i am correct.
Regards!
Abby.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |