Binding problem from adobe interactive form to SAP

Hello All,
I'm using SAP NetWeaver Developer Studio 2.0.9 SAP WAS 2004s SP11.
I'm tried to exercise with document "How To…Create Online and Offline Forms in Web Dynpro for Java" (you can check it this link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4fd2d690-0201-0010-de83-b4fa0c93e1a9). I could run it succesfuly but i have a problem. I couldn't get data from Adobe Interactive form when i click "Submit to SAP" button. All field value return with "null".
The code is like that;
public void onActionFormSubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionFormSubmit(ServerEvent)
     String name = wdContext.currentTravelDataElement().getEmployeeName();
     String costcenter = wdContext.currentTravelDataElement().getCostCenter();
     String city = wdContext.currentTravelDataElement().getDestinationCity();
     String country =
     wdContext.currentTravelDataElement().getDestinationCountry();
     wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(
     "Form submitted: Employe Name="
     + name
     + " costcenter="
     + costcenter
     + " city="
     + city
     + " country=" +
      country);
What could be the problem?

hi Selcuk,
check what is the cardinality of the node that bound to the interactive form.
interactive form->properties->dataSource = <xyz node of context>
goto <xyz node of context> -> properties
just change the cardinality to 1..1.
goto
interactive form->properties...
check that the dataSource and pdfSource are bound to the right Context nodes/attributes...
hope this helps...
with regards,
-Amol Gupta

Similar Messages

  • Adobe Interactive Forms in SAP HCM

    Hi,
    What do Adobe Interactive Forms in SAP HCM do?
    What is the difference between Interactive/Non-Interactive Forms?
    In which sub-modules of SAP HCM are such forms used?
    What is that an HCM consultant has to expect from Basis and ABAP consultants for this?
    Where can I get reference material on Adobe Interactive Forms in SAP HCM.
    Please help.
    Thanks and regards,
    Sasidhar.

    Hi,
    Check the answers for u r questions...
    What do Adobe Interactive Forms in SAP HCM do?
    Adobe Forms is the second step in the HCM process, as HCM is the online process..in between of the process adobe form will come in to picture to fill online.
    What is the difference between Interactive/Non-Interactive Forms?
    In non-interactive forms,there is no database interaction.If u say interactive forms.if u enter data in the form data will be saved directly in the data base..
    In which sub-modules of SAP HCM are such forms used?
    OM(Orzanization Management),PA(Personel Adminstration) and PD(personel Admin) ..ect...
    What is that an HCM consultant has to expect from Basis and ABAP consultants for this?
    from basis HCM dont required more help..only authorization and access only.
    from ABAP u need more..if u use standard backend system..some times data will not picked automatically at that time through BADI u need to fill the data to the form,and to do validation in the form level..ABAPER need to write scripting
    Where can I get reference material on Adobe Interactive Forms in SAP HCM.
    check the below link
    http://www.cogentibs.com/pdf/cogsap08/HRForms.pdf
    Thanks,
    Madhukar.

  • Is it possible to use Adobe Interactive Forms in SAP (ABAP) Trial Version?

    Dear All,
    i need some help concerning the usage of Adobe Interactive Forms in SAP (ABAP) Trial Version.
    I installed SAP Netweaver 7.01 (ABAP Trial Version) and i would like to use the Adobe Interactive Form editor (transaction SFP). Is this trial version prepared for this? Is it possible to edit and test Interactive Forms in the ABAP Trial Version too?
    Somebody told me that he installed Adobe Lifecycle Designer 7.1 but the layout manager part of the editor shortdumped when he wanted to go back to other  parts of the editor or he wanted to save what he did...
    Is it enough to install Adobe Lifecycle Designer 7.1? Is there something else to install or configure?
    Thank you for your help in advance.
    All the best, P. Phil.

    Yes, you need the lifecycle designer installed.  That should be enough to work with the SFP transaction.  But to actually use the form, I think you do need the ADS(Adobe Document Services) which runs on the java stack.
    Regards,
    Rich Heilman

  • Configure of Adobe Interactive Forms for SAP NetWeaver CE 7.1 SR3

    Dear
    How can I configure of Adobe Interactive Forms for SAP NetWeaver CE 7.1 SR3 ?
    I can not find the pdf,who can help me?
    Thank you

    Hi Amit  ,
    Thank you for your help.
    I have already carried out according to your configuration method,
    When I issued an application, the following questions arise:
    Root Cause
    The initial exception that caused the request to fail, was:
       javax.xml.rpc.soap.SOAPFaultException: javax.ejb.EJBAccessException: Principal: Administrator (authentication method: password), policyContextID: com.adobe/AdobeDocumentServices*AdobeDocumentServicesAssembly.jar, permission.name: AdobeDocumentServicesEJB, permission.actions: rpData,Remote,com.adobe.RpString[],com.adobe.RpStream[]
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.FaultUtil.buildFaultException(FaultUtil.java:170)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.processFault(SOAPTransportBinding.java:1445)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:976)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:699)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:672)
        ... 70 more
    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:633)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:940)
         at com.sap.tc.webdynpro.clientserver.phases.RespondPhase.execute(RespondPhase.java:60)

  • Send Data back to SAP from Adobe Interactive Form

    Hello friends,
    I created a Adobe Interactive form using transaction SFP.
    This form have a comment field.
    My requirement is user enter comments in this filed and click on Submit.
    It needs to call a BAPI and save data in SAP table.
    thankz in Advane
    regards,
    Sumit Malhotra

    Hi,
    Create an WebService for the BAPI and in the Adobe Form create a New Data Connection of Type "WSDL", while creating the New Data Connection it asks for the Path so get the URL Path of the WebService created for the BAPI and assign it to the New Data Connection and specify the Binding for the respective fields under the "Import/Export Binding" in Binding tab of Object Pallette.
    Thanks and Regards
    Pradeep Goli

  • 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

  • Calling RFC from Adobe Interactive Form

    Hello,
       After creating and calling Adobe Interactive form from ABAP web dynpro, within the form designer is it possible to call RFC or Business Object method from the form script to get the data back from SAP for specific Click events?

    Yes,
    this is possible, but not through pure RFC, but using webservices and webservice enabled function modules within SAP.
    Technically it is quite simple. Create a functionmodule, and create a webserve from that (all SE37 or SE80 but from WAS 6.40). Generate a WSDL (with the Java tool) and import that into the form that you are designing. From there you can bind the data from the dataset (as defined in the WSDL) to screenfields or treat the data any other way Javascript can.
    BTW. I only managed this so far by using anonymous logins, so with a password and username bound to the webservice (in SICF).
    Hope this helps, regards, Hans Gmelig Meyling

  • Developing Adobe Interactive forms in SAP R/3 4.7

    I have a client requirement of developing Adobe Interactive forms for automating exisiting manual processes. The SAP version being used is SAP 4.72.
    Could anyone please let me know what all is required to implement it and how that can be done in brief.
    One of the related links to the topic without much details is 4.7 and Adobe Interactive Forms.
    If anyone has worked with such requirement, his inputs would be valuable

    Hi,
    You will have to use WD Java for integrating Interactive forms with SAP version 4.7
    NetWeaver developer Studio ( NWDS) is the tool used for this integration. Data can be passed from SAP to WD Java using RFCs.
    This link will be useful for you:
    Tutorials & Samples for Web Dynpro Java
    Hope this will help you,
    Amit

  • Calling BAPI from Adobe Interactive Form

    Hi Guys,
    I have a requirement from my client to work on interface using BAPI for creating Service notification. Idea is that users will fill an Adobe interactive form (AIF) on company INTRANET and as soon as user press a SUBMIT button on the adobe form, BAPI should be called to create a SERVICE NOTIFICATION (Tcode IW51). I have work with BAPIs and I know the BAPI name (BAPI_SERVNOT_CREATE) to create SERVICE NOTIFICATIONS, but not with this kind of interface. Please advice me how to go about it and if some one can share any documentations to accomplish this task.
    Another developer is in charge of developing the AIF and I am responsible for ABAP side .
    Thanks in advance.
    mini

    Hi Mini,
    Kindly check the webDynpro ABAP section of Intercative form homepage. at - https://www.sdn.sap.com/irj/sdn/adobe.
    You can create a portal application and call your BAPI. Other options include - webDynpro Java, calling webservice (if the call can be unsecured). You will be able to call secure web services from adobe forms from future versions afaik.
    Thanks and Regards,
    - anto

  • 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

  • Calling a WD method from Adobe Interactive Form JavaScript

    Hi all,
    I would like to save the PDF file (into KM) defined by the binary Context Attribute "PdfSource",  when I run a Adobe Interactive Form inside a WD application. And this must be done automaticaly at starting.
    The origin of my problem is that "PdfSource" is not filled-in until the adobe form is completely loaded and ready.
    So i was thinking to use the "form:ready" event of Adobe Inteactive Forms to call a WD method ir order to save the PDF file (into KM) but i do not find the way
    Can anybody tell me if this is correct and how, or should I try another way?
    Very thanks in advance,

    hi
    good
    go through these links, i hope these ll help you to solve your problem.
    https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/com/sap/tc/webdynpro/services/sal/config/api/WDConfigurationConstants.html
    https://media.sdn.sap.com/javadocs/NW04s/SPS7/wd/com/sap/tc/webdynpro/clientserver/uielib/adobe/api/WDInteractiveFormDisplayType.html
    thanks
    mrutyun^

  • Problem with adobe interactive form

    Hi everyone,
    Is there another technology to create a form
    that allow calling RFCs from SAP,
    save the form on the local machine,
    update/insert data and do digital signature ?
    Thanks.
    Regards.

    Hi David,
    To create a form that allow calling RFCs from SAP, you can do this using Adobe Interactive Form. This will absolutely work.
    Best Regards,
    Shital

  • Adobe interactive form inside SAP GUI

    Friends,
    We all know that Adobe interactive forms can be called from portals and updated by the users. Is there any possibility that the Adone interactive form can be called inside SAP GUI and updated in the same manner?
    Regards,
    Sam

    Yes you can generate adobe intetractive forms as ABAP report programme outputs. There ares some standards forms available. Please search by FP*.
    Hope i understood yourr question.
    Thanks and Regards,
    Antony John Isacc.

  • Adobe Interactive Forms and SAP PI

    Has anyone used SAP PI to process offline Adobe Interactive forms?
    Any java api available that will do the trick?
    We can use ABAP mapping but want to avoid such a design. Java is the preferred method.
    PS: I am surprised why there is no standard integration available for the offline forms with SAP PI.

    SAP PI is intended to be used for system integration on messaging base.
    It is not intended to process forms.

  • Data Passing Problem with Adobe Interactive Forms

    Hello all,
    I am trying to create a Guided Procedure to implement an offline Adobe Interactive form. This form is based on the standard Requisition Request form used in MSS for e-Recruiting.
    I've copied the standard form and updated the layout to ZCI using the appropriate transaction (not manually). After that, I've changed the Interface and layout. But to get the Form in the portal you need to have a .xpd file. Therefore, I've tested the form in preview mode, saved a copy as a PDF file and opened this copy in the standalone Adobe Lifecycler Designer. In the standalone version you are able to save the form as a PDF (not possible using transaction SFP).
    My question 1 is if this is a wrong approach and there is a better way to retrieve the xpd file.
    Next to that, I wrote a RFC function to retrieve data in the backend. This function is working and now I try to pass the data to the Form in the GP (using prefilling). The data is never passed, any points that I need to check there. The data used to export is a structure that contains a number of table types, because Adobe has issues with importing tables it seems. The form is working correctly in the backend.
    Points will be rewarded for helpfull awnsers!
    Kind regards & thanks in advance...

    Check double post

Maybe you are looking for

  • Purchase Order - Issue storage location set mandatory entry

    Hello All, When create subcontracting PO, want to set the field of Issue storage location as mandatory. I tried to find configuration "Materials Management>Purchasing>Purchase Order-->Define Screen Layout at Document Level", but there is not entry "I

  • Indesign CS 6 crashes

    My indesign cs6 keeps crashing. It's got the latest update and continues to crashe at any command. I have the bug report if anyone can help? In desperate need to finish thi newspaper for tonight! Thanks

  • How to invalidate cache for a single item?

    I m trying to invalidate cache for a particular item in the repository. I dont want to invalidate the whole cache. Is there a way to do that through dyn/admin? TIA

  • Classic vs 5th Gen (Power Requirements)

    I had a 5th Gen iPod video for two years without problems. I ordered the new Classic 160Gb and i was wondering: Can I use the same car power adapter and/or Apple Dock I used for the 5th gen? I really don't remember the car adapter brand, it's on my c

  • Webdb instalation problems

    Please help , I' am having have trouble time installing WEBDB 2.0.5 on NT 4. I read all the responses on The OTN but still very confused. First of all I have Oracle 8.1.5 installed in 'oracle8_1_5 home', I try to install webdb in ' webdb home ' from