Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8852

Re: ALV dynamic field type at runtime

$
0
0

Hi folks.

 

I did it exactly as both of you said, using dynamic OVS.

 

In the ALV, "A" column works as a key and beside this, I have the "B" column I must fill (or choose from OVS search help) with a properly value linked to column A key. And this column B values can have different types (One line can be char40 or other line can have float).

 

So in the OVS step 1, I selected the values using column A keys and get 2 table fields into a it_sel_result.

 

So in step 3, I fill ti_value with field a' or field b' (from ti_sel_result).

 

So a loop inside ti_sel_result (filled in step 2) I put an IF condition so I can get the correct column to fill that.

 

 

 

thank you.

Glauco


Viewing all articles
Browse latest Browse all 8852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>