2016 Jan 06 7:22 AM
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
2016 Jan 06 12:31 PM
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
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
2016 Jan 06 8:27 AM
Hi,
"BEGIN OF TABBED BLOCK mytab FOR 13 LINES,"
Count how many lines your subscreen takes up.
Regards.
Rich
2016 Jan 06 12:09 PM
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
2016 Jan 06 12:35 PM
2016 Jan 06 12:31 PM
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
2016 Jan 06 2:17 PM
This is working very fine to increase the number of lines.
Thanks Raymond
Regards
Tanmoy Debnath.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |