Skip to Content
0
Former Member
Oct 06, 2005 at 05:08 AM

How to set values for Parameters?

237 Views

Hi,

I have the following Selection Screen;

SELECTION-SCREEN BEGIN OF BLOCK prog WITH FRAME TITLE text-001.

parameters: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X',

R2 RADIOBUTTON GROUP RAD1.

parameters zw_laufd like reguh-laufd.

parameters zw_laufi like reguh-laufi.

parameters zw_BELNR like BKPF-BELNR.

SELECTION-SCREEN END OF BLOCK prog.

For Parameter zw_laufd the following Module is written;

MODULE F4_LAUFD_0200.

REFRESH TLAUFK.

TLAUFK-LAUFK = SPACE.

TLAUFK-SIGN = 'I'.

APPEND TLAUFK.

CALL FUNCTION 'F4_ZAHLLAUF'

EXPORTING

F1TYP = 'D'

F2NME = 'zw_laufi'

IMPORTING

LAUFD = zw_laufd

LAUFI = zw_laufi

TABLES

LAUFK = TLAUFK.

ENDMODULE.

The Module Pops up a window for selection for Parameter zw_laufd. When I select a value from the popup zw_laufd gets a value and long with that Parameter zw_laufi gets a value too, but this value does not get refelcted in the screen. How to show this in the Selection screen?

Thanks,

Kishan