Posts

Showing posts with the label sample program on creating a tabstrip

SAP ABAP - Sample Program On Creating A Screen With Two TABSTRIPS For A Report Program.

Image
This sample program creates a screen with two tabstrips . One tab TAB1 accepts two numbers, where as the other tab TAB2 displays the sum of two numbers accepted on TAB1. SAMPLE PROGRAM: REPORT ztest_screen_tabstrip. DATA: number1 TYPE i, number2 TYPE i, n1 TYPE i, n2 TYPE i, ok_code TYPE sy-ucomm, result TYPE i. CONTROLS tabstrip TYPE TABSTRIP . CALL SCREEN 100. CALL SCREEN 110. CALL SCREEN 130. *&---------------------------------------------------------------------* *& Module STATUS_0100 OUTPUT *&---------------------------------------------------------------------* * text *----------------------------------------------------------------------* MODULE status_0100 OUTPUT. SET PF-STATUS 'STATUS_0100'. ENDMODULE. " STATUS_0100 OUTPUT *&---------------------------------------------------------------------* *& Module USER_COMMAND_0100 INPUT *&------------------------------------------...