on ‎2019 Nov 14 12:27 PM
Hai all,
I m new to BAPI, I was given an assignment to create sales order using BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_TRANSACTION_COMMIT.
I tried my level best, but got 2 returns couldn't able to create sales order.
i m attaching the screenshots of the returns.
Pls do guide me how to overcome this issue and let me know the proper procedure step wise in how to create sales order with respective to BAPI.
Thanks & Regards,
SAP SD Functional.
Request clarification before answering.
1. You can use transaction BAPI to locate the documentation for the fields in
BAPI_SALESORDER_CREATEFROMDAT2.
2. The error is self-explanatory: it seems that you have not entered the information about order partners, to be more precise - this is in ORDER_PARTNERS. ORDER_PARTNERS is mandatory as you can see in SE37 or read in the documentation. This is logical because you need to specify at least the sold-to party when you create sales orders.
3. Again, please read the documentation from transaction BAPI, it is a valuable source of information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
mfarrikjamal you really need to read carefully the BAPI documentation.
You need to have a line with item 000000 for sold-to party, check how VBPA looks for manually created sales orders.
Ur awesome Veselina Peykova it worked, i dint gave anything in item no. in partners, my sale order is created. capture-10.jpg
Thanks a lot.
| User | Count |
|---|---|
| 36 | |
| 27 | |
| 20 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.