Application Development and Automation 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: 
Read only

Exporting to memory

Former Member
0 Likes
665

Hi,

I would like to call a report from a dialog program such that watever changes i make in the dialog program should be relected in the report(ALV display)

Thanks,

Sruthy

1 ACCEPTED SOLUTION
Read only

former_member480923
Active Contributor
0 Likes
631

Hi

The best way to incoporate the report display via ALV froma dialog program is to use the OO method. Try the following steps in addition to the standard code in the dislog process.

1) Create a Custom Control in ur screen

2) dsiplay the ALV report using the class CL_GUI_ALV_GRID

hope this helps

Anirban

4 REPLIES 4
Read only

Former Member
0 Likes
631

Hi !

... and so you'd like to give all the data via ... EXPORT TO MEMORY to the report.

That will work.

You'll have to give the report in it's selection screen the ID to with you've exportet the data in the "caller" (your dialog).

Regards

Rainer

Read only

former_member480923
Active Contributor
0 Likes
632

Hi

The best way to incoporate the report display via ALV froma dialog program is to use the OO method. Try the following steps in addition to the standard code in the dislog process.

1) Create a Custom Control in ur screen

2) dsiplay the ALV report using the class CL_GUI_ALV_GRID

hope this helps

Anirban

Read only

Former Member
0 Likes
631

hi Rainer,

Dint quite understand wat u said. I have exported it to memory from the dialog program. Watever changes i have made in the dialog program i have passed to an internal table and passed to memory.

How do i call the internal table in the report so that the changed values can be displayed on The ALV in the report?

Read only

0 Likes
631

Sruthy,

If you are calling the report from the Dialog program, I am not sure what the issue is.

Export the internal table to the memory, and import that in the report and do the processing.

Regards,

Ravi