Skip to Content
0
Former Member
Oct 29, 2005 at 10:17 PM

Subscreen in Dialog program

72 Views

Hi,

I am creating a dialog / module pool transaction.

I have to define some select option on the screen. As this cant be done on the main screen directly.

I define a subscreen in my Top include:

******

SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.

SELECT-OPTIONS: SO_BUKRS FOR ZTRT_BSM_BSDA-BUKRS modif ID 001,

SO_BNAME FOR ZTRT_BSM_BSDA-Bname modif ID 001.

SELECTION-SCREEN END OF BLOCK B1.

SELECTION-SCREEN END OF SCREEN 100.

******

And then i call this PBo of my main screen.

CALL SUBSCREEN BSDA_HEADER INCLUDING <prgname> '100'.

And can see the select-options is shown on the screen also.

I face 3 issues here.

1> when i want to enter multiple values for the select opitions, the standard functionality of po-up for select options does not work.

2> How can i make sure that these select-options are input enabled in case there is a error message. Since it is not possible to add the subscreen fields in the chain end chain of the main screen.

3> i may have to restrict the user to not include say ranges for these select -options (thats after point 1 works), now in a report this can be done by using the FM "select_optionsrestrict", can i do the same in Dialog??

Thanks,

Anuj.