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
Post a Comment