Application Development 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: 

Variable value

Former Member
0 Kudos

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

matt
Active Contributor
0 Kudos

concatenate?

5 REPLIES 5

matt
Active Contributor
0 Kudos

concatenate?

Former Member
0 Kudos

Use CONCATENATE Stmt

former_member203305
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

You can use


concatenate 'https://' xyz into xyz.

Then pass the variable to the function module

Former Member
0 Kudos

concatenate 'http://' xyz into xyz