Zci type ADOBE Interactive Form in ABAP Webdynpro short dump

Adobe Reader version 8.1.2
Life Cycle Designer version 7.1.4270.1.421766
ECC 6.0 patch 13
When I ran the 'FP_PDF_TEST_00' , it shows
Version Information: 710.20061024154505.342190
In my ABAP Webdynpro app., it has 3 inputfields.
In the Form layout, I changed the form layout type to 'ZCI' for interactive form, and Insert the WebDynpro Script.
And in the ABAP Webdynpro view layput designer, I enabled the pdf form element.
All objects compiled without any problem.
During the runtime, it got the following short dump:
21 METHOD       CX_WD_GENERAL=================CP    CX_WD_GENERAL=================CM003     5
    CX_WD_GENERAL=>RAISE                                                                     
20 METHOD       CL_WD_ADOBE_SERVICES==========CP    CL_WD_ADOBE_SERVICES==========CM008   193
    CL_WD_ADOBE_SERVICES=>CREATE_PDF                                                         
19 METHOD       /1WDA/LADOBE==================CP    /1WDA/LADOBE==================CCIMP  1955
    CL_INTERACTIVE_FORM_ZCI=>IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT                         
Our BASIS sent me the ADS trace:
SAP Interactive Forms by Adobe
Render Error Report
'pdf' Log Entries
restoreState is not a valid attribute of subform, Attribute not loaded. Line 5.
Invalid node type: dataGroup
The fault occurred on line 0.
The SOM expression '$record.BAPIBNAME' for the dataRef specified on field 'BAPIBNAME', resolved to an incompatible node type of 'dataGroup'.
Any comment or advise?

Hi,
As far as i know when you use Adobe forms in a WD4A application, language is your "web" connection language.
You can have a look at standard class CL_WD_ADOBE_SERVICE, it's used when generating an adobe forms from WD4A. , more particulary look at method DETERMINE_DOCPARAMS.
regards

Similar Messages

  • Possible to run Adobe Interactive Forms in ABAP Webdynpro?

    Hi,
    Thanks all...
    I was request to install Adobe Interactive Forms (Adobe Document Server) and integrate with Web Dynpro web application.
    Would ABAP webdynpro could be fully integrated with Adobe Interactive Forms (Adobe Document Server)???
    How could i proceed with this?
    Anyone can send me guidance regarding this??
    Appreciate yours assisting.
    THANKS!!!
    BR
    Terry

    I required to load JAVA engine in my sys in order to run ADS (Adode document Server) follow the attached procedure?
    to do a java add-in.
    -Run sapinst
    -use option Java Add-in for ABAP in Additional Software Life-Cycle Tasks.
    Please correct me if i was wrong.
    THousand thanks,
    BR,
    Terry

  • Multi language support for Adobe interactive form in ABAP WD

    Hi ,
    I translated the adobe form in multi language in SE63, If i execute the form with passing LANGU(language) parameter, form supports for multi language.
    I created XML schema based interface and if a execute interactive form in ABAP Webdynpro, i am unable to pass launguage(LANGU) parameter. because InteractiveForm element property does not have language key parameter.
    Apart from creating different language dependent forms, is there any alternate way we can pass the LANGU key parameter to Interactive Adobe form???

    Hi,
    As far as i know when you use Adobe forms in a WD4A application, language is your "web" connection language.
    You can have a look at standard class CL_WD_ADOBE_SERVICE, it's used when generating an adobe forms from WD4A. , more particulary look at method DETERMINE_DOCPARAMS.
    regards

  • Adobe interactive form with ABAP workbench

    Hi Experts,
    Need to know, can we run Online Adobe interactive form using ABAP ( Not webdynpro ABAP or Java) workbench? If so how? and if possible please provide the driver program which run the form & after filling it, it updates SAP data online.
    Regards,
    Nik

    That is possible by using FLM tool. You need to buy it separately. Its an ARCH product. Or if its HR forms then you can use HCM proceess & forms.

  • How to display Adobe Interactive Form from ABAP (not WDABAP)

    I have created a WD ABAP application that creates an Adobe Interactive Form (ZCI) and submits it for workflow.  All of the data on the form is saved in custom itables in the SAP System.  The end-users are supposed to save a copy of the form at the last step in the workflow before they "Acknowledge" the task in UWL.  Once the acknowledge takes place, they can no longer display the form in UWL. They want an ABAP program that will read the data from the various custom tables and display a "print" version of the form (not interactive). 
    I am calling FM 'FP_FUNCTION_MODULE_NAME' to get the function module for the form. I then call FM 'FP_JOB_OPEN' with the parameter IE_OUTPUTPARAMS-REQNEW set to ABAP_TRUE. The call to the form FM has the following EXPORTING parameters:
        EXPORTING
        /1BCDWB/DOCPARAMS   =
          /1BCDWB/DOCXML         =
    I understand the /1BCDWB/DOCPARAMS but have no idea what needs to be done to for the /1BCDWB/DOCXML parameter.  Can anyone offer any advice or assistance?

    Joyce,
    this is really simple - the reason you have that /1BCDWB/DOCXML  is because you defined your form interface to have an XML based interface.
    While this is great for ABAP Web Dynpro, because the XML is generated for you, this is NOT the case with regular ABAP.
    You should choose ABAP Data Dictionary-Based Interface. You will then be able to add tables, structures and fields to your interface.
    For instance, here's code from a program where I call the form in regular ABAP
    data: ls_worksheet TYPE Zxxx_structure.
    * Fill the ls_worksheet structure here.
    * Call the generated function module
      CALL FUNCTION ls_function
        EXPORTING
          /1bcdwb/docparams  = fp_docparams
          worksheet          = ls_worksheet
        IMPORTING
          /1bcdwb/formoutput = ls_form_output
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          OTHERS             = 4.
    Notice I do not have the /1BCDWB/DOCXML Exporting parameter.
    Just change your interface to a Data Dictionary Based, and add the tables/structures/fields to it.
    then, go to your calling program, fill them, and pass the data through the Exporting parameter.

  • Creating Adobe Interactive Forms in ABAP Web Dynpro

    Hi,
    I am a begineer to ABAP PDF Form development. Anyone could help me to develop Adobe interactive forms (online and offline cases) using ABAP WebDynpro. I would need Thanks.step by step procedures to develop quickly. I have found the material mostly related to Java. Please suggest some links related to ABAP WebDynpro. What aee the methods that would be called to update a form, open a form and upload/download a form.
    Regards,
    Namita Bhan

    http://www.sdn.sap.com/irj/scn/interactiveforms-elearning
    the above link helps you out witht he best e learning sessions
    http://wwwimages.adobe.com/www.adobe.com/enterprise/partners/pdfs/solution_in_detail_interactive_forms.pdf
    this also is a very helpful document
    If you have any specific queries please feel free to shoot
    Cheers
    Senon

  • Migrating PCR frontend-JSP forms to Adobe interactive forms-WD Abap Comp

    Hi All,
    We are currently on Netweaver 7.0 & ECC 6.0 and ESS - MSS Business Package 50.4. We are using JSP Forms on portal front for Personnel Change Requests (PCR's ) where in all the scenarios in the backend are heavily customized with good amount of usage of Javascripts. For certain scenarios, where in a huge amount of information is fetched from ECC 6.0 backend system, JSP are performing really bad and the total time taken to display the form is actually causing a lot of irritation to the end user.
    We are planning to propose an upgrade to SAP adobe interactive forms. The prerequisite is that the business wants to reuse all the customized scenarios without any changes and just want to move towards better front end forms.
    My questions are:
    1. Please list benefits of SAP Adobe interactive forms - ABAP component over JSP forms (performance wise)
    2. Issues with SAP Adobe Interactive forms?
    3. Since Javascripts do not work in Webdynpro ABAP. How can we implement those front end checks and validations.
    3. Any other options available for UI that can be suggested?
    All suggestions are welcome. Quick response is appreciated.
    Thanks a lot for your time and help.
    Best Regards,
    Anupama

    Is your performance issue with the Javascript with JSP pages?  or the Java script you are using within the Adobe form in your WDJ custom application using Adobe form? I have worked on PCR's using ISR framework old school it used to call as PCR and now HCM Processes and form, Developed PCR's using WDJ also integrated workflow with the WDJ PCR for approval(we never had any performance issue) infact ISR frame work was kind of slow compare to custom WDJ solution and less flexible for a developer to develop.
    I have also worked created WDA custom application for PCR's , WDA is definitely better when you compare it with WDJ but I have not seen much performance issue with WDJ atleast on custom PCR solutions.
    I don't have any case study to share with you, can you please tell what kind of PCR's your client is using and what kind of performance issue you are experiencing and where and why you guys are using Javascript.

  • Adobe interactive forms using ABAP

    Hi,
    Anyone could help me to develop Adobe interactive forms (online and offline cases)   using ABAP (not Java). I would need <b>step by step procedures</b> to develop quickly.
    Thanks.
    Ramana reddy

    HI,
    Can you try these threads
    Display Smartform Pdf output in ABAP Webdynpro application
    Display PDF from BAPI in Webdynpro
    It might helps you.
    thanks ,
    Lohi.

  • Control not going from Adobe Interactive form to ABAP WD Event handler

    Hi
    I am facing an issue with adobe interactive forms and WD ABAP integration.
    The buttons in adobe interactive form when clicked is going round and round and the control is not going to the ABAP code(WD ABAP event handler code whatsoever). I have also set the debugger but the control is not moving to the ABAP code from the adobe interactive form.
    Can anyone help me what can be the issue here and how can I resolve the same?
    Thanks.
    Sid

    Hi Babi,
    In the adobe form layout library Use the Submit(which internally means submit to SAP) button from the Webdynpro Native category.
    Only this button action can connect adobe to web dynpro.
    Whenever we click on this particular button the event will be trigger in the ONsubmit event of interactive form UI element in the webdynpro.There we can write our abap code.Hope this will help you.
    Regards,
    Simi A  M
    Edited by: amsimi on Mar 22, 2011 11:37 AM

  • Read values from Adobe Interactive Form inside the webdynpro

    Hello,
    I have problems to read the values of the fields inside de adobe. I read an article on saptechincal that told:
    You can see the Adobe form that we have designed, enter the data as shown below and press the submit button. (As I said earlier an activex control will be installed on to the client machine, you can see the activex control in the internet explore go to the menu: ToolsàInternet optionsàgo to the programs tab àPress button Manage add-ons.
    You can see an activex control named u2018SAP ACFu2019, if you donu2019t have this control you will not see this page: Note you need to have adobe acrobat reader 7.1 installed, I have used version 9, the activex control was not working properly so down graded my adobe reader to 7.1)
    This is true ???  I have the Acrobat reader 9.3 and i saw that also have the SAP ACF installed.
    The value of the property displaytype  on adobe interactive form on webdynpro is activeX or native.
    Thank you in advance.

    Hi,
    <p>
    Thank you for the answer.
    <P>
    I change the value of the attribute but again i can read anything from the adobe form. So let me explain what i'm doing.
    <P>
    Objective: I have to create one webdynpro with an adobe interactive form for create new clients on r/3 system.
    <P>
    1. I create de the view with 2 elements an interactive form and one submit button.
    <P>
    2. Create the context of the view with the following tree:
    <P>
    > context (node)
    <p>
       > ADOBE_DATA (node)
    <p>
          > Clients (from KNA1 table) (node)
    <p>
             > KUNNR
    <p>
             > LAND1
    <p>
             > NAME1
    <p>
             > ORTO1
    <p>
             > TELF1
    <p>
      >PDF_SOURCE
    <p>
    3. Complementing the properties of the interactive form:
      datasource = clients node of the context
      displaytype = native
      pdf_source = pdf_source attribute of the context
      templatesource = name of the form
    <p>
    4. Create the form, and add the data source to the interface of the form
    <p>
    5. On the form bulider i add and subform on the hierarchy tab and the all the fields of the interface to the form and
    automatically the value of the fields are binding.
    <p>
    6.Add a submit button from web dynpro native and add the event click to the button. Then i change the value of the layout type and save e activate the form and the interface
    <p>
    7. The next step is create an action for the button submit for the event  "onSubmit". So i create the function and start coding this code:
    <p>
    DATA: adobe_node    TYPE REF TO if_wd_context_node,
    <p>
            client_node   TYPE REF TO if_wd_context_node,
    <p>
            client_element TYPE REF TO if_wd_context_element,
    <p>
            client        TYPE if_create_client=>element_clients.
    <p>
    *Get reference to the adobe_data node from the context
    <p>
    adobe_node = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    <p>
    *Get reference to the clients node from the context
    <p>
    client_node = adobe_node->get_child_node( name = wd_this->wdctx_clients ).
    <p>
    *Get element node
    <p>
    client_element = client_node->get_element( ).
    <p>
    *Get the values from the form
    <p>
    client_element->get_static_attributes(
    <p>
        IMPORTING
    <p>
          static_attributes = client ).
    <p>
    8. Then for finalize i add the view to the window and crate a web dynpro application and put one break point on the submit function event.
    <p>
    9. Activate and test the application and when the program try to add a reference to the element node always returning a null reference and the application dumped.
    <p>
    So please help with this situation i can't understand what is the mistake.
    <p>
    PS: Now i have installed the acrobat reader 7.0.8
    <p>
    Edited by: miglsilva on Sep 4, 2010 5:50 PM
    Edited by: miglsilva on Sep 4, 2010 6:01 PM

  • Adobe Interactive Forms with ABAP

    Dear Fellows,
    I need to know if I can develop an Adobe Interactive Form through the ABAP Workbench and Form Builder. ´Til now, I only found information about Print Forms with ABAP.
    Thank You very much for Your help.
    Regards.
    SS.

    Hi,
    What version are you on? Pl take a look at the following <a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/d-f/faq%20on%20in">link</a>
    http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/d-f/faq%20on%20interactive%20forms%20based%20on%20adobe%20software.faq
    Regards,
    Suresh Datti
    Message was edited by: Suresh Datti

  • ZCI for Adobe Interactive Forms in WebDynpro Java

    Hi experts,
    Can i use Zero Client Installation (ZCI) forms in WebDynpro Java.
    I am not using ABAP at all & i want to avoid ACF installation on client side.
    I am using :
    SAP NWDS 2004s SP12
    Adobe lifecycle Designer 7.1
    Message was edited by:
            Virag Shinde

    Hello Virag Shinde,
    ACF is supported with all the SPs across the Netweaver 7.0 stack and we will continue to support that except the fact that no further development will happen in that area. ZCI is the future of Interactive Forms solution by SAP.
    Following two notes would be helpful to get started with ZCI:
    <b>1042394: Updating Interactive Form template with ZCI capability</b>
    <b>1055911: Creating ZCI based interactive Forms in Web Dynpro for Java</b>
    Best Regards,
    Krish

  • How to create interactive forms in ABAP WebDynpro

    Hi Experts,
    we are trying to create our first interactive form with the "how to guide for ABAP WebDynpros".
    Unfortunatelly we have a big problem on Step 17, where we want to save the created WebDynpro Application. After safing the system shows a pop up with following error message:
    "you are not authorized to use function - Netzwerkadministration". Although we have all the necessary access rights in the system (ERP/Developer User).
    But if we go on and create a service call (it's a guided procedure) for an existing BAPI, we can't select the function module interface parameters that we want to add to the context via checkboxes. There are no checkboxes available. but the how-to-guides shows checkboxes.
    is maybe the first error the reason that we can't select the function modules? Please help. If you need the how-to-guide, please give me your eMail and I will provide it to you immediately.
    Thank you very much in advance and regards,
    H.-J. Kersten

    Hello
    I got the same problem when i try to create WD ABAP application.
    Did you find the solution?
    Regards
    Nir

  • Adobe Interactive Forms using ABAP in ERP2004

    Hi
    I am using following code to create interactive form.
    However not getting any output. But if I pass fp_docparams-FILLABLE  = '' the output pdf is produced.
    Does the interactive functionality works on ERP2004?
    Regards
    Girish
    data fp_outputparams type SFPOUTPUTPARAMS .
    data fm_name TYPE  FUNCNAME .
    First get name of the generated function module
    call function 'FP_FUNCTION_MODULE_NAME'
    exporting
    i_name = 'ZZFP_TEST_01'
    importing
    e_funcname = fm_name.
    fp_outputparams-nodialog = 'X'. " suppress printer dialog popup
    fp_outputparams-GETPDF = 'X'. " launch print preview
    fp_outputparams-CONNECTION = 'ADS' .
    call function 'FP_JOB_OPEN'
    changing
    ie_outputparams = fp_outputparams
    exceptions
    cancel = 1
    usage_error = 2
    system_error = 3
    internal_error = 4
    others = 5.
    data fp_docparams type sfpdocparams  .
    data fp_formoutput type fpformoutput .
    fp_docparams-langu = 'E'.
    fp_docparams-country = 'GB'.
    fp_docparams-FILLABLE = 'X'.
    data t_head type thead .
    t_head-tdobject = 'ZCMP' .
    T_HEAD-TDNAME = 'HA000000022222000' .
    T_HEAD-TDID = 'Z001'.
    T_HEAD-TDSPRAS = SY-LANGU.
    call function fm_name
    exporting
    /1bcdwb/docparams = fp_docparams
    sapscript_header =  t_HEAD
    importing
    /1BCDWB/FORMOUTPUT = fp_formoutput
    exceptions
    usage_error = 1
    system_error = 2
    internal_error = 3
    others = 4.
    call function 'FP_JOB_CLOSE'
    exceptions
    usage_error = 1
    system_error = 2
    internal_error = 3
    others = 4.
    data lt_att_content_hex type SDOKCNTBINS .
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    buffer = fp_formoutput-PDF "PDF file from function module
    TABLES
    binary_tab = lt_att_content_hex.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
      EXPORTING
       BIN_FILESIZE              =
        FILENAME                  = 'c:\TEST1.PDF'
         FILETYPE                  = 'BIN'
       APPEND                    = SPACE
       WRITE_FIELD_SEPARATOR     = SPACE
       HEADER                    = '00'
       TRUNC_TRAILING_BLANKS     = SPACE
       WRITE_LF                  = 'X'
       COL_SELECT                = SPACE
       COL_SELECT_MASK           = SPACE
       DAT_MODE                  = SPACE
       CONFIRM_OVERWRITE         = SPACE
       NO_AUTH_CHECK             = SPACE
       CODEPAGE                  = SPACE
       IGNORE_CERR               = ABAP_TRUE
       REPLACEMENT               = '#'
       WRITE_BOM                 = SPACE
       TRUNC_TRAILING_BLANKS_EOL = 'X'
       WK1_N_FORMAT              = SPACE
       WK1_N_SIZE                = SPACE
       WK1_T_FORMAT              = SPACE
       WK1_T_SIZE                = SPACE
    IMPORTING
       FILELENGTH                =
      CHANGING
        DATA_TAB                  = lt_att_content_hex
      EXCEPTIONS
        FILE_WRITE_ERROR          = 1
        NO_BATCH                  = 2
        GUI_REFUSE_FILETRANSFER   = 3
        INVALID_TYPE              = 4
        NO_AUTHORITY              = 5
        UNKNOWN_ERROR             = 6
        HEADER_NOT_ALLOWED        = 7
        SEPARATOR_NOT_ALLOWED     = 8
        FILESIZE_NOT_ALLOWED      = 9
        HEADER_TOO_LONG           = 10
        DP_ERROR_CREATE           = 11
        DP_ERROR_SEND             = 12
        DP_ERROR_WRITE            = 13
        UNKNOWN_DP_ERROR          = 14
        ACCESS_DENIED             = 15
        DP_OUT_OF_MEMORY          = 16
        DISK_FULL                 = 17
        DP_TIMEOUT                = 18
        FILE_NOT_FOUND            = 19
        DATAPROVIDER_EXCEPTION    = 20
        CONTROL_FLUSH_ERROR       = 21
        NOT_SUPPORTED_BY_GUI      = 22
        ERROR_NO_GUI              = 23
        others                    = 24
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
      EXPORTING
         DOCUMENT               = 'C:\test1.pdf'
       APPLICATION            =
       PARAMETER              =
         DEFAULT_DIRECTORY      = 'c'
       MAXIMIZED              =
       MINIMIZED              =
       SYNCHRONOUS            =
       OPERATION              = 'OPEN'
      EXCEPTIONS
        CNTL_ERROR             = 1
        ERROR_NO_GUI           = 2
        BAD_PARAMETER          = 3
        FILE_NOT_FOUND         = 4
        PATH_NOT_FOUND         = 5
        FILE_EXTENSION_UNKNOWN = 6
        ERROR_EXECUTE_FAILED   = 7
        SYNCHRONOUS_FAILED     = 8
        NOT_SUPPORTED_BY_GUI   = 9
        others                 = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    Hi Girish,
    Is your problem solved? Because I am also facing the same problem. Could you please tell me what you did to see the PDF output.
    Regards,
    Amit

  • Passing value from Adobe Interactive form, to the Webdynpro Application

    Hi,
    I have followed all the tutorials on interactive forms in WD for Java, & am able to successfuly display my context data in an interactive form.
    However, i need help with the following:
    1. Online scenario:
    User has filled details in an interactive form & clicks on the submit button.
    The Data from the form is NOT getting passed back to the WebDynpro application.
    2. Offline Scenario:
    User has filledup a pdf file(form), & has uploaded the form to the webdynpro application, using the file-upload UI element.
    How do i read the data that the user has entered in that pdf file?
    Any help with regard to these two queries, will be appreciated.
    Thanks,
    Hanoz

    1) Online Scenario
    check if the context mapping between UI elements and Context is properly done
    check if the cardinality of the Context is alright.
    2) Offline Scenario
    you will have two views.
    one upload view
    and one interactive form view
    in the upload view use the File Upload UI element.
    in the Interactive Form View.... use the same view which you used to create the offline form, thus the interactive form UI element will already know the structure of data and the context mapping in the pdf file when you upload it.
    Add the following line of code to the
    method wdDoInit.
    wdContext.getNodeInfo().getAttribute
    ("pdfObject").getModifiableSimpleTyp
    e();
    Add the following line of code right
    before
    wdThis.wdFirePlugOutToDisplay()
    in the method onActionShowForm().
    wdThis.wdGetTravelRequestCompControl
    ler().wdGetContext().currentContextE
    lement().setPdfObject(wdContext.curr
    entContextElement().getPdfObject());
    in the interactive form view, change the property of the interactive form.... MODE to usePdf.
    regards,
    -Ag.

Maybe you are looking for