Skip to Content
0
Former Member
Dec 07, 2011 at 10:59 AM

Calling "Submit Report Without spool and Return " from FM,Output Truncatd

676 Views

Hi,

I am Calling Below submit and return Report from Function module,, But output is truncated .Printing only 80 char, while i declared in a report 148 line size

In a Function Module..

FUNCTION Z_EIFFEL_RECON_ZFI_SAPAUDIT

SUBMIT ZFI_SAPAUDIT

WITH SELECTION-TABLE rspar

WITH p_online = 'X'

TO SAP-SPOOL

SPOOL PARAMETERS %_print

WITHOUT SPOOL DYNPRO

AND RETURN.

-While Executing report separately ,, gives proper output,, 148 length output

- But while Executing report through Function Module, ,, Submit and return-- Out put is truncated to 80 char only

In a report , line size is defined 148

REPORT ZFI_SAPAUDIT NO STANDARD PAGE HEADING LINE-SIZE 148 .

I also added line size in Submit and return .. like

SUBMIT ZFI_SAPAUDIT

WITH SELECTION-TABLE rspar

WITH p_online = 'X'

TO SAP-SPOOL

SPOOL PARAMETERS %_print

WITHOUT SPOOL DYNPRO

LINE-SIZE 148

AND RETURN.

But got the same truncated output.

Kindly Guide me ..