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: 

Customer address change

Former Member
0 Kudos

Hi,

I'm trying to change/update/delete customer's address, I'm trying to modify the telephones of customer like the transaction XD02 but I have not obtained it.

I tried with functions:

  • ADDR_UPDATE, ADDR_MEMORY_SAVE and ADDR_MEMORY_CLEAR_COMMIT

  • BAPI_ADDRESS_CHANGE

  • BAPI_ADDRESSCONTPART_CHANGE

but anything.

Someone have resolved it?

Regards,

Eduardo Cellalbo

6 REPLIES 6

Former Member
0 Kudos

Hi,

Use following FM :

ADDRESS_UPDATE

Reward points if helpful.

Regards.

Srikanta Gope

Former Member
0 Kudos

Hi,

May be u can use

BAPI_ADDRESSORG_CHANGE

BAPI_CUSTOMER_CHANGEFROMDATA

BAPI_CUSTOMER_CHANGEFROMDATA1.

check if the below theard useful?

https://forums.sdn.sap.com/click.jspa?searchID=4089003&messageID=3685182

Regards

Former Member
0 Kudos

Hi

U need to use the BAPI BAPI_ADDRESSORG_SAVEREPLICA

Max

0 Kudos

Hi,

this function returns the next error:

AM028 Please use another function to maintain the SPACE version of the address

OBJ_TYPE = 'KNA1'

OBJ_ID = '0000000003'

CONTEXT = '001'

IV_CHECK_ADDRESS = 'X'

Then I have filled the table BAPIADTEL fields:

BAPIADTEL-TELEPHONE = '5555'

BAPIADTEL-R_3_USER = '1'

Have you used this funciton?

Regards,

Eduardo

Message was edited by:

Eduardo Cellalbo

JL23
Active Contributor
0 Kudos

Hi Eduardo,

Did you ever solve this problem with error message AM028 Please use another function to maintain the SPACE version of the address?

JL23
Active Contributor
0 Kudos

Okay, got the solution and want share.

When an address version is loaded in the system, then it should be

accompanied by address version with space which is the default address.

If you have already an adress version and just want add another one, means the IDOC has only 1 adress version within, then SAP tries to overwrite the SPACE adress version.

And this is reason for the mentioned error.

There is a OSS note 985296, this note basically deals the issue

when you just want to transfer date specific to some version , like

Taiwan (M), and do not want to transfer the data for space version.

with the help of exit, that data is changed in the

in the middleware for space version and space version will have the datasame as in the target system. So, finally it looks as only data for version M is transferred.