cancel
Showing results for 
Search instead for 
Did you mean: 

PurOrder not priting if more than 8 pages

Former Member
0 Kudos

hey gurus,

we have customised the PO with our own SMARTFORM and also DRIVER PROGRAM..

When we try to give TEXT in text tab(using ME23N) the PO is not priting(or no spool is created,or no print preview in shown once print preview is clicked) in some cases.

when the PO is upto 8 pages long,and on further typing text in TEXT tab,this problem is occuring..

PLS HELP..

THANKYOU..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi ,

put break points and try to debug the program andcheck whether text is getting filled ar not ...

regards,

prashanti

Answers (2)

Answers (2)

Former Member
0 Kudos

you can call perform for create the spool number

in spool number you can see only 8 pages out put , if you can get authroziation to see the all pages

in print priview you can see all pages....

PERFORM set_print_param USING wa_addr_key

CHANGING wa_control_param

wa_composer_param

wa_recipient

wa_sender

ent_retco.

FORM set_print_param USING is_addr_key LIKE addr_key

CHANGING cs_control_param TYPE ssfctrlop

cs_composer_param TYPE ssfcompop

cs_recipient TYPE swotobjid

cs_sender TYPE swotobjid

cf_retcode TYPE sy-subrc.

DATA: ls_itcpo TYPE itcpo.

DATA: lf_repid TYPE sy-repid.

DATA: lf_device TYPE tddevice.

lf_repid = sy-repid.

CALL FUNCTION 'WFMC_PREPARE_SMART_FORM'

EXPORTING

pi_nast = nast

pi_addr_key = is_addr_key

pi_repid = lf_repid

IMPORTING

pe_returncode = cf_retcode

pe_itcpo = ls_itcpo

pe_device = lf_device

pe_recipient = cs_recipient

pe_sender = cs_sender.

IF cf_retcode = 0.

MOVE-CORRESPONDING ls_itcpo TO cs_composer_param.

cs_control_param-device = lf_device.

cs_control_param-no_dialog = gc_x.

cs_control_param-preview = gv_xscreen.

cs_control_param-getotf = ls_itcpo-tdgetotf.

cs_control_param-langu = nast-spras.

ENDIF.

ENDFORM. "set_print_param

Former Member
0 Kudos

goto settings for spool request and change the display area for pages.