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

BAPI for creating customers

Former Member
0 Likes
1,156

Hi,

I need to update customer master using transaction XD01 using LSMW.

I will also be updating the classification section.

I couldnt find any BAPI for this purpose.

Can someone tell me any BAPI or Function Module for this purpose.

Thanks in advance

5 REPLIES 5
Read only

Former Member
0 Likes
582

Try using BAPI BAPI_CUSTOMER_CREATEFROMDATA1.

Have a look at below link for details:

[BAPI_CUSTOMER_CREATEFROMDATA1|http://abap.wikiprog.com/wiki/BAPI_CUSTOMER_CREATEFROMDATA1]

I hope it helps.

Best Regards,

Vibha

Please mark all the helpful answers

Read only

0 Likes
582

I need to update the classification section also. Can you please tell me which field is or structure do I need to update for that.

Read only

Former Member
0 Likes
582

BAPI_CUSTOMER_CREATE

Read only

Former Member
0 Likes
582
Read only

Former Member
0 Likes
582

Hi,

Try with

BAPI in LSMW :

Business object : SCUSTOMER

Method: CREATEFROMDATA

Message type :FLCUSTOMER_CREATEFROMDATA

Or use BAPI FM Directly and write the program:

BAPI_CUSTOMER_CHANGEFROMDATA1

Regards

Kiran Sure