SAP ABAP - Sample Program To Demonstrate Tabstrips & Subscreens In Selection Screen.

This sample report program explains the use of tabstrips and subscreen in main selection screen. *& Use of TabStrip and SubScreen explained *& ---- The report shows the material on one tab *& and plant on one tab.Pressing the execute button will show *& the description of the material or plant as the case is. *& TEXT-002 = Material Number *& TEXT-003 = Plant Number. REPORT zjal_tabstrip_selscr NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 60. TABLES : sscrfields. DATA activetab(6) TYPE c . DATA: mat_des TYPE makt-maktx, pl_des TYPE t001w-name1 . SELECTION-SCREEN BEGIN OF SCREEN 001 AS SUBSCREEN NO INTERVALS . SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-002 NO INTERVALS. SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN COMMENT 14(18) text-002 FOR FIELD matnr. PARAMETERS matnr TYPE mara-matnr. SELECTION-SCREEN END OF LINE. SELECTION-SCREEN END OF BLOCK block1. SELECTION-SCREEN END OF SCREEN 001. SELECTION-SCREEN BEGI...