Skip to Content
0
Former Member
Jul 01, 2009 at 02:02 AM

data conversion questions

145 Views

Hi Everyone,

I'm confused by the data conversion rule and how to do it in abap, could you help me about some of my questions?

1. How many ways to do data conversion ( like assignment .....)?

2. When using field symbol, we know we can assign reference to field symbol , and at mean time , we can casting type.

Is this kind of casting also a way to do data conversion?

3. In my real case, I have unknown type data to convert to xstring. the type could be any ( I, D, T, STRING......). Is there an easy way to implement that when I get the data reference, I only need to import it to a method and then the method return an xstring to me?

4. question 3 is about data->xstring, and how can I convert xstring back to the original data( should be the same type )?

Thanks and Regards,

Aaron