Application Development 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: 

View report output in Screen ALV.

Former Member
0 Kudos

Dear Gurus

I have made a customized report with selection screen ABC.

now im making another report with screen XYZ.

I want to view the output of the report ABC in XYZ without displaying the selection screen of ABC.

how to achive that ?

Regards

Saad Nisar.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You can use Submit <Report > with <options> and return

Moderator message: copy/paste without source, removed, please do not repeat!

finally when you execute it will skip selection screen.

Regards and Best wishes.

Edited by: Thomas Zloch on Apr 19, 2010 2:00 PM

5 REPLIES 5

SuhaSaha
Advisor
Advisor
0 Kudos

[SUBMIT|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_INTERFACE.htm] program1 in program2 ...

Former Member
0 Kudos

Hi,

You can use Submit <Report > with <options> and return

Moderator message: copy/paste without source, removed, please do not repeat!

finally when you execute it will skip selection screen.

Regards and Best wishes.

Edited by: Thomas Zloch on Apr 19, 2010 2:00 PM

0 Kudos

Below is my report A code

selection-screen begin of block block with frame title text-001.

select-options st_date for wadat.
select-options bzirk for vkd.
select-options vkbur for vkb.
select-options vkgrp for vk.
select-options auart for vart.
select-options kunnr for customer.
selection-screen end of block block.

how to submit it from B.

0 Kudos

Hello,

Kiran has copied the code snippet from SAP documentation w/o mentioning the source: [http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm]

Your question seems basic. You can refer to the code snippet mentioned in the link provided to get the details.

BR,

Suhas

0 Kudos

Hi Saad,

Please refer to the code below.


 REPORT B.

SUBMIT reportA USING SELECTION-SCREEN '1100' 
               WITH SELECTION-TABLE rspar_tab 
               WITH st_date BETWEEN '20100101' AND sy-datum
               WITH bzirk IN range_tab 
               WITH vkbur <put your condition here>
               WITH vkgrp <put your condition here>
               WITH auart  <put your condition here>
               WITH kunnr <put your condition here>
               AND RETURN.