Dynamic programming-display UI elements dynamically.

Hi All,
    Can anyone provide me with code snippet for displaying various UI elements on the view dynamically. Also I need to show tree dynamically i.e. its subnode should be created dynamically as per my select query result. Please help me.
Its urgent!
Thanks in advance!
Cheers,
Darshna.

Hi,
see <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/44/b784d8352056a2e10000000a1553f6/frameset.htm">DEMO_DYNAMIC</a> and <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/94/29984197eb2e7be10000000a1550b0/frameset.htm">here</a> and take a look at the blogs by Thomas Szuecs.
Regards, Heidi

Similar Messages

  • How to display UI elements dynamically on the click of a radiobutton

    hi all,
    I have created two radio buttons rb1, rb2 dynamically.  If i click on rb1, ......
    one label, one inputfield (ie., some UI elements ) must be displayed in the same view & if i click on rb2, other UI elements must display. 
    can anyone tell how to display UI elements which were created dynamically on the click of a radio button.
    thanks & regards,
    vila

    Hi,
    1. Create a context attribute name visible1 of type type     com.sap.ide.webdynpro.uielementdefinitions.Visibility(using brose button in the type property of context)
    2. Bind this context to all tha elements of that you want to make visible when radio button 1 is clicked to their visibility property.
    3. Create a context attribute name visible2 of type com.sap.ide.webdynpro.uielementdefinitions.Visibility(using brose button in the type property of context)
    4. Bind this context to all tha elements of that you want to make visible when radio button 2 is clicked to their visibility property.
    5. Create actions for both radio button1 say action1 and for radio button2 say action2.
    6. In action1 write this line of code
    wdContext.currentContextElement.setVisible1(WDVisibility.VISIBLE);
    wdContext.currentContextElement.setVisible2(WDVisibility.BLANK);
    7. In action2 write this line of code
    wdContext.currentContextElement.setVisible2(WDVisibility.VISIBLE);
    wdContext.currentContextElement.setVisible1(WDVisibility.BLANK);
    Regards,
    Murtuza

  • Display grouping elements r repective page footers in hyp:IR STUDIO

    Hi All ,
    I am facing a problem with Hyperion IR Studio at the time of display grouping elements in receptive page footers.
    eg: say I have a group 'A' and its corresponding elements are like A1,A2,A3....
    If query(from dashboard) for report related to Group 'A'..My report shows the data related to all its elements(A1,A2,...).I need to show these grouping elements in the page footer on their corresponding pages, for example, my report has generated with first 4 pages related to Grouping element 'A1' and next two pages(5th,6th) for grouping element 'A2'..here I need to show 'A1' in the page footer on first 4 pages and 'A2' on 5th & 6th pages and like-wise.
    Is there any possibility that we can show grouping elements in their receptive page footers...
    Hyperion :-
    Version : IR reporting studio 11.1.1.3
    Thanks in Advance,
    Srini

    hey, I just realised, that you have the same problem as me, though mine is a studio xps1340 with a 9500M.
    Did you make any progress in configuring your xorg.conf or anything else? Please say yes...

  • Why does the folder "C:\Program Files\Adobe\Elements" open automatically when I start my PC?

    Why does the folder "C:\Program Files\Adobe\Elements" open automatically when I start my PC? How do I adjust settings to stop this from happening?

    Hi,
    This folder is probably treated as a program to run at startup.
    So you will have to look at the places where such programs are referenced.
    For instance, you may have a shortcut to that folder in your Start Menu > Startup.
    Or it may be in the Registry.
    Click on Start >  Execute, the type msconfig and click OK.
    This will show you in the Startup tab all the programs launched at startup.
    Astugev

  • How to display data elements in the tempalte header

    Hello friends
    i've this date_from and date_to parameters which are date parameters that user enters..
    based on these date parameters I want to display them in the header as
    day of date_from(for example if the date_from is 13-nov-2010.then I should display 13)and for date_to it should dispaly as 15 if for example the user enters
    16-nov-2010.(date-1's day)
    so it should break down to
    date_from-13-nov-2010, 13
    date_to- 16-nov-2010, 15
    I want these two values to be displayed in the header of the template how to do this
    pls help
    also let me know how to display data elements in the template header
    Edited by: erp on Dec 22, 2010 12:44 AM

    Hi Ananth..Thanks for ur timely reply
    Can I use it with <? substring(':date_from',1,2)?>
    where date_from is an input parameter which user enters at the run time of the report.
    I've to capture the date entered by the user and print it in the header..
    Pls reply

  • How to create an array in one field and have another field display certain elements from that array?

    I am making a form in Acrobat XI pro.
    In one text field, I created an array of several elements. I want other text fields to display certain elements from that array. For instance, one field should display the 3rd element, another field should display the 13th element, etc.
    The Javascript for making the array is very long, and so I don't want to have to re-calculate the array every single time (in order to reduce rendering time when I open the form on an iPad). This is why I'd like to only have to create the array once, and simply refer to it throughout the form.

    What code are you using to update the array currently? Are you completely rebuiding it when an element changes, or just changing specific elements for certain fields? I'm still not sure what exactly you are trying to do, but something like this in a document level script will create your array:
    var myArray;
    // Call 'updateArray' to initialize array
    updateArray();
    function updateArray() {
         // Code here to create/update array
         myArray = new Array();
         myArray[0] = "Value 1";
         myArray[1] = "Value 2";
         myArray[2] = "Value 3";
    Then, for each field that needs to update this array, you can add a call to 'updateArray()' in the appropriate event. This will rebuild the array completely; if you just want to update specific elements, then you can access them directly.

  • In Executable program displaying results in custom screen.

    Hi,
    I have a executable program,  when the program display's the out put of this program I need to display output in custom screen (like screen 100) instead of displaying in default List screen.
    Can any one tell me how to create and display output in that screen.
    Thanks.
    Chris.

    Hi,
      Check the pseudo code....
    <b>Start-of-selection.</b>
    Retrieve data
    <b>End-of-seleciton</b>
    call screen 0100.
    <b>*PBO</b>
    form PBO_200 output.
    endform.
    <b>*PAI</b>
    FORM PAI_200 input.
    endform.
    To call Screens use any of the following commands
    <u><b>1. CALL SCREEN scr.</b></u>
    Addition:
    ... STARTING AT x1 y1 ... ENDING AT x2 y2
    <b>Effect</b>
    Calls the screen scr; scr is thenumber of a screen of the main program. You use SET SCREEN 0. orLEAVE SCREEN. to define thereturn from the CALL screen.
    <b>Addition</b>
    ... STARTING AT x1 y1  ENDING AT x2 y2
    <b>Effect</b>
    The coordinates x1, y1 (start column andstart line in the window) and x2, y2 (end column and endline in the window) define the size and position of the CALLscreen ("top left - bottom right"). Besides these coordinates,you can also see the contents of the primary window, but cannot performany action there.
    <b>Note</b>
    If "ENDING AT ..." is not specified, suitablevalues are substituted for x2 and y2, taking into accountthe size of the called screen.
    <b>Note</b>
    <b>Runtime errors:</b>
    DYNP_TOO_MANY_CALL_SCREENS: No further screen level (callscreen); the maximum number of nested screen levels is restricted to 50at present.
    2. <u><b>SET SCREEN scr.</b></u>
    <b>Effect</b>
    In ABAP dialogs: Sets the number of the nextscreen.
    Screen number scr is then processed when the current screen has finished.
    <b>Example</b>
    SET SCREEN 200.
    <b>Notes</b>
    To leave a CALL SCREEN chain or return to the application menu, use one of the followingstatements:
    SET SCREEN 0. or LEAVE TO SCREEN 0.
    I hope this solves your problem.
    Regards,
    Vara

  • Is it possible to display cost element , being categorized as '12'?

    Hi CO Guru,
    I am trying to query 'S_ALR_87012997' cost element by order.
    but it just shows only cost element being categorzied as a primary cost.
    Is it possible to display cost elements being categorized  '12'-sales deduction in this report?
    If not, how could it be possible to show cost elements-'being defined as 12' sales-deduction  by order type?
    Sincerely.
    Jimmy

    Hi,
    Cost Element Category 12 is assigned only for Primary costs.  Secondary Costs are basically assigned with 21, 31, 41 till 61.  Pl. clarify whether you have created the cost element as Primary.  The report which you had mentioned is a standard report which normally displays all cost elements.  If you still face the problem, you can copy that report and write a new report with the value fields required. 
    Thanks
    Krishna.

  • Code for displaying the elements of ArraList and HashMap

    hi..im new to java ..
    tell me the code for displaying the elements of ArraList and HashMap

    myj-ava wrote:
    wt abt displaying the elments of HashMap?plz..give clear codehey, this is not a code-giving service. This is a forum of volunteers who help others who have specific questions. I find that the greatest help is given to those who have shown that they've put in at least some effort. You have shown none. Please look at the Sun tutorials first, then come back with a specific question if anything there confuses you.

  • Display vector elements

    is it possible (with jsf tags) to display the elements of a vector one next to the other and not in a column as with dataTable?

    I solved with my faces' dataList!

  • How to display last element in a dynamic 1d array

    hi..
    i want to display the value of last element in a 1d dynamic array.../ i mean ..if i stop the vi run, i need to display the last element in the array..how can i do this?
    and is there any way to use a button to start the vi...instead of using the Run button on the vi front panel??
    Solved!
    Go to Solution.

    Index array!.  Use array size to determine the size of your array, subtract 1, feed that in the index terminal of Index Array.
    You have to start the VI running somehow.  It could be set to run when opened.  Assuming what you want is a means to type values into a front panel, hit a GO button that you created on the front panel, then have the real part of the VI execute.  You could use an event structure.  Or put a while loop at the beginning with a small wait statement in side that basically just polls the GO button.  When that button is pressed, the true boolean stops the while loop and allows the program to proceed to the main body of your program.

  • Please send example programs  to create elements in struts dynamically

    Please I need some example to understand how to
    create dynamic elements(like option box,check,radio) using
    <html:options> some thing like that.
    If you have example programs please send it to my
    id "[email protected]" or otherwise please suggest some
    website where i get that knowledge ( or) send some materials
    regarding ths.
    Thanks in Advance..

    Your on the wrong forum. please post your questions to right forum

  • A conversion error occurred while the program -- display data on the screen

    HI all,
    Iam getting a dump error described below:
    A conversion error occurred while the program was trying to
    display data on the screen.
    The ABAP output field and the screen field may not have the
    same format.
    Some field types require more characters on the screen than
    in the ABAP program. For example, a date field on a screen needs
    two characters more than it would in the program. When attempting to
    display the date on the screen, an error will occur that triggers the
    error message.
                  Screen name.............. " Ztable_MM_MRQ "
                  Screen number............ 0100
                  Screen field............. "WA_PO_ITEMS-MENGE"
                  Error text............... "FX015: Sign lost."
    Further data:
    Give us step by step procedure to rectify the same with T.codes
    Thanks
    Regards
    Siraj

    Raymond
    please give details in se51 where i have to put a "V"  to allow negative amounts
    whether it is in Text or I/O templates
    name                                     type of screen element         Text or I/O field
    WA_PO_ITEMS-MENGE     Text                           PO_quantity__     
    regards

  • Display Cost Element Groups linked to a Cost Element.

    Hi ABAP Gurus,
    I am creating a program which displays a list of Cost Element Groups (maximum 10 levels) linked to a Cost Element(s) entered by the user at the selection screen.
    What I did was selecting first at SETLEAF and then at SETNODE.
    But when I was about to create the final internal table which will be used to display the data, I found out looping 10 times which is not good.
    Can you suggest as to what needs to be done on this?
    Thank you so much for your help.
    Regards,
    Onyx

    try fm K_KKB_SET_DISSOLVE
    grx
    Andreas

  • Program displaying technical codes in the selection screen during execution

    Hi Gurus
    I am facing problem during the execution of the newly created program that during execution of program selection screen is displaying technical codes.
    from where to change the settings so that it should show the description
    Regrads
    Manvir

    Hi ,
    goto se38 ..give ur code name and select change...now on the top u will see Goto..
    follow this path Goto >Text Elements > Selection text.
    Now you can give the name u want..
    regards,
    Anuj

Maybe you are looking for