cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for Customer master record creation

Former Member
0 Kudos

Hi,

Need your help to find BAPI for Customer master record creation where in fields from General data, Company code data & Sales area data can be maintained.

Thanks in advance

Regards,

Seema Bhat

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Seema,

Can try bapi 'BAPI_CUSTOMER_CREATE' or ' BAPI_CUSTOMER_CREATEFROMDATA1'

Please refer following links for further details :--

http://www.sapbapi.com/bapi-list/

http://careerabap.blogspot.com/2010/12/step-by-step-creation-of-bapi-with.html

Thanks/Regards

Answers (3)

Answers (3)

former_member131745
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please review the OSS note below:

390045 Usage of BAPI_CUSTOMER_* of function group V02D

******************************************************************

The BAPIs of function group V02D are ONLY MEANT TO BE USED FOR THE

ONLINE STORE, in other words you can use them to create or change

Online Store consumers in the R/3 system. You CANNOT USE THEM to

create or change customer masters or consumers IN THE STANDARD

system; this can only be done via ALE or Batch Input.

When you use the mentioned BAPIs outside of the Online Store or with

customer master records which were created or changed outside of the

Online Store DATA MAY BE LOST !

******************************************************************

The above BAPI's all call SD_CUSTOMER_MAINTAIN_ALL.

Mass, batch-input and idoc processing are the only existing

functionalities available for maintaining customer master data.

See to OSS notes 384462 & 306275.

Thanks,

Gerard

Former Member
0 Kudos

Hi

First of all forget BAPI_CUSTOMER_CREATEFROMDATA1 module.

There is NO BAPI enabled function module for maintenance of customer master data.

As a result, the same is true for contact persons.

The BAPI you refer to is reserved to be used for SAP Online Store. See [note 390045|https://service.sap.com/sap/support/notes/390045]

Due to the specificity of that function module, out of the original context you will face limitations and data inconsistencies.

For the maintenance of customers, there is NO BAPI and NO direct function module.

There are some functions modules like the one above where the name is looking nice. But these should not be used.

  • Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See [note 384462|https://service.sap.com/sap/support/notes/384462]

  • Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduced. See class CMD_EI_API and VMD_EI_API

In your case, you may also have a look at class CL_ERP_SALES_LCM_INTERACTION. Despite the limitations, it is easier to use than CMD_EI_API.

Hope this helps

BR

Alain

Former Member
0 Kudos

Hi Seema,

The same kind of question is answered in forum many times, so please search the forum before posting any querry next time

For time being you can use BAPI_CUSTOMER_CREATE to create customer