on 09-07-2021 4:12 AM
Hi experts,
I have build up a report in alv. I want to add a character infront of a table record in runtime for only display purpose not to save that in database table. How to do that?
Table record is - R36.
I want to add 'OE' in front of R 36.
It will be "OER36".
Thanks in advance.
Hi Subir,
You can concatenate multiple fields and strings with the pipe symbol (|)
eg.
DATA(concaticated_str) = |{ lv_var1 }somestring{ lv_var2 }|.
In your case, it would be something like,DATA(r36_val) = 'R36'.
DATA(final_string) = |OE{ r36_val}|.
Hope this helps.
Cheers.
Afsal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you try inside the SELECT statement ? I think it could works
SELECT ('R36' && table-my_field) as my_field
INTO ...
FROM ..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.