‎2008 Apr 15 7:59 PM
Hi All
I have a file on application server. One of fields in the file has packed values. I have to transfer the data into an internal table how can unpack the field values?
Thanks In advance
‎2008 Apr 15 8:08 PM
When you upload, just upload it as plain text.
Then move those values to fields of proper type.
Regards,
Ravi Kanth Talagana
‎2008 Apr 15 8:08 PM
When you upload, just upload it as plain text.
Then move those values to fields of proper type.
Regards,
Ravi Kanth Talagana
‎2008 Apr 15 8:12 PM
I am downloading data from a file in the application server into an internal table to display it as a report. The file contains packed values. I have to unpack them to show the actual values. How can it be done?
‎2008 Apr 15 8:13 PM
Hi,
Before moving the data into internal table just unpack the data using UNPACK Keyword.
Syntax is like this.
DATA: pack(8) TYPE p DECIMALS 3 VALUE '123.456',
char1(10) TYPE c,
char2(10) TYPE c.
MOVE pack TO char1.
UNPACK pack TO char2.
write: / char2.