Application Development and Automation 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: 
Read only

Parameter value in Text symbol

Former Member
0 Likes
4,016

Hi,

I have to put a parameter value in a text-symbol and insert that text-symbol in a field.

Ex : If Text-001 = Field name & unknown

the desired output I require is

itab-field2 = Fileld name field1 unknown.

Just like displaying of a message, is it possible with text symbol ??

TIA,

Nitin

4 REPLIES 4
Read only

Former Member
0 Likes
1,531

Hi,

Not very clear with your question.

Why you want to use a Text Symbol when you can use the Selection Texts.

But still if you want to do then please explain what does "UNKNOWN" stands for here.

May be I can be of some help to you!

Regards,

Lalit

Read only

matt
Active Contributor
0 Likes
1,531

You have to program the replace yourself. Look at the REPLACE command. You want it to work like a message? Why not use a message then!

matt

Read only

Former Member
0 Likes
1,531

Hi

Why dont you do like this ..

Create two text-symbols

001 --> Field Name

002 --> Unknown

Have a Variable of type char . --> DATA var type char20 .

CONCATENATE text-001 P_parameter text-002 INTO var separated by Space .

Hope this Helps.

Praveen

Read only

Former Member
0 Likes
1,531

Using replace will do it.

write text-001 to itab-field2.

replace '&' in itab-field2 with field_name.