Application Development 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: 

SD_CUSTOMER_MAINTAIN_ALL - Create Customer

Former Member
0 Kudos

Hi,

Do you know if exists any function / Bapi that i can create a customer?

I am trying with SD_CUSTOMER_MAINTAIN_ALL but i didn't get anything at the moment. I need to know an example to fill the structures in that function. Do you know or have any tip about this?

I tried to put a break-point in that FM when creating a customer by XD01, but it didn't stop there.

Can you help please?

Thanks

BR

4 REPLIES 4

Former Member
0 Kudos

Hi,

Try using these BAPIs

BAPI_CUSTOMER_CREATE

BAPI_CUSTOMER_GETSALESAREAS

BAPI_CUST_SAREAS_MATERIALS_GET

If this helps you, please reward the points.

Regards,

Prem

Former Member
0 Kudos

Here it is:

BAPI_CUSTOMER_CREATE

0 Kudos

BAPI_CUSTOMER_CREATE doens't fit for what i want because this open the XD01 Transaction.

I want to create a customer inside my program. I already saw some posts here, and i think that SD_CUSTOMER_MAINTAIN_ALL should be the better way to create a customer... but i need some examples or tips on that.

Any idea?

thanks for help.

0 Kudos

Try the read and save methods of class CL_ERP_SALES_CMD_MACCESS.