on 03-27-2014 3:12 AM
Hi Experts,
In webdynpro alv user is performing link2url action on alv cell am getting this
cell value(here the cell is kblnr field in kblp) in r_param->value.I need to concatenate this
r_param-> value to"Sanction order no.is...".Here the concatenation is not allowing with
this concatenate r_param->value "Sanction order no.is..." to lv_string.
So please anyone could u suggest how to convert r_param->value to char..thanks
in advance.
regards,
kranthi
Hi Kranthi,
The field R_PARAM->VALUE is the reference to data. Hence you can not directly convert it into string.
Please follow the below steps to covert it into text.
field-symbols: <fs_value> type any.
data lv_value type string.
assisgn r_param->value->* to <fs_value>.
clear lv_value.
if <fs_value> is assigned.
lv_value = <fs_value>.
endif.
Now you can concatenate the lv_value as per your requirement
concatenate "Sanction order no.is..." lv_value into lv_value.
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kranthi,
data lv_string type string.
data lv_value type string.
lv_value = r_param->value.
lv_string = lv_value && lv_sanction_order_number.
Regards,
Ravikiran.k
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can concatenate only string/ char values. So before that convert r_param->value to char/string.
Data lv_value type string.
lv_value = r_param->value.
Now concatenate lv_value 'XXXX' to lv_string.
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.