Error: u201CNo customer master record exists with sold to partyu201D
We are trying to create an order through Webshop uploading details through excel, BAPI_SALESORDER_CREATEFROMDAT2 FM is called from backend, while placing an order we are getting an error as below.
u201CNo customer master record exists with sold to partyu201D
Please let us know if anyone faced similar kind of issue.
The strange observation is that ERP_LORD_LOAD is getting called before BAPI_SALESORDER_CREATEFROMDAT2 and then throwing the error message.
It works fine if we execute from standalone program from Java.
In ECC side we are getting sy-subrc as 1 in FM SD_SALES_HEADER_MAINTAIN(called internally from BAPI FM) when we create from Webshop.
Any pointers on this would be appreciated.