Storing collection of values in Web Dynpro

Hi,
I have 2 views(View1,View2)
I have rows of 2 dropdowns in a table in View1. I select each of these drop downs in multiple rows and go to view 2. In View2 i need to retrieve all the values from View1. How will i retrieve these values?
Is there any collection kind of thing in Web dynpro??
Any help
regards,
Sujesh

Hi,
   Let's say you have a context structure as this:
-Root
--TableProperties
---Column1(value attribute bound to your 1st dropdown)
---Column2(value attribute bound to your 2nd dropdown)
   Have a context node structure as
-Root
--DataNode
---Value1(value attribute, String)
---Value2(value attribute, String)
Map this to the component controller's context with the same structure.
In the onSelect eventhandler, write something like this:
IPrivate<view name>.IDataNodeElement elem = (IPrivateSDNCompView.IDataNodeElement)wdContext.nodeDataNode().getElementAt(wdContext.nodeTableProperties().getLeadSelection());
if(elem != null){
elem.setValue1(wdContext.nodeTableProperties().currentTablePropertiesElement().getColumn1());
elem.setValue2(wdContext.nodeTableProperties().currentTablePropertiesElement().getColumn2());
else{
IPrivate<view name>.IDataNodeElement ele = wdContext.nodeDataNode().createDataNodeElement();
elem.setValue1(wdContext.nodeTableProperties().currentTablePropertiesElement().getColumn1());
elem.setValue2(wdContext.nodeTableProperties().currentTablePropertiesElement().getColumn2());
wdContext.nodeDataNode().addElement(ele);
Add component controller as required controller in view2.
Now from view2, you can access it as
wdThis.wdGet<component name>Controller().wdGetContext().nodeDataNode();
Regards,
Satyajit.
Message was edited by: Satyajit Chakraborty

Similar Messages

  • Validate null values in web dynpro for Java

    Hi guys,
    I want to perform a mandatory field value check in a web dynpro input field. I have cretaed an application and want to ensure that user entered values into it, before it can processed further. I do not think there is/are any property avialable for this.
    Any help on how to code.
    Thanks a lot in advance.
    regards
    Sam
    Message was edited by:
            sameer chilama

    Hi,
    this is common code for test the Whether the input field is empty then we have to display the error.
    Add the attribute in the context.
    public void checkMandatory( java.lang.String displayName, java.lang.String fieldContextID )
    //@@begin checkMandatory()
    IWDMessageManager messageMgr =wdThis.wdGetAPI().getComponent().getMessageManager();
    String attributeValue = wdContext.currentContextElement().getAttributeAsText(fieldContextID);
    IWDAttributeInfo attributeInfo =wdContext.getNodeInfo().getAttribute(fieldContextID);
    if (attributeValue != null)
    attributeValue = attributeValue.trim();
    if (attributeValue.length() == 0) {
    //String fieldLabel = this.wdContext.getNodeInfo().getAttribute(displayName).getSimpleType().getFieldLabel();
    messageMgr.reportContextAttributeMessage(wdContext.currentContextElement(),attributeInfo,
    IMessageOrderStatusApplication.EMPTY_INPUT,
    new Object[] { displayName },
    true);
    //@@end
    in on action write the code like
    this.checkMandatory("Please enter the inputvalue","contextattributename");
    wdComponentAPI.getMessageManager().raisePendingException();
    it you want to add for more input fields
    add second contexzt attribute
    this.checkMandatory("Please enter the secondinputvalue","contextattributename1");
    wdComponentAPI.getMessageManager().raisePendingException();
    thanks,
    Lohi.

  • Implementing cache for dropdown values in Web Dynpro Iview

    Hi All,
             I am currently in the processing of enhancing a web dynpro application which contains among other things around 15 drop down boxes. The values in these drop down boxes are coming from oracle database and these values change occasionally.
            To optimize the response time, I have implemented simple caching machanism using static  variable in plain java class. The objective is to retrieve the values for the first time from oracle db and use the same datastructure for subsequent calls. Though I have found that the number of calls to the database reduced significantly I am facing some problem understanding and implementing the cache refresh behaviour.
          I want to implement a cache refresh machanism for every 12 hours.
        Solutions tried.
                   Creating a thread to refresh the cache for every 12 hours.
                   Creating a timer for refreshing the cache for every 12 hours.
        Problems encountered :
        1.  Is it appropriate to use threads in a web dynpro app?
        2.  What I have observed is that  the thread (I have created a daemon thread) is alive even after I have deployed a new copy of the code.  When I deploy a new code is it not supposed to remove all copies from the memory?
           If using a daemon thread is appropriate, What is the web dynpro
              framework's class loading behavior when a new copy of code is deployed?
             Does it completely unload existing classes (there by killing the daemon thread
                   created in previous deployment)?
       3. Assuming that we have found suitable solution for thread issues, what would  happen when the application is deployed on a cluster? Can we send a message to
            all the nodes in the cluster?
    I would like to understand what other developers has done in these kind of situations. Your experience and insight will be valuable and help me decide to implement caching or not in  the first place.   
    Thanks in advance.
    Regards
    Pallayya Batchu

    Pallayya,
    <i>1. Is it appropriate to use threads in a web dynpro app?</i>
    Not recommended as with any J2EE application
    <i>2. What I have observed is that the thread (I have created a daemon thread) is alive even after I have deployed a new copy of the code. When I deploy a new code is it not supposed to remove all copies from the memory?</i>
    Re-deployment doesn't mean stopping all user spawned threads. It just causes unloading of classes if there are no hard references from anything but deployed application. In your case, there are probably references from Thread/Runnable so your previous version is not unloaded on redeployment.
    <i>3. Assuming that we have found suitable solution for thread issues, what would happen when the application is deployed on a cluster? Can we send a message to all the nodes in the cluster?</i>
    Probably you can, probably you cannot. Even if you can it would be complex.
    My advise -- abandon threads altogether, use real cache instead:
    package com.yourcompany.yourapp.utils;
    import java.util.HashMap;
    import java.util.Map;
    public class ValueHelpCache {
      private static class Entry {
        long lastLoadTime;
        Map  payload;
        Entry(final Map payload) {
          this.payload = payload;
          this.lastLoadTime = System.currentTimeMillis();
      final private Map _entries = new HashMap();
      private ValueHelpCache() {}
      synchronized public Map getValueHelp(final String valuyeHelpKey) {
         Entry entry = (Entry)_entries.get(valuyeHelpKey);
         if ( entry == null) {
           entry = new Entry( loadValueHelpFromDatabase(valuyeHelpKey) );
           _entries.put(valuyeHelpKey, entry);
         } else {
           final long now = System.currentTimeMillis();
           if ( now - entry.lastLoadTime > ENTRY_TTL ) {
             entry.payload = loadValueHelpFromDatabase(valuyeHelpKey);
             entry.lastLoadTime = now;
        return entry.payload;
      private Map loadValueHelpFromDatabase(final String valuyeHelpKey) {
        /* @TODO implement loading values from database */
        return null;
      public static ValueHelpCache getInstance() { return INSTANCE; }
      final public static long ENTRY_TTL = 12 * 60 * 60 * 1000;
      final private static ValueHelpCache INSTANCE = new ValueHelpCache();
    This way client code tracks itself what entries are stale and need to be reloaded. No threads at all and no problems in cluster. You may alter time tracking mechanism to reload at given time of day, say at 12AM and 12PM -- just use java.util.Calendar and change code accordingly.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Reading Dynamic Table Values in interactive form (web Dynpro ABAP)

    Hi All,
    I have created a Web Dynpro ABAP application which contains an Interactive Form, That Adobe Interactive Form contains Dynamic table (New rows can be added manually and deleted using a button).
    I am not able to read the Dynamic table values in Web Dynpro u201COn Submitu201D.
    In the Adobe form I have web Dynpro native button (I am using ZCI), while clicking the native button I need to read the dynamic table values.
    How can I resolve this problem.
    Thanks and Regards,
    Boopathi M

    that means, when u add the table instance at runtime, you will also have to add an element to the node that is bound to the table.
    probably addNew() mathos may be useful to you.
    it appends a new record to the record set.
    xfa.sourceSet.dataConnectionName.addNew()
    also when on the exit event of the table field, do the following:
    var i = xfa.parent.index
    $record.rootnodename.tablenodename.data<i>.fieldname = $.rawValue
    xfa.host.messageBox($record.rootnodename.tablenodename.data<i>.fieldname)

  • BAPI_DOCUMENT_CREATE2 in Web Dynpro ABAP

    Hi Friends,
        I want to upload PDF file from my System and get it stored in content server Using WEB DYNPRO APPLICATION. I tried using it by calling the FM but its not uploading the file in the server.
      Can i know the steps involved in uploading the file. I also created a custom Function Module and called this FM in WEB DYNPRO.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(DOCUMENTDATA) LIKE  BAPI_DOC_DRAW2 STRUCTURE
    *"        BAPI_DOC_DRAW2
    *"     VALUE(BIN_CONTENT) TYPE  XSTRING
    *"  EXPORTING
    *"     VALUE(DOCUMENTTYPE) LIKE  BAPI_DOC_AUX-DOCTYPE
    *"     VALUE(DOCUMENTNUMBER) LIKE  BAPI_DOC_AUX-DOCNUMBER
    *"     VALUE(DOCUMENTPART) LIKE  BAPI_DOC_AUX-DOCPART
    *"     VALUE(DOCUMENTVERSION) LIKE  BAPI_DOC_AUX-DOCVERSION
    *"     VALUE(RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2
    *"  TABLES
    *"      CHARACTERISTICVALUES STRUCTURE  BAPI_CHARACTERISTIC_VALUES
    *"       OPTIONAL
    *"      CLASSALLOCATIONS STRUCTURE  BAPI_CLASS_ALLOCATION OPTIONAL
    *"      DOCUMENTDESCRIPTIONS STRUCTURE  BAPI_DOC_DRAT OPTIONAL
    *"      OBJECTLINKS STRUCTURE  BAPI_DOC_DRAD OPTIONAL
    *"      DOCUMENTSTRUCTURE STRUCTURE  BAPI_DOC_STRUCTURE OPTIONAL
    *"      DOCUMENTFILES STRUCTURE  BAPI_DOC_FILES2 OPTIONAL
    *"      LONGTEXTS STRUCTURE  BAPI_DOC_TEXT OPTIONAL
    *"      COMPONENTS STRUCTURE  BAPI_DOC_COMP OPTIONAL
    *..... Document data
    data: ls_doc like bapi_doc_files2.
    **..... Bapi return structure
    data: ls_return like bapiret2.
    **.... Originals that are checked in at the same time
    data: lt_files like bapi_doc_files2 occurs 0 with header line.
    data: tstampl like tzonref-tstampl, tstampl_c(21) type c,
               file_name type localfile, msg(80) type c.
    constants path_name type localfile value '/tmp/'.
    constants log type localfile value '/tmp/logFO.txt'.
    *Create document
    describe table documentfiles lines sy-tfill.
    if sy-tfill > 0.
    clear ls_doc.
    clear lt_files.
    loop at documentfiles into ls_doc from 1 to 1.
    open dataset log for output in text mode encoding default.
    transfer ls_doc-wsapplication to log.
    transfer ls_doc-description to log.
    get time stamp field tstampl.
    unpack tstampl to tstampl_c.
    clear file_name.
    concatenate path_name '/' sy-repid '_' 'ATT' tstampl_c '.' ls_doc-wsapplication into file_name.
    condense file_name no-gaps.
    transfer file_name to log.
    open dataset file_name for output in binary mode message msg.
    if sy-subrc = 0.
    message a899(zz) with file_name msg 'SY-SUBRC:' sy-subrc.
    endif.
    transfer bin_content to file_name.
    close dataset file_name.
    transfer 'move data to lt_files' to log.
    move:documentdata-documenttype to lt_files-documenttype,
               documentdata-documentpart to lt_files-documentpart,
               documentdata-documentversion to lt_files-documentversion,
               ls_doc-description to lt_files-description,
               '1' to lt_files-originaltype,
                'Z_TEST_SAP' to lt_files-storagecategory,
                ls_doc-wsapplication to lt_files-wsapplication,
                file_name to lt_files-docfile,
                'X' to lt_files-checkedin.
    translate lt_files-wsapplication to upper case.
    append lt_files.
    ** CLEAR ls_return.
    transfer 'call BAPI_DOCUMENT_CREATE2' to log.
    call function 'BAPI_DOCUMENT_CREATE2'
          exporting
            documentdata = documentdata
            pf_http_dest = 'SAPHTTPA'
          importing
             documentnumber = documentnumber
             documenttype = documenttype
             documentversion = documentversion
             documentpart = documentpart
             return = return
         tables
             objectlinks = objectlinks
             documentfiles = lt_files
         exceptions
              others = 1.
         close dataset log.
          endloop.
          endif.
         endfunction.
    But i am getting short Dump stating File  /tmp/logFO.txt is not open.
    Can anyone help me with this issue..
    Regards,
    Santosh

    Hello,
    I'm facing the same issue, could you please tell me how did you solve your problem.
    Thanks in advance for your help.

  • Adobe: ActiveX vs Native in web dynpro

    Hello,
    has there recently (the last week or so) been an update on Adobe Reader or windows xp that makes the adobe forms not work anymore with web dynpro?
    Last week i had a simple form (activeX) in my web dynpro that was working fine. The form had two buttons (activeX), and on clicking the button they set a context attribute to BUTTONONE or BUTTONTWO and then they fire the webdynpro event; In my web dynpro i then check if the context attribute is BUTTONONE or BUTTONTWO and take an action depending on the button clicked. This was working fine, but now it doesnt work anymore.
    When i change the buttons to native buttons and change the uielement of adobe to native in my developer studio, it is working again..
    Why doesnt the activeX work anymore? The activeX buttons dont even fire an event in my webdynpro. All is configured correctly, because it worked before.
    Another thing that doesnt work is the following. Binding the adobe form to the context and then an inputvalue on the form. Setting the value in webdynpro passes the value to the form, but changing the value in theform, doesnt pass the value to web dynpro, so webdynpro still has it's old value in the context.
    I hope someone knows why simple things are not working.
    Kind regards,
    J.

    Hi Joren,
    Usually this is due to missing or something wrong with the ACF. I suggest to first check in your Windows Control Panel to see if the ACF is installed. If it is there but somehow still doesn't work, try to uninstall it and install the ACF again (make sure to install the ACF which is for your NW release and SP, refer to note 766191 for detail).
    BTW, native forms should be the way going forward to. Perhaps you should actually stay with native forms unless you have special reasons to use activex forms.
    Regards,
    Marc

  • Custom Enumeration Type and Dropdown in Web Dynpro Java

    Hi Everyone!
    I have developed a custom enumeration type named com.agile.pmg.politicrh.customtypes.status.
    I can see correclty the dropdown with the enumeration in Service Browser with all values I have put, but I need to be able to see these values in web dynpro too. But if I create a attribute of type com.agile.pmg.politicrh.customtypes.status in web dynpro and map it to a dropdown, it doesnt show anything. The enumeration is empty.
    Does anyone know what is the problem?
    Bests Regards!
    Luiza

    Hi,
    Check out this link, might be of help
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/504540a4-fd0d-2a10-7c8e-c88289cf6457|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/504540a4-fd0d-2a10-7c8e-c88289cf6457]
    Regards,
    Ashutosh

  • Error in integrating flex with web dynpro abap

    Hi,
    I did integrating   Island Component into Web Dynpro ABAP as per the tutorial given by Thomas Jung.
    Now i'm facing a problem that in that bar chart ,after giving the values in web dynpro table,bars are not getting populated.
    I'm getting X and Y axis populated...only bars are not getting populated..
    plz help....

    hi,
    i'm using flex 4...
    Is it because of that??

  • JSPDynpage  Vs Web Dynpro Java

    Hi Experts,
    1)I want to know the differences between JSPDynpage and Web Dynpro Java.
    2)Why JSPDynpage has become obsolete and Web Dynpro has taken over.
    3) Is there anything that we can do in  JSPDynpage and cant do in Web Dynpro  ?
    Comments are really appreciated.
    Thanks,
    Kumar.

    Hi again.  That's hard to say, because it really depends.  We know that SAP will be pushing Web Dynpro, all new development will be done with Web Dynpro,  most business packages that were developed in JSPDynPage have been rewritten using Web Dynpro.  So, in SAP's eye, web dynpro may have "replaced" JSPDynPage.  JSPDynPage is still widely used because companies may not want to spend the time to re-write in WebDYnpro.  At my company,  I've written 6-8 JSPDYnPage applications for our Portal, I have since re-written only 2 in WebDynpro, but the others can rewritten easily, but I haven't had the time.   My goal is to get rid of JSPDynPage completely from our portal applications and go with Web Dynpro.
    I think it would be very good for a beginner to learn JSPDynPage first.  This will give him a chance to know a little about what is going on underneath.  Since you have to code every part of the application, you learn things that you wouldn't using a tool like WebDynpro.  After getting the hang of JSPDynPAge, then learn WebDynpro,  you will quickly appreciated the value of Web Dynpro after doing JSPDynPAge.
    Visual Composer is designed for the "Business Analyst" type developer, this is why there is no code writing with VC.  It does allow for rapid development of "Simple" applications, but if there are some complex things in your application, VC will not cut it, Web Dynpro would be the next choice.  So no,  VC will not replace WD.
    Regards,
    Rich Heilman

  • Mimicking SAP search functionality for Web Dynpro inputfield

    Hello Experts,
    I am using NWDS 7.0.18. EP 7.00 SPS 18
    I want to mimic the standard SAP functionality of an input field search values in web dynpro.
    Is it possible to have an inputfield with the little square search values button next to it, so that after I type in a few characters in the input field and click the button, a window will open up and list the values that contains that string? Then the user can double click the value and it will get populated into the inputfield?
    Any suggestions?
    Regards,
    MM

    Hi Marshall,
    You can easily use the IModifiableSimpleValueSet for getting the value help attached to input field. Follow these steps:
    1) Create a attribute under somenode in the view context. 
    2) Bind the atribute with the input field.
    3) Use the following code:
    IWDAttributeInfo list =wdContext.node<Node_Name>().getNodeInfo().getAttribute("ATTRIBUTE_NAME");
    ISimpleTypeModifiable type = list.getModifiableSimpleType();
    IModifiableSimpleValueSet valueSet = type.getSVServices().getModifiableSimpleValueSet();
    valueSet.put("value1", "value1");
    valueSet.put("value2", "value2");
    valueSet.put("value3", "value3");
    valueSet.put("value4", "value4");
    Also please note that webdynpro does not support the feature what we have in ABAP when we type in some value and hit enter a pop up comes with the list of values. Such feature is not supported. The maximum what you can do is just hit the F4 button to get the value help and select some values from the value help popup which has come.
    I hope this solves your issue. Please revert back in case you need any further information on this. 
    Thanks and Regards,
    Pravesh

  • Web Service access from WEB Dynpro

    Hi,
    I have requirement to pass the values from web dynpro to .NET cross application can any body guide me?
    Regards
    Srini.

    hi
    Check for the methods like setuser and set password for your webservice
    Request_<webservicename> request=new Request_<webservicename>();
        wdContext.nodeRequest_<webservicename>().bind(request);
        wdContext.currentRequest_<webservicename>Element().modelObject()._setUser("sdnuser");
         wdContext.currentRequest_<webservicename>Element().modelObject()._setPassword("sdnuser");
         wdContext.node<webservicename>Request().current<webservicename>RequestElement().setRequest(company);
         try
                   wdContext.currentRequest_<webservicename>Element().modelObject().execute();
         catch (Exception e) {
              wdComponentAPI.getMessageManager().reportWarning("Exception:"+e);
    Hope this helps,
    Regards,
    Arun

  • How to find a BADI to change the default value of a Web Dynpro Screen?

    Hello Experts!!
    My requirement is as follows-
    The SAP cProjects Distribution Functions screens default the Calculation Base to “Per Day”(This is represented via the initially-selected value in a listbox). The requirement is to make it deafult to the current standard “Per Month” (This also appears in the list box).
    Is there any BADI to achieve this?
    I tried putting a debug point in the Get_Instance method of the class cl_exithandler to find all the BADIs associated with the screen. I got a bunch of BADIs with no luck. And now I am not even able to debug anymore as the debuger is not opening. Can anybody tell me why this is happening? It was working two days before. And yes I have read all the posts about debugging a web dynpro application and I am doing everything that is mentioned there- I have set an external debug point and I have checked the "IP Matching" checkbox against my name in the workbench, but, with no luck
    Any help on this will be greatly appreciated.
    Thanks and Regards,
    Smitha

    You can't do this on a running VI. If you have an idle VI, you can open a reference to that VI and use an invoke node with the Make Current Values Default method, but that will only work in LV (i.e. not in an EXE) and will affect all the controls. What you can do is save the values to a file and load them when the program starts. OpenG's File I/O package includes some VIs which will help you with that.
    Try to take over the world!

  • Access KM predefined property values from a Web Dynpro application

    Hi,
    I am trying to build a custom search interface in Web Dynpro which leverages the KMC Indexing and Search services.
    In this interface I would like to display value lists of predefined properties in KM (created using the Property Metadata Service) and bind each predefined property's value list to a checkbox group UI element.
    Which KM API should I use to retrieve the values of a specific predefined property ?
    When using the standard flexible user interface in the portal this can easily be achieved through configuration, but now I would like to know how to achieve this in Java code.
    Thanks in advance for your input.
    I have some idea on how to get the propertymap from a resource, but how can I access the metadata of a predefined property in KM directly ?

    Hi Theo, i'm working on something like this, i have a WD application that is accessing Km through a Webservice, on the webservice ejb i have this problem:
    IResourceFactory resFactory = ResourceFactory.getInstance();
    IRepositoryServiceFactory serFactory = resFactory.getServiceFactory();
    IPropertyConfigurationService propConfigService = (IPropertyConfigurationService) serFactory.getService("PropertyConfigurationService");
    IMetaNameListIterator i = propConfigService.getMetaModel().nameIterator();
         while (i.hasNext()) {
         IMetaName metaname = i.next();
         if ( metaname.getDocumentPatterns()!= null){
         propertyData.setId(metaname.getName());
         propertyData.setName(metaname.getLabel(locale));
         propertyData.setNamespace(metaname.getNamespace());
         propertyData.setDescription(metaname.getDescription(locale));
                    propertyList.add(propertyData);
    On this line serFactory.getService("PropertyConfigurationService") i get the following error on the trace:
    #System.err#sap.com/KmmsListEAR#System.err#Guest#2####30a27fa0cbfa11dbace30018de0545f1#SAPEngine_Application_Thread[impl:3]#Error##Plain###Configuration Framework error: unable to create an IConfigClientContext instance from an EP5 userInitialConfigException: The configuration service locator could not be initialized for any of the environments. The configuration framework is not available.#
    #System.err#sap.com/KmmsListEAR#System.err#Guest#2####30a27fa0cbfa11dbace30018de0545f1#SAPEngine_Application_Thread[impl:3]#Error##Plain###InitialConfigException: The configuration service locator could not be initialized for any of the environments. The configuration framework is not available.
    Do you have any idea of how to solve this? or if you accomplished in a different way, can you guide me a little bit.
    Thanks in advance Theo

  • How to Change a Default Value from Drop Down Box displayed in Web Dynpro?

    Hi,
    How to Change a Default Value from 'High' to 'Low'  in a Drop Down Box for RANGE field displayed in Standard Web Dynpro Component.  I saw a Default Value set for a RANGE field  in View Context When I select that field and click on Display. I am seeing Default Value set it to 'HI'. Please let me know how to change from HIgh to Low.
    I appreciate your help!
    Thanks,
    Monica

    hi,
    use the set_attribute( ) method now to set the attribute with a particular key eg HIGH in ur case
    // u can use the code wizard( control +f7) this code will be auto generated when u select the
    //radio button to read the context node
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
      DATA ls_cn_node TYPE wd_this->element_cn_node.
    * navigate from <CONTEXT> to <CN_NODE> via lead selection
      lo_nd_cn_node = wd_context->get_child_node( name = wd_this->wdctx_cn_node ).
    * get element via lead selection
      lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    * set single attribute
      lo_el_cn_node->set_attribute(
          name =  `ATTribute name.`
          value = 'LOW' ).
    it will solve ur query ..
    also refer to this component
    wdr_test_events -> view dropdownbyidx and dropdownbykey ->method name onactionselect.
    regards,
    amit

  • Storing user defaults of Web Dynpro application on portal

    Hi folks,
    I am trying to develop Web Dynpro application that runs in an iView on a portal. I would like to remember certain user defaults for this application (e.g., user default plant). User also has control over this value, so whenever they change it, the value should be update on a backend as well.
    My first thought was to use PCD, but I am not sure how to do that - all the code examples for I found for PCD looked like they were created for portal application, not Web Dynpro ones.
    Anybody here actually done anything similar?
    Edited by: Alexei Isaev on Jan 29, 2008 8:20 PM

    Hi Alexei,
    If you need to store default values for a portal application, you may consider your development in Web Dynpro for ABAP.  I have not come across application level personalisation yet in Web Dynpro for Java, unless someone else can throw some light here.
    Regards,
    Subramanian V.

Maybe you are looking for