Change title of Output screen using OOPS ALV in ABAP

 

Refer- Display purchase order details

                             Change title of Output screen.

**************************Call screen 1234*********************

* Double clicks on screen number.

* Give description.

Uncomment the 'MODULE STATUS_1234.' in under flow logic tab.

    - Double click on 'STATUS_1234', Select master program and write code.

            MODULE status_1234 OUTPUT.
             SET PF-STATUS 'ZPF_100'.
             SET TITLEBAR 'ZTITLE'.
         ENDMODULE.

    - Double click on ZTITLE and give title

    Double click on 'ZPF_100' and give short text and press enter.

    - Expand function keys and give names.

    

 * Create module in master program.          

             MODULE user_command_1234 INPUT.

              IF sy-ucomm 'BACK'.
                LEAVE TO SCREEN '0'.
              ENDIF.
            ENDMODULE.

* Save and activate.

* Click on layout.

* Click on custom container button and drag.

* Go back and activate the screen.


* Give name (used in container creation).

**************************End of screen 1234*********************


Input


Output


************************Thank You***************************

Comments

Popular posts from this blog

New syntax for append- VALUE (new syntax 7.4+) in ABAP

Read statement new syntax in ABAP. (7.4+).

Concatenation new syntax( 7.4+ ).