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

Customer Creation

former_member445996
Participant
0 Likes
332

Hi All,

I need to create customers based on a reference customer in SAP. I am using FM SD_CUSTOMER_MAINTAIN_ALL but don't see a parameter for specifying the reference customer. I tried to use BAPI_CUSTOMERCREATE_FROMDATA1 which has the parameter for reference but does not have other fields like Search Terms that I need to pass.

Does anyone know of any other FM or any place in FM SD_CUSTOMER_MAINTAIN_ALL where I can specify the reference customer number and create the new customer based on the reference customer.

Any suggestions will be appreciated.

Regards.

1 REPLY 1
Read only

Former Member
0 Likes
301

Hi,

Did you check the parameter in the BAPI..

*" VALUE(PI_COPYREFERENCE) LIKE BAPIKNA102

*" STRUCTURE BAPIKNA102

Thanks,

Naren