cancel
Showing results for 
Search instead for 
Did you mean: 

Updating additional attributes using BUPA_CENTRAL_CI_CHANGE. Help!

gopalkrishna_baliga
Participant
0 Kudos

Hi Experts,

I am making RFC call to CRM from SAP Xapps system to update additional business partner attributes.

SAP Xapps -


RFC-----> CRM

To update the additional attributes I am using the function module BUPA_CENTRAL_CI_CHANGE. Since this is not remote enabled hence I have created a remote enabled wrapper function module YCRM_BUPA_CENTRAL_CI_CHANGE in CRM that internally calls BUPA_CENTRAL_CI_CHANGE.

In Xapps, I have a ABAP program that gets the business partner data as input.

It creates the business partner in CRM via BAPI_BUPA_CREATE_FROM_DATA.

After that I call BAPI_TRANSACTION_COMMIT.

After this it calls YCRM_BUPA_CENTRAL_CI_CHANGE to update the additional attributes. Finally I am again calling BAPI_TRANSACTION_COMMIT.

But additional attributes does not get updated in CRM.

Strangely if I run the FM YCRM_BUPA_CENTRAL_CI_CHANGE in CRM directly then it updates the attributes.

Additional attributes are the data under "customer data" tab in BP transaction.

What could be wrong?

Kindly help me!

Thanks

Gopal

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member927251
Active Contributor
0 Kudos

Hi Gopal,

Try using BUPA_CENTRAL_CI_CHANGE instead of the FM you have specified.

After the call to BAPI, use BAPI_TRANSACTION_COMMIT. It should work.

<b>Reward points if it helps.</b>