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

ALV selection screen Problem

Former Member
0 Likes
1,309

i am want to increase the length of the selection screen so scrolling removed.

code:

SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN .


SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME." TITLE text-000.

PARAMETERS s_vkorg TYPE vbak-vkorg OBLIGATORY  DEFAULT '2000'."Company

SELECT-OPTIONS:
  s_vkbur FOR vbak-vkbur   ,"Sales office
  s_audat FOR vbak-audat , " ORDER DATE
  s_vbeln FOR vbak-vbeln MATCHCODE OBJECT vmva," DEFAULT '10000028' ,            " Sales ORDER NO
  s_kunnr FOR vbak-kunnr ."DEFAULT '300038'  .             "Customer

SELECTION-SCREEN END OF BLOCK b1 .

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
PARAMETERS:
  p_ord RADIOBUTTON GROUP radi, "Order Wise
  p_itm RADIOBUTTON GROUP radi, "Item Wise
  p_cst RADIOBUTTON GROUP radi, "Customer Wise
  p_rec RADIOBUTTON GROUP radi. "Expense Reconciliation
SELECTION-SCREEN END OF BLOCK b2.

*--------------- edit by khurram nagi 6-1-2016------------------
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-002.
PARAMETERS:
s_mrt AS CHECKBOX DEFAULT 'X'. "smart form selection
SELECTION-SCREEN END OF BLOCK b3.


SELECTION-SCREEN END OF SCREEN 100.


SELECTION-SCREEN: BEGIN OF TABBED BLOCK mytab FOR 13 LINES,
                   TAB (20) button1 USER-COMMAND push1
                                    DEFAULT SCREEN 100,
                   END OF BLOCK mytab.

INITIALIZATION.
   button1 = 'Selection'.
   mytab-prog = sy-repid.
   mytab-dynnr = 100.
   mytab-activetab = 'BUTTON1'.


regard


khurram nagi

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,215

Just add the NESTING option to adjust subscreen width (no horizontal scrolling) - subscreen size


SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN NESTING LEVEL 1.

Increase the number of lines, height, of the tab block (no vertical scrolling) - subscreen area in main dynpro


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

Regards,

Raymond

5 REPLIES 5
Read only

Former Member
0 Likes
1,215

Hi,

"BEGIN OF TABBED BLOCK mytab FOR 13 LINES,"

Count how many lines your subscreen takes up.

Regards.

Rich

Read only

Former Member
0 Likes
1,215

Hi,

Use SE80 for the Program select the Screen 100 and open Layout. Change the length and height of the displayed container.

With Regards

Sidharth

Read only

0 Likes
1,215

What will happen at next program activation

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,216

Just add the NESTING option to adjust subscreen width (no horizontal scrolling) - subscreen size


SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN NESTING LEVEL 1.

Increase the number of lines, height, of the tab block (no vertical scrolling) - subscreen area in main dynpro


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

Regards,

Raymond

Read only

0 Likes
1,215

This is working very fine to increase the number of lines.

Thanks Raymond

Regards

Tanmoy Debnath.