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

CONVERT CHAR TO STRING

Former Member
0 Likes
4,557

I HAVE PARAMETER OF TYPE RLGRAP-FILENAME TYPR CHAR ..HW TO CONVERT IT TO STRING SO THAT I CAN PASS IT TO GUI_UPLOAD AS A STRING

5 REPLIES 5
Read only

Former Member
0 Likes
2,091

hi

use move statement

or

STRING = CHAR.

thx

pavan

Read only

Former Member
0 Likes
2,091

Hi

declare another variable like string.

Move RLGRAP-FILENAME to that variable and pass it to the fun module.

reward if useful

regards,

ANJI

Read only

Former Member
2,091

Hi chaitanya,

p_file has file name in char.

Data lv_string tyep string.

lv_string = p_file.

now export lv_string as file name into gui_download.

plz reward points if helpful.

Thnaks,

Suma.

Read only

Former Member
0 Likes
2,091

hi,

chk out the foll code..

parameters: p_file like rlgrap-filename memory id fnm obligatory.

data: p_file1 type string.

p_file1 = p_file.

regards,

Navneeth.K

Read only

0 Likes
2,091

Hi,

Did the above piece of code sove your purpose.

regards,

Navneeth.K