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

Not refershing data

Former Member
0 Likes
860

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

9 REPLIES 9
Read only

Former Member
0 Likes
844

Hi, do you use BAPI_TRANSACTION_COMMIT anywhere in your store FM? try with this and execute your read BAPI again.

Sukumar

Read only

0 Likes
844

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

Read only

0 Likes
844

Use in store bapi FM, after that check your read bapi FM ....

Read only

0 Likes
844

Hi

Still the same problem..

Read only

0 Likes
844

Hi ,

What is the FM you are using ,is it a standard FM or a custom FM.

Regards

Arun

Read only

0 Likes
844

Customised FM.

Read only

0 Likes
844

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

Read only

0 Likes
844

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

Read only

0 Likes
844

Hi ,

In the read FM , write it as one of the first lines.

Regards

Arun