Translate

Thursday, 7 June 2012

Add icon in SELECTION SCREEN in SAP ABAP

Add ICONs in Selection screen in SAP ABAP:

DATA:
     t_text TYPE catsxt_longtext_itab.


SELECTION-SCREEN PUSHBUTTON (10)'@0Q@' USER-COMMAND umd.

AT SELECTION-SCREEN.
IF sy-ucomm = 'UMD'.
  CALL FUNCTION 'CATSXT_SIMPLE_TEXT_EDITOR'
    EXPORTING
      im_title = 'Enter Text'
      im_start_column = 10
      im_start_row = 10
    CHANGING
      ch_text = t_text.

ENDIF.

No comments: