‎2008 Feb 05 10:12 AM
How to retain the itab values even after program finishes execution...
ive the requirement of storing itab data and append/modifying the itab on each run...
prog 1 -
> progr2 -
> apppend itabA (progr2 ends and return, not prg1)
prog 1 -
> progr2 -
> apppend itabA (progr2 ends and return, not prg1)
prog 1 -
> progr2 -
> apppend itabA (progr2 ends and return, not prg1)
prog 1 -
> progr2 -
> apppend itabA (progr2 ends and return, not prg1)
at last ,
prog1 prints the entire itabA...
i need somthing like global itab...
Thanx,
‎2008 Feb 05 10:19 AM
Hi
U can use SAP Memory SET/GET or
ABAP Memory IMPORT/EXPORT
NARENDRA
‎2008 Feb 05 10:14 AM
Hi Naveen,
For this type of task you can use the ABAP memory. But make sure when your program finishes then you have to free the memory id aswell.
‎2008 Feb 05 10:18 AM
Export your entries to memory and then import them ...
or write them to a file and download to desktop/app server ..
and again upload to the internal table ..
‎2008 Feb 05 10:18 AM
hi Naveen,
just create a Z... table in SE11 and save the data into it from your program. At each run, you read out the entries from there, work with them and modify accordingly. There is no other way...
If you export the data into memory, you will loose it, when the session finishes (if my understanding is right you want to keep it for several runs).
hope this helps
ec
‎2008 Feb 05 10:19 AM
Hi
U can use SAP Memory SET/GET or
ABAP Memory IMPORT/EXPORT
NARENDRA