cancel
Showing results for 
Search instead for 
Did you mean: 

Element value in text view?

former_member199125
Active Contributor
0 Kudos

Hi guys,

give me some ideas on below requirement.

I need to display a pop up window, in that pop up.. i have to display information like

"request id xxxxxxxxxx is created and is under process".

i thought displaying the above text using Text View Element. But request id value is stored in some node.

How Can we insert ls_itab-id value in text view?

Regards

srinivas

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member199125
Active Contributor
0 Kudos

Got Idea, its silly. using concatenate

Former Member
0 Kudos

hi srinivas,

You can create a text symbol in the assistance class for the text "request id &param1& is created and is under process".

And use the following code to get the text with the param1 replaced:


lv_text = wd_assist->if_wd_component_assistance~get_text( key   = '001' "text symbol code
                                                              param1 = id_value )."id value

Create a context attribute of type STRING and bind the attribute to the Text View UI element.

Set this attribute value to lv_text.

Hope am clear!

Best Regards,

Srilatha

Former Member
0 Kudos

Hi,

Consider a string variable, and concatenate the entire values like request id, actual value and other text includign spaces and pass this value to the Textview UI element.

Or

You can directly send the message to the POPUP window right as it take a string_table as text..

Regards,

Lekha.