Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

module pool

Former Member
0 Likes
264

Hi ,

My question is i have a select option variable in the main screen as a subscreen. the problem is i am not able to read those values. please go through the code and let me know .

Thank you in advance ,

here is the code :

tables : csks.

selection-screen begin of screen 0101 as subscreen.

select-options: KOSTL for CSKS-KOSTL.

selection-screen end of screen 0101.

DATA : ITAB LIKE CSKS OCCURS 0.

start-of-selection.

&----


*& Module STATUS_0100 OUTPUT

&----


  • text

----


MODULE STATUS_0100 OUTPUT.

  • SET PF-STATUS 'xxxxxxxx'.

  • SET TITLEBAR 'xxx'.

ENDMODULE. " STATUS_0100 OUTPUT

&----


*& Module USER_COMMAND_0100 INPUT

&----


  • text

----


MODULE USER_COMMAND_0100 INPUT.

SELECT * FROM CSKS INTO TABLE ITAB WHERE KOSTL in KOSTL.

ENDMODULE. " USER_COMMAND_0100 INPUT

&----


*& Module STATUS_0101 OUTPUT

&----


  • text

----


MODULE STATUS_0101 OUTPUT.

  • SET PF-STATUS 'xxxxxxxx'.

  • SET TITLEBAR 'xxx'.

ENDMODULE. " STATUS_0101 OUTPUT

&----


*& Module USER_COMMAND_0101 INPUT

&----


  • text

----


MODULE USER_COMMAND_0101 INPUT.

ENDMODULE. " USER_COMMAND_0101 INPUT

Regards,

Ry.

1 REPLY 1
Read only

Former Member
0 Likes
231

SOLVED ON MY OWN , THANKS .