08-11-2008 1:35 PM
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
08-11-2008 1:38 PM
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.
08-11-2008 1:41 PM
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
08-11-2008 1:41 PM
Dear,
go through tcode- ABAPDOCU.in this there are more example for dialoge programming..
Thanks,
Jaten
08-11-2008 1:48 PM
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