‎2006 May 17 11:19 AM
Hi all,
As we define select-option in normal report, Can we have the same functionality in Module pool screen.
Thankx in Adv.
‎2006 May 17 11:26 AM
Hi,
Please try the below code.
SELECTION-SCREEN BEGIN OF SCREEN 1020 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 3(5) TEXT-009.
SELECTION-SCREEN POSITION 10.
SELECT-OPTIONS : S_CORR FOR Table-field MATCHCODE OBJECT mcd.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF SCREEN 1020.
In module pool declare subscreen area and do the below.
PROCESS BEFORE OUTPUT.
MODULE STATUS_100.
CALL SUBSCREEN ANA_SCA
INCLUDING 'YHPRMAIN' '1020'.
PROCESS AFTER INPUT.
CALL SUBSCREEN ANA_SCA.
MODULE USER_COMMAND_100.
This will work only in 46C and greater versions.
Hope this will help you.
rgds,
latheesh
‎2006 May 17 11:20 AM
yes you can,
you need to define a subscreen area in your module pool screen, where you can call a selection screen as a subscreen.
In the selection screen you can define all the elements you want.
Ex:
SELECTION-SCREEN BEGIN OF SCREEN 1200 AS SUBSCREEN NO INTERVALS.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-010.
PARAMETERS: p1(10) TYPE c,
p2(10) TYPE c,
p3(10) TYPE c.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN END OF SCREEN 1200.
‎2006 May 17 11:26 AM
Hi,
Please try the below code.
SELECTION-SCREEN BEGIN OF SCREEN 1020 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 3(5) TEXT-009.
SELECTION-SCREEN POSITION 10.
SELECT-OPTIONS : S_CORR FOR Table-field MATCHCODE OBJECT mcd.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF SCREEN 1020.
In module pool declare subscreen area and do the below.
PROCESS BEFORE OUTPUT.
MODULE STATUS_100.
CALL SUBSCREEN ANA_SCA
INCLUDING 'YHPRMAIN' '1020'.
PROCESS AFTER INPUT.
CALL SUBSCREEN ANA_SCA.
MODULE USER_COMMAND_100.
This will work only in 46C and greater versions.
Hope this will help you.
rgds,
latheesh
‎2006 May 17 11:27 AM
‎2006 Jul 17 11:47 AM
can any one tell me that how i can display the (basic)list in the modulue pool programming
i am getting first screen(100) of fields(inputs) matnr,ersda ,ernam,
and these fields r(output) to get in the modulue pool .
can any one telll that step step by procedure to get the table output in the next screen(110)...
please help in this one
if i get good answers from u rewards(points) will be there.....