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: 

execute report by selecting radio button from module pool screen

Former Member
0 Kudos

HI,

      The requirement is to execute alv report and interactive report  both by selecting radio button from module pool screen means when i am selecting first radio button automatically execute alv report and same for other report kindly any one help for that

Regards

Anup.Pujari.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Anup,

You can write the 2 reports separately and use the function code in radio button.

On the basis of selection you can use SUBMIT <REPORT> AND Return . statement.

Regards

6 REPLIES 6

Former Member
0 Kudos

Hi Anup,

You can write the 2 reports separately and use the function code in radio button.

On the basis of selection you can use SUBMIT <REPORT> AND Return . statement.

Regards

0 Kudos

Hi,

    Thanks & Regards.

Anup Pujari

former_member633287
Discoverer
0 Kudos

Hi Anup,

You can create 2 separate programs  for both the reports and call it using

SUBMIT VIA SELECTION-SCREEN. 

0 Kudos

Hi,

    Thanks & Regards.

Anup Pujari

former_member184569
Active Contributor
0 Kudos

You could write creating alv report in one subroutine say display_alv, and creating interactive report in another subroutine say display_interactive.

in the at selection screen output event.

if r_a = 'X'.

  perform display_alv.

else.

perform display_interactive.

endif.

Former Member
0 Kudos

Hi,

    Thanks & Regards

Anup Pujari