‎2010 Aug 06 6:06 AM
Hi Experts,
I am using CMD_EI_API=>MAINTAIN_BAPI method for Creating Customer through Custom program. The Creation of Customer Master is working fine.
I have another requirement i need to perform the following for the Customer Change
1 . Delete all Phone , Fax and SMTP entries from the table and create a new entries for Customer.
2 . Delete a Contact Person based on the information from the legacy system.
I am facing problem in the above two issues
ADR2, ADR3 and ADR6 entries are retrieved for customer.
this values are populated and passed to the method with Task as 'D' - delete.
there is no error message from the Method. when i call commit statement
1 . the address details are not getting deleted in the tables
2. if a contact person is deleted then i am getting a short dump while commit.
Please help me if you know the details of MAINTAIN_BAPI method whic can be used for the Deletion purpose.
Thanks,
Shrikanth R
‎2010 Aug 20 12:11 AM
Hi Experts
I'm having the same problem it looks like the method maintain_bapi does not commit the new values, I debuged it and found a call to a badi lr_badi_update but I could not find information about it.
Any help will be appreciate
Leo
‎2011 Aug 16 10:18 AM
Hello,
Can anyone let me know how to use this class method? I have a requirement to create/udpate the customer. Could you please help me out with a sample code or something?
Thanks.