Monday 27 July 2015

How to access one program data in another program easily without export and import / Set and Get !

-----------------------------------------------------------------------------------------------------

The first program sets a table record LT and calls subroutine of the second program and it doesn't pass the table to the subroutine.



 Hers is the subroutine defined in the second program.
Execute the first report with debug point set.

 Here we have some records. F5 and the subroutine is called.



 Now we are in the second program and we can't access the variable directly which are declared in the first program. Now the data is passed to the subroutine.
Let's dynamic access the table defined in the first report by help of field symbol.

Now again execute the report.




 So here we have the data.
F8.

Here is the output list.



----------------------------------------------------------------------------------------

No comments:

Comments system

Disqus Shortname