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

Similar Messages

  • N4S: Adobe Interactive Forms - How to install the credentials and activate

    In the download section for NW04S on Linux I see a note saying as follows
    "... the user must install the essential credential file and activate it using a unique password".
    I have downloaded the credentials files which is named as "SDNCerts09_Jul.zip".
    Kindly give me the steps to
    1) install the above file
    2) Activate it with unique password

    Download the zip credentials file to:
    /netweaver/sapmnt/N4S/global/AdobeDocumentServices/TrustManagerService/trust/credentials
    Unzip, it contains two files:
    - certificate.pfx
    - password
    - run visual admin
    - install the new certificate, path "server->services->document services configuration" tab credentials specify:
      Type p12
      Alias "ReaderRights" (without quotations marks)
      P12 browse to the pfx certificate file,
      Password is into the second file
      Press Add
    - restart services "document services trust manager" and "pdf manipulation - low encryption"
    Bye
    sambarza

  • PM Notification Adobe Interactive Form - How to Start?

    Hi experts!
    I´m kind of new to the Adobe interactive form creating process.
    We have a requirement of turning the SAP Plant Maintenance notifications into a more friendly, adobe interactive form.
    My question is, how do I start to develop this?
    It is basically placing the PM Notification in an adobe form, so the users will open these notifications using adobe forms.
    The same fields are being used and they have everything on SAP Netweaver Portal.
    Any advice on how to begin? Maybe some links to documentation would be great...
    Thanks so much and best regards,
    Fernando

    Hi,
    I would like to suggest to take steps like this:
    1. Start with the Printing-Report (not the interface of the adobe form)...  usually you can make a copy of the includes(get_data) of standard printing report...
    2. Try to customize(spro) the new form with new the printing programm..
    3. Does the call work to you see the adobe form ... an so on...
    4. Now you r on half way ... decide to use standard include for getting data.. or use some bapi in the interface of your form to get all data that you need.
    thats it ... (for a not interactive form)

  • Adobe Interactive Form - How to disable Adobe toolbar in my View

    Hello Expert,
    we are starting to use the Adobe Interactive Form in our webDynpro (java) project.
    We would like to offer to our users an interactive form and to save the data inserted by the users in a database.
    So we add a "Submit Button" in our form, the button il linked to the method "onActionSubmit()" in the view implementation.
    But we want to force the users to press it before to save/stamp the pdf form.
    Is possible to disable the Adobe toolbar, that offers command like "stamp" or "save as", until the users press the "Submit Button"?
    Thanks in Advance
    Best Regards

    Hi,
    Please have a look at this thread,
    Re: Hiding Adobe ToolBar
    Kind regards,
    Saravanan K

  • Adobe Interactive Forms --- how to use in GP --- ?!?

    Hello,
    I do have a problem and hope very much someone can help me out.
    I created an Adobe Interactive Form and wrapped it with the appropriate CO in GP.
    My Problem ist i can't use it then. it's neither in the "impersonalized Forms" list nor can i generate a working "Initiation-Url" in the CO. the created one does not lead to a page but to a IE-Error message.
    would be great if someone can advice me.
    Greetings,
    Tobias Müller

    Hello,
    In GP the Interactive forms can be used in offline mode only. For online mode, you got to embed it in a JAVA WD GPI interface and then create a CO out of it. Let me know which option did you choose while creating the CO for the Adobe form?
    Did you choose offline/other?
    Cheers,
    Mandrake!

  • SAP delivered Adobe Interactive Forms: how to identify in ERP6.0, CRM....

    I am not an ABAPer, but I am trying to determine whether we need to develop an Adobe Interactice Form or leverage one delivered by SAP for following actions:
       o Return to work
       o Short term disability
       o Hire
    I read the most important notes and FAQ and I didn't find a way to list all SAP delivered Adobe interactive forms.
    I know from a colleague that SAP provides a Hiring SAP Adobe form (ISR_HRASR_SHI1) but I couldn't find it in SFP transactopm code nor in table TERPFORMLIST. This table I believe is mentioned In EhP4 release notes, however it doesn't provide a description of what a form is about.
    Can you please provide the process or program or procedure to dump such a list of SAP delivered forms from ERP6.0, CRM, SRM, etc, where the list contains the Name of Adobe Interactive form, description of form, SW component, application compenent, and if possible any corresponding SMARTFORM...
    Any help is much appreciated.
    Regards,
    Tobi

    Hi Tobi,
    I have send a SAP document to your email , which contains all the standard SAP Print and Interactive forms which are delivered with ERP6.0
    Regards,
    Ravi.D

  • How to delete the context node in BSP Component?

    Hi,
    I have created a custom context node in one of the components : BP_BPBT.
    Now, I want to delete the context node..
    Could you please tel me, how can I do that?
    Thanks,
    Sandeep

    Hi Sandeep,
      Please check the below link.
    [How to delete Context Node;
    Regards,
    Lakshmi.Y

  • How to populate the context nodes based on an event

    Hi All,
    I am having a basic problem. I have created a new Webdynpro Abap application. Here, in the main view, i have define a text view as well as a table. I have created context nodes A and B in component controller. The attributes under A are A1 and the attributes of B are B1,B2, and B3. I have also created an action button C in the same view. These have been mapped to the context nodes in the main view. A1 is mapped to the text view and B1, B2 and B3 are mapped to the table.
    My requirement is as follows. When user Clicks on execute, i want to use the value A1 from the text view in a function module and return the values to B1, B2 and B3. B1, B2 and B3 are multiple values mind you.
    I have successfully executed the function module within the WDONACTIONC method. How to i accomplish this Basic Task. Please Help
    Best Regards
    Mazin

    Hi Mazin,
    Step 3 is as follows...
    Say you have a context node, you have to bind this node with table UI element, now this node must contain some context attribute which you have to bind with your columns of table. now say name of context node is cn_table. now what you have to do is get data from FM in the internal table..........
    now move data by using move corresponding or by looping depending on requirement to an internal table which has fields with the same name as that of name of your attributes... this is imp to display the data...... now you can bind this internal table with context node using code below.......
    data lo_nd_cn_table type ref to if_wd_context_node.
      data lo_el_cn_table type ref to if_wd_context_element.
      data ls_cn_table type wd_this->element_cn_table.
      data it_table type wd_this->elements_cn_table.
      data wa_table type wd_this->element_cn_table.
      data it type standard table of t005t.
      data wa type t005t.
    **   navigate from <CONTEXT> to <CN_TABLE> via lead selection
    select * from t005t into TABLE it.
      loop at it into wa.
        wa_table-ca_one = wa-land1.
        wa_table-ca_two = wa-landx.
        wa_table-ca_three = wa-natio.
        wa_table-ca_enable = abap_true.
       append wa_table to it_table.
        endloop.
    lo_nd_cn_table = wd_context->get_child_node( name =
    wd_this->wdctx_cn_table ).
    *   get element via lead selection
        lo_el_cn_table = lo_nd_cn_table->get_element(  ).
    lo_nd_cn_table->bind_table( it_table ).
    ca-one, ca_two, ca_three and ca_enable are name of my context attribute......
    regards
    Pranav
    Edited by: Pranav Nagpal on Dec 22, 2008 10:08 AM

  • Call a user defined method in web dynpro from interactive forms

    Hi All,
    how to call a user defined method in web dynpro java, when a selecting value from drop down list which is in interactive forms by adobe
    thanks.
    Edited by: venkat99 on May 24, 2010 4:52 PM

    Well, you can use F4 help, of course, check here: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/a1900622ec062be10000000a42189d/frameset.htm
    You need to select the value first and then use the submit button, which is mapped to the WD action submit (you have to set this up in WD designer!!). To use the submit button for more actions, you need to use something like a hidden field, where the value is set according to the action you want to do with your submit button. The submit sends this value back to WD, where you can switch the program code according to the value.
    Otto
    p.s.: and maybe this blog can help: /people/shruti.rathour/blog/2008/02/07/uploading-sap-interactive-form-on-the-abap-webdynpro-view

  • PDFDocumentRuntimeException Error with web dynpro and Interactive Forms

    Hi,
    I installed on my notebook the Trail Versions of:
    - SAP NetWeaver Application Server 7.00/Java AS 7.00
    - SAP NetWeaver Developer Studio Version: 7.0.14
    - Acrobat Reader 7.0.9
    - Internet explorer 7.0.5730.13
    I configured and tested the ADS after the configuration guide and i get the Version info sucessfully if I do the http://localhost:50000/AdobeDocumentServices/Config Test.
    So i developed a web dynpro application with interactive forms after a tutorial and did exactly the same (so i think i have to configure something on the server or on the client). All other Webdynpro applications without an interactive forms are running without any problems.
    when im running the application with the interactive forms this error occured:
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  UPDATEDATAINPDF
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:418)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../local/TableDemo/TableDemoApp/~wd_key27_1206449390828/Error+PDF.pdf;jsessionid=(J2EE9974800)ID2009226050DB10771811086936887683End;saplb_*=(J2EE9974800)9974850?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=f50f6853fa6911dca5cc001a4b8ead76&sap-wd-appwndid=f50f6854fa6911dc97d6001a4b8ead76&sap-wd-norefresh=X
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:405)
         ... 29 more
    Have anybody a solution for this problem ?!
    Im not quit sure if i installed the Adobe Component Framework. Could this be the problem ?
    Where can i download the ACF ?

    I installed and configured the credentials, but there is still the same problem:
    com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operation. Request start time: Tue Apr 01 08:31:54 CEST 2008 com.adobe.ProcessingException: Credential login error while applying usage rights to PDF: C:\usr\sap\J2E\tmp\adobewa_J2E_9974850\DM6591376789253148875.dir\DM7896718136952797773.tmp Specific error information: error while logging into credential ^0 GeneralError: Operation failed. SecurityHandler.login:-1: The digital ID specified is unknown. Exception Stack Trace: com.adobe.ProcessingException: Credential login error while applying usage rights to PDF: C:\usr\sap\J2E\tmp\adobewa_J2E_9974850\DM6591376789253148875.dir\DM7896718136952797773.tmp Specific error information: error while logging into credential ^0 GeneralError: Operation failed. SecurityHandler.login:-1: The digital ID specified is unknown. at com.adobe.ads.operation.UsageRights.execute(Unknown Source) at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source) at com.adobe.ads.operation.CachableOperation.doWork(Unknown Source) at com.adobe.ads.request.Request.processOperations(Unknown Source) at com.adobe.ads.request.Request.process(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source) at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79) at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92) at SoapServlet.doPost(SoapServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) Caused by: com.adobe.document.pdf.CredentialLoginFailure: IDL:com/adobe/document/pdf/CredentialLoginFailure:1.0 at com.adobe.document.pdf.CredentialLoginFailureHelper.read(CredentialLoginFailureHelper.java:67) at com.adobe.document.pdf._PDFDocumentStub.setUsageRights(_PDFDocumentStub.java:284) at com.adobe.ads.remote.EJB_PDFAgent.setUsageRights(Unknown Source) ...
    I cant figure out ..what the problem is..
    I als made the test in http://localhost:50000/AdobeDocumentServices/Config successfully:
    this is the Response:
    HTTP/1.1 200 OK
    Connection: close
    Set-Cookie: <value is hidden>
    Set-Cookie: <value is hidden>
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=UTF-8
    Date: Tue, 01 Apr 2008 06:36:54 GMT
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><rpl:rpDataResponse xmlns:rpl='urn:AdobeDocumentServicesVi'><rpl:Response xmlns:pns='urn:com.adobe'><pns:rpStreams></pns:rpStreams><pns:rpStrings><pns:RpString><pns:name>Error_Level</pns:name><pns:value>0</pns:value></pns:RpString><pns:RpString><pns:name>Results</pns:name><pns:value>Processing exception during a "checkDocument" operation.
    Request start time: Tue Apr 01 08:36:54 CEST 2008
    com.adobe.ProcessingException: Required stream: "PDFDocument" not found in request OR its length is zero.
    Exception Stack Trace:
    com.adobe.ProcessingException: Required stream: "PDFDocument" not found in request OR its length is zero.
         at com.adobe.ads.request.Request.checkDocument(Unknown Source)
         at com.adobe.ads.request.Request.setUpOperations(Unknown Source)
         at com.adobe.ads.request.Request.process(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
         at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    </pns:value></pns:RpString><pns:RpString><pns:name>VersionInfo</pns:name><pns:value>800.20070708051308.406522</pns:value></pns:RpString><pns:RpString><pns:name>TraceString</pns:name><pns:value>   com.adobe.ProcessingException: Required stream: "PDFDocument" not found in request OR its length is zero.
    </pns:value></pns:RpString></pns:rpStrings></rpl:Response></rpl:rpDataResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
    My installation:
    SAP NetWeaver Application Server 7.00/Java AS 7.00
    SAP NetWeaver Developer Studio Version: 7.0.14
    Acrobat Reader 7.0.9
    Internet explorer 7.0.5730.13
    xAcf_NW711_SP00
    J2EE 7.00 SP14

  • Web dynpro Java, Interactive Forms, Workflow/UWL

    I really wanted to watch this eClass entitled:
    "Integration for Business Workflow and SAP Interactive forms by Adobe (Session 7)"
    However, it didn't pull up in my browser.
    I need to trigger a workflow from WDJ and I need to attach an interactive pdf form to a workflow/workitem from WDJ.
    Would i use the standard "SAP_WAPI*" functions modules via Adaptive RFC model in WDJ?
    Maybe these?  SAP_WAPI_ATTACHMENT_ADD_REF, SAP_WAPI_GET_ATTACHMENTS
    Also I am need to open a WDJ when the user clicks on the task in UWL.  This WDJ will read the pdf attachment on the workitem and display it to the user.

    I solved this problem on my own. Aren't I cool?

  • Upload File in Web Dynpro Java CO and store it in the context

    Hi Guys!
    I have developed a web dynpro CO form, and I need to be able to upload a file in an action and then be able to download that file in further actions.. I have evaluated saving the file in the backend via RFC, in KM and also creating a CAF project.. but I think there must be a simpler way : saving it in the context of GP.
    Does someone knows if it is possible to do that?
    best regards,
    Marco.

    Hi Marco
    In webdynpro java, there are UI elements File Upload and File Download. You can use these UI's to upload and download attachments. From NetWeaver 7.0 onwards, you have IWDResource interface which can be used to upload attachments. But in GP if you want to pass attachment to another action you must use Binary as a data source. Bind the File upload UI element to Binary. In addition, you should define input and out parameters in getDescription method.
    Thanks
    Ghazanfar

  • How to read the context node of used component?

    Hi,
    I have component called : SRQM_INCIDENT_H. This component has used component - BTSTATUS.
    Now, I need to read the context node of the BTSTATUS/UserStatus in GET Methods of Context node in SRQM_INCIDENT_H.
    Can you plese help me out.
    Thanks,
    Sandeep

    The component usages can be accessed from the component controller
    You should however assure that the context node is present in comp controlelr of the used component.View context nodes cannot be accessed.
    if not ,then you need to goto the component BTSTATUS ,add the context node  explicitly to comp controller,and do correct bindings to the view context node.
    Once you add the context node to the com controller,yo also need to expose it.
    go to runtime repository->component_interface->interface_controller->context->right click and select ADD CONTEXT NODE, and add you newly creatde context ndoe of comp contorller here.
    Now you cann access it using the code below in your comp SRQM_INCIDENT_H
    data:lr_comp_controller type ref to <ur comp controller class>lr_comp_controller ?= me->comp_controller.
        lr_comp_usage ?= lr_comp_controller->get_component_usage( iv_usage_name = '<name of the comp usage as in runtime repository' ).
        CHECK lr_comp_usage IS NOT INITIAL.
        lr_cnode ?= lr_comp_usage->get_context_node( iv_cnode_name = '<the required context node name>' ).
    Suvidha

  • Showing linebreaks in Adobe interactive forms webdynpro java

    Hey
    Im using interactive form from Adobe to show the content of my context, but the linebreaks gets converted into spaces. Heres my scenario:
    I have create a context:
    Person (node)
    - Name (value attribute)
    - Lastname (value attribute)
    I have create a view (view1) with 2 TextEdit to enter som text. This two TextEdit fields is binded to the contextnode.
    I have created another view (view2) with interactive form. The interactive forms consist of 2 InputFields that is also binded to the context.
    When i run the application i insert som text in the first view (view1). Then i go to the second view(view2) to display the content as a PDF. This works, but my problem is that the linebreaks I have created in the view1 gets converted into spaces in view2. I have allowd multiple lines.
    My question is that:
    does Adobe interactive form support linebreaks from the context? It is possible to enter linebreaks if I edit the interactive form at runtime, but I want it to display the linebreaks automaticly from the context.
    Are there any way around this? Please help me out. I cant find any sap note about this issue

    I know a little more about the problem now. After viewing the XML source I change the property of the inputfield.
    It was like this:
                <field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="ReadOnly">
    but i changed the access to be nonInteractive
                <field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="nonInteractive">
    now view2 shows the linebreak as in view1... Buut! when im going back to view1 from view2, the linebreaks gets converted into spaces
    thats pretty wierd, aint it?

  • Error while executing ADobe Interactive form

    Hi
    I had created TRAVEL REQUEST interactive form as per the document.   Im successful till deployment.  But then while running the application Im getting the below stack
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: failed to created delegate
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doInit(ClientComponent.java:748)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:333)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:341)
         at com.sap.tc.webdynpro.clientserver.task.Task.createApplication(Task.java:181)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:494)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:49)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:239)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:130)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:92)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:35)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:373)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:250)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:321)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:299)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:698)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:223)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:146)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:43)
         ... 26 more
    Caused by: java.lang.NoSuchMethodError: com.sap.tc.webdynpro.progmodel.context.Node.<init>(Lcom/sap/tc/webdynpro/progmodel/context/NodeInfo;Lcom/sap/tc/webdynpro/progmodel/context/Node;)V
         at com.sap.demo.travelrequest.wdp.IPublicTravelRequestComp$IContextNode.<init>(IPublicTravelRequestComp.java:29)
         at com.sap.demo.travelrequest.wdp.InternalTravelRequestComp.wdInitContextNode(InternalTravelRequestComp.java:49)
         at com.sap.demo.travelrequest.wdp.InternalTravelRequestComp.<init>(InternalTravelRequestComp.java:89)
         ... 31 more
    Can any bode tell me whether it is Version incompatibility or any other specific reason ?
    thanks
    raj

    Hi Raja,
    something is wrong with your context in the component controller. Please verify your context structure with the structure in the document, which you mentioned. Do you really use value nodes and attributes? Is the mapping to the view correct and also the binding between the interactive form ui-element and the context nodes of the view?
    Regards, Carsten
    Message was edited by: Carsten Brandt

Maybe you are looking for

  • Error message in windows vista 64 bit

    fireworks unexpectedly quit in windows vista

  • Jta - distributed transactions

    hello, I'm working on 2 DB 9.2 databases with oc4j version 9.0.2. I'm trying to implement a distributed transaction using JTA. I found out that the commit-coordinator must be defined in the application.xml and not in the orion-application.xml, and th

  • Why do we create message types (we81)?

    Hi Guys, Could u plz explain me for wht purpose message types r created? thanking u... regards..

  • ITS 6.20 SP18 Problem with the top bar menus

    Hello Henning, we're using ITS 6.20 SP18 and experience a problem with the top bar menus in the SAPGUI for HTML (Enjoy Design) in both MSIE 6 and Moz Firefox 1.0.4. When clicking the dropdown menus in the top bar the menu simply won't open. This only

  • Install dual OS in S10e

    Hey... I bought a S10e with Windows XP preinstalled. I want to install a Linux distro (Suse) as a second OS. I tried to find some help from this forum, but without result. Can anyone help me on this? Thanks a lot in advance. Jejeje