Hi Experts,
There are two prgrams let say X and Y.
1) I am calling program Y inside the loop of X program using Submitt statement and exporting the output of Y program to memory.
2) Inside the same loop i am using FM LIST_FROM_MEMORY to get the output into an internal table(ITAB1).
3) After getting the output i am moving the contents of ITAB1 to ITAB2. This process is repeated till the end of the loop.
4) After the end of the loop, I am passing ITAB2 data to FM LIST_TO_ASCI, and getting output of this FM to ITAB3.
The problem is, if there the loop iterates for 2 times, ITAB3 contains data only of 1st iteration but 2nd iteration data is missing.
Please suggest a solution to this problem.
Regards
Balu