How to maintain a state in webdynpro?

HI Experts,
I have one  node and some value attributes(dynamic attributes) in this node.
I am using these dynamic attributes in wdDoModifyView() to customize my table.I am setting the customisation properties in the Customization view and when I click "OK",the table is getting changed in the Table view.Everything is working fine.But when I again try to customize the table ,I open the Customization view ,the previously modified changes are not there in the Customization view  .Customization view is not holding the state.Its getting reset.
Please suggest me how to retain the state.
Regards
-Sandip

HI Ayyaparaj,
I did it in the same way.I created the node in the component controller and maped it with the the two views (Table View and Customization View).The first time when I customize,its working.But next time when I open the Customize view,Customize view not holding the previous state.
Do i need to do any setting in the Node property?
Please suggest me.
Regards
-Sandip

Similar Messages

  • How to maintain the state in Extn

    Dear all,
    I have created the extn using creative suite for photpshop. when i click my extn name, it will initilize everytime. e.g.if user login the extn and he/she will close the extn. Aftre that when user again hit on my extn. it will initilize, and ask for login again. how could i maintain the state in that case? Any suggestion or solution will appreciated..

    Hi,
    use a setPropertyListener to save the row key of this select item and then restore this key as the current selected key.
    Frank
    Ps.: I don't ask why you call clearForRecreate() on the iterator. I am sure you have a reason.

  • How to maintain muline header using webdynpro

    Hi Friends,
    please let me know how shall i maintain muline header in a table ( eg: in a single colum i want to provide Qty,UOM,Price
    S.NO ITEM       Desc       Qty
                                          UOM
                                          Price
    OR
    i want to split the same header line in two lines.
    pleas suggest me.
    Thanks,
    Mahesh.Gattu

    Hi Mahesh,
    This is not possible even in ABAP ALV with any methodoligy(with FM's, OOP's with New and Old classes). Why because if you instert the column like our own format it will distrubr the table functionality. It will be problem for Accessibility rule. I think you know about the Accessibility issue. Its like screen reader must be read the screen and the bilnd people also has to be understood correctly.
    Thats why this option is not avilable in SAP.
      I hope this information will help you to give answer to your click also.
    Warm Regards,
    Vijay.

  • How to maintain the state in the cluster environment?

    HI Guys,
    I had a list with String values.I deployed the project in the cluster.
    I had a get method which will be invoked by servers in the cluster.
    when the request given by first server. it has to remove the first value in the list.
    when the request given by other server,it has to remove the next value in the list.
    So how to achieve this functionality?
    Regards,
    Praveen

    Hi,
    use a setPropertyListener to save the row key of this select item and then restore this key as the current selected key.
    Frank
    Ps.: I don't ask why you call clearForRecreate() on the iterator. I am sure you have a reason.

  • How to maintain the state of a spry collapsible panel

    how can i get the index of an open collapsible panel dynamically... i've used two collapsible panels...if the second panel is open, then after page refresh, automatically the second one closes and the default one i.e. the first panel opens....

    It is best if you supply a link to your site so that we can see for ourselves what you need to do thus eliminating the need for me to ask you if you have used a collapsible panel group or two single panels. Also it would save my time in trying to reconstruct what I think it is what you want.
    Gramps

  • How to maintain session state in APEX

    Hi friends,
    I have a form with two page items and two buttons( submit ----->submits the page and inserts a record, cancel ------>redirects to other page)
    *)p1_A
    *)p2_B
    If i entered a value in the page item p1_A and p2_A, and after that without pressing "Submit" Button im pressing "Cancel" button means it is redirecting to the other page and again if i came back to my form page means, the values that i entered in the page item
    *)p1_A and p2_B is disappearing.
    Is is possible to maintain a values entered in the page item (p1_A and p1_B) without submitting it and navigating to some other page.
    Brgds,
    Mini

    Hi Peter,
    Thanks for the reply.
    Generally i have two page 1 and page 2
    page 1 contains 2 page items
    <li> P1_A
    <li> P1_B
    in the page 1 itself i have a list called po order.
    If i clicked that list po order means, it is navigating to the page 2. My page 2 also contains below two items and a button BACK
    <li> P2_A
    <li> P2_B
    After i entered the values in P2_A, P2_B and if i press the back button means, it is redirecting to the page 1. Again if i click the list po order means it is navigating to the page 2 but the values that i entered in P2_A, P2_B is disappeared.
    Whether it is possible to maintain the values that i entered in the page items P2_A, P2_B soon after redirection. Mainly im not submitting page 2, just redirecting back to it.
    settings to do that at the Button settingsAnd u said of doing that settings in the button that i have in page 2.
    yes i found the option set items with the values
    set item: P2_A  with values: &P2_A.
    But it didnt worked. Am i wrong.
    Kindly help me with this issue peter.
    Brgds,
    Mini

  • How to maintain the state of apex_application items

    Hello all,
    I am having a tabular form using apex_application items, In the first column I am having a select list, user is going to select one value from select list and the other columns in that row are populated accordingly.
    Problem is here when user does not found a value in select list, there is a button for adding a new value, when user completes adding the value, I am refreshing the page containing tabular report to display the new value added, in the select list, the thing is that when users selects values in first two rows and in third row he does not found the value he needs and added that value using add form, when user returns back all the previous rows data is vanished, what should I do to retain the previous rows data?
    Thanks
    Tauceef

    Hi Tauceef,
    when refreshing the page the query is executed again. Everything that wasn't saved/submitted before is gone.
    So either save before page refresh or don't refresh the page but only the select lists (using some AJAX magic).
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at

  • How to maintain the state(opened/closed) of a Hierarchical expanding list

    Hi,
    I've created a list with template "hierarchical expanding". When I click on the list node to go to a page, page related to the node appears but the tree doesn't remain expanded. It always shrinks back to the highest level.
    Please suggest a solution.
    Regards,
    Gaurav.

    Hi,
    use a setPropertyListener to save the row key of this select item and then restore this key as the current selected key.
    Frank
    Ps.: I don't ask why you call clearForRecreate() on the iterator. I am sure you have a reason.

  • How to maintain the hover state of a button while it is in it's current page?

    Hi,
    I'm just a beginner in actionscript 3. I have this code about navigation using movieclip buttons. I just made the currently selected button disabled when it is in the current page but I just cant figure out on how to maintain it in its hover state (It keeps on returning to its normal state). Any ideas, your help will be very much appreciated. Thanks.
    Here's the code I've written on the first frame on the main timeline(scene1), I have 4 buttons namely mcButton1, mcButton2, mcButton3, mcButton4 and 4 labeled frames, page1, page2, page3 and page4.:
    var page:String;
    var btnArray:Array = [mcButton1, mcButton2, mcButton3, mcButton4];
    var pageArray:Array = ["page1", "page2", "page3", "page4"];
    for (var i:int = 0; i < btnArray.length; i++) {
        btnArray[i].buttonMode = true;
        btnArray[i].addEventListener(MouseEvent.CLICK, onMouseClick);
        btnArray[i].addEventListener(MouseEvent.ROLL_OUT, onMouseOut);
        btnArray[i].addEventListener(MouseEvent.ROLL_OVER, onMouseOver);
    function onMouseClick(event:MouseEvent):void {
        for (var i:int = 0; i < btnArray.length; i++) {
            if (event.currentTarget == btnArray[i]) {
                btnArray[i].mouseEnabled = false;
                page=pageArray[i];
                play();
            else {
                btnArray[i].mouseEnabled = true;
    function onMouseOut(event:MouseEvent){
            event.currentTarget.gotoAndPlay("out");
    function onMouseOver(event:MouseEvent){
            event.currentTarget.gotoAndPlay("over");

    use:
    var lastClickedButton:MovieClip;
    var page:String;
    var btnArray:Array = [mcButton1, mcButton2, mcButton3, mcButton4];
    var pageArray:Array = ["page1", "page2", "page3", "page4"];
    for (var i:int = 0; i < btnArray.length; i++) {
        btnArray[i].buttonMode = true;
        btnArray[i].addEventListener(MouseEvent.CLICK, onMouseClick);
        btnArray[i].addEventListener(MouseEvent.ROLL_OUT, onMouseOut);
        btnArray[i].addEventListener(MouseEvent.ROLL_OVER, onMouseOver);
    function onMouseClick(event:MouseEvent):void {
        for (var i:int = 0; i < btnArray.length; i++) {
            if (event.currentTarget == btnArray[i]) {
                //btnArray[i].mouseEnabled = false;
    lastClickedButton.gotoAndPlay("out");
    lastClickedButton=MovieClip(event.currentTarget);
                page=pageArray[i];
                play();
            else {
                btnArray[i].mouseEnabled = true;
    function onMouseOut(event:MouseEvent){
    if(lastClickedButton!=event.currentTarget){
            event.currentTarget.gotoAndPlay("out");
    function onMouseOver(event:MouseEvent){
            event.currentTarget.gotoAndPlay("over");

  • How to add Image dynamically in Webdynpro ABAP

    Hi Experts,
    How to add Image dynamically in Webdynpro ABAP.
    My requirement is i maintain all the images in a table.
    image source has to pick the table URl dynamically and display.
    is that possible in webdynpro?
    and also please give the suggesion,
    without using MIME objects is that anyway to get images?
    Thanks in advance.
    Regrads,
    Jeyanthi

    Hi,
      are those icons wou want to display then. he following code will be useful.
    data : lo_IMG type ref to CL_WD_IMAGE.
    LO_IMG = cl_wd_IMAGE=>new_IMAGE( id = img_id SOURCE = 'ICON_BW_APD_TARGET' tooltip = sts_tltp ).
    lo_cont->add_child( the_child = lo_img ).
    here lo_cont is the container where you want to add the image dynamically and source is the attribiute through which you can change the ICON image. this thing you can getit from data base table and change accordingly.
    Regards,
    Anil kumar G

  • How to maintain bitmap index on a large table in DW?

    Hi all,
    We have many tables which are constantly doing either FULL or INCREMENTAL loading.
    And we have created many BITMAP indexes and several B*Tree index (caused by PRIMARY KEY or UNIQUE key constraints) on those tables.
    So, what I want to know is, how to maintain those BITMAP (and B*Tree) indexes for different loading mode?
    like, should I drop the index before the full load and re-create it after that?
    and do nothing in INCREMENTAL loading? I am aware that it will take more time to load with indexes.
    any links, books, articles or opinions would be highly appreciated.
    Thanks

    Just to reiterate, add to what Adam said. From Oracle Doc
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/indexes002.htm#CIHJIDJG
    Unusable indexes
    An unusable index is ignored by the optimizer and is not maintained by DML. One reason to make an index unusable is to improve bulk load performance. (Bulk loads go more quickly if the database does not need to maintain indexes when inserting rows.) Instead of dropping the index and later re-creating it, which requires you to recall the exact parameters of the CREATE INDEX statement, you can make the index unusable, and then rebuild it.
    You can create an index in the unusable state, or you can mark an existing index or index partition unusable. In some cases the database may mark an index unusable, such as when a failure occurs while building the index. When one partition of a partitioned index is marked unusable, the other partitions of the index remain valid.
    An unusable index or index partition must be rebuilt, or dropped and re-created, before it can be used. Truncating a table makes an unusable index valid.
    Beginning with Oracle Database 11g Release 2, when you make an existing index unusable, its index segment is dropped.
    The functionality of unusable indexes depends on the setting of the SKIP_UNUSABLE_INDEXES initialization parameter. When SKIP_UNUSABLE_INDEXES is TRUE (the default), then:
    •DML statements against the table proceed, but unusable indexes are not maintained.
    •DML statements terminate with an error if there are any unusable indexes that are used to enforce the UNIQUE constraint.
    •For nonpartitioned indexes, the optimizer does not consider any unusable indexes when creating an access plan for SELECT statements. The only exception is when an index is explicitly specified with the INDEX() hint.
    •For a partitioned index where one or more of the partitions are unusable, the optimizer does not consider the index if it cannot determine at query compilation time if any of the index partitions can be pruned. This is true for both partitioned and nonpartitioned tables. The only exception is when an index is explicitly specified with the INDEX() hint.
    When SKIP_UNUSABLE_INDEXES is FALSE, then:
    •If any unusable indexes or index partitions are present, any DML statements that would cause those indexes or index partitions to be updated are terminated with an error.
    •For SELECT statements, if an unusable index or unusable index partition is present but the optimizer does not choose to use it for the access plan, the statement proceeds. However, if the optimizer does choose to use the unusable index or unusable index partition, the statement terminates with an error.
    Incremental load really matters the volume and whether for new dats you just add new partitions or subpartitions . If my incremntal go all over place and/or if I am touching few thousand rows. Yes might want to keep the indexes valid and let Oracle maintain it. IF millions added or incremental data just added to new part/subpart . Keeping indexes unsable for those partitions/subpartitions and the rebuilding it later may yield better results.

  • How to use CASE statement in WDA

    Hi All,
       Can any one Please expain me ' How to use CASE statement in Web dynpro ABAP? '
      Please give me an example also.
    Thanks in Advance !

    Hi,
    The usage of case statement in webdynpro is same as used in general ABAP.
    Data: l_id type string.
    l_id = wdevent->get_string( 'ID' ).
    case l_id.
    when 'BTN1'.
    when 'BTN2'.
    when 'OTHERS'.
    endcase.
    Regards,
    Radhika.

  • Maintaining Session State

    Hello,
    Does anyone know how to maintain session and application variables through server restarts? I want to be able to shutdown and startup my Tomcat server without having the users lose their session and application variables (and consequently, their data and login state).
    Any ideas?
    Thanks!
    -David

    I dont think its possbile since stopping and restarting gets new sessions. Only way that I would know would be to use cookies.
    But then again i dont like the idea of saving passwords in cookies

  • Maintain Jtable state!

    Hi,
    In my software I browse a lot of files, csv & xls files and load them onto JTable. Each jtable is in different JInternalFrame, now the problem is when I refine the data. How am I suppose to treat each Jtable as different and maintain its state?
    Eg. If there are two files FileA and FileB opened, and I want to add 5 to each value in FileA and add 8 in FileB then how do I do that simultaneously. The logic for calculating will be the same for both but they should be opening different panes for each and the calculation command is not given together they are given separately in their frames simultaneously by right clicking on the jtable

    Create a loop and updated each table separately.
    Other than that you question is too vague to give a better reply.

  • How to maintain a timer

    Hi,
    in my program i am executing a set of select statements and i need to calculate the time taken to execute those. how to maintain a timer for this ? what statements to use ?
    thanks

    This was Rob's replies in a similiar post:
    You can do this:code
    data: start TYPE i,
    end TYPE i,
    dif TYPE i.
    GET RUN TIME FIELD start.
    SELECT SINGLE bukrs belnr gjahr blart budat
    FROM bkpf
    INTO (cc, doc, fy, doc_ty, pst_dt)
    WHERE bukrs = p_bukrs
    AND belnr = p_belnr
    AND gjahr = p_gjahr.
    GET RUN TIME FIELD end.
    dif = end - start.
    WRITE: /001 'Time for select',
    067 ':', dif, 'microseconds'.
    [/code]Rob

Maybe you are looking for

  • Can i have more than one phone number on my itunes account?

    My son and I use the same apple ID. He has a separate phone number to me and wants to use imessage on his ipad. How can I set up my account to use more than one mobile number?

  • "Loop invariant code motion" Did you know this and why didn't you tell me?

    I'll provide the answer if nobody replies but I'll let y'all discover this yourself. Have fun, Ben Ben Rayner I am currently active on.. MainStream Preppers Rayner's Ridge is under construction Solved! Go to Solution.

  • I have a simple movie clip/ button question

    I have a simple movie clip on my scene 1 frame 1.  Inside that movie clip I have another movie clip, with a button on top that controls that mc.  Also have another movie clip with a button on top that I would like to take me back to scene 1, frame xy

  • I can't import cda files into itunes from a disc

    I have a disc of 7 audio tracks that were recorded on a Mac and burned onto a CD using itunes. I was given this disc but I can only get the audio files to play on a PC. I have tried all methods of importing/copying into iTunes but it doesn't work - i

  • Deleting Contacts on phone (but keep them on my mac)

    Is there a way to delete contacts on my iPhone but keep them on my Mac (Macbook Pro) or vise versa.  I use iCloud, so Im not sure.  Some people I no longer need to contact via phone, but would still like to keep their contact info, in case I ever nee