Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create Customer by BAPI_CUSTOMER_CREATEFROMDATA1

Former Member
0 Likes
660

Hi to all,

I'm Trying to create a costumer using the RFC BAPI_CUSTOMER_CREATEFROMDATA1. I have all fields populated but I don´t have any customer reference to fill structure PI_COPYREFERENCE. I only have the SALESORG and DISTR_CHAN. The other problem is that I need to call a RFC Function. When I execute the BAPI I have the following error message:

Internal error: Reference cust does not exist in sales master record

Anyone have a tip?

Regards

PP

1 ACCEPTED SOLUTION
Read only

tamra_walstrom
Explorer
0 Likes
465

We've found this BAPI difficult to use too. Try the FM SD_CUSTOMER_MAINTAIN_ALL. We've used it with great success. We created our own function module containing this function module and published it as a web service.

Best of luck.

2 REPLIES 2
Read only

tamra_walstrom
Explorer
0 Likes
466

We've found this BAPI difficult to use too. Try the FM SD_CUSTOMER_MAINTAIN_ALL. We've used it with great success. We created our own function module containing this function module and published it as a web service.

Best of luck.

Read only

0 Likes
465

Hi Tamra Walstrom

Thanks for the answer.

Regards

PP