cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Pop-ups created by SAPLPD Program

Former Member
0 Kudos

Hi all,

While Printing Smartform we get a Pop-up created by SAPLPD Printer Program. Is there any way to hide this pop-up and print like can it be done as a Background process.

Let me know the process of doing this. All answers will be appreciated.

Thanks,

Prashanth

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181962
Active Contributor
0 Kudos
data:      X_OUTPUT_OPTIONS TYPE SSFCOMPOP, "SAP Smart Forms: Smart
                                        "Composer (transfer) options
      X_CONTROL_PARAMS TYPE SSFCTRLOP,"Smart Forms: Control
      X_OPTIONS  TYPE ITCPO.

      X_OUTPUT_OPTIONS-TDIMMED   = 'X'.   " Print Immediately
      X_OPTIONS-TDIMMED   = 'X'.   " Print Immediately
      X_CONTROL_PARAMS-PREVIEW = ' '. "Do not show Preview

          CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
            EXPORTING
              FORMNAME           = 'Your Form name'
            IMPORTING
              FM_NAME            = V_FM_NAME
            EXCEPTIONS
              NO_FORM            = 1
              NO_FUNCTION_MODULE = 2
              OTHERS             = 3.
          IF SY-SUBRC = 0.
            CALL FUNCTION V_FM_NAME
              EXPORTING
                ARCHIVE_PARAMETERS = X_ARC_PARAMS
                CONTROL_PARAMETERS = X_CONTROL_PARAMS
                OUTPUT_OPTIONS     = X_OUTPUT_OPTIONS
                USER_SETTINGS      = ' '
              TABLES
                JOBTKT_TAB         = ITAB
              EXCEPTIONS
                FORMATTING_ERROR   = 1
                INTERNAL_ERROR     = 2
                SEND_ERROR         = 3
                USER_CANCELED      = 4
                OTHERS             = 5.
endif.
Former Member
0 Kudos

Hi Ravi,

I am able to hide the Print Preview that is been created but i need to hide/supress the Popup that we get once the document is sent to the printer which shows the status of printing.

Any solutions for this or can we print the smartform in the Background to avoid this. and can you explain me the process of printing the smartform in background.

Thanks,

Prashanth.