Adobe Form Call: System Error Exception

Hi,
I have created an Adobe Form for printing Invoices. When I call this form from print program using function module call "CALL FUNCTION fp_funcname" it throws Exception "System Error = 2". Can any one flash some light to resolve this issue.
Here I have given that function module call below.
CALL FUNCTION fp_funcname
EXPORTING
/1BCDWB/DOCPARAMS = fp_sfpdocparams
WA_HEADER         = wa_header
T_ITEM                   = t_item
EXCEPTIONS
USAGE_ERROR     = 1
SYSTEM_ERROR   = 2
INTERNAL_ERROR = 3
OTHERS                 = 4.
Thanks
Hari

Hi,
In your initialization use this class : cl_fp=>get_ads_connection( ).
you move this to a parameter  fp_outputparams .
MOVE cl_fp=>get_ads_connection( ) TO p_conn.
where fp_outputparams   TYPE sfpoutputparams called in
CALL FUNCTION 'FP_JOB_OPEN'
    CHANGING
      ie_outputparams = fp_outputparams
    EXCEPTIONS
      cancel          = 1
      usage_error     = 2
      system_error    = 3
      internal_error  = 4
      OTHERS          = 5.
Thanks
Dan

Similar Messages

  • Adobe Form called from SAP Portal, not executing interface global init code

    Hello!
    I have an adobe form called from both R/3 and SAP Portal and I need to show long text dinamically calculated.
    The deal is at the SAP Portal execution, as scenario characteristics don't allow string definitions, I'm using 255 characters tables (QISR_TAB_TYPE), that I'm trying to convert inside form interface (Global init code).
    The problem is that the interface global init code is being executed when the form is called from R/3, but it is not at SAP Portal.
    Does anybody know how to manage this? It's kind of a problem that the BAdi method int_service_request_init doesn't allow types over 255 characters... and if it is not possible to access the form interface code section (maybe there's any way)... i need to find some code section where i can convert tables before the form context is filled!!
    Thanks a lot!!
    Regards,
    Diana.

    Hi,
    have you searched on SCN? There are some threads with same problem such as [this one|/message/9270216#9270216 [original link is broken];. There is more threads. They may help you to solve your issue.
    Cheers

  • Java system error: Exception in method processFunction in BEX Broadcaster

    Hi All,
    We are trying to broadcast a BI7 Webtemplate with our enterprise portal. While clicking on "Create New setting " iam getting the error " Java system error: Exception in method processFunction ".
    Detailed error description is
    *Diagnosis
    An error occurred in the BI components on the SAP J2EE Engine.
    System Response
    Procedure
    Contact your system administrator to have the error analyzed in detail.
    Procedure for System Administration
    Start the Visual Administrator, log on to the SAP J2EE Engine and choose "<J2EE_SID>" ->"Server" -> "Services" -> "Log Viewer".
    The file "defaultTrace.trc" includes detailed information about the error that occurred. In Windows, you can find this file in the Log Viewer under "Cluster <computer name>" -> "Server <server number>" -> "<drive>:\usr\sap\<SID>\JC<INSTANCE>\j2ee\cluster\server<NUMBER>\log". ". In Unix, the file is located under "/usr/sap/<SID>/JC<INSTANCE>/j2ee/cluster/server<NUMBER>/log".
    If the file does not include enough detail about the error, you can increase the log level to obtain more information. To do this, choose "<J2EE_SID>" -> "Server" -> "Services" -> "Log Configurator". On the "Locations" tab page, choose "com" -> "sap" -> "ip" -> "bi" -> "webapplications". Using the selection list on the right side of the screen, you can increase the log level, whereby "DEBUG" represents the log level with the most information. You can save your settings by choosing the "Save" icon. The change to the log level is active immediately. Once you have successfully analyzed the error, you should set the log level back to its default value using the appropriate pushbutton; continuous writing to the log file negatively affects the overall performance of the system.
      Notification Number RSBOLAP 018  *
    Please let us know how to proceed

    Hi,
    This is a configuration issue. All components on the J2EE stack have to
    be on the same SPS level. Please make sure of this as a first step.
    For special requirements of BI with regards SPS levels please see SAP
    Notes 873996 and 1013369.
    Please run the latest version of the support desk tool as per SAP note
    937697 and ensure that there is no error and then check for the issue
    again.
    Otherwise, I suggest you open a BW-BEX-ET-BC msg with SAP.
    Rgds,
    Colum

  • Adobe form called from WDA - Translation Problem

    Hi,
    I have maintained French translation for the Adobe form using GOTO->Translation inSFP transaction.
    when i check in the developement system it is working fine.I have captured the translations in transport request using program
    RS_LXE_RECORD_TORDER and moved it to testing system.
    The changes are available in SFP but not visible when we execute the WDA HRASR00_PROCESS_EXECUTE as it is called from this application.
    Please let me know how to resolve this issue.
    Thanks
    Martina

    Hi ,
    As the form is related to ISR scenario in customizing client , I saved the adobe form there and transported customising request which resolved my issue.

  • Invoice Adobe form giving runtime error

    Hi All,
    I have configured standard adobe form for invoice in nace. Print prog - SD_BIL_PRINT01 and adobe form - SD_INVOICE_FORM01. When i run the billing document, i am getting error message - Type conflict when calling the function module (Call to function module /1BCDWB/SMxxxxxxxxx is incorrect). I am using the standard program n form, then why this error.
    Thanks,
    Raju

    Hi,
    In the Print prog - SD_BIL_PRINT01, there is
    CALL FUNCTION lv_fm_name
        EXPORTING
          /1bcdwb/docparams = ls_docparams
          bil_prt_com       = gs_bil_print.
    GS_BIL_PRINT is of type BIL_S_PRT_INTERFACE.
    In the adobe form SD_INVOICE_FORM01, I think  the interface used is SLS_INTERFACE. In the interface  SLS_INTERFACE, the
    import parameter SLS_PRT_COM is of type SLS_S_PRT_INTERFACE.
    Since the export parameter of the print program and the import parameter of the form interface are of different data types, the error is coming.
    Change the interface of the form to BIL_INTERFACE. In this interface, the inport parameter BIL_PRT_COM is of type BIL_S_PRT_INTERFACE.
    Regards,
    Vinod

  • Adobe Form Calling WebService Doesnu00B4t work with Adobe Reader 7

    Hi experts,
    We have created and adobe form that simulates a PM Notification in which the user, without logging into SAP, through an RFC and WebServices can create the notification into SAP.
    This process only works with Adobe Reader 9 and not with Adobe Reader 7.
    Can anyone tell me what main difference/component/functionality does Adobe Reader 9 have that Adobe Reader 7 doesn´t?
    When I call the Webservice through the form in Adobe 7, a pop-up message appears that says:
    "Error attempting to read from file.
    http://desaecc6.codelco.cl:8001/sap/bc/rfc/sap/zi_aviso_adobe_pm12/222/zi_aviso_adobe_pm12/zi_aviso_adobe_pm12"
    Any ideas why this error ocurrs only in Adobe Reader 7?
    Thanks and best regards,
    Fernando Montenegro

    Hello,
    I cannot tell what are the exact differencies between the version. But I can tell you should always use (at least try to use the newest Reader). I guess you´re not the only developer on Forms, so there are possibly more people depending on the version of the client browser/ Reader. There is a solution for this problem, which does not ask anything from you, only the user.
    You can easily test the Reader version through JS coding and act based on the result. I use this like this "if your Reader is lower than 8.1" then "message popup = We are sorry, your Reader is too old, this form won´t work for you. Please upgrade first.". It takes like 5 minutes (10 for lame users at max) to update his Reader.
    Maybe you should this about such a test, if the user passes the test, his application won´t have any problem, if not there is no guarantee. And YOU have no problem, nobody tells you "hey sir, your form is not working, I´m not gonna pay you".
    Otto

  • Call adapter: Error exception retnr from pipeline processing

    Hi!
    I am facing with the following error in sxmb_moni by retrieving the message from business system A.
    Errror in part Call adapter
    System_Error: Error exception retnr from pipeline processing
    Can some one help me tp solve this problem?
    Thank you very much!
    regards
    Holger

    Hi,
    Mark RFC destination AI_RUNTIME_JCOSERVER as UNICODE
    check this  Error exception return from pipeline processing
    Re: Queue problem ?
    Thanks!
    Edited by: Sudhir Tiwari on Dec 2, 2008 1:37 PM
    Edited by: Sudhir Tiwari on Dec 2, 2008 1:37 PM

  • Smart form to Adobe form migration Log errors

    Hi Guys,
    I tried to migrate a smartform to adobe form, but I encountered issues in the created migration log.
    I am new to Adobe forms, I'm hoping that you could help me correct these issues...
    Below are the errors encoutnered:
    ERROR1:
    - "Field SFSY-PAGE is unknown. it is neither in one of the specified tables nor defined in the DATA statement.
    (this looks like a declaration problem, I checked the left pane (system fields) SFSY is declared, this is being used instead of SFPSY because I am using smartforms compatible interface.
    ERROR2:
    - "TLINE" is not an internal table "OCCURS n" specification is missing.
    (I also checked TLINE declarations, everything is declared by the system during convertion.. not sure where to put the proper declaration to address this issue)
    ERROR3:
    -"VBDPR" is neither specified under "TABLES" nor is it defined as an internal table.
    (This one is coded in the smartform exactly same with the migrated adobe form. Another data declaration issue, how can this be done in adobe forms?)
    ERROR4:
    -Field ITEMS5-POSEX has a conversion routine (see SAP Note 796755) --> I will check this note and let you know
    All syntax errors are under the context tab, inside the node source code was generated after the convertion and created the tab program lines.
    ERROR1: Code
    v_finalpage = v_counterpage + sfsy-page
    ERROR2: Code
    *     Read the sales orders text
    PERFORM read_salestxt TABLES tline
    USING 'Y032'
    v_text
    'VBBK'.
    ERROR3: Code
    LOOP AT vbdpr WHERE....
    I explained the issue the best way I can, hope this is enough to give you the idea..please provide feedback on this.
    Rgds,
    Jeffbroodwar
    Edited by: Jeffbroodwar on Mar 23, 2011 2:12 PM

    Hi All,
    Just incase others encounter this (new to migration) please see the answers below:
    ERROR1: SFSY - in my code, this was used to create the form pages. in ADOBE forms, we can use the ready objects inside
    the layout designer (just drag and drop page n of m just look for it in the objects palette.
    ERRORS2 to 3: Tables, I used type table as reference (create in SE11) and declared it in my interface as reference for my tables that have errors (change ref --> LIKE to TYPE then replace the table used in smartform with the newly created type table.
    ERROR4: Just see sapnote. just change the data type to avoid errors in calculation.
    Hope this will help.
    Thanks,
    Jeffbroodwar

  • Adobe Form returns IE error in Portal

    In NW7/ECC6 we are using ESS 50.4.  When trying to open the Benefits Confirmation Form, a custom Adobe form, the portal returns an Internet Explorer error message - Error in Generating the Form.
    Has anyone had the problem and solved it?  Any assistance would be appreciated.  The form is supposed to be live next week.
    Thanks,
    D. Maupin

    Hi,
    probably ADS has some problems with generating your form. Usually there is an error log file on the server. Try to check it <DIR_GLOBAL>\AdobeDocumentServices\renderErrorLog\errorFiles. It may help you with finding the problem. Check also OSS note 944221. It's a general note about troubleshooting of Adobe forms. It contains links to additional helpful notes as well.
    Cheers

  • Sequence number over multiple adobe form calls

    Dear all
    I posted this question in another subforum - http://forums.sdn.sap.com/thread.jspa?threadID=1997461 - three days ago,
    but nobody could answer, so I try to post it here.
    We would like to have a sequence number for each page.
    The Adobe Form gets called more than once, so the second call doesn't know, how many pages were printed already, thus it cannot continue the sequence number.
    Do you have any ideas?
    Of course, I would prefer not to publish an SAP-service only for this purpose...
    (The transaction is HRFORMS, we would like to print a sequence number bar code, so that the packing machine to the envelope senses, if two pages are stuck together.)

    Hi,
    I have a problem in printing current page number of an adobe form.
    My requirement is that , my form got 2 pages. On first page i am not printing page numbers and excluded from numbering.
    Numbering starts from second page. The second page needs to be repeated twice.
    In this case my page printing should look like :
    First page - no page number
    second page - 1 of 1
    Third page - 1of 1 (as it is a copy)
    IF second page extends to multiple pages (eg.. 2)
    First page - No Page no
    First instance of second page - 1of 2 , 2 of 2
    Second instance of second page - 1 of 2 , 2 of 2 . Presently it is printing like : 3 of 2 , 4 of 2. I need to initialize current page count. I could able to set the total page count 2 via variable from print program. But while printing the second instance, I am not able to initialize the current page count.
    I have seen the following thread which exactly talks about my problem but with out any solution.
    http://forums.sdn.sap.com/thread.jspa?messageID=10601698&#10601698
    I have tried initializing the current page count in the initializing event and tried assigning the initial value when the second copy starts but for entire no of pages the same initialized value is coming.
    Can anyone help me in this regard.
    Thank You,
    Regards,
    Naresh.

  • Adobe form hangs after error message

    Hi All,
    I developed interactive adobe form with 1 field as mandatory. Form is integrated with webdynpro and working fine but if user dont pass value to mandatory field, it gives error 'Atleast 1 required field empty' but after that form hangs. it is not responding so that i can fill the value.
    I made field object->value type as 'User entered - Required'.
    Please suggest if i am missing something.
    Thanks

    Solved by me

  • Handling Submit Button on the ADOBE form called from Web Dynpro

    Hi,
    I have placed a Button on the ADOBE Form. How to Handle the event on this button. When i click this button, i want to save the details of the form into a Custom table.

    Hi Majunath.
    Create an event say, SUB_EVTin the view in WD where you have the Interactive Form UI element.
    Bind this event to the onSubmit of the Form.
    Now check the display type of the form. It will be either ActiveX or Native.
    Now go to the form designer and open Library palette. Navigate to Webdynpro ActiveX or Native Library(Depending on the form display Type in WD).
    Drag and Drop Submit button.
    On click of the button, the event handler in WD view namely, onActionsub_evt will be invoked. You can write your code in this handler.
    Now in order to read data from the form. Go to the form and go to Properties tab. Check the form layout type. If it is not ZCI, run transaction SFP_ZCI_UPDATE and convert the form to ZCI type.
    Now back to the event handler.
    as an example... I will use the following context node definitions
    PDF_DATA  1..1
      ACTUAL_DATA 0..n
        ATTRIB01
        ATTRIB02
    Assume the the node PDF_DATA is bound to the data source of your form.
    Now in the event handler write the foll code
    data: lo_node type ref to if_wd_context_node,
            lt_data   type wd_this->elements_actual_data.
    lo_node = wd_context->get_child_node( name = wd_this-.wdctx_pdf_data ).
    lo_node = lo_node->get_child_node( name = wd_this-.wdctx_actual_data ).
    lo_node->get_static_attributes_table(
      importing
        table = lt_data ).
    This will get all the form data in the internal table lt_data.
    Now you can process the data the way you want and save it in your custom tables.
    Regards,
    Reema .
    Edited by: Reema Shahbazkar on Sep 16, 2008 11:39 PM
    Hope this helps!!

  • Adobe Form (data extraction error)

    Hi Experts,
    i'm trying extract data from PDF file. (Adobe Offline scenario).
    I'm getting this XML runtime error.
    could anybody can help me to solve this problem.
    This is my code ,
    CALL TRANSFORMATION id
    SOURCE XML lv_xml_data_string
    RESULT T_sums      = wa_sums
           customer    = wa_cus
           bookings    = wa_book
           connections = wa_conn.
    Here is the error
    >>>>>>>>>>>>>>>>>>>>>
    Error analysis                                                                                An exception occurred that is explained in detail below. 
        The exception, which is assigned to class 'CX_XSLT_RUNTIME_ERROR', was not     caught and   therefore caused a runtime error.      The reason for the exception is:       Either the source document contains invalid XML or it is handled      incorrectly in the ABAP program that called the transformation.
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    i will appreciate valuble answers.
    Thanks ,
    Lahiru.

    Hi Experts,
    i'm trying extract data from PDF file. (Adobe Offline scenario).
    I'm getting this XML runtime error.
    could anybody can help me to solve this problem.
    This is my code ,
    CALL TRANSFORMATION id
    SOURCE XML lv_xml_data_string
    RESULT T_sums      = wa_sums
           customer    = wa_cus
           bookings    = wa_book
           connections = wa_conn.
    Here is the error
    >>>>>>>>>>>>>>>>>>>>>
    Error analysis                                                                                An exception occurred that is explained in detail below. 
        The exception, which is assigned to class 'CX_XSLT_RUNTIME_ERROR', was not     caught and   therefore caused a runtime error.      The reason for the exception is:       Either the source document contains invalid XML or it is handled      incorrectly in the ABAP program that called the transformation.
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    i will appreciate valuble answers.
    Thanks ,
    Lahiru.

  • Error while opening the ADOBE FORM via mail

    Hi to all,
    I have created a program to attached ADOBE FORM to mail.
    When I execute the program, it sends ADOBE FORM to my mail ID successfully.
    But when I open my mail and try to open attached ADOBE FORM, it gives error
    ADOBE READER COULD NOT OPEN u2018PDF FORM (1). PDFu2019 because it is either not a supported file type or because the file has been damaged ( for example, it was sent as an email attached and wasnu2019t correctly decoded).
    Please can any tell me, what the problem is and what the solution is for that?
    I shall be thankful to you for this.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Aug 1, 2011 2:22 PM

    Thanks for reply,
    below is the code.
    data:
      l_fm_name         TYPE rs38l_fnam,
       l_formname   TYPE fpname VALUE 'ZTESTF1' ,
      fp_docparams      TYPE sfpdocparams,
      FP_FORMOUTPUT     TYPE FPFORMOUTPUT,
      fp_outputparams   TYPE sfpoutputparams.
    data:  I_ATT_CONTENT_HEX  type SOLIX_TAB.
    START-OF-SELECTION.
    data: st  TYPE  ZTABFM11.
    data: it type table of sflight.
    data: wa like LINE OF it.
    data: wa_st like LINE OF ST.
      fp_docparams-langu   =      'E'.
      fp_docparams-country =      'US'.
      fp_docparams-fillable =      'X'.
      fp_outputparams-nodialog = 'X'.
      fp_outputparams-preview =   'X'.
      fp_outputparams-device   =  'LP01'.
      fp_outputparams-getpdf  =   'X' .
      fp_outputparams-dest   =    'LP01'.
      fp_outputparams-reqimm  =   'X'.
      fp_outputparams-reqdel  =   'X' .
      fp_outputparams-xfpoutdev = 'LP01'.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = l_formname
        IMPORTING
          e_funcname = l_fm_name.
      E_INTERFACE_TYPE           =
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = fp_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
    select * from sflight into TABLE it.
      loop at it into wa.
        wa_st-CARRID = wa-CARRID.
        wa_st-CONNID = wa-CONNID.
        wa_st-FLDATE = wa-FLDATE .
        wa_st-PLANETYPE   = wa-PLANETYPE.
        append wa_st to st.
        endloop.
      CALL FUNCTION l_fm_name
        EXPORTING
          /1bcdwb/docparams  = fp_docparams
              st               = st
        IMPORTING
          /1BCDWB/FORMOUTPUT = FP_FORMOUTPUT
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          OTHERS             = 4
       CALL FUNCTION 'FP_JOB_CLOSE'
      IMPORTING
        E_RESULT             = result
       EXCEPTIONS
         usage_error          = 1
         system_error         = 2
         internal_error       = 3
         OTHERS               = 4
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER                = FP_FORMOUTPUT-PDF
      APPEND_TO_TABLE       = ' '
    IMPORTING
      OUTPUT_LENGTH         =
        TABLES
          BINARY_TAB            = I_ATT_CONTENT_HEX  .
    CLASS cl_bcs DEFINITION LOAD.
      DATA:
      lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
      lo_send_request = cl_bcs=>create_persistent( ).
    Message body and subject
      DATA:
      lt_message_body TYPE bcsy_text VALUE IS INITIAL,
      lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
      APPEND 'Dear,' TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Fill the details.'
      TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Thank You,' TO lt_message_body.
      lo_document = cl_document_bcs=>create_document(
      i_type = 'RAW'
      i_text = lt_message_body
      i_subject = 'flight details' ).
      DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
      TRY.
          lo_document->add_attachment(
          EXPORTING
          i_attachment_type = 'PDF'
          i_attachment_subject = 'flight details'
    I_ATTACHMENT_SIZE =
    I_ATTACHMENT_LANGUAGE = SPACE
    I_ATT_CONTENT_TEXT =
    I_ATTACHMENT_HEADER =
          I_ATT_CONTENT_HEX  = I_ATT_CONTENT_HEX  ).
        CATCH cx_document_bcs INTO lx_document_bcs.
      ENDTRY.
    Add attachment
    Pass the document to send request
      lo_send_request->set_document( lo_document ).
    Create sender
      DATA:
      lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
      l_send type ADR6-SMTP_ADDR value 'mail id '.
    lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
      lo_sender = cl_sapuser_bcs=>create( sy-uname ).
    Set sender
      lo_send_request->set_sender(
      EXPORTING
      i_sender = lo_sender ).
    Create recipient
      DATA:
      lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
    lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
      lo_recipient = cl_cam_address_bcs=>create_internet_address( l_send ).
    Set recipient
      lo_send_request->add_recipient(
      EXPORTING
      i_recipient = lo_recipient
      i_express = 'X' ).
    lo_send_request->add_recipient(
    EXPORTING
    i_recipient = lo_recipient
    i_express = 'X' ).
    Send email
      DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
      lo_send_request->send(
      EXPORTING
      i_with_error_screen = 'X'
      RECEIVING
      result = lv_sent_to_all ).
      COMMIT WORK.
      message 'Form sucessfuly send to person' type 'I'.
    plesase can any one, provide the soultion.
    i shall be thankful toy you for this.
    regards
    pavneet rana

  • Problem using RFC to call an adobe form to create pdf file........

    Hi,
       I have an RFC that calls an adobe form to display the pdf output back in a bsp page...the RFC fails at the call to the adobe form (next call after after getting the form name) ...while debugging it looks like within this call it is trying to call fpcomp_job_open and failing on the call check_job_open ...
    The code in my RFC looks like this....
    DATA:
        gs_outputparams  TYPE sfpoutputparams,
        fn_name           TYPE rs38l_fnam,
        fp_docparams      TYPE sfpdocparams,
        fp_formoutput     TYPE fpformoutput,
        frm_result        TYPE sfpjoboutput,
        lv_form           TYPE fpname.
    DATA: l_pdf_xstring  TYPE xstring,
           l_pdf_len      TYPE i.
    lv_form = 'ZHR_ASSESSMENT_FORM'.
    Start formrocessing - OPEN spool job to send to printer
      gs_outputparams-getpdf = 'X'.
      call function 'FP_JOB_OPEN'
        changing
          ie_outputparams = gs_outputparams
        exceptions
          others          = 1.
      IF sy-subrc <> 0.
    *//    RAISE FP Open Error.
          exit.
      ENDIF.
    Get name of the generated function module for the form
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = lv_form
        IMPORTING
          e_funcname = fn_name.
      IF sy-subrc <> 0.
    *//    RAISE FP Get Form Module Name Error.
            exit.
      ENDIF.
    Call the Adobe Form
      CALL FUNCTION fn_name
      EXPORTING
          /1bcdwb/docparams  = fp_docparams
          gv_appraisal_id = gv_appraisal_id
      IMPORTING
         /1bcdwb/formoutput = fp_formoutput
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          others             = 4.
      IF sy-subrc <> 0.
    *//    RAISE Call Form Module Error.
            perform f_build_message using 'E'
                                      'ZEXT'
                                      012
                                changing return.
           exit.
      ENDIF.
    End from processing - Close spool job
      CALL FUNCTION 'FP_JOB_CLOSE'
        IMPORTING
          e_result       = frm_result
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
    *//    RAISE FP Close Error.
           exit.
      ENDIF.
      form = fp_formoutput-pdf.
    Thanks,
    Venkatesh

    what is the solution for this problem? I have the same problem. I get sy-subrc = 1 after CALL FUNCTION 'FPCOMP_JOB_OPEN'.
    If I look more in detail I see that "Perform check_job_open" is creating the problem:
    FORM check_job_open.
      IF fpstat-is_opened = c_true.  (--> exactly here is the problem. This condition is true so the program is terminated.)
        PERFORM reset_status.
        MESSAGE ID 'FPRUNX' TYPE 'E' NUMBER '101' RAISING usage_error.
      ENDIF.
      fpstat-is_opened  = c_true.
      fpstat-is_started = c_false.
    ENDFORM.       
    Does somebody know why my job is open and what is the solution to have the job closed at the beginning of my processing?
    Thanks in advance.

Maybe you are looking for

  • Issue in displaying DATE field in Excel sheet

    Hi All, Kindly help me with the below issue: A report program when exexuted fetches the data's from database tables and populates in to an itab and the same is then moved to a itab which is declared like this: DATA: BEGIN OF t_downd OCCURS 0,        

  • How to recover my Standby databse

    Hi every one, I need a suggestion in recovering a standby database which is not in sync with primary for last 2 months. due to server issues we brought down our standby down and made my primary to no archive log mode ( disabled archive log mode). Now

  • Drag & Drop & Copy and Paste

    Before intalling Leopard I was able to drag jpegs out of safari and onto my desktop or find album artwork and drag it into itunes this feature seems to no longer work. Is there a setting somewhere I can change? Also can no longer copy a URL and paste

  • Re: Struts programming problem

    Hi All, This is Nitin Singh, working working on a project in struts framework using MyEclipse ide. I am actually facing an issue in my project where i am unable to get access to Servlet action and the error "_INFO: Servlet action is currently unavail

  • Can't Install Powe Pivot

    Hello, I have Office 2010,32 bit, Standard Version and I need to install Power Pivot for Excel 2010. I have tried to install de 32 bit version  (SQL Server 2008), but it says that I need to install Office Shared Features and Excel 2010, which are alr