Skip to Content
0
Former Member
Jul 03, 2007 at 08:08 AM

Submit to Spool Line size Truncation...Urgent

75 Views

Hi Guys/Gals,

I have to submit the output to spool...(FROM MODULE POOL TO REPORT)

I've written the coding as follows...

w_prntparam-pdest = 'LP01'.

w_prntparam-prcop = '001'.

w_prntparam-plist = 'ZXXX'. "sy-repid.

w_prntparam-prnew = 'X'.

w_prntparam-pexpi = 8.

w_prntparam-linct = 65.

w_prntparam-linsz = 255.

w_prntparam-paart = 'X_65_255'. "'X_65_80'.

w_prntparam-prsap = 'D'.

w_prntparam-prrec = sy-uname.

w_prntparam-prdsn = 'LIST1S'.

w_prntparam-ptype = 'TEXT'.

w_prntparam-armod = 1.

w_prntparam-priot = 5.

w_prntparam-prunx = 'D'.

w_prntparam-prkeyext = 2.

CALL FUNCTION 'GET_PRINT_PARAMETERS'

EXPORTING

IN_PARAMETERS = w_prntparam

LINE_SIZE = 255

NO_DIALOG = 'X'

IMPORTING

OUT_PARAMETERS = w_prntparam

VALID = W_VALID_FLAG

EXCEPTIONS

ARCHIVE_INFO_NOT_FOUND = 1

INVALID_PRINT_PARAMS = 2

INVALID_ARCHIVE_PARAMS = 3

OTHERS = 4.

SUBMIT ZXXX

TO SAP-SPOOL

SPOOL PARAMETERS w_prntparam

WITHOUT SPOOL DYNPRO

AND RETURN.

Here the output is not extending beyond 80 chars.....

Can anyone help me in this???

Regards

Jiku