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

FM Usage

Former Member
0 Likes
675

Hi,

I am using one FM name 'TABLE_COMPRESS'. But i can't able to trace, what i need to pass as the table parameters. There are two table parameters; IN & OUT. In OUT what i need to pass as, there is no parameters reference mentioned in the FM.

Plz suggest...

Thanks

Sangram

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
646

Hi,

Check this sample code.

data:compressed_size LIKE sy-index,

listobject LIKE abaplist OCCURS 10,

compressed_attachment LIKE soli OCCURS 100 WITH HEADER LINE,

CALL FUNCTION 'TABLE_COMPRESS'

IMPORTING

compressed_size = compressed_size

TABLES

in = listobject

out = compressed_attachment.

4 REPLIES 4
Read only

Former Member
0 Likes
647

Hi,

Check this sample code.

data:compressed_size LIKE sy-index,

listobject LIKE abaplist OCCURS 10,

compressed_attachment LIKE soli OCCURS 100 WITH HEADER LINE,

CALL FUNCTION 'TABLE_COMPRESS'

IMPORTING

compressed_size = compressed_size

TABLES

in = listobject

out = compressed_attachment.

Read only

0 Likes
646

Thanks

Sangram

Read only

Former Member
0 Likes
646

Hi Sangram,

Function module TABLE_COMPRESS is obsolete - do not use the FM.

Thanks.

Read only

Former Member
0 Likes
646

Hi,

In OUT, u have to pass a Table in which the Compressed Table has to be Stored.

Regards,

Padmam.