Join icons with texts

pts.
Tags:
ABAP
Development
Hi Sap colleagues: I would like to show a icon in the middle of a text. During my tests, I've seen that only when the icon is at the beginning of the text, the icon graphic is showed but no the rest of the text. In other tests, instead to see the graphical ico, it shows me the internal code, something like this ---> ESP_OR , @9D@ , 1 , Independencia 24 , Sevilla <--- Any idea? Best regards, Luis Lopez Schindler ESP

Answer Wiki

Thanks. We'll let you know when a new response is added.

Type this in and execute it, should give you an idea of how to use icons.

REPORT zicon_test NO STANDARD PAGE HEADING.

DATA: field1(8) TYPE c.
INCLUDE <icon>.

field1 = ‘FirstVar’.

WRITE: /1 field1 NO-GAP,
ICON_CANCEL AS ICON NO-GAP,
‘Text String’.
WRITE: /1 field1 NO-GAP,
ICON_CANCEL AS ICON,
‘Text String’.
WRITE: /1 field1,
ICON_CANCEL AS ICON NO-GAP,
‘Text String’.
WRITE: /1 field1,
ICON_CANCEL AS ICON,
‘Text String’.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following