cancel
Showing results for 
Search instead for 
Did you mean: 

Maintaining Contact Person using SD_CUSTOMER_MAINTAIN_ALL !

Former Member
0 Kudos

Hi guys,

Is it possible to maintain contact person details for customer using SD_CUSTOMER_MAINTAIN_ALL ?

Cheers

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

SD_CUSTOMER_MAINTAIN_ALL 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 will 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|https://service.sap.com/sap/support/notes/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

Former Member
0 Kudos

Hi Thanx for the reply.

I like to use DEBMAS to create customer. But I dont have anyother system to refer to.

I am thinking of creting DEBMAS idoc in SAP through code refer to dummy sending system.. and SAP as receiver system.

Cheers

Former Member
0 Kudos

Hi,

I guess what you plan to do is create debmas locally (from a file) then process it locally.

Several solutions exists, either LSMW either RFBIDE00...

Just a remark, DEBMAS expects a customer number to be provided.

Never try to generate and process a DEBMAS idoc without customer number. If you are using internall number range, just generate the number in advance then put it in DEBMAS.

BR

Alain

madhu_vadlamani
Active Contributor
0 Kudos

Dear Alain,

Thanks for reply. I want to create customer from external system .

Regards,

Madhu.

Answers (2)

Answers (2)

Former Member
0 Kudos

There is code snipet avilable in wiki to get around this issue. solved.

0 Kudos

Hi!

I can't found the solution on the Wiki!

Can anyone help me please!

Thanks in advance!

madhu_vadlamani
Active Contributor
0 Kudos

Dear Sapgeek,

Can you tell me what are the fields yo want to maintain to create this customer . Actually this fm is not that much helpful. Suppose if you want to create customer internally better to go for either lsmw or bapi method.

Regards,

Madhu.