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

SUBMIT ALV GRID report

Former Member
0 Likes
952

HI

I have a question on how to read the ALV GRID output of a Standard Report externally from an RFM.

I am using this standard command to submit the progam based on the seltab, and Exporting to memory and reading the list details:

"SUBMIT <prog name> WITH SELECTION-TABLE seltab EXPORTING LIST TO MEMORY AND RETURN."

Since some reports display the o/p in ALV GRID, we cannot EXPORT them to memory, so is there any way we can read the output of the report without trying to modify the SAP report source code.

Thanks,

-Ravi.

HI

I have a question on how to read the ALV GRID output of a Standard Report externally from an RFM.

I am using this standard command to submit the progam based on the seltab, and Exporting to memory and reading the list details:

"SUBMIT <prog name> WITH SELECTION-TABLE seltab EXPORTING LIST TO MEMORY AND RETURN."

Since some reports display the o/p in ALV GRID, we cannot EXPORT them to memory, so is there any way we can read the output of the report without trying to modify the SAP report source code.

Thanks,

-Ravi.

4 REPLIES 4
Read only

Former Member
0 Likes
695

Hi,

Since the ALV deals with container controls, they are not BDC compatible and in the same way they are not compatible with SUBMIT EXPORTING LIST TO MEMORY.

One way would be to copy the current program and change the display to classicl list method.

With regards,

Sharath.

Read only

andreas_mann3
Active Contributor
0 Likes
695

Hi,

use fm REUSE_ALV_LIST_DISPLAY instead of alv grid

Andreas

Read only

Former Member
0 Likes
695

I believe the only way is to incorporate the logic of the standard program in your program instead of using SUBMIT.

The other way is to copy the standard program into a custom program.The problem with this is you have to also move this object along with the custom program when you need to transport.

Please reward points if you find this explanation useful.

Read only

0 Likes
695

HI

The problem here is that, I am NOT trying to do this for a specific report. I am trying to generalize it, so that it works for most of the reports.

Is Copying the code to zName and modifying it is the only Option or is there any way to read the ALV GRID?

Thanks

Ravi.