Skip to Content
0
Aug 31, 2007 at 09:02 AM

Updating additional attributes using BUPA_CENTRAL_CI_CHANGE. Help!

593 Views

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