Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to avoid the printer device option screen when calling smartform?

Former Member
0 Likes
470

Dear gurus

i have create a smartform and i have called it from my program.

i dont want to show the printer device options how can i achieve that ?

below is the code for calling my smartform.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname                 = 'ZSNAK_VF03_PRINTING'
   IMPORTING
    fm_name                  = smart_form_function_nm
   EXCEPTIONS
     no_form                  = 1
     no_function_module       = 2
     OTHERS                   = 3
            .
  CALL FUNCTION smart_form_function_nm
    EXPORTING
      itab1              = itab1
      temp4              = temp4
      temp3              = temp3
      ref_doc_no         = ref_doc_no
      po_no              = po_no
      printno            = printno
    TABLES
      itab_tab           = itab_tab
    EXCEPTIONS
      formatting_error   = 1
      internal_error     = 2
      send_error         = 3
      user_canceled      = 4
      OTHERS             = 5.

Regards

Saad Nisar.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
444

Hi,

check this link

Regards and Best wishes.

Dear gurus

i have create a smartform and i have called it from my program.

i dont want to show the printer device options how can i achieve that ?

below is the code for calling my smartform.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname                 = 'ZSNAK_VF03_PRINTING'
   IMPORTING
    fm_name                  = smart_form_function_nm
   EXCEPTIONS
     no_form                  = 1
     no_function_module       = 2
     OTHERS                   = 3
            .
  CALL FUNCTION smart_form_function_nm
    EXPORTING
      itab1              = itab1
      temp4              = temp4
      temp3              = temp3
      ref_doc_no         = ref_doc_no
      po_no              = po_no
      printno            = printno
    TABLES
      itab_tab           = itab_tab
    EXCEPTIONS
      formatting_error   = 1
      internal_error     = 2
      send_error         = 3
      user_canceled      = 4
      OTHERS             = 5.

Regards

Saad Nisar.

1 REPLY 1
Read only

Former Member
0 Likes
445

Hi,

check this link

Regards and Best wishes.