Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Update of mobile number on customer master data

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

Hi,

XD99

Regards

Nicole

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

I have fixed the problem with creation a own update Idoc and Batch Input!