Skip to Content
avatar image
Former Member

Removing tha pop up

Hi everyone,

Below written is my code for calling a smartform. It's workinf fine but the thing is that, when i execute this form, i am getting a pop upo asking for output device. I do not want this pop up.

CALL FUNCTION FMNAME

EXPORTING

  • ARCHIVE_INDEX =

  • ARCHIVE_INDEX_TAB =

  • ARCHIVE_PARAMETERS =

  • CONTROL_PARAMETERS =

  • MAIL_APPL_OBJ =

  • MAIL_RECIPIENT =

  • MAIL_SENDER =

  • OUTPUT_OPTIONS = ''

  • USER_SETTINGS = ''

P_PANTID = P_PANTID

V_YEAR = V_YEAR "Age.

  • IMPORTING

  • DOCUMENT_OUTPUT_INFO =

  • JOB_OUTPUT_INFO =

  • JOB_OUTPUT_OPTIONS =

TABLES

IT_PCLINIC = IT_PCLINIC

EXCEPTIONS

FORMATTING_ERROR = 1

INTERNAL_ERROR = 2

SEND_ERROR = 3

USER_CANCELED = 4

OTHERS = 5

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 23, 2010 at 12:05 PM

    Hi,

    Pass the parameter CONTROL_PARAMETERS-NO_DIALOG = 'X'

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 23, 2010 at 12:45 PM

    Hi

    in form interface for control parmeter( CONTROL_PARAMETERS) pass

    DEVICE = ' printer name ' and NO_DIALOG = 'X'.

    Regards,

    Raghu.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      well, when printing (NAST-NACHA = 1) a form, you NEED to know to which printer it should be printed.

      If you tell him to display no dialog, but dont give him a printer he will bring the popup anyway cause when printing to printer yoiu need a printer, no matter what.

      So unless you tell him which printer to use you will not get rid of the popup.

  • avatar image
    Former Member
    Sep 23, 2010 at 02:27 PM

    we are already having a discussion:

    Calling a Smartform through a driver program.

    Add comment
    10|10000 characters needed characters exceeded