Skip to Content
0
Mar 18, 2009 at 02:07 AM

Reading Textpool

192 Views

Hi all,

I am facing a problem with READ TEXTPOOL...

DATA: BEGIN OF t_pool OCCURS 0.

INCLUDE STRUCTURE textpool.

DATA: END OF t_pool.

PARAMETERS: p_repid LIKE trdir-name,

READ TEXTPOOL p_repid INTO t_pool LANGUAGE syst-langu.

In text elements we have ordinary length and maximum length. Now, as TEXTPOOL structure has no maximum length, t_pool is getting only ordinary length and hence when I create textelements through t_pool, it's giving even maximum length same as ordinary length.

I need to fetch both ordinary and maximum lengths as provided in the program. Is there any way to so that?

Thanks a lot.