cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to create an online customer?

Former Member
0 Kudos

Hello,

Normally one would create a customer using XD01 via filling all the relevant data such as Address, Company Data, Sales Org Data, etc....

We have an application via which, we would like to make call to a BAPI and be able to create a customer.

The BAPIs available such as BAPI_CUSTOMER_CREATEFROMDATA1, BAPI_CUSTOMER_CREATEFROMDATA, BAPI_CUSTOMER_CREATE do not provision for entering all the data which one would like to supply while creating a customer.

Does anybody has any idea out there as to what option should I be looking at to create a customer via BAPI.

--

Regards

Mahesh

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks for clarifying Alain and removing misconceptions.

--

Regards

Mahesh

Former Member
0 Kudos

Hi,

these bapis are not to be used out of their original context. Jürgen is fully right when he points at Note 390045

SD_CUSTOMER_MAINTAIN_ALL is even worse, it is used in standard during the maintenance of a consumer using the standard customer master data transaction XD01 & XD02.

It is not intended to be used out of the transaction and in no case it should be used out of its original context. Due to the specificity of the function module, out of the original context we may face limitations and data inconsistencies.

This is precisely what you face in your case.

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

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

Hope this helps

BR

Alain

kesavadas_thekkillath
Active Contributor
0 Kudos

There is no BAPI available.

you can create a recording and use it in a remote enabled function module.

You can try with SD_CUSTOMER_MAINTAIN_ALL, also check whether its remote enabled or wrap it in a Remote enabled fm and use.

JL23
Active Contributor
0 Kudos

what are you missing?

Former Member
0 Kudos

While creating the customer, I would like to specify the following, which I am able to do via XK01:

  • Customer Account Group

  • Sales Organization Info

  • Vendor Account No.

  • Industry

  • Various Tax Codes

  • Reconciliation Account

  • Customer Group

  • Currency

  • Customer Pricing Procedure

  • Account Assignment

--

Regards

Mahesh

JL23
Active Contributor
0 Kudos

looks like there is no BAPI yet.

Please see OSS Note 390045 - Usage of BAPI_CUSTOMER_* of function group V02D