Skip to Content
0
Jan 11, 2008 at 02:10 PM

Function module for to generate spool

222 Views

Hi,

here I am using the FM PRINT_SELECTIONS for collecting my data into spool through internal table as shown below.

CALL FUNCTION 'PRINT_SELECTIONS'

EXPORTING

mode = 'TABLE'

rname = sy-cprog

rvariante = sy-slset

TABLES

infotab = wt_info.

The structure of wt_info is a refered structure of info in standard FM as shown below.

DATA: BEGIN OF wt_info OCCURS 0,

flag,

olength TYPE x,

line LIKE raldb-infoline,

END OF wt_info.

here lie is taking only 79 chars in the spool output as it is mentioned through this structure. But our out put carring 120 chars length.

here we can't change the line length for this FM.

can please suggest any other FM for the to get output more than 120 chars length and behaves like above FM.

please do needfull urgently as requirement is urgent and effecting business.

Regards

Hareesh Tadepalli.