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

Former Member
0 Likes
994

Hi Experts,

I have a requirement of updating the Customer Master in our CRM server as and when the Address changes. The new address would come from an external system in form of a flat file and my program would have to read the content and update the CRM Customer Master using a standard BAPI. Here is what I am doing.....

Am calling standard SAP BAPI: BAPI_BUPA_ADDRESS_CHANGE

right after that I am calling BAPI_TRANSACTION_COMMIT.

The problem that I am facing is, if 100 Customers have to be updated, when I run a backgrond job only 50-60 gets updated. Where as, if i manually run the program by putting a break-point at the 1st BAPI and execute it one after another....all CUstomers get updated.

Did any of you come across such an issue. Would a WAIT statement help. My code is in Quality system, so before I make changes in Development system and move transports, I thought would seek your advice.

Regards,

Subhrangsu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
906

Hi,

What value did you gave for BAPI_TRANSACTION_COMMIT importing parameter WAIT? Try to change values between to 'X' or ' '. In my oppinion this should be set to 'X' which means that it does synchronous update to database.

Hopefully it works,

Florin

PS: I presume that after setting this parameter to X, you won't need any additional WAIT statements.

2 REPLIES 2
Read only

Former Member
0 Likes
907

Hi,

What value did you gave for BAPI_TRANSACTION_COMMIT importing parameter WAIT? Try to change values between to 'X' or ' '. In my oppinion this should be set to 'X' which means that it does synchronous update to database.

Hopefully it works,

Florin

PS: I presume that after setting this parameter to X, you won't need any additional WAIT statements.

Read only

0 Likes
906

HI Florin,

Thank you so much for your help.

I had not put 'X' for WAIT import parameter, had kind of overlooked it. Let me try with it and I guess this should work.

I will keep you updated.

Thanks yet again.

Regards,

Subhrangsu