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

OBSOLETE FUNCTION MODULE - Table_Compress

Former Member
0 Likes
1,115

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

7 REPLIES 7
Read only

athavanraja
Active Contributor
0 Likes
929

i just checked in ECC5 system (WAS6.40) its not marked as obsolete.

Regards

Raja

Read only

0 Likes
929

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

Read only

0 Likes
929

You are right PJ. Let me look for a alternate.

Regards

Raja

Read only

0 Likes
929

have a look at class

CL_ABAP_GZIP

Regards

Raja

Read only

Former Member
0 Likes
929

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.

Read only

Former Member
0 Likes
929

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

Read only

0 Likes
929

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