Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to pass dynamic values in text symbols

hi,

i have made one text :" the value of & is equal to & " , in report in goto==>textelement==>textsymbols

now my problem is how to pass the values of v_inr and y_tbr in place of first '&'and second '&' ?

rahul

Edited by: RAHUL SHARMA on Dec 19, 2008 10:55 AM

Tags:
Former Member
Former Member replied

HI,

Instead of declareind the text 'the value of & is equal to &' in text symbol ..declare in this way....

'the value of &1 is equal to &2'.

example in text symbot I01 - 'the value of &1 is equal to &2'.

declare a variable in Program.

Data : l_text type string.

l_text = TEXT-I01.

REPLACE '&1' WITH v_inr INTO l_text .

REPLACE '&2' WITH y_tbr INTO l_text.

CONDENSE l_text.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question