Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Variable value

Former Member
0 Likes
953

Hi,

Variable xyz has value 'ABC123'.

I have to make http call using VALUE in variable xyz.

For eg., I have to pass this string with value in variable xyz hardcoded as 'http://ABC123' to a certain fn. module.

How can I do this hardcoding into the string?

Thanks,

Shivaa..

1 ACCEPTED SOLUTION
Read only

matt
Active Contributor
0 Likes
919

concatenate?

concatenate?

5 REPLIES 5
Read only

matt
Active Contributor
0 Likes
920

concatenate?

Read only

Former Member
0 Likes
919

Use CONCATENATE Stmt

Read only

Former Member
0 Likes
919

Hi

use concatenate, it should be sth liks this


data: lv_http type string,
         lv_value type string.

lv_value = 'ABDADF'.
concatenate 'http:\\' lv_value into lv_http.

Regards

Read only

Former Member
0 Likes
919

Hi,

You can use


concatenate 'https://' xyz into xyz.

Then pass the variable to the function module

Read only

Former Member
0 Likes
919

concatenate 'http://' xyz into xyz