Hello SAP Experts,
Bapi BAPI_SALESORDER_CREATEFROMDAT2 is giving following issues:
- Problems while adding email address for partner using BAPI_SALESORDER_CREATEFROMDAT2.
- Problems while trying to update addresses via BAPI.
- Problems with the PARTNERADDRESSES-ADDR_NO field in BAPI_SALESORDER_CREATEFROMDAT2.
- Problems with the ORDER_PARTNERRS-ADDR_LINK field in BAPI_SALESORDER_CREATEFROMDAT2.
Please follow the steps given below in order to re-generate the issue:
- First, enter BAPI_SALESORDER_CREATEFROMDAT2 in Transaction SE37.
- Now click Test/Execute (F8)
- And then fill in required fields as follows:
ORDER_HEADER_IN
ORDER_HEADER_INX
ORDER_ITEMS_IN
ORDER_ITEMS_INX
ORDER_PARTNERS
PARTNERADDRESSES
- At last Execute
Note: The test data can be saved so that you can call it up again using the "Test data directory" button, see 550431 - FAQ: BAPIs in sales - general questions, part 4.
Please follow the following in order to resolve the above-mentioned error: