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: 

How to convert CHAR40 to CHAR18??

Former Member
0 Kudos

Hi all,

I am working on FM. And a parameter is CHAR18.But the specification told me to post a value of CHAR40 to it.

How to execute the program regardless any errors??

Best regard.

3 REPLIES 3

Former Member
0 Kudos

I will convert automatically

If your adat is only for char18 still it will store it in char40 and others remain balnk

but while exporting and importing check data transfer correctly should be done

Former Member
0 Kudos

Yes, can i ignore the check???

Former Member
0 Kudos

Hi,

Since the CHAR40 is being passed to CHAR18, I presume the first 18 char of CHAR40 are needed.

So you can take first 18 like

var+0(18)

and pass that in the parameter.

Regards

Nishant