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

Converting data back to string from the data type VARILRAW

Former Member
0 Likes
545

Hello Friends

I am trying to write data consisting of a very long variable string to a table using a BAPI. However, since data type 'string' is not supported in a BAPI, I am using 'VARILRAW'.

However, the data gets stored as a binary and so when I try to retrieve it, it is giving out the string in a non-readable format.

Is there a way to convert this VARILRAW strong back to readable string?

Your help will be highly appreciated.

Thanks

Ram

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
475

Hi,

I guess there is no FM to do this.

Try moving this to a string type variable if possible.

Regards,

Ramya

2 REPLIES 2
Read only

Former Member
0 Likes
476

Hi,

I guess there is no FM to do this.

Try moving this to a string type variable if possible.

Regards,

Ramya

Read only

0 Likes
475

Thanks Ramya

However, I didn't understand when you said, 'try moving this to string type'. Can you please elaborate on it?

thanks

Ram