‎2005 Oct 26 6:03 AM
Dear all,
We are performing an upgrade from version 4.0B to 4.7. In version 4.7,Function modules 'TABLE_COMPRESS' (which compresses a table) is flagged as obsolete. I need a replacement to that function modulein version 4.7. Any pointers regarding it will be helpful.
Thanks & Regards,
Vishnu Priya
‎2005 Oct 26 6:24 AM
i just checked in ECC5 system (WAS6.40) its not marked as obsolete.
Regards
Raja
‎2005 Oct 26 6:30 AM
Raja,
try using it in a sample report using the Pattern button...it gave me a msg that it is obsolete...(although i agree the obsolete field in SE37 is empty)
rgds,
PJ
‎2005 Oct 26 6:35 AM
‎2005 Oct 26 6:38 AM
‎2005 Oct 26 6:49 AM
Hello,
This Function Module belongs to the Function Group SYST. I really doubt if this is going to be made obsolete without providing an alternative. In such a case there would almost certainly have been an OSS Note. However, I could not find any OSS note for this.
Moreover, the Function Module doesn't have "obsolete" flag set if you see from SE37. Therefore it must be really safe to use this function module in your program.
Still, I will try to get a confirmation for this.
Regards,
Anand Mandalika.
‎2005 Oct 26 8:26 AM
Hi,
CL_ABAP_GZIP class has a methods to compress text, but the type of the import parameter is CSEQUENCE and compressed textformat is in type XSEQUENCE. But, my requirement is , I have a table to compress and output should be a compressed table as in function module TABLE_COMPRESS. Thank you all for your quick responses.
Regards,
Vishnu Priya
‎2005 Oct 26 8:50 AM
you are right. what you could do is using call transformation transform your itab to XML form and then use CL_ABAP_GZIP to zip it.
to read it back, unzip using CL_ABAP_GZIP and then again use call transformation and XSLT program to convert it to your itab format.
Regards
Raja
Since you are new to SDN have a look at the following weblog to find out SDN way of saying thanks.
/people/mark.finnern/blog/2004/08/10/spread-the-love