Quantcast
Channel: SCN : Discussion List - SAP Interactive Forms by Adobe
Viewing all articles
Browse latest Browse all 1237

im unable to open the print screen

$
0
0

Hi

 

Im using adobe forms in my requirement.

 

The problem is i have developed the code as shown below

 

  fp_outputparams-getpdf  = 'X'.
  CALL FUNCTION 'FP_JOB_OPEN'
    CHANGING
      ie_outputparams = fp_outputparams
    EXCEPTIONS
      cancel          = 1
      usage_error    = 2
      system_error    = 3
      internal_error  = 4
      OTHERS          = 5.
  IF sy-subrc <> 0.
    CASE sy-subrc.
      WHEN OTHERS.
    ENDCASE.
  ENDIF.

  CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
    EXPORTING
      i_name                    = 'ZFORM_EFORM'
  IMPORTING
    E_FUNCNAME                = lv_fm_name.

*  ls_docparams-langu  = sy-langu.


CALL FUNCTION lv_fm_name
  EXPORTING
  /1BCDWB/DOCPARAMS        ls_docparams
    lt_eform_data            = GT_EFORM_DATA
    lt_history_table        = lt_valid_hist
* IMPORTING
*  /1BCDWB/FORMOUTPUT      =
EXCEPTIONS
  USAGE_ERROR              = 1
  SYSTEM_ERROR            = 2
  INTERNAL_ERROR          = 3
  OTHERS                  = 4
          .
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.

CALL FUNCTION 'FP_JOB_CLOSE'.
** IMPORTING
**  E_RESULT            =
** EXCEPTIONS
**  USAGE_ERROR          = 1
**  SYSTEM_ERROR        = 2
**  INTERNAL_ERROR      = 3
**  OTHERS              = 4
*          .
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.

 

 

 

 

 

But the thing is after executing this program im unable to open the adobe form. Im not able to get the print screen as popup.

Please help me why the print screen is not comming after executing the above code.


Viewing all articles
Browse latest Browse all 1237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>