Application Development 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: 

How to refresh DataBase Tables

harsha_s
Explorer
0 Kudos

Hello,

The below ABAP code is fetching WorkItem Id from the table SDOE00D00000.

But the problem is , when i execute the script for the first time, it gets me the old data and when i execute for the second time, it fetches the latest data from the table.

Can anyone kindly help me to resolve my issue ?

ABAP.

tables : SDOE00D00000.

data : It_t1 type table of SDOE00D00000,

WA_T1 like SDOE00D00000.

REFRESH It_t1 FROM TABLE SDOE00D00000 .

SELECT SINGLE * FROM SDOE00D00000 INTO WA_T1 where C1 = V_WORK_ITEM_ID_MAIN.

WA_T2 = WA_T1.

ENDABAP.

regards

harsha

1 REPLY 1

former_member131788
Active Participant
0 Kudos

Hi Harsha,

I dont think your thread is related to eCATTs, hence this thread is moved to ABAP general forum.

Kindly post your threads in an appropriate forum to get fast response.

Thanks and Kind Regards

-


Mohan