cancel
Showing results for 
Search instead for 
Did you mean: 

Required info on SD_CUSTOMER_MAINTAIN_ALL Function module

Former Member
0 Kudos

Hi All,

Can i use SD_CUSTOMER_MAINTAIN_ALL for both creating and updating a customer? I am getting the data through Idoc. I have extended the DEBMAS01 idoc to Z Idoc. There will be no customer number in the segment E1KNA1M. For creating there will be no issues.

Say if the FM can be used to update the customer; how will it recognize whether to update or create a new customer?

Thanks,

Deepak

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Deepak,

Instead of 'SD_CUSTOMER_MAINTAIN_ALL'

look at class CMD_EI_API and methods MAINTAIN or MAINTAIN_BAPI instead.

Regards,

Vimal.

Former Member
0 Kudos

Vimal,

I am not aware of the class method. Can you give me the step by step procedure to implement it using Class also sample code if you have any.

If there is custom tab created in company code level data; if i using the above class; can i populate the custom field in the custom tab.

Thanks,

Deepak

Former Member
0 Kudos

Hi,

Please check this link. it will be helpfull.

http://abaplovers.blogspot.com/2008/03/create-customer-sdcustomermaintainall.html

Regards

Hiren K.Chitalia