Skip to Content
avatar image
Former Member

Item symbols

Hi all,,

I want to create item symbols for cleared and open items . How can i do it? Plz help me.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 01, 2008 at 09:25 AM

    Hi Ankita,

    If you are using ALV then then ALV have prperties of display icon.

    you can set up status/flag for these one.

    And if using list display then u can use following combination.

    START-OF-SELECTION.

    WRITE: / check1 AS CHECKBOX, 'Checkbox 1',

    / check2 AS CHECKBOX, 'Checkbox 2'.

    AT LINE-SELECTION.

    READ: LINE 1 FIELD VALUE check1,

    LINE 2 FIELD VALUE check2.

    INCLUDE <list>.

    WRITE icon_green_light AS ICON.

    INCLUDE <list>.

    WRITE sym_left_hand AS SYMBOL.

    Regards

    ricky

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 01, 2008 at 09:43 AM

    Hi Ankita,

    Please check these programs

    BCALV_DEMO_TOOLTIP

    SALV_TEST_TOOLTIPS

    Best regards,

    raam

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 01, 2008 at 09:52 AM

    Hi there.

    Simple, put this line into your fieldcat code:

    WRITE icon_role AS ICON TO wa_fieldcat-coltext.

    Dearest Tom.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi ankita,

      As usual u r doing a loop of ur internal table before display and filling the fieldcatalog of ur ALV grid.

      If m i right? then

      http://help.sap.com/search/highlightContent.jsp

      on this link u will find all possible field of fieldcatlog.

      And u have to use Resue_alv_fieldcatlog_merge

      at the time of filling of each field u have to just paas a field-icon to appropriate field mark of that fieldcatlog.

      for eg.

      IF <FS_FCAT>-FIELDNAME = 'MBLNR'.

      <FS_FCAT>-KEY = ' '.

      <FS_FCAT>-CHECKBOX = '0V '.(okay)

      ENDIF.

      Regards

      ricky