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 bapi

Former Member
0 Likes
649

Hi Experts ,

I want to create customers , for that when I try with BAPI 'BAPI_CUSTOMER_CREATEFROMDATA1' It will create the customers and assign the numbers automatically , I need to create customers(ship to customers ) . I Have These customer (ship to customers ) in a Excel file , I need to update in ECC with the same number . so please help which BAPI is suitable to create with customer number , When I check the bapi 'BAPI_CUSTOMER_CREATEFROMDATA1', I dont find the KUNNR filed in any structure .

Thanks In Advance

2 REPLIES 2
Read only

Former Member
0 Likes
595

Hello,

The reason for no KUNNR field in that BAPI because of the fact, customer number generated based on acount group (where number range id is assign of object DEBITOR)..like ship-to-part, sold-to-party..

So if you want to created a customer with own number, you can use IDOC (post in same system) and using customer function module you can pass own number..

Thanks

Read only

Former Member
0 Likes
595

Thank u for Ur reply,

Can u please tell me about this idoc and how to post idoc in same system and

what is the custom function module to post this idoc.

thanks in advance,