ā2014 Jan 17 12:33 PM
Hi everybody,
I am using this BAPI_ADDRESSORG_CHANGE to update the mobile number and telephone number of the vendor.
When i am running the above BAPI in SE37 and also as a standalone program it runs fine and updates the corrosponding feilds,
but once i call this program in module pool along side other functional modules i see that BAPI runs fine and even the address no is also getting
generated but the data is not getting updated in the adr2 table. I have run the BAPI_TRANSACTION_COMMIT after even the data is not getting commited.
can anyone let me know what could be the problem of this sought of behaviour.
ā2014 Jan 17 12:41 PM
Hi Bhargava,
Please check again whether you are using just COMMIT WORK or BAPI_TRANSACTION_COMMIT because both has some difference.
Check sy-subrc after commit. Donot check the table soon after the process. You might be reading the data from the buffer. Try log out- login again. Think this might help.
Happy Coding,
Santhosh Yadav
ā2014 Jan 17 6:31 PM
Hi santhosh,
I have checked with both the commits...but the result is same.
when i am testing the BAPI using standalone using BAPI commit the DB is getting updated,
but when using it in the module pool its not working
ā2014 Jan 18 7:51 AM
Does this BAPI return any error messages...?? Secondly make sure you have the leading zeros in address number. Please paste your sample code