Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Module Pool

Hi all,

As we define select-option in normal report, Can we have the same functionality in Module pool screen.

Thankx in Adv.

Tags:
replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question