2008 Apr 11 3:45 PM
Can someone tell me whether they had successfully created a customer in SAP from an external system? I did a research and saw a few bapi: BAPI_CUSTOMER_CREATEFROMDATA, BAPI_CUSTOMER_CREATEFROMDATA1, BAPI_CUSTOMER_CREATE. I've tried to populate the structures in these BAPI with customer data but has lots of issues with it. If you have successfully created a customer using theses bapis or some other way, please advise.
Thanks,
Tina
2008 Apr 11 4:37 PM
Can someone tell me whether they had successfully created a customer in SAP from an external system? I did a research and saw a few bapi: BAPI_CUSTOMER_CREATEFROMDATA, BAPI_CUSTOMER_CREATEFROMDATA1, BAPI_CUSTOMER_CREATE. I've tried to populate the structures in these BAPI with customer data but has lots of issues with it. If you have successfully created a customer using theses bapis or some other way, please advise.
Thanks,
Tina
2008 Apr 11 4:37 PM
2008 Apr 11 5:32 PM
Have you use BAPI_CUSTOMER_CREATFROMDATA1? if so, can you tell me which fields in all the structures of this bapi BAPI_CUSTOMER_CREATEFROMDATA1 you pass data to? The issue I have is, if I pass data to PI_PERSONALDATA structure, I have an error saying the language field is required. When I enter data to the language field, I have error 'Double creation of company and user address not created'. It seems like I get an error if I don't enter anything and get the error when enter something. Please advise.
2008 Apr 11 5:49 PM
Are you passing PI_COMPANYDATA as well?
This method of the "Customer" business object is used to create a customer in SAP R/3 on the basis of entered personal data (import parameter PI_PERSONALDATA) or entered company data (import parameter PI_COMPANYDATA). Only one structure (personal data or company data) can be transferred to the BAPI with entries.
Check this link for more understanding.
http://abap.wikiprog.com/wiki/BAPI_CUSTOMER_CREATEFROMDATA1
G@urav.
2008 Apr 11 6:14 PM
The message displayed was not accurate. For example, it told me language in personal data structure is missing so I enter the data there. After you replied and asked about personal data and company data, I realized that the message was misleading so enter the language field in company structure, with then did create the customer successfully. Thank you!
2009 Jan 13 2:42 AM