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: 

call a report with selection screen as subscreen.

Former Member
0 Kudos

Hi all,

i need to Submit And Return a Report having some parameters and Select options, from a Function Module.

all i want that the Selection Scrren of Report should appeared as Subscreeen, so that Calling Screen sould be visible in Background.

Is this Possible , if yes then How ?

thanks in advance,

Nitin

1 ACCEPTED SOLUTION

former_member184578
Active Contributor
0 Kudos

Hi.,

I am not sure.,create selection screen as subscreen and try using call selection screen.

check this docu: http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba83d35c111d1829f0000e829fbfe/content.htm

this may help u.,

Thanks & Regards,

Kiran

2 REPLIES 2

MarcinPciak
Active Contributor
0 Kudos

Running new report means opening new internal session. This can't be embeded within the current internal session where your function group (function module specifically) runs. So there is no such a way which you could run a report inside a subscreen area.

If you however want only selection screen of the report to be embeded inside your subscreen area (not run) you can use


"report Z_SUBSCREEN_REPORT
SELECTION-SCREEN BEGIN OF SCREEN 0200 as SUBSCREEN.
  PARAMETERS pa type c.
SELECTION-SCREEN end of SCREEN 0200.

"main screen's flow logic in function group with subscreen area
PROCESS BEFORE OUTPUT.
  call SUBSCREEN area INCLUDING 'Z_SUBSCREEN_REPORT '0200'.

Regards

Marcin

former_member184578
Active Contributor
0 Kudos

Hi.,

I am not sure.,create selection screen as subscreen and try using call selection screen.

check this docu: http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba83d35c111d1829f0000e829fbfe/content.htm

this may help u.,

Thanks & Regards,

Kiran