‎2008 Jan 07 6:13 AM
Hi all,
I have two FMs
1.One for Read
2.For for store.
If i save values for the store FM it is working and also the read FM to read values from the store FM.
But it not refershing data frequently...After storing in store bapi ,the read bapi could get the previously stored values and not the current,but when i revert back to program(FM sorccode) then execute it gives correct values.
Can you any one tel me what is problem...
Thanks & Regards
HB
‎2008 Jan 07 6:39 AM
Hi, do you use BAPI_TRANSACTION_COMMIT anywhere in your store FM? try with this and execute your read BAPI again.
Sukumar
‎2008 Jan 07 6:58 AM
HI sukumar,
In my case ready Bapi is not giving the new value immediately. Where to give the BAPI_TRANSACTION_COMMIT ,whether in read bapi or in store bapi.
HB
‎2008 Jan 07 7:03 AM
‎2008 Jan 07 7:23 AM
‎2008 Jan 07 7:25 AM
Hi ,
What is the FM you are using ,is it a standard FM or a custom FM.
Regards
Arun
‎2008 Jan 07 7:31 AM
‎2008 Jan 07 7:36 AM
Hi,
Then please try to clear/refresh the return parameters of the FM , the varaibles used in the FM are global for the FM group and hence it is generally advised to clear/refresh these type of return parameters.
Hope this helps
Regards
Arun
‎2008 Jan 07 7:46 AM
Thanks for ur reply,
Where to refresh the return parameter ,whether in read or store FM. How to do that..
HB
Edited by: Hans Bauer on Jan 7, 2008 9:03 AM
‎2008 Jan 07 8:32 AM
Hi ,
In the read FM , write it as one of the first lines.
Regards
Arun