2017 Oct 16 5:10 AM
I try to use this bapi to create to SO with PR, but It always return "E 00055 Fill out all required entry fields". Which field should fill PR number ?
BAPI_SALESORDER_CREATEFROMDAT2
I try to use this bapi to create to SO with PR, but It always return "E 00055 Fill out all required entry fields". Which field should fill PR number ?
BAPI_SALESORDER_CREATEFROMDAT2
2017 Oct 16 5:28 AM
a) the error is about something else missing
b) what has a sales order to do with a purchase requisition? What is the business scenario that you want solve? Have you ever tried to do this manually with the standard transactions?
2017 Oct 16 5:46 AM
b) VA01 - create order with item Category TAK (Make to Order), It need to create PR at the same time and then auto fill PR number in schedule line in item level.
BAPI_SALESORDER_CREATEFROMDAT2 can support this action ? If yes, how to ?
2017 Oct 16 7:06 AM
Yes BAPI_SALESORDER_CREATEFROMDAT2 can create such requisition. Just continue and maintain the value that are needed to execute the BAPI successfully
2017 Oct 16 7:37 AM
Which field should be fill it ? can provide a example for this ?
2017 Oct 16 9:07 AM
my case same as this.
https://archive.sap.com/discussions/thread/1942266
We are want to create Sales Order' and 'Purchase Requisition' at the same time .
I try to generate PR through BAPI_REQUISITION_CREATE, but it's not woks
FORM USEREXIT_MOVE_FIELD_TO_ME_REQ.
In here generate PR number ( 10029144 ) and fill it.
ENDFORM.

2017 Oct 16 9:55 AM
Forget this PR and user exit thing for a moment and just try to get a sales order created. I currently looks like putting the cart before the horse.
Sit together with your function consultant and sort the normal issues/error messages in creating sales orders by BAPI.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |