‎2008 Nov 06 1:58 PM
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
‎2008 Nov 06 2:43 PM
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.
‎2008 Nov 06 2:43 PM
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.
‎2008 Nov 06 3:01 PM
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