cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying Column Values in Text Edit UI

Former Member
0 Kudos

Hi

Is it possible to display a single column values in Text Edit UI. I tried but its showing only one value that is the first value in the table. If possible plz suggest me how to do that.

Regards

Chandran S

Accepted Solutions (0)

Answers (1)

Answers (1)

Sm1tje
Active Contributor
0 Kudos

I'm not quite sure if I understand your requirement, but you will have to LOOP over your internal table and put all the values of this column in a string and 'assign' it to the context node / attribute of your text edit UI element.

Former Member
0 Kudos

Hi

Thank You Very Much for your reply

Actually my scenario is, there will be a comments table which will be having column (Authority and Comments).

Now in my WD ABAP application i want these comments to be displayed in below format

Manager : Need Clarification

Initiator : Clarification provided

i tried with text edit and unfortunately its showing only one comment,

I hope u understand my scenario a little ....

Regards

Chandran S

Former Member
0 Kudos

Hi Chandran

Take your comment table in an internal table.

Loop over the internal table and concatenate Authority and comment field in a string field at each loop paas.

after concatenating all the entries of a table . Assign it to the text edit control.

Regards

Naresh

Former Member
0 Kudos

Hi Naresh

Thats not a problem for me.

While concatenating the final string will appears in a straight line.

There is an option called separated by space likewise , is there any option to move text to next line.

Eg

I don't want the resulting like this

Manager : Clarification Needed Initiator : Clarification Provided

I want like this

Manager : Clarification Needed

Initiator : Clarification Provided

whether it is possible

Note: I am new to Web Dynpro ABAP , Previuosly i was working Web Dynpro Java

Regards

Chandran S

Former Member
0 Kudos

Hi Chandran

You can use HTML tags for next line like this.


concatenate  'Document'  'on' lv_date 'at'  lv_time  '<br></br >'   into wa_hist separated by space .

Here br is for line break in HTML

Regards

Naresh