‎2008 Jul 26 4:00 AM
Hi guys,
Im having this error is BAPI_SALESORDER_SIMULATE:
"please enter ship-to party or sold-to party"
What causes this error?
Please show some sample also on how to populate this bapi to retrieve pricing condition given the delivery number for PO(STO)...
thanks a lot!
‎2008 Jul 26 11:28 PM
Hello Mark
You need to provide both, ship-to-party and sold-to-party, in order to create a sales order. Use the TABLES parameter ORDER_PARTNERS for adding the partners, e.g.:
PARTN_ROLE = 'SP' " sold-to-party, 'SH' = ship-to-party
PARTN_NUMB = <debitor number with leading zeros>
ITM_NUMBER = '000000' " I assume this is for the header
Regards
Uwe
‎2008 Jul 26 6:00 AM
u need to enter SOLD-TO party and SHIP-TO party, as well as special processing indicator, po no, shipping condition, and line item data .
‎2008 Jul 26 6:01 AM
‎2008 Jul 26 11:28 PM
Hello Mark
You need to provide both, ship-to-party and sold-to-party, in order to create a sales order. Use the TABLES parameter ORDER_PARTNERS for adding the partners, e.g.:
PARTN_ROLE = 'SP' " sold-to-party, 'SH' = ship-to-party
PARTN_NUMB = <debitor number with leading zeros>
ITM_NUMBER = '000000' " I assume this is for the header
Regards
Uwe