Adaptive RFC - WD Java - Display Smartform in Interactive Form (PDF)

Hi everyone, i need your help. I get data type xstring from my backend function module. This data will use to fill property PDF Source from my Interactive Form UI Element in my iView. But before i get this data, my backend function module throw exception like this :
<b>"com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Please maintain an output device in your user master data., error key: RFC_ERROR_SYSTEM_FAILURE"</b>
And The print stack trace :
<b>com.sap.aii.proxy.framework.core.BaseProxyException: Please maintain an output device in your user master data., error key: RFC_ERROR_SYSTEM_FAILURE
    at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
    at com.cnooc.performancemanagementsystem.model.getappraiseedetail.GetAppraiseeDetail.z_Hr_Pms_Display_Appr_Form(GetAppraiseeDetail.java:196)
    at com.cnooc.performancemanagementsystem.model.getappraiseedetail.Z_Hr_Pms_Display_Appr_Form_Input.doExecute(Z_Hr_Pms_Display_Appr_Form_Input.java:137)
    at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
    at com.cnooc.performancemanagementsystem.Core.executeZ_Hr_Pms_Display_ApprForm(Core.java:1083)
</b>
I have search in this forum, but i cannot find similiar case. I suspect if the size of xstring (byte[] in Java) is too big (approximately 8 MB), is this the cause i get the exception ?
My code in custom controller like this :
<b> public void executeZ_Hr_Pms_Display_ApprForm( )
    //@@begin executeZ_Hr_Pms_Display_ApprForm()
    GetAppraiseeDetail model = (GetAppraiseeDetail)WDModelFactory.getModelInstance(GetAppraiseeDetail.class);
    Z_Hr_Pms_Display_Appr_Form_Input inputDisplay = new Z_Hr_Pms_Display_Appr_Form_Input();
    wdContext.nodeDisplaySmartForm().bind(inputDisplay);
    Zappraisal_Param_Struc.Zappraisal_Param_Struc_List listForm = new Zappraisal_Param_Struc.Zappraisal_Param_Struc_List();
     Zappraisal_Param_Struc elementForm = new Zappraisal_Param_Struc();
     elementForm.setPernr("20071000");
     elementForm.setBegda("20070101");
     elementForm.setEndda("99991231");
     elementForm.setOrgeh("");
     elementForm.setPlans("");
     elementForm.setStell("");
     elementForm.setEname("");
     elementForm.setPhase("C");
     elementForm.setAtype("A");
     elementForm.setSpras("EN");
     listForm.addZappraisal_Param_Struc(elementForm);
     inputDisplay.setT_Appraisal_Param(listForm);
     wdContext.currentDisplaySmartFormElement().setP_Caller(" ");
     wdContext.currentDisplaySmartFormElement().setP_Langu("E");
     wdContext.currentDisplaySmartFormElement().setP_Type("A");
    try
          wdContext.currentDisplaySmartFormElement().modelObject().execute();
     catch(WDDynamicRFCExecuteException e)
          logger.traceThrowableT( Severity.ERROR, "executeZ_Hr_Pms_Display_ApprForm( )", "ERROR", e );
          model.disconnectIfAlive();
          e.printStackTrace();
          throw new FeedbackException( e );
     catch(WDRuntimeException e1)
          logger.traceThrowableT( Severity.ERROR, "executeZ_Hr_Pms_Display_ApprForm( )", "ERROR", e1 );
          model.disconnectIfAlive();
          throw new FeedbackException( e1 );
     wdContext.nodeReturnDisplayForm().invalidate();     
     wdContext.nodeOutputDisplayForm().invalidate();
     model.disconnectIfAlive();
    //@@end
  }</b>
My context like this
<b>- DisplaySmartForm (model node)
--OutputDisplayForm (model node)
---ReturnDisplayForm(model node)
---T_Appraisal_Param_Output(model node)
---T_PDF_Lines (model node)
---Bin_File (model value)
---P_Bin_Size (model node) --> display size of bin_file (xstring)
--T_Appraisal_Param
--P_Caller
--P_Langu
--P_Type
</b>
My parameter FM like this :
<b>FUNCTION z_hr_pms_display_appr_form.
""Local Interface:
*"  IMPORTING
*"     VALUE(P_CALLER) TYPE  CHAR1 DEFAULT 'X'
*"     VALUE(P_LANGU) TYPE  SYLANGU DEFAULT SY-LANGU
*"     VALUE(P_TYPE) TYPE  CHAR1 DEFAULT 'A'
*"  EXPORTING
*"     VALUE(RETURN) TYPE  BAPIRETURN
*"     VALUE(BIN_FILE) TYPE  XSTRING
*"     VALUE(P_BIN_SIZE) TYPE  I
*"  TABLES
*"      T_APPRAISAL_PARAM STRUCTURE  ZAPPRAISAL_PARAM_STRUC
*"      T_PDF_LINES STRUCTURE  TLINE OPTIONAL
</b>
Please anyone, can you help me ? Thank you.
Regards,
Satria B

Hi guys, I still not solve this problem. Strange that my RFC can call successfully when execute through R3 (SE37) but when i call this in my webdynpro application, i get exception "Please maintain output device" (this strange because i have set default output device in SU01 for user that execute this function in webdynpro)
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname           = v_form_name
      IMPORTING
        fm_name            = v_funcname
      EXCEPTIONS
        no_form            = 1
        no_function_module = 2
        OTHERS             = 3.
    IF sy-subrc <> 0.
      CALL FUNCTION 'BALW_BAPIRETURN_GET'
        EXPORTING
          type       = 'E'
          cl         = 'ZH'
          number     = '036'
        IMPORTING
          bapireturn = return.
      EXIT.
    ENDIF.
    "Data used only by stream creation.
    DATA: ctr_param TYPE ssfctrlop,
          out_opt   TYPE ssfcompop,
          out_info  TYPE ssfcrescl,
          lt_pdf_lines TYPE STANDARD TABLE OF tline.
    ctr_param-no_dialog = 'X'.
    ctr_param-preview   = space.
    ctr_param-getotf    = 'X'.
           out_opt-tdnoprev = 'X'.
    out_opt-tddest = 'JKT018MISLJB2-01'.
    CALL FUNCTION v_funcname
         EXPORTING
                ARCHIVE_INDEX              =
                ARCHIVE_INDEX_TAB          =
                ARCHIVE_PARAMETERS         =
          control_parameters         = ctr_param
                MAIL_APPL_OBJ              =
                MAIL_RECIPIENT             =
                MAIL_SENDER                =
          output_options             = out_opt
                USER_SETTINGS              = 'X'
         v_year                        = v_year
         v_ename                       = v_ename
         v_pernr                       = v_pernr
         v_position                    = v_position
         v_department                  = v_department
         v_jobfam                      = v_jobfam
         v_last_promotion              = v_last_promotion
         v_appr_no                     = v_appr_no
         v_appr_nm                     = v_appr_nm
         v_evmy                        = v_evmy
         v_evey                        = v_evey
         v_evcc                        = v_evcc
         v_evmc                        = v_evmc
         v_evjf                        = v_evjf
         v_eeio                        = v_eeio
         v_eent                        = v_eent
         v_eest                        = v_eest
         v_eetd                        = v_eetd
         v_ka_score                    = v_ka_score
         v_ka_weight                   = v_ka_weight
         v_cc_score                    = v_cc_score
         v_mc_score                    = v_mc_score
         v_jf_score                    = v_jf_score
         v_weight                      = v_weight
         v_tot_score                   = v_tot_score
         v_cc_subtotal                 = v_cc_subtotal
         v_mc_subtotal                 = v_mc_subtotal
         v_jf_subtotal                 = v_jf_subtotal
         ls_competency_cc_form1        = ls_competency_cc_form1
         ls_competency_cc_form2        = ls_competency_cc_form2
         ls_competency_cc_form3        = ls_competency_cc_form3
         ls_competency_cc_form4        = ls_competency_cc_form4
         ls_competency_cc_form5        = ls_competency_cc_form5
         ls_competency_cc_form6        = ls_competency_cc_form6
         ls_competency_cc_form7        = ls_competency_cc_form7
         ls_competency_mc_form1        = ls_competency_mc_form1
         ls_competency_mc_form2        = ls_competency_mc_form2
         ls_competency_mc_form3        = ls_competency_mc_form3
         ls_competency_jf_form1        = ls_competency_jf_form1
         ls_competency_jf_form2        = ls_competency_jf_form2
         ls_competency_jf_form3        = ls_competency_jf_form3
     IMPORTING
              document_output_info       =
       job_output_info            = out_info
              JOB_OUTPUT_OPTIONS         =
      TABLES
        t_emp_strength        = lt_emp_strength
        t_emp_imprv_opp       = lt_emp_imprv_opp
        t_train_dev_need      = lt_train_dev_need
        t_emp_notes           = lt_emp_notes
        t_key_acct            = lt_key_acct
        t_evmy                = lt_evmy
        t_evey                = lt_evey
        t_competency          = lt_competency
     EXCEPTIONS
       formatting_error           = 1
       internal_error             = 2
       send_error                 = 3
       user_canceled              = 4
       OTHERS                     = 5.
    IF sy-subrc <> 0.
      DATA: v_message1 TYPE SY-MSGV1,
            v_message2 TYPE SY-MSGV2,
            v_message3 TYPE SY-MSGV3,
            v_message4 TYPE SY-MSGV4.
<b>     v_message1 = sy-msgid.
      v_message2 = sy-msgno.
      v_message3 = v_department.
      v_message4 = v_jobfam.
      CALL FUNCTION 'BALW_BAPIRETURN_GET'
        EXPORTING
          type       = 'E'
          cl         = 'ZH'
          number     = '000'
          par1       = v_message1
          par2       = v_message2
          par3       = v_message3
          par4       = v_message4
         IMPORTING
          bapireturn = return.
      EXIT.
    ENDIF.</b>
When i print this bapi_return message in my iview,I get this <b>SSFCOMPOSER 010</b> which is "Please maintain output device" (SE91).
Can anyone help me ?
Thank you and Regards,
Satria B

Similar Messages

  • Heavy performance issues using Adobe Interactive Form PDFs generated by SAP BPM

    Dear experts,
    we use Adobe Interactive Form PDFs (generated with LiveCycle Designer) as Human Tasks within SAP BPM processes. The PDFs are generated and transmitted correctly, but when they are opened at the receivers PC, Windows freezes for 2-3 minutes, then the PDF opens and can be filled out and sent back. The next PDFs can be opened much faster, but when the PC is restarted, we get the same problem again. We use Adobe Reader XI (11.0.2) on our clients; is their any know performance issue?
    Please note, that we have this problem with EVERY Adobe Interactive Form PDF... I created a simple PDF containing just a field and the client PC still freezes. So it can't be in the form or the scripting. Normal static PDFs can be opend without any problems.
    Best regards,
    David

    They haven't really announced it, because there is no product to announce. Rather the opposite.
    There are no conversion tools, so far as I know.
    XFA forms are a non-starter if you want portability.
    AcroForms are a nightmare in themselves, because the functionality is limited in Adobe Reader and varies between absent and weird in other products. No idea about Blackberry support.
    You will not find a simple recommendation. Rather, you need to use Acroforms and carefully test everything (EVERYTHING: no assumptions) on every platform you intend to support.
    Yes, rather unsatisfactory, but until Adobe realise that the future is platform equivalence or irrelevance, this is where we are.

  • Need Java API for Adobe interactive forms

    Hi Gurus,
    Anybody help me to write JAVA code for Validation, interact to BAPI or RFC of R/3, mail system and etc... respective of Adobe elements.
    Is there any possible to write ABAP code in NetWeaver Development Studio instead of JAVA. Because I am Quit comfortable to use ABAP code.
    Best regards
    Ramana

    Hi,
    Why dont you check this SDN Contribution for your Simple Validations using Java Script and HTMLB...
    <i>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/94e976d3-0801-0010-92a0-c0725f115860</i>
    Also, please check the Exercises for JAVA WD Development in this link...
    <i>https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d</i>
    I dont think you can write ABAP coding in NWDS as per my knowledge...
    I hope this will help you...
    Regards,
    <i><b>Raja Sekhar</b></i>
    Do award us the marks in case of satisfactory reply
    Message was edited by: Raja Sekhar

  • Java.lang.IllegalArgumentException: PDFDocumentRuntimeException: Interactive Form Operation Failed (DC Migrated from 7.0 to 7.4)

    Hi Experts,
    We have migrated one of our portal systems from 7.0 to 7.4. There is one application which uses Adobe Interactive Forms. The same DC when we tested on Development environment works fine as expected. The same thing when deployed to QA system, I am getting the below error:
    java.lang.IllegalArgumentException: can't parse argument number urn:AdobeDocumentServicesWsd/AdobeDocumentServicesVi/document
        at java.text.MessageFormat.makeFormat(MessageFormat.java:1339)
        at java.text.MessageFormat.applyPattern(MessageFormat.java:458)
        at java.text.MessageFormat.<init>(MessageFormat.java:350)
        at java.text.MessageFormat.format(MessageFormat.java:811)
        at com.sap.tc.adobe.pdfobject.base.core.PDFObjectRuntimeException$DummyLocalizableTextFormatter.<init>(PDFObjectRuntimeException.java:43)
        ... 98 more
    See full exception chain for details.
    //Full Exception chain
    Detailed Exception Chain
    com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Interactive Form Operation Failed
      at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:774)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1105)
      at com.sap.tc.webdynpro.clientserver.phases.RespondPhase.execute(RespondPhase.java:59)
      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:162)
      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:110)
      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:97)
      at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:515)
      at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:58)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1671)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1485)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingEmbedded(ApplicationSession.java:919)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessing(ApplicationSession.java:878)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:357)
      at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:326)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:62)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.service(DispatchHandlerForRequestManager.java:39)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.service(DispatchHandlerForRequestManager.java:46)
      at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:292)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToAppContext(ExecutionContextDispatcher.java:68)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:53)
      at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:245)
      at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$Runner.callRequestManager(JavaApplicationProxy.java:1244)
      at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$Runner.callEmbeddedApplication(JavaApplicationProxy.java:1122)
      at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$SendDataAndProcessActionCommand.doExecute(JavaApplicationProxy.java:1605)
      at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$AbstractCommand.execute(JavaApplicationProxy.java:1488)
      at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$Runner.execute(JavaApplicationProxy.java:1028)
      at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy.execute(JavaApplicationProxy.java:859)
      at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy.sendDataAndProcessAction(JavaApplicationProxy.java:468)
      at com.sap.tc.webdynpro.portal.pb.impl.JavaApplicationProxyAdapter.sendDataAndProcessAction(JavaApplicationProxyAdapter.java:191)
      at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1698)
      at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:369)
      at com.sap.portal.pb.PageBuilder$PhaseListenerImpl.doPhase(PageBuilder.java:2123)
      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:251)
      at com.sap.tc.webdynpro.clientserver.phases.PortalDispatchPhase.execute(PortalDispatchPhase.java:50)
      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:162)
      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:110)
      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:97)
      at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:515)
      at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:58)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1671)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1485)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:908)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessing(ApplicationSession.java:880)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:357)
      at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:326)
      at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
      at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:101)
      at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:62)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
      at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:466)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
      at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
      at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
      at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
      at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
      at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
      at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
      at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
      at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
      at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process RenderRequest Due to the following Reason
    can't parse argument number urn:AdobeDocumentServicesWsd/AdobeDocumentServicesVi/document
      at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
      at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:110)
      at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:135)
      at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.AdobeFormHelper.createPdf(AdobeFormHelper.java:689)
      at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:641)
      ... 88 more
    Caused by: java.lang.IllegalArgumentException: can't parse argument number urn:AdobeDocumentServicesWsd/AdobeDocumentServicesVi/document
      at java.text.MessageFormat.makeFormat(MessageFormat.java:1339)
      at java.text.MessageFormat.applyPattern(MessageFormat.java:458)
      at java.text.MessageFormat.<init>(MessageFormat.java:350)
      at java.text.MessageFormat.format(MessageFormat.java:811)
      at com.sap.tc.adobe.pdfobject.base.core.PDFObjectRuntimeException$DummyLocalizableTextFormatter.<init>(PDFObjectRuntimeException.java:43)
      at com.sap.tc.adobe.pdfobject.base.core.PDFObjectRuntimeException.<init>(PDFObjectRuntimeException.java:26)
      at com.sap.tc.adobe.pdfobject.base.core.PDFObjectDII.invoke(PDFObjectDII.java:393)
      at com.sap.tc.adobe.pdfobject.base.core.PDFObjectDII.doSoapCall(PDFObjectDII.java:91)
      at com.sap.tc.adobe.pdfobject.base.core.PDFObject.execute(PDFObject.java:111)
      at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:176)
      at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
      ... 92 more
    I dont know how to proceed further. I checked the ADS connection which is fine. Reader Rights is also fine.How I will debug this error further?

    Hello,
    This may caused by:
    1, ReaderRights
    2, Destination ConfigPort_Document
    It seems you have already confirmed point 1, so please check point 2.
    Also check SAP note 1443819 part "Check the configuration", if the service is not working, you have to config the service according to SAP note 1443819.
    Regards,
    David

  • WD Java - removing attachment from interactive form

    Hi developers,
    I am working on Interactive Form by Adobe for WD JAVA.
    Can anyone please explain how to REMOVE attachments from a PDF document?
    I have only found way to attach items or lists of items.
    Thanks, regards
    Vincenzo

    Hi,
    For attaching and removing the File form the form using Adobe Java Script
    var sFile;
    // Assign an Unique Value to sFile if you are attaching multiple files.
    event.target.importDataObject(sFile);
    oFile = event.target.getDataObject(sFile);
    var pFile = event.target.getDataObjectContents(sFile);
    var cFile = util.stringFromStream(pFile, "utf-16");
    For the removing the attachments form the form
    var sFile;
    var myDoc = event.target;
    myDoc.removeDataObject(sFile);
    Regards,
    Chandran S

  • Blank page displayed while Deploying interactive forms

    Hi ,
    I am Facing a problem with interactive forms. i am using Adobe interactive forms in Web Dynpro. while deploying interactive forms ,the Deployment result shows blank view.
    i have installed ACF, Adobe reader 7.0.
    i am using NWDS 04s SP16.
    help me if anyone knows the solution.
    Regards
    Sridhar

    HI
    Add Interactive form to existing view
    Go to properties of IForm.
    Select trying display type = native instead of ActiveX.
    Give height and width according to need (say height=700 px and width= 100%)
    Add pdf_source attribute into context of view of type binary.
    Also bind elements to context node which is necessary.
    Mandeep Virk

  • Java Scrpting for adobe interactive forms !!

    Hi All
             I have just started to work on adobe interactive forms. but for that i want to know some coding principals of java scrpts. For example if I want to do some eventing on a button or on a radiobutton and get the inputs filled in interactive form back to web dynpro application .Also please sugest me which one is better , I mean whether I should go for  java scrpts or Form calc
    Regards
    Abhay

    Hello,
    On the menu, goto "Getting started " in the Adobe Life cycle designer, there you get information on events, java script and form calc.
    Hope this helps.
    Best Regards,
    Saujanya

  • How to display grid the interactive form

    Dear All
    I m trying to print the grid into the interactive form using adobe life cycle 8.1.
    My requirement is like I am getting the value in my local node in the view. From there i have to populate those value into the Pdf.
    So that user can take the print of the pdf.
    Value are getting in local. But it is not showing in the PDF. At the same time in other value are showing success fully only inthe table i am not able to get the value.
    Kindly help me out with your document or solution note
    Prashant Krishen

    Hi Prashant,
    For populating a table on a pdf the node structure should be different.
    You need to create node structure of the data which you want to show in Table like this
    DataNode            0..n
        SubNode         1..1
              att1
              att2
    Create the elements of DataNode only and set the attribute values.
    Now create the structure of the UI element in Form like this
    Subform1
            Subform2
                   Header1
                   Header2
            Subform3
                   Textfield1
                   Textfield2
    Bind the Subform3 to the node DataNode and Textfield1 and Textfield2 to att1 and att2 respectively.
    Set the 'Repeat Subform to each data Item* property of Subform3 to true.
    Now at runtime you will get all the data of the node in PDF form as a Table.
    Regards
    Ravindra

  • A font package is requried to correctly display after creating interactive form in livecycle

    SO I created a form in acrobat. When I save it, and open it in reader, it opens it fine. But I need to make the fields expandable, so I go to livecycle, and create an interactive form with flowable layout. Once i save it, and open it in reader, it instructs me to download chinese font package. There are no chinese fonts in this document. And I only get this message after saving the form in LiveCycle.  Any ideas?  It just started happening last week. Never had a problem before that.

    Hey buddy, I experienced similar problem.
    When you creating the form, make sure the font you are selecting is a popular font. For example, if you change it to New Time Roman instead of SimSun, it will work.
    Try it!

  • Adobe Interactive Form PDF doubles in size after saving

    Hi all,
    We have a interactive form, and after generation it's about 925 kB (when saving).
    Now, when you change a single field (add some input or something), and then saving, the file size almost doubles to 1778 kB.
    Ofcourse, we would rather have a smaller PDF size.
    Does anybody else have this problem and/or knows what causes this ?
    I think it's a general problem, but still would be nice if I could explain what is causing it...
    Thanks in advance !
    L.

    Here's one way I could think of doing it. Not sure if it's the most efficient. There may be some function modules out there....
    You write a small program to print an Adobe form from the RFC.
    Before you call Job open (CALL FUNCTION 'FP_JOB_OPEN'
    ), set the following parameters of
    sfpoutputparams.
    Set the outputparamaters to suppress the dialog
    utputparams-nodialog = 'X'.
    Set to print to a dummy printer
    outputparams-dest = 'LP01'.
    Set a spool request
      outputparams-REQNEW = 'X'.
    Then you can call a program like rstxpdft4 to download the PDF file.
    Regards,
    Lavaughn

  • How to store adobe Interactive form PDF in archive link?

    Hi everybody,
    I had create a WebDybpro Abap that contain an Adobe Interactive Form, now I must store this Interactive Form into Archive Link like a PDF document.
    I succeeded to save the PDF document on the archive link but after this operation, when I open this document saved, it doesn't show me the data but only the Interactive Form structure. The only data that file PDF saves are those I passed to Interactive Form during at the event initialization, but it lose all others datas that I inserted on the Interactive Form before to save.
    There is one mode to save also these datas or I can store only data that I load at the initialization event?
    I hope in your fast help.
    Regards.
    Davide.
    To follow the code that I use for Archive my Interactive form like PDF document.
    Salvataggio nell'ArchLink ********************************************
    Ricavo il PDF Source
      DATA: elem_context    TYPE REF TO if_wd_context_element,
            stru_context    TYPE        wd_this->element_context ,
            item_pdf_source LIKE        stru_context-pdf_source.
    get element via lead selection
      elem_context = wd_context->get_element(  ).
    get single attribute
      elem_context->get_attribute(
        EXPORTING
          name =  `PDF_SOURCE`
        IMPORTING
          value = item_pdf_source ).
      DATA: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_zcentral_person( ).
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
        l_ref_cmp_usage->create_component( ).
      ENDIF.
      DATA: l_ref_interfacecontroller TYPE REF TO
                                      ziwci__wdr_ess_central_person.
      l_ref_interfacecontroller = wd_this->wd_cpifc_zcentral_person( ).
      l_ref_interfacecontroller->store_adobe_document(
        ar_object    =  'ZHRDETRAZ'        " Toaom-ar_Object
        doc_type    =  'PDF'                    " Toadv-doc_Type
        object_id    =   objid                    " Sapb-sapobjid
        pdf_source =   item_pdf_source    " Xstring
        sap_object =   'PREL'                  " Toaom-sap_Object  ).
    METHOD store_adobe_document.   ***********************************************
    Converto la XSTRING del PDF in tabella binaria
      DATA: l_tab  TYPE TABLE OF tbl1024,
            lenght TYPE i.
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          buffer        = pdf_source
        IMPORTING
          output_length = lenght
        TABLES
          binary_tab    = l_tab.
    Calcolo la dimensione del documento
      DATA: doc_id TYPE saeardoid,
            size   TYPE i,
            lineno TYPE i,
            length TYPE i.
      DESCRIBE TABLE l_tab LINES lineno.
      size = lineno * 1024.
      DATA toaom_fkt  TYPE TABLE OF toaom.
      CALL FUNCTION 'ARCHIV_METAINFO_GET'
        EXPORTING
          ar_object  = ar_object
          sap_object = sap_object
        TABLES
          toaom_fkt  = toaom_fkt.
      CALL FUNCTION 'SCMS_AO_TABLE_CREATE'
        EXPORTING
          arc_id   = 'ZP'
          doc_type = doc_type
          length   = size
        IMPORTING
          doc_id   = doc_id
        TABLES
          data     = l_tab.
    Create link to business object
      CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
        EXPORTING
          archiv_id             = 'ZP'
          arc_doc_id            = doc_id
          ar_object             = ar_object
          mandant               = sy-mandt
          object_id             = object_id
          sap_object            = sap_object
          doc_type              = doc_type
        EXCEPTIONS
          error_connectiontable = 1
          OTHERS                = 2.
    ENDMETHOD.  ********************************************************************

    Hi Davide,
    I have a requirement where I just need to SAP HCM Archive Adobe form in External repository.
    Since you are using the archiveLink functionality.
    Can you please help me how you did?? What configurations need to be maintained for this?
    I am new to this. I did some Rnd on it and found that it can be achieved using HRFORM_HRF02 Business Add-In in the SET_ARCHIVE_INDEX method.
    But I have no clue how to do it?
    Can you please help me?

  • UI Attributes - RFC error when displaying PCR with Adobe forms

    Hello All,
    I am receiving an UI Attributes/RFC error when I display a PCR that was created wth Life Cycle Designer. I copied it from a delivered SAP form. I am using the QISR1 Badi to process the form. I have three other forms that are working correctly.
    If anyone can provide some direction into resolving this, it would be greatly appreciated.
    Thanks,
    Mike

    Hello All,
    I was able to resolve this issue by setting a UI Attributes variable.
    Thanks

  • InDesign CC interactive forms - PDF is blank when printed from any printer

    Hello - I have created an interactive PDF form in InDesign CC, which appears to work perfectly. However, I cannot get it to print. It shows the information on the page in the print preview, but the page is completely blank when it prints to a printer.
    In InDesign, I have double-checked that the ‘printable’ option is selected for all my buttons & it is saved as an interactive pdf. I have tried it on different printers, yet I still cannot figure out what’s going on. Even the logo or the title, which aren’t interactive, don’t print. The form is sent very nicely via e-mail, but we need to be able print out the filled in form on our end for our files.
    Interestingly, when I save it as a regular PDF file, the information is there, however, all the interactive fields (text boxes and/or buttons) are missing.
    I have narrowed it down to the ‘Submit via e-mail’ button that I created in InDesign. If I do not have the ‘Submit’ button, everything works and prints exactly how I want.
    I am using Acrobat Standard X as my default PDF program.
    I posted this question in the InDesign forum and was advised to ask my question here. Any insight anyone can provide would be greatly appreciated.

    You guess?
    You’re going to have to give us a firm answer on that because without that we’d be the ones guessing.

  • Using interactive forms with in IC web client

    Hi,
    I had requirement to implement the Adobe Interactive Forms (PDF) with in IC Web Client.
    The requirement is to 
    1. Display an adobe interactive form (PDF) in the IC Web Client when a particular link is pressed.
    2. Then the user has to enter the data and the data captured from the interactive PDF Form that should be processed by the ICWC.
    An example of the process could be, having a PDF form to enter customer data and creating a Business Partner using the data from PDF.
    I would like to know the possibility of such a scenario.
    Form ICWC point of view; if we have URL that is points to a callable interactive form object then it can be trigged form ICWC.
    This is an assumption and I am not sure that these kinds of objects are supported by ICWC frame work.
    If we assume such a URL can be managed and if possibly shown in the ICWC UI, then the next question would be “How to retrieve the entered data in the PDF Form as the ABAP data for the View in IC Web client to do the further processing?".
    As I am short of options please provide me help if anybody know anything on this issue.
    Best regards,
    Balaji V

    As of SAP NetWeaver ’04 (in SAP Web Application Server), you can use a new solution to
    create interactive forms and print forms for the optimization of your
    form-based business processes. This solution uses Portable Document Format (PDF)
    and software from Adobe Systems Inc. that has been integrated into the SAP environment.
    You can create interactive forms in PDF format that allow users to
    fill out the form on the screen and save their entries in XML format in the form.
    When the SAP system receives the PDF form, it extracts the data saved in the form,
    and can process it further.
    for more info check out the following link
    http://help.sap.com/saphelp_crm50/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm
    hope this helps
    RH

  • Adobe Interactive forms - ABAP Webdynpro or JAVA Webdynpro?

    Hi,
    I am an ABAPER and I got few requirements for Adobe Interactive forms Offline Scenario/Online scenarios & ALV reports.
    I have practiced a session ( How Tou2026execute an RFC model with inputs from Interactive Formswith RFC  Module ) -JAVA webdynpro where it interacts with SAP via BAPI.
    Now my question is  I am bent more towards ABAP.. I want to do this in ABAP but unfortunately I haven't found any similar material for ABAP webdynrpo.Could anyone pls suggest me !
    FYI.. We are also developing some ALV Webdynpro reports and I am using PURE ABAP which i like it.
    So the other reason is we don't want install NWDI and complicate this structure as we don't have ESS/MSS requirment here. Just we  need some forms/reports on portal.
    Any suggestions and links which can help me here?
    rgds
    Vara

    Hi Vara,
    You can develop Interactive forms using WD ABAP also.
    [E Learning- Interactive Forms using WD ABAP|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3]
    WD Java is useful in case, when your ABAP system is less than ECC 6.0. Otherwise you can achieve same functionalities in WD ABAP also.
    Hope this will help you.
    Amit

Maybe you are looking for

  • Keynote to iMovie '09 Text is Fuzzy at Full Screen View

    I haven't seen any postings like this so I'm starting a new thread... I have a keynote with mostly text and transitions (slide size1024x768) I exported to QT (custom full size, H.264, 30 frame rate, 24 key frame rate, data rate of automatic and compr

  • Data recovery from dead Mac?

    Hey people, Sorry if this isn't quite the right place to post but thought it would get best results. My Mac (PowerMac G5) died the other day - some sort of spillage on the logic board etc, means that the repair will be lots of money, I'm therefore, b

  • UPK for Test Script Automation in PeopleSoft 9.0 or 9.1 SCM

    I would like to see if anyone has experience in the setup of UPK for automated testing. We are about to do an upgrade from 8.8 to 9.0 or 9.1 and would like to use the pre-delivered content provided by Oracle. I have heard the scripts can be run autom

  • How to control print-out in GI Slip based on storage location

    Hi Experts, Presently my smartform - GI Slip is giving print out for each line item. But the requirement is: no. of print out will depend on no. of storage location, independent of line item. Since GI Slip is a collective slip hence its showing same

  • XDCAM to HDV output to HVR25U

    We have been producing content with the Sony Z1U, editing natively in FCP 6x, outputting to HDV tape with the Sony HVR25U that was sent to the DVD producer for SD DVD's. Maybe not the best workflow but worked moderately well. Recently we replaced our