Skip to Content
0
Former Member
Sep 22, 2005 at 05:31 AM

BSP Iview

16 Views

I have created a BSP_iview to display certification letter with salary information and it is assigned to ESS role .

I want to trigger Print from EP.

Am calling 'Open_form' from my BSP program . and it's going to SAP Spool and it's possible for me to trigger a print from SP01.Even i have turned on print immediately why this doesn't happen ?

W_OPT-TDDEST = 'LOCL'. "default to local printer

W_OPT-TDIMMED = ' '. "print immediately

W_OPT-TDDELETE = ' '. "delete after print

W_OPT-TDNEWID = ' '. "new spool request

CALL FUNCTION 'OPEN_FORM' "open layout set

EXPORTING

DEVICE = 'PRINTER'

DIALOG = ' '

FORM = W_LAYOUT_SET

LANGUAGE = SY-LANGU

OPTIONS = W_OPT.

W_OPT is of type ITCPO

Help plz.

Regrds,

J