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 report and Return

Former Member
0 Likes
1,753

Hi,

i am using this statement to get output of report in memeory list. I believe witht this syntax called program's output should not be displayed but i am getting the output everytime i use this. can anybody help me?

SUBMIT (p_prgnam)

WITH SELECTION-TABLE i_rspar

EXPORTING LIST TO MEMORY AND RETURN.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,533

Hallo Yashpal,

your code looks correct. How does the called report actually generate the output? Is it generated simply with the "WRITE" statement or is it an ALV-List?

Gerard.

11 REPLIES 11
Read only

Former Member
0 Likes
1,534

Hallo Yashpal,

your code looks correct. How does the called report actually generate the output? Is it generated simply with the "WRITE" statement or is it an ALV-List?

Gerard.

Read only

0 Likes
1,533

it is generating with ALV.

Read only

0 Likes
1,533

What is the function it is using to create the ALV ?

Read only

0 Likes
1,533

Hi,

What i think it depends on the selection screen of program that is being called.

Regards,

amit

Read only

0 Likes
1,533

it is using GRID_disply FM

Read only

0 Likes
1,533

instead use REUSE_ALV_LIST_DISPLAY

Regards

Raja

Read only

Former Member
0 Likes
1,533

Hi experts,

I have a similar issue. I have done same thing but on a report painter report (developed using GRR2). I used the G_program_name fm to get the executable programe name. then I used the submit (prog_name) exporting list to memory and return. I get the same problem and also I am not able to retrieve the report from memory using list_from_memory.

Is there any other way I can capture output of the report painter reports?

regards

Read only

0 Likes
1,533

Hi,

For Executing report painter reports and getting the data back for manipulation check out the following FM.

CRIF_RW_WEB_CALL_REPORT

Regards

Raja

Read only

0 Likes
1,533

How do you pass parameters or a variant to this FM (crif_rw_web_call_report)?

I want to run a nightly job that executes a report painter report (with a selected variant or parameters) and dumps that data to a file.

Read only

0 Likes
1,533

Hi Durairaj,

Edited by: lucascosta on Jun 28, 2011 6:48 PM

Edited by: lucascosta on Jun 28, 2011 6:48 PM

Read only

0 Likes
1,533

Hi Durairaj,

I read about this function crif_rw_web_call_report, for Report Painters, and I need a lot to know what parameters to pass.

I have looking for, but so far, I don't found a exemple or something that guide me to use the function.

If you could, please, share an exemple, would be grateful.

I need this for a generic datasource.

Thank you.

Lucas