cancel
Showing results for 
Search instead for 
Did you mean: 

Removing tha pop up

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

we are already having a discussion:

Former Member
0 Kudos

Hi

in form interface for control parmeter( CONTROL_PARAMETERS) pass

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

Regards,

Raghu.

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi,

Pass the parameter CONTROL_PARAMETERS-NO_DIALOG = 'X'

Former Member
0 Kudos

I have tried by passing control parameter-no dialog. But again the same problem exists.