Application Development and Automation 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: 
Read only

BAPI_BUPA_ADDRESS_CHANGE replication issue - ISU

Former Member
0 Likes
2,331

I am attempting to correct a program that utilizes BAPI_BUPA_ADDRESS_CHANGE to update customer mailing address in CRM. When the address update is made in ECC for the partner and guid combination passed, the BAPI also updates the corresponding SD customer address record when replicating the change back to ECC. When doing so, it deletes the ECC customer name stored in that record in ADRC. Table KNA1 looks to that address record for the name, so once deleted, the customer name also no longer shows up via transaction XD02. When we create service orders in ECC, the customer name isn't available any longer so it doesn't appear. We are executing BAPI_BUPA_ADDRESS_CHANGE with the following parameters (passing bp and guid):

*     update the address
      CALL FUNCTION 'BAPI_BUPA_ADDRESS_CHANGE'
*     IN BACKGROUND TASK AS SEPARATE UNIT
        EXPORTING
          BUSINESSPARTNER = <bp_addr>-bp
          ADDRESSGUID     = <bp_addr>-guid
          ADDRESSDATA     = ls_addr
          ADDRESSDATA_X   = ls_addrx
        TABLES
          RETURN          = lt_return.

Can anyone offer advice on how to make these updates without overwriting the ADRC-NAME1 and ADRC-NAME2 columns in ECC? Are we using the correct function module? Thanks!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,063

Here is the response we received from SAP:

"We have analized the issue and we kindly ask you to implement the note #1113889 in your CRM system. Even the description of the note does not sound relevant it should solve the problem because ERP needs the BP category data to fill customer name correctly and this data is not filled when address is changed through BAPIs.

We implemented this note in CRM and have tested in Sandbox, DEV and QA. Customer name is no longer deleted when the address change replicates from CRM to ECC. All other functions appear to be acting as normal.

I am attempting to correct a program that utilizes BAPI_BUPA_ADDRESS_CHANGE to update customer mailing address in CRM. When the address update is made in ECC for the partner and guid combination passed, the BAPI also updates the corresponding SD customer address record when replicating the change back to ECC. When doing so, it deletes the ECC customer name stored in that record in ADRC. Table KNA1 looks to that address record for the name, so once deleted, the customer name also no longer shows up via transaction XD02. When we create service orders in ECC, the customer name isn't available any longer so it doesn't appear. We are executing BAPI_BUPA_ADDRESS_CHANGE with the following parameters (passing bp and guid):

*     update the address
      CALL FUNCTION 'BAPI_BUPA_ADDRESS_CHANGE'
*     IN BACKGROUND TASK AS SEPARATE UNIT
        EXPORTING
          BUSINESSPARTNER = <bp_addr>-bp
          ADDRESSGUID     = <bp_addr>-guid
          ADDRESSDATA     = ls_addr
          ADDRESSDATA_X   = ls_addrx
        TABLES
          RETURN          = lt_return.

Can anyone offer advice on how to make these updates without overwriting the ADRC-NAME1 and ADRC-NAME2 columns in ECC? Are we using the correct function module? Thanks!

10 REPLIES 10
Read only

Former Member
0 Likes
2,063

hello,

did you try CRMXIF_PARTNER_SAVE?

best regards,

swanand

Read only

0 Likes
2,063

I will be testing further and will let you know if that helps. Thank you.

Read only

Former Member
0 Likes
2,064

Here is the response we received from SAP:

"We have analized the issue and we kindly ask you to implement the note #1113889 in your CRM system. Even the description of the note does not sound relevant it should solve the problem because ERP needs the BP category data to fill customer name correctly and this data is not filled when address is changed through BAPIs.

We implemented this note in CRM and have tested in Sandbox, DEV and QA. Customer name is no longer deleted when the address change replicates from CRM to ECC. All other functions appear to be acting as normal.

Read only

0 Likes
2,063

Hi Ryan,

We are facing similar issue with the CRM replication deleting the internation address versions of a BP.  The note you mentioned is no longer available.  I'm wondering if you made a typo or has SAP taken it down?

Thanks,

Clint

Read only

0 Likes
2,063

Hi Clint,

I just logged onto the Marketplace and searched for note 1113889 under the Help & Support tab using the "SAP Note" search box. The following note and information displayed:

Note 1113889 - SAP DX : Scope for general data set incorrectly

Symptom

General data is deleted in the target system when the report BUPTDTRANSMIT is run.

Other terms

LBUPA_INTERFACE_OUTBOUNDA88, gs_flag-common, scope.

Reason and Prerequisites

This is a program error

Solution

Please apply the source code corrections to solve the problem

Below that it lists the Corrections Instructions. Has your Basis team attempted to apply the note or were you unable to find it in a search?

Ryan

Read only

0 Likes
2,063

Thanks for the fast reply.

I can't get to it on the website.  It says "The requested SAP Note is either in reworking or
is released internally only"

When I try to download with SNOTE I get "SAP Note 0001113889 not released"

I don't get it. 

We're opening a ticket with SAP, so we'll see what they say.  Thanks again.

Read only

0 Likes
2,063

Hi Clint,

Have you solved this issue? I have the same problem as Ryan and you have described.

The note 1113889 is still unreleased.

Thanks in advance.

Cristian

Read only

0 Likes
2,063

Hello Christian,

I just looked at this again a couple days ago.  Please try note 1174515 instead.  I hope it works for you too.

Thanks,

Clint

Read only

0 Likes
2,063

Hello Clint,

Thanks. But I've tried to read the note and got the same message as the other note (The requested SAP Note is either in reworking or is released internally only").

Did you apply this note; I guess you have already solved your issue, did you?

Thanks again,

Christian.

Read only

0 Likes
2,063

Yes, it worked for us.  I wonder if SAP releases these notes to specific customers only upon request.  I noticed that note 1174515 has a release status of "Pilot Release".  I guess in this case open a message with SAP.  Good luck.