When using the BAPI_SALESORDER_CREATEFROMDAT2 bapi and you want to use a one time customer you need to link the ORDER_PARTNERS table with the PARTNERADDRESSES table.
This is done as follows;
ORDER_PARTNERS-ADDR_LINK = '1'.
PARTNERADDRESSES-ADDR_NO = '1'.
This will link the two tables and allow you to pass address and email information into the sales order for the one time customer.
Thanks Mark - that was really helpful. :-)
ReplyDeleteSimple and crisp.Grateful for your help
ReplyDelete