Web Dynpro & Adobe Forms: Context Mapping

Hi Experts,
By assigning a form to a view via templateSource the option to automatically generate context. With sample data, implemented in the view its working fine.
Now I want to use data out of the component controllers' context, but I can't map the views context nodes to the component controller nodes without deleting the context structure out of the form.
In other words; how can I connect the automatically generated context from the form with the context of the component controller?
How can I solve this issue?
An option is to read out the component controllers context into itabs and save them in the views context.......
not very nice, but my only idea right now.
Does anyone has an idea?
Thanks in advance,
Tan

Hi again,
I've found this [documentation|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/63a47dd9-0b01-0010-3d8e-de27242bf011?quicklink=index&overridelayout=true], chapter "Integrating a PDF in a Web Dynpro Application"  (Page 192-193) and followed the print scenario.
My intention is not to create an interactive form. I just want to display a generated pdf which is provided with data out of web dynpro context.
That's what I did:
In my views' layout tab in properties list I've entered a (not existing) form name (as templateSource) to create a new form. Then double cklicked on it to create it, entered a interface name (which was not existing also) and selected a context (the context was mapped before out of the component controller). Then se80 switched to form builder. The context nodes are available so I dragged some into the form, save & activate.
The result is, the dragged fields are visible, but there are no values assigned, the corresponding fields are empty.
I checked whether the context nodes are filled --> they are....
Any idea what's going wrong?

Similar Messages

  • Problem executing an Online Form in Web DynPro(Adobe Form)

    Gurus,
    I am trying to create an Online Form in Web DynPro(Adobe Form), i could successfully create the form and deploy it.
    But when i executed, i am getting the below error.
    <<
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "UsageRights" operation.
    Request start time: Thu May 18 16:31:04 CEST 2006
    com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights:
    java.lang.Exception: Could not retrieve a password for credential: ReaderRights
         at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:420)
    >>
    Any Help would highly be appreciated
    Regards,
    Arvind Kugasia

    Hello  Markus,
    let's say I have two systems. One - X - installed J2EE+ABAP and configured WD pdfobject WS proxy to point to second system - Y - with correctly configured ADS (inculding Redaer Rights Credential). Do I have to setup this Reader Rights Credentila also on system X ?? Do I have to setup something else on system X to work with Interactive forms in WD Java on system X ?
    PS: Our ABAP calls from X to ADS on Y are working okay, but I didn't try WD ABAP as basis is too low.
    Thanx, Richard.
    Message was edited by:
            Richard Calaba

  • Web dynpro + adobe form

    Hello all,
    I am using interactive adobe form in wed dynpro for abap. I have created three fields in form which are input fields and one submitt button. I have on submit event in web dynpro for abap code to save the data in some z table. when i am clicking on submitt button, i am getting error "could not post data to".
    Can anybody tell me how to get rid of this error.
    Regards,
    Sagar

    Hello Sagar,
    You might not have mapped the adobe form fields to your table properly.
    Regards,
    Chenna.

  • Web dynpro + adobe form decimal field round off

    hello all,
    I am now developing an application which is based on the SAP WebDynpro and Adobe form, but the application has an error, if one can help me to resolve the error, I will be very thankful.
    The error is as follows, for a decimal filed on the Adobe form which is binded to a deicmal attribute of Webdynpro, if I get the value of the decimal field using the programming code as "context.nodexx.getAttribute("xx")", the decimal value is rounded off (e.g., 2.4 is changed to 2.0, 2.7 is changed to 3.0).
    for example:In Web Dynpro,  A node name is  "TestNode" which has a  type of decimalattribute named "TestAttr" ,  in  adobe form  a decimal field  bind to the TestAttr . when i input 2.3  in  adobe form,  i  click the button with code:
    this.wdComponentAPI.getMessageManager.reportSuccess(this.wdContext.nodeTestNode.getTestAttr()+"");
    the rusult is  :     2.0
    if  i  input  the  value  2.5   the result  will be  3.0
    Thanks All !

    Hi,
    there is a special display pattern to check for null values:
    null{pattern}
    Example:
    null{'please enter a value'}
    But I don't know if WDJ is really sending a null value. You can combine this with alternatives using '|' to separate alternatives.
    Regards,
    Juergen

  • Web dynpro Adobe Form Display In Portal

    Hi,
    I have a Web dynpro Abap application which triggers a adobe form, which is displayed fine when previwed from Web dynpro Abap, but the same application when inegrated in portal it is not displaying the adobe form in portal.
    Any help would be greatly appreciated.
    Thanks in advance.
    Regards
    G Suraj

    Hi Suraj,
    As you have written that you are using ADOBE Form, So you check with your Portal Admin that
    ADS services are configured in Portal or not ??
    Regards,
    Piyush

  • BSP - Web Dynpro - Interactive Forms by Adobe - Flex

    Hi,
    I am a student SAP from Belgium.
    I am currenty developping an application and I am using BSP's, Web Dynpro's, Interactive Forms and Flex.
    I have a good idea regarding to what the possibilities are of each User Interface, but I would like your opinions:
    What are the main advantages/disadvantages of each of the named User Interfaces?
    So what's good/not good about BSP, Web Dynpro, Interactive Forms, Flex?
    What's the easiest to code, to make a layout,....
    I know, according to the sitiuation, you can choose which UI to use, but I would really like to know what your opinions are about coding, easy-to-use, speed, logic,... (PRO/CONTRA'S)
    Thanks a lot for your input, it would really help me!
    Greetings,

    Hi Mahamed,
    I got your problem. You have not done anything wrong.
    It is WebAS version which is not supported for this functionality.
    But there is solution to this problem
    Please refer to the SAP Note number - 1055738.
    I think you will get the answer and the scenario described there will match your requirement.
    This is a know issues with WebDypro ABAP but this works fine for Java Web Dynpro.
    I have also tried for 2 months but finally came to know about it.
    Regards
    Satya

  • Drop Down List population - Abap dynpro adobe form - type ZCI

    Hi ,
    How to create drop down list on a field. I am using ZCI type of form. (Abap dynpro adobe form - type ZCI)
    Most of the post i have seen only refers to the setting in forms but not about the settings in interface in se80 or SFP. please give me the detail steps to create drop down field and how to populate it.
    In other words is how to populate the drop down fields, where does the values come from to these fields.
    Thanks,
    Nikhil
    Edited by: NIKHILKUMAR POOJARI on Apr 3, 2009 7:28 PM

    HI Pradeep,
    Can you please tel me what i am doing worng here :
    types : begin of ty_nameid,
                  ZCARRIAGERESTRIC type ZCARRIAGERESTRICT,
                  DESCRIPTION type ZDESCRIPTION,
                END OF ty_nameid,
                tyt_nameid TYPE TABLE OF ty_nameid.
        data  : it_nameid type tyt_nameid,
                wa_nameid TYPE ty_nameid.
        DATA lo_nd_name TYPE REF TO if_wd_context_node.
        DATA lo_nd_nameid TYPE REF TO if_wd_context_node.
        DATA lo_el_nameid TYPE REF TO if_wd_context_element.
        DATA ls_nameid TYPE wd_this->element_nameid.
      navigate from <CONTEXT> to <NAME> via lead selection
        lo_nd_name = wd_context->get_child_node( name = wd_this->wdctx_name ).
      navigate from <NAME> to <NAMEID> via lead selection
        lo_nd_nameid = lo_nd_name->get_child_node( name = wd_this->wdctx_nameid ).
      @TODO handle not set lead selection
        IF lo_nd_nameid IS INITIAL.
        ENDIF.
      get element via lead selection
        lo_el_nameid = lo_nd_nameid->create_element(  ).
      @TODO handle not set lead selection
        IF lo_el_nameid IS INITIAL.
        ENDIF.
      alternative access  via index
      lo_el_nameid = lo_nd_nameid->get_element( index = 1 ).
      @TODO handle non existant child
      IF lo_el_nameid IS INITIAL.
      ENDIF.
    select * from ZCARRIAGERESTRIC INTO CORRESPONDING FIELDS OF TABLE it_nameid.
      get all declared attributes
       lo_el_nameid->set_attribute(
         EXPORTING
           Value = it_nameid
           name  = 'NAMEID' ).
    lo_nd_nameid->bind_table( it_nameid ).
    but its giving dump WebDynpro Exception: The ADS call has failed.
    i have created the Node as under
    CONTEXT
    NAME (NODE)
    NAMEID (NODE)
    ZCARR (ATTRIBUTE)
    DESCR  (ATTRIBUTE)
    DESC (ATTRIBUTE)
    I tried the second method, but that too failed. while entering the INSERT WEB DYNPRO SCRIPT it gave an error 'Error while entering script'.
    Edited by: NIKHILKUMAR POOJARI on Apr 6, 2009 11:04 AM

  • Web Dynpro & Adobe Interactive Forms - how to update the context node

    Hi Experts,
    I got a WD Component with some context nodes that are mapped to some views and are filled in this views. These context nodes are the dataSource for the Interactive Forms. These forms are embedded in a view by UIElement Interactive Forms.
    My problem is, everytime when I change the structure of the context nodes (i.e. there's an additional attribute necessary), I have to design new forms to get the context nodes linked to the form. My existing forms cannot handle updated context nodes.
    The change in the context node is displayed on web dynpro side, in the dataSource view in UIElement property. But in TA sfp there is the old context node structure displayed without any change (i.e. in number of attributes).
    My forms' layout type is ZCI Layout the interface is based on XML.
    How can I easily update the forms' context node structure without creating new forms every time?
    Thanks in advance,
    Tan

    ok, got it.
    by double clicking on templateSource in UIElement properties the interface can be updated.
    Regards from Murphy's Law.
    Tan

  • ABAP Web dynpro Interactive forms ADOBE

    Hi,
    I want to create Adobe form for quotation.
    There are item groups and within item group there are sub items.
    After displaying all sub items for a group i want to show Total amount.
    This is repeated for every group.
    Can anyone help me out with this.
    Thanks and regards,
    Nikita.

    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

  • Sending java web dynpro interactive form as pdf attachment from Business WF

    Hi,
    I have a java web dynpro application with interactive form(online), on send button click i need to send the filled form as an PDF attchment to internet mail id. I am using SO_NEW_DOCUMENT_ATT_SEND_API1 inside workflow to send attachment. My custom RFC which is interacting with WD app is getting the pdf source context attribute(simply i set the import parameter with that attribute and no juggling is done) as import parameter which  is of type XTSRING. Once i execute the application i am getting mail with attachment as pdf but i am not able to open the pdf. It is of just 1 KB size. It seems my pdf source context attribute is not sending data. Can some one suggest how can i solve this.DO i need to convert the data to pdf format before sending or any otgher thing i need to do.
    Regards
    Ravindra

    I did that before posting the question itself (enables = false), it doesn't work. It just disable the extra features like digital signature and stuff.  Interesting thing is all our HCM forms developed for HR actions works fine with out any issues. Why the interactive form developed with WDJ is not working and it requires credentials??. The same form works fine if I deploy the application directly into server but it throws the error if I check in through NWDI ..
    If you look at the server location it has the file but it throws the error:
    Caused by: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: IOException occured while creating template stream from the TemplateSource : .\temp\webdynpro\public\sap.com\ess~ben\webdynpro\Components\com.sap.xss.hr.ben.reviewtable.VcBenefitsReviewTable\ReviewTableView_InteractiveForm_Review.xdp (The system cannot find the file specified)
    Please advise.
    Thank You,
    Hari.

  • How to import an xdp-File to Web Dynpro Interactive Forms

    Hi Experts
    I am working with Web Dynpro and Interactive Form. With Adobe Lifecycle Designer I do an import of an MS Word-Document and convert it to the XDP-Format. How do I import this XDP-File into an Interactive Form inside Web Dynpro? The form shouldn't be created with Web Dynpro. So far, what I did was creating an empty form from within Web Dynpro and overwriting it with my xdp-File. But this doesn't seem to be a secure and robust solution. Do you have any suggestions?
    Thanks for helping
    Kind regards
    Bettina Hepp

    Hi Bettina,
    I can understand what problem you are facing.
    Please follow these steps and let me know if it has solved your problem or not
    1. Open the XDP file in Adobe Life Cycle Designer and go to File Menu ->Save As ->
    Save the file as PDF.
    2. NWDS Webdynpro Edit the interactive form and now you can import the same PDF file.
    This will solve your problem and let me know if you are facing any other issue.
    Cheers
    Satya

  • Zebra printing in web dynpro/Adobe

    Hello,
    We have zebra label print designs in place (we dont want to design using adobe designer). Now we would like to enable subcontractors to print them online using web dynpro/Portal.
    1. one way I identified is send the zebra spool as a file and save it in the local disks and print it using zebra printer.
    Whats the better and efficient way to approach? How everybody is doing this?. Doesnt SAP have any solutions?.
    Thanks ,
    Raj.

    SAP Interactive Forms by Adobe comes with ABAP backend print support for Zebra label printers.
    However, as with all backend printing the required output formats are placed in the spool. To my knowledge, there is no standard SAP way to make these spool-based formats available for print in a Web Dynpro application. In addition, note that in the ABAP backend SAP doesn't print from the PDF, which for these processes has only got a preview function. Depending on the scenario, printing is done from PS, PCL or ZPL through the corresponding SAP device types.
    Best regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • Calling a new Browser Window from Web Dynpro Application - Empty Context

    Hello,
    I want to open a view in a new browser window, and followed the same way which is described in this thread:
    Open view in new browser window
    My first try was creating two applications, which refer to the same Component Controller. The opening of a new browser window is triggered by an action, which is called in the other application. As both applications have the same Component Controller, I thought, the context content has to be the same, but actually the context attributes are empty after opening of the new window.
    In my second try I created two applications with two different Component Controllers, mapped via embedded Interface Controller. The effect is the same - I have no context content in the view.
    Please, can anybody help me?
    Thank you in advance.
    Ilona Seifert

    I done something like this:
    [code]
    try {
    strURL =
         WDURLGenerator.getApplicationURL(
                        "$<b>PROJECT_PATH</b>$/$<b>PROJECT_NAME</b>$",
                                            "$<b>APPLIC_NAME</b>$");
    } catch (WDURLException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
    strURL += "?par1=";
    strURL +=  var1;
    strURL += "&par2=";
    strURL +=  var2;
    strURL += "&par3=";
    strURL +=  var3;
    [/code]
    and after i retrieve them:
    [code]
    Var1Value= WDWebContextAdapter.getWebContextAdapter().getRequestParameter("var1");
    [/code]

  • Handling RAW data types (from SAP) in Adobe forms - Illegal Arg Exception

    Hi,
          I have a scenario where I have to get data of type RAW in SAP to Adobe Forms using web dynpro java. What is the corresponding type in Web Dynpro / Adobe Forms.
    I am using Adaptive RFC and when I get the model from SAP function module, the RAW type is created as Binary type in the data dictionary of Web Dynpro.
    When I map the model context to controller context, the type is taken as byte[].
    I tried to set the attribute for this field and I got the Illegal Argument Exception error.
    I am using NWDS 7.0.9 and NW04s SP12. Pl help. I am working on this since 10 days but could get no solution.
    The initial exception that caused the request to fail, was:
    <b>java.lang.IllegalArgumentException</b>
    at com.sap.dictionary.runtime.DdTypeBinary.format(DdTypeBinary.java:60)
    at com.sap.dictionary.runtime.DdTypeBinary.toString(DdTypeBinary.java:64)
    at com.sap.tc.webdynpro.clientserver.data.DataContainer.doFormat(DataContainer.java:1405)
    at com.sap.tc.webdynpro.clientserver.data.DataContainer.getAndFormat(DataContainer.java:1098)
    at com.sap.tc.webdynpro.clientimpl.xdp.renderer.data.XfdRenderer.renderAttributes(XfdRenderer.java:370)
    ... 41 more

    Issue with the RAW data types is resolved now. I have changed the data type of the field into String in the dictionary (web dynpro).. I have changed the corresponding getters and setter functions from byte[] to string. And everything working fine now. I got the Illegal Argument exception initially because I was trying to display the binary data type fields on the adobe form or view which I am not supposed to do.
    Also it is better to create separate view attributes in the context to get the values rather than mapping the model attributes directly in the form or view.
    Thank you one and all.
    Regards
    Vasu

  • Hi ,Its Adobe form

    Hi Rajasekhar,
    Its an adobe form.How it is link to workflow.
    Regards,
    ROsiah.

    Hello Naidu sabh,
    Well, In Adobe also there are two ways of doing the same.
    1) Calling a Java Web Dynpro - Adobe Form or ABAP Web Dynpro - Adobe Form from Workflow. For this you require to develop the Adobe form based on any of above mentioned WD Application and then link the Standard task to this WD Application in SWFVISU Transaction.
    To get to know more above Adobe form developments, check this link...
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/c1151c55b33119e10000000a1553f7/frameset.htm
    To get to know more on SWFVISU transaction, check this link.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/59/d516690e854c7090ae15bf492a869f/frameset.htm
    2) Creating an custom ISR Scenario which has the Adobe form Attached. I suggest you to go through this link to get the best information about PCR/ISR's.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/54/957e40ec66ce62e10000000a155106/frameset.htm
    Hope this should close your thread.
    Reward us if you find this useful.
    Regards
    <i><b>Raja Sekhar</b></i>

Maybe you are looking for

  • Google Play Store not working on Droid Razor Maxx HD

    My Play Store opens then immediately closes.  I tried rebooting, disabling and then enabling.  Nothing works.  The kicker here is I am currently working in China and only use Wifi for connection as Data is way too expensive.  I need to update several

  • From Windows 8.1 to Windows 10 to Windows 7 for HP-15f215x

    I need help very quickly for my computer. I've been through Windows 8.1 which was garbage to Windows 10 which was even worse to Windows 7 which was the last good thing Microsoft made. My F unction keys aren't functioning correctly, I can't adjust my

  • Customer payment(f-28)

    dear sap gurus, i am a sap sd consl, but one of my fi user is having a problem recieving the payt (f-28) that he wants bill number to be knocked off against which he is recieving the payment. because we are a automotive oem suppliers ,ou customers pa

  • Netbeans dataprovider JSF page with data table

    I have crated a database very similar to the one that is shown as an example on the Netbeans site tutorial Insert, Update, Delete. Except that the table doesnt have any linking dropdown list that controls the information displayed on the table. It co

  • Dreamweaver to Web upload???

    I have been having a lot of trouble with uploading a site to the internet. Is there an easy way? In dreamweaver I was able to upload until today where I created a few new things on my site. Now I just want to send the files from my computer to the in