TO CREATE CUSTOM BUTTON IN REPORT PROGRAM

         

    REPORT zajay_practice.

    write 'welcome to abap'.

    SET PF-STATUS 'ZAJAY_PF'.
    AT USER-COMMAND.
      CASE SY-UCOMM.
        WHEN '&DIS'.
          WRITE'THIS IS DISPLAY BUTTON'.

      ENDCASE.

    * Double click on 'zajay_pf' and create buttons
      ex: -> expand 'application toolbar'. 
          -> create up to 35 buttons. 
          -> First give name '&DIS'. choose text type 'static'.
          -> Icon name is 'icon_display' and select function key.
          -> function text means move cursor in display button it shows.
          

    






            
 

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+ ).