Accessing 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.


 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s