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: 

Slect-options in Dialog program

Former Member
0 Kudos

Hi,

How to bring Select-options parameter in dialog program ? i.e

I want to give a parameter like select-options in dialog program .

Thanks in Advance.

Regards

Ranjith

4 REPLIES 4

Former Member
0 Kudos

Hi

Treat Dialog pgm also as report---

u can declare as below in TOP include

SELECTION-SCREEN BEGIN OF SCREEN 030 AS WINDOW TITLE text-t08.

SELECTION-SCREEN SKIP.

SELECTION-SCREEN BEGIN OF BLOCK s1

WITH FRAME TITLE text-t08.

PARAMETERS:

ra_own RADIOBUTTON GROUP rad3,

ra_all RADIOBUTTON GROUP rad3.

SELECTION-SCREEN END OF BLOCK s1.

SELECTION-SCREEN END OF SCREEN 030.

former_member188685
Active Contributor
0 Kudos

Check this..

you can do that using COMPLEX_SELECTIONS_DIALOG mentioned by me or

using the Subscreen approach mentioned by Rich in the below thread..

https://forums.sdn.sap.com/click.jspa?searchID=15000207&messageID=1501162

Former Member
0 Kudos

Dear,

go through tcode- ABAPDOCU.in this there are more example for dialoge programming..

Thanks,

Jaten

krishnendu_laha
Active Contributor
0 Kudos

Hi Friend,

First create a selection-screen as subscreen in your code:

SELECTION-SCREEN BEGIN OF SCREEN dynnr AS SUBSCREEN

And in your dialog screen use that screen using CALL SUBSCREEN SUB2 including sy-repid dynnr (prerequisite SUB2 will be defined as subscreen on normal screen).

Hope it will help you.

Regards

Krishnendu