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

Passing variable type c length 64

Former Member
0 Likes
593

I want to pass a variable of length 64 and char type

Currently this is what I have, but it should be yvalues(64) type c.

data: yvalues type c.

perform fcc_values using yvalues.

FORM fcc_values using xvalues type c.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
575

Hi Megan,

What is the issue? Is your program dumping? Is it not compiling? Please let me know.

Regards,

Mark

5 REPLIES 5
Read only

Former Member
0 Likes
576

Hi Megan,

What is the issue? Is your program dumping? Is it not compiling? Please let me know.

Regards,

Mark

Read only

Former Member
0 Likes
575

Try this...

data: yvalues(64) type c value 'test123'.

perform fcc_values using yvalues.

FORM fcc_values using xvalues type char64.

write: xvalues.

endform.

Read only

Former Member
0 Likes
575

Hi,

Not sure what you are looking for..

But try this..You can use CHAR64 data element..


DATA: yvalues TYPE CHAR64.

PERFORM fcc_values USING yvalues.

FORM fcc_values USING xvalues TYPE char64.
....
ENDFORM.

Thanks,

Naren

Read only

Former Member
0 Likes
575

Is this what you are looking for?

yvalues type char64.

perform fcc_values using yvalues.

FORM fcc_values using xvalu es type char64.

Read only

Former Member
0 Likes
575

I was able to do this.

data: xvalues(64) type c.

perform fcc_values using xvalues.
write:/ xvalues.

FORM fcc_values using xvalues.