‎2006 Jun 12 6:29 AM
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
‎2006 Jun 12 6:42 AM
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
‎2006 Jun 12 6:33 AM
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
‎2006 Jun 12 6:42 AM
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
‎2006 Jun 12 6:50 AM
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?
‎2006 Jun 12 7:07 AM
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