Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Symbols in Text-symbols

former_member201227
Active Participant
0 Kudos

Hi friends,

Can anyone tell me, how to include a symbol along with a text-symbol?

Thanks & Regards,

Sharmila

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Just use write statement.

write text-001.

where text-001 is 'this is &'

13 REPLIES 13

Former Member
0 Kudos

Just use write statement.

write text-001.

where text-001 is 'this is &'

0 Kudos

Hi Vaishali,

I've an arrow mark Symbol. My text symbol is 001 amd I want to enter the text in that as "(Arrow symbol) Expand". I need this symbol in Text Element maintenance editor itself.

Thanks & Regards,

Sharmila

0 Kudos

Okay, then your text symol should be

-> Expand

write text-001.

(double click on text-001 and copy paste -> Expand)

0 Kudos

Here it is.

your text-001 will contain

@0E\Q@ Expand.

This will definitely work.

mark reward points.

0 Kudos

Hi,

if you know the symbol id then you can create the text element directly.

that is what exactly they did...

<b>@0E\Q@</b>Category

<b>@0H\Q@</b>Category

just check it.create text element with the above and see.

regards

vijay

0 Kudos

Hi friends,

Thanks a lot for sparing ur valuable time. My problem is solved. Can u please tell me how to find out the symbol id, because when I displayed the text symbols in RM07MLBD program, I could only see the symbols and not the id.

Thanks & Regards,

Sharmila

0 Kudos

Hi Sharmila,

If you look at the text symbols in RM07MLBD program, you can see that text-081 contains the arrow that you needed.

All you do then, is look for where and how text-081 is used in the program.

And then you hit on the text :

MOVE TEXT-081 TO pb_liu. "@0E\Q@ Scope ...

So I appended the "@0E\Q@" with the text 'EXpand' in text-001.

oliver
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sharmila,

i don't know exactly what you mean by symbols.

As far as i know ou can use any characters as text in a text-symbol.

If you need something like placeholder for later replacement i prefer a strategy like used in the BAPI messages where the use placeholders in the form of &n where n is a number beetween 1 and 4. Later on you can replace the very easy with aABAP statements.

Hope that helps,

Oliver

0 Kudos

Hi Oliver,

If you execute the standard report RM07MLBD, there u can find this type of text symbol. Please see the third block in the selection screen, "Category" with an arrow mark with it. I need it in the same way, but I was not able to copy from it.

Thanks & Regards,

Sharmila

0 Kudos

Hi,

Check this Demo Program

<b>demo_dynpro_status_icons</b>

Regards

vijay

Former Member
0 Kudos

Hello,

Create the Text-Symbol Text-001 as

& material is created.

Write:/ text-001 with matnr.

If useful reward points.

Regards

Vasanth

former_member188685
Active Contributor
0 Kudos

what symbol you are talking...

do you mean standard symbols...

write '1234' as symbol. is that you are talking about.

and if you want to include those symbols in text then use SO10 transaction.

in the <b>menu Inert->Characters->SAp symbols.</b>

you can include symbols along with text.

Regards

vijay

former_member188685
Active Contributor
0 Kudos

Hi,

Check this Demo porgram <b>SHOWSYMB</b>, this will SHow all the standard symbols, if you debug this you can find the id's related.

Regards

vijay