cancel
Showing results for 
Search instead for 
Did you mean: 

Need reference fields BAPI_SALESORDER_CREATEFROMDAT2

prasad_dix
Participant
0 Kudos

Dear experts,

  I am using BAPI_SALESORDER_CREATEFROMDAT2  to create Sales Order. The SO has been creating successfully. However, certain fields are not getting added properly. I may be missing right elements to populate the data. 

I am looking for customer's purchase order reference field, Req.delivery date and plant. I tried with REF_1, PURCH_NO_C, REF_DOC for PO reference. But it's not working. For Req.delivery date and plant I am not able to find right fields.

Request to assist me in this.

Regards,

PD

prasad_dix
Participant
0 Kudos
I have tried with PURCH_NO_C and it's working for customer PO ref. However, If I try to re-run the same data to create SO it says, Sales order already exists.
View Entire Topic
FredericGirod
Active Contributor
0 Kudos

Did you check if the data element of the screen field is the same as for the BAPI structure field ?