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 customer?

Former Member
0 Likes
1,638

Hi!

Is there any BAPI available to create proper customer master records in the system.

I know we do have the functions in group V02D available like BAPI_CUSTOMER_CHANGEFROMDATA1 but OSS note 390045 states that these should only be used for the Online store.

Does that bring us back to using BDC's even in "R/3 Enterprise"?

Is SAP ever going to change or just charge millions for their licences and come out with new and fancy GUI's each time.

9 REPLIES 9
Read only

andreas_mann3
Active Contributor
0 Likes
1,472

Hi,

there's no "proper" or complete solution for

creating/changing customer master data :

neither bapi... nor report rfbide00...

-> our solution is BDC resp. call Transaction

(XD01/XD02/FD32)

regards

AM

Read only

jakob_steen-petersen
Contributor
0 Likes
1,472

Hi,

The BAPI´s are allright i think, but otherwise you can use IDOC (messtyp DEBMAS). I use the IDOC interface for importing customers and it goes allright.

/Jakob

Read only

0 Likes
1,472

hi!

Are we talking about the same BAPI or is it a different one that you are referring to?

Read only

jakob_steen-petersen
Contributor
0 Likes
1,472

Hi,

Yes and can see what you mean when i read the note... then i propose you use the IDOC!

/Jakob

Read only

Former Member
0 Likes
1,472

Hi there!

In our 46C system, we use function SD_CUSTOMER_MAINTAIN_ALL to create/change customer master data. Since the function can not be called via RFC, we have encapsulated this function in a z-function. The z-function has the same parameters as SD_CUSTOMER_MAINTAIN_ALL. It calls the SAP-function, gives back its returncodes and if CUSTOMER_MAINTAIN_ALL did not deliver errors, executes a commit work, because the adress-data in CUSTOMER_MAINTAIN_ALL is stored only on commit. We're using this z-function in our productive environment since a year ago, and until now, had no problems.

Hope this helps, greetinx, Kathrin!

Read only

0 Likes
1,472

Hi Again!

Internally the SAP BAPIs for online store also use this function - so the workaround was exactly what you are referring to.

Was just a bit too disappointing though to go through the trouble of the "big upgrade" and still do what we did 5 yrs back!

Thanks for your help again.

Regards,

Read only

0 Likes
1,472

Hi the Bapi BAPI_CUSTOMER_CREATEFROMDATA1 can be used for creating customers.. can company data also be created using this.

Regards

Edited by: Vinithra Iyangar on Mar 5, 2009 10:40 AM

Read only

Former Member
0 Likes
1,472

In BAPI_CUSTOMER_CHANGEFROMDATA1 you should provide a reference customer of all the accouting data relevant to the customer.

Regards,

Joan

Read only

Former Member
0 Likes
1,472

Hi

check this bapi

BAPI_CUSTOMER_CREATEFROMDATA

Hope this helps you

Regrads,

Rajani