Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Getting Error of Runtime Exceeded while generating OTF for PDF in smartform.

$
0
0

Hi All,

 

I am getting a error of runtime exceeded while generating OTF file for PDF in smartform through FM. The report is taking too much time before giving the output...and most of the time going to dump saying report has exceeded the runtime. All is working well till the Smartform FM reached. I debugged this FM and found that the TABLES parameter is having problem, may be there are too many tables in that parameter.Please help. Below is the code-

 

 

 

CALL FUNCTION'SSF_FUNCTION_MODULE_NAME'
  EXPORTING
    formname           = c_form_name
  IMPORTING
    fm_name            = v_fm_name

  EXCEPTIONS
    no_form            = 1
    no_function_module = 2
    OTHERS             = 3.

 

 

 

CALL FUNCTION   v_fm_name
  EXPORTING
    control_parameters      = wa_control
    output_options             = wa_output
    user_settings                = 'X'
    spl_gl                         = p_spl_gl
    open_dt                      = p_budat
    bukrs                         = p_bukrs
    w_check                    = w_check
    w_check1                   = w_check1

  IMPORTING
*   document_output_info =
    job_output_info                  = wa_otf
*   job_output_options     =

  TABLES
    kna1                       = t_kna1
    bsid_p                     = t_bsid_p
    bsid                         = t_bsid
    TEXT                       = t_text
    spl                           = t_spl
    bsid_x                      = t_bsid_x
    bsid_l                       = t_bsid_l
    bsid_h                      = t_bsid_h
    bsid_q                     = t_bsid_q
    bsid_tot                   = t_bsid_tot

  EXCEPTIONS
    formatting_error           = 1
    internal_error             = 2
    send_error                 = 3
    user_canceled              = 4
    OTHERS                     = 5

    .

 

 


Viewing all articles
Browse latest Browse all 8332

Trending Articles