Modulepool Tabstrip
Modulepool Tabstrip
Enter description
Select screen type : normal
Select the tabstrip control (after push button) drop it in layout
Double click on tabstrip control.
Define properties name:strip
Double click on tab1
Provide name:cutomer
Fct code:cust
Fct type: P
Select sub screen area drop it in customer control.
Define properties name: SUB1
Double click on tab2.
Provide name :sales
Fctcode:sale
Fct type: P
Select sub screen area drop it in sales control.
Define properties name: SUB2
*&---------------------------------------------------------------------*
*& Module Pool
ZASWIN_TABST12
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
PROGRAM ZASWIN_TABST12.
TABLES:KNA1,VBAK.
DATA:BEGIN OF ITAB OCCURS 0,
KUNNR LIKE KNA1-KUNNR,
LAND1 LIKE KNA1-LAND1,
END OF ITAB.
DATA:BEGIN OF JTAB OCCURS 0,
VBELN LIKE VBAK-VBELN,
ERDAT LIKE VBAK-ERDAT,
END OF JTAB.
" USER_COMMAND_0100
INPUT
*&---------------------------------------------------------------------*
*&
Module STATUS_0110 OUTPUT
*&---------------------------------------------------------------------*
*
text
*----------------------------------------------------------------------*
module STATUS_0110 output.
* SET PF-STATUS 'xxxxxxxx'.
* SET TITLEBAR 'xxx'.
MOVE-CORRESPONDING ITAB TO KNA1.
endmodule.
" STATUS_0110 OUTPUT
*&---------------------------------------------------------------------*
*&
Module STATUS_0120 OUTPUT
*&---------------------------------------------------------------------*
*
text
*----------------------------------------------------------------------*
module STATUS_0120 output.
* SET PF-STATUS 'xxxxxxxx'.
OUTPUT