‎2008 May 28 6:10 PM
hii experts,
i have a structure.
In that i use
V(8) TYPE P.
but when i save the file it gives dump.
it needs TYPE C.
so how i convert tthat PACKED type inco CHAR type.
Please provide me the code.
thanks
babbal
‎2008 May 28 6:17 PM
Hi,
do like this.
data : v_num(8) type p,
v_num1(8) type N,
v_num2(8) type c.
v_num1 = v_num.
v_num2 = v_num1.
Regards
Sandeep REddy
‎2008 May 28 6:22 PM
Hello,
To get more help on data converting, I suggest you this: [http://help.sap.com/saphelp_47x200/helpdata/en/79/c554afb3dc11d5993800508b6b8b11/frameset.htm].
Regards.
‎2008 May 28 6:32 PM
Hi,
check the syntax help for the STATEMENT UNPACK
data V(8) TYPE P,
v_char(8) type c.
unpack v into v_char.
regards,
Advait.
‎2008 May 28 10:46 PM
Hi,
data char1(8) TYPE P,
char2(8) type c.
unpack char1 to char2.
Regards
Kinjal