09-26-2008 7:47 AM
Hello everybody,
I have to update the mobile number of a customer.
Normally i use the BAPI "BAPI_CUSTOMER_CHANGEFROMDATA1" to update customers, but in the structures of this is no filed for the mobile number.
Have anybody a idear how I can update a mobile number on a easy way?
I do not prefer to modify or create entries direct on the database because the change requests are lost.
I think the database table is ADR2 = communication phone numbers
Regards
Christian
09-26-2008 7:50 AM
09-26-2008 9:06 AM
I'm not sure if i'am right but I can only update the phone number 1 and 2 with this transaction. Not the mobil number. I have tried it.
Regards
Christian
09-29-2008 12:32 PM
Hi,
The BAPI you plan to use is not done for that purpose. Don't use it.
From XD99, you are limited to the KNA1 data.
either code it yourself:
get address number from KNA1-ADRNR
call function ADDR_GET_COMPLETE
update the parameters\
call function ADDR_MAINTAIN_COMPLETE
either from ERP2005 look at class CMD_EI_API and CMD_EI_API_EXTRACT
Extract the data with CMD_EI_API_EXTRACT
update the complexe structure
call CMD_EI_API-MAINTAIN or CMD_EI_API-MAINTAIN_BAPI
BR
Alain
12-03-2008 10:48 AM
I have fixed the problem with creation a own update Idoc and Batch Input!