Skip to Content
avatar image
Former Member

How to insert SAP Icons in Text Element of a Smartform

Hi Friends,

Thanks in Advance.

I need to insert SAP ICONS in the Text Element of a Smartform. Is it possible ?

What i am doing is ..... going to the Text Editor -> Insert -> Characters -> SAP Icons

But here no Icons were displaying.

I had checked the ICON Table and the T.Code "ICON". Here it is displaying the list of Icons.

So please help me how to insert SAP Icon in the Text Element of a Smart form.

Thanks & Regards:

Sridhar.J

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Oct 16, 2008 at 06:56 AM

    Hi

    Using program Lines retreive the icon from ICON table,pass it to a variable and display that variable in the text element..wherever you want.

    Regards,

    Vishwa.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Vishwa,

      Thanks for your reply...

      But you know, with the select query what i have written is only getting the Icon Id i.e like @1Q@ and the same is print on the paper. This is not what i want... I want the ICON to be displayed on the Paper.

      This is my code which i had written.

      +select single id+

      from icon

      into v_iconid

      *where name = 'ICON_PHONE'.*

      Thanks Regards:

      Sridhar.J

  • Oct 16, 2008 at 06:57 AM

    Hi,

    This Icons are not visible for Print Preview , please take a printout and see.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 16, 2008 at 09:39 AM

    Hi sridhar,

    Include this in the program lines.

    INCLUDE <ICON>.

    Regards,

    sravanthi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sravanthi,

      I already wrote the command INCLUDE <ICON>.

      but no use mam.

      Thanks & Regards:

      Sridhar.J

      Edited by: Sridhar Jampani on Oct 16, 2008 3:38 PM

  • avatar image
    Former Member
    Oct 16, 2008 at 11:18 AM

    Hi sridhar,

    check whether ICON_PHONE exist in the icon table.

    ICON_PHONE_CALL_IN is there.

    You can't see the icon in the print preview just take the printout

    Regards,

    Sravanthi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sravanthi,

      ICON_PHONE and ICON_PHONE_CALL_IN both present in ICON Table.

      I had also taken the Print out..

      but what i am seeing on the Priview it is printing on the Paper.

      Regards:

      Sridhar.J