Application Development 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: 

Exctension button missing in Subscreen select-option

Former Member
0 Kudos

Hi Friends ,

I have a subscreen with one select-option variable in it.But when this subscreen is loaded in main screen the extension button of select-option disappears automatically.What could be the reason ? I have not used 'NO-EXTENSION' option in the code.

Thanks& Regards ,

Joby

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

what is sub screen area width?

9 REPLIES 9

former_member188685
Active Contributor
0 Kudos

Check this thread and correct the code accordingly.

Former Member
0 Kudos

Hi,

there is no space to display extension button. increase size for sub screen area in main screen.

0 Kudos

I can see enough space after high value input box.

Regards ,

Joby

0 Kudos

then post your code once.

0 Kudos

Hi ,

Here is the code ,

SELECTION-SCREEN BEGIN OF SCREEN 1501 AS SUBSCREEN.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.

SELECT-OPTIONS: o_cocode FOR t001-bukrs .

SELECTION-SCREEN END OF BLOCK b2.

SELECTION-SCREEN END OF SCREEN 1501.

Regards ,

Joby

0 Kudos
TABLES: t001.


SELECTION-SCREEN BEGIN OF SCREEN 1501 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.

SELECT-OPTIONS: o_cocode FOR t001-bukrs .

SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN END OF SCREEN 1501.


START-OF-SELECTION.

  CALL SCREEN 100.

*----------------------------------------------------------------------*
*  MODULE status_0100 OUTPUT
*----------------------------------------------------------------------*
MODULE status_0100 OUTPUT.
*  SET PF-STATUS 'xxxxxxxx'.
*  SET TITLEBAR 'xxx'.

ENDMODULE.                    "status_0100 OUTPUT

*----------------------------------------------------------------------*
*  MODULE user_command_0100 INPUT
*----------------------------------------------------------------------*
MODULE user_command_0100 INPUT.

ENDMODULE.                    "user_command_0100 INPUT

and flow logic code

PROCESS BEFORE OUTPUT.

  MODULE status_0100.
  CALL SUBSCREEN sub INCLUDING sy-repid '1501'.

PROCESS AFTER INPUT.
  CALL SUBSCREEN sub .
  MODULE user_command_0100.

in the screen i placed a subscreen area , and named it SUB

it is working fine for me. some thing wrong with your approach. try from the scratch and see.

0 Kudos

TRY THIS

SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.

PARAMETERS: p1 TYPE c LENGTH 10,

p2 TYPE c LENGTH 10,

p3 TYPE c LENGTH 10.

SELECTION-SCREEN END OF SCREEN 100.

SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.

PARAMETERS: q1 TYPE c LENGTH 10,

q2 TYPE c LENGTH 10.

SELECT-OPTIONS: q3 FOR MARA-MATNR .

SELECTION-SCREEN END OF SCREEN 200.

SELECTION-SCREEN: BEGIN OF TABBED BLOCK mytab FOR 10 LINES,

TAB (20) button1 USER-COMMAND push1

DEFAULT SCREEN 100,

TAB (20) button2 USER-COMMAND push2

DEFAULT SCREEN 200,

END OF BLOCK mytab.

INITIALIZATION.

button1 = 'Selection Screen 1'.

button2 = 'Selection Screen 2'.

Former Member
0 Kudos

hi,

what is sub screen area width?

Former Member
0 Kudos

It was because substition area space problem