How to add all value of the one column ?

Hi All,
i created my UI project based on Human task flow.The jspx page contains one table.In table we have one column Amount. i want to add all row value of column amount which i used for some custom validation.
Because this is automatically generated project so we do not have any VO.and also i saw my UI af table is pointing to one xml file where all the attribute are present.
So please let me know how can achieve my validation scenario.
Thanks

Hi,
the table is bound to a tree binding in the PageDef file. This tree binding is bound to an iterator. You can access this iterator from Java
BindingContext bctx = BindingContext.getCurrent();
BindingContainer bindings = bctx.getCurrentBindingEntries();
DCIteratorBinding iter = (DCIteratorBinding) iter.get("Name of the iterator");
You can now iterate over the iterator and for each Row you call row.getAttribute("Amount") to the amount value
Frank

Similar Messages

  • How to add field value to the standard table

    Hi,
    How to add field value to the standard table?
    for example:
    when we go to TCODE SE16-> VBAK table -> on the selection screen if we press F4 against VBTYP we get all the available values for that field. How to add a new document Category value to this field so that it shows up in F4 help for that field.

    Hi Asif,
    I don't think it is possible and feasible for adding new field value to the field VBTYP because it is not possible through SPRO.
    If u see the domain of this field VBTYP we have fixed values provided by SAP. There is no value table for this. If u have value table then it will be updated through SPRO. But still if u really want to add some value u can do that by getting access key and add the value in the fixed values of the domain. But of no use other than simply displaying in F4. Because for what ever value u created here there will be no documents in VBAK or any table using this domain.
    Hope this is clear for u.
    Thanks,
    Vinod.

  • How to add STRS2  value in the EDI order

    Hi Friends,
    I have to add one extra field STRS2 in the Idoc segment
    Field STRS2 ( CHAR 35 ) - "This field represents the second line of street address for vendor."
    We are not getting the value of  STRS2 on the  EDI Order.
    If we need it, how we have to proceed.
    Any one can guide with detaild information including where to change the code and all.
    Regards
    Kumar

    go to table TBDME and then pass the message class and execute then you will be getting the function module name.
    Then get into the source code of function module and search for call customer, it will give you the available exits..Then check out whether you will be getting that segment values in that exit.
    Hope it helps.
    Reward if it is useful.
    Thanks,
    Srinivas

  • How to add round image inside the table column? with different background color, column value should appear in the middle of the round portion.

    Hi
    This question is related to table component implementation.
    I want to display the column values inside the small round image with different colors and value should appear in the middle.

    Hi,
    >>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?<<
    I’m sorry for the issue that you are hitting now.
    This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
    http://sourceforge.net/projects/itextsharp/
    Thanks for your understanding.
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to get all values in the range of select option into internal table?

    Hi,
    I need to capture all entries coming in the range of select option into one internal table.
    How to do get that?
    For E.g
    select-options: matnr for mara-matnr.(select option)
    IF I enter G0100013507892 as lower value of matnr and G0100014873947 as higher value
    and if there are 10,000 materials in the above range, then I want to capture all theses 10000 materails in one internal table. How to do that?
    Regards,
    Mrunal

    Hello Mrunal Mhaskar  ,
    What i understand you can do one thing  go in debug mode
    Try this code : -
    LOOP AT s_matnr_ex.
      IF s_matnr_ex-low IS NOT INITIAL.
        i_matnr-matnr = s_matnr_ex-low.
        i_matnr-option = s_matnr_ex-option.
        APPEND i_matnr.
        CLEAR : i_matnr.
      ENDIF.
    ENDLOOP.
    LOOP AT s_matnr_ex.
      IF s_matnr_ex-high IS NOT INITIAL.
        i_matnr-matnr = s_matnr_ex-high.
        i_matnr-option = s_matnr_ex-option.
        APPEND i_matnr.
        CLEAR : i_matnr.
      ENDIF.
    ENDLOOP.
    In the i_matnr table high and low values are there.
    Regards,
    Vandana.

  • How to add default value to the Exclude single value in selection screen..

    Hi Experts,
    i have searched in sdn, but not able to get proper results,
    in my report i have a selection screen, in that there is a Select-option like status, for this status i need to exclude '02'
    for this i need to add the default value under exclude singale values option, not in lower and upper limit.
    can anyone help me...
    Regards,
    Sudha.
    Moderator message: please search for available information/documentation before asking, don't just claim you did.
    Edited by: Thomas Zloch on Oct 27, 2010 2:50 PM

    Hi,
    you can use the function module SELECT_OPTIONS_RESTRICT .
    This function module simplifies the handling of SELECT-OPTIONS on the selection screen by restricting possible selection options and signs.
    By calling this function module, you can restrict the number of selectio options available for the chosen selection field. You can also disable the function allowing users to enter values to be excluded from the selection (SIGN = 'E').
    Regards,
    S.Velsankar

  • Add a value from the cloud or internet in a cell

    How to add a value from the web,
    need to add the value of the conversion of € to $

    Is it possible to do it now?
    That depends on what the "it" is.   You can automate the data "scraping" part but you can't (until AppleScript support is restored) automate the "pushing" of the retrieved data to designated cells in Numbers 3. 
    Right now the best you can do is have AppleScript arrange the data in a specific format (the tab-separated flavor of "csv" character-separated-values currently works best) on the system clipboard and then you manually paste that where you want it in a Numbers 3.0 table. 
    If the data is already in table form on a website you can often (but not always) just copy-paste. Where AppleScript can be useful, even now, is where the data you want to retrieve is not already in tabular form.
    SG

  • How to display(binding) values in the table from more than one node?

    Hi,
    I have two nodes (TRIPS & AMOUNTS)in the context. How to bind these values into the table control?
    When i bind second one, first one is getting replaced.

    Hi Mog,
    Of course it is possible to create a table from attributes of more than one node, and in some cases this is still necessary, but you have to do this the hard (manual) way.
    If you have a table control, have a look at the properties and the elements belonging to it.
    First of all, there is the property "dataSource", which binds to a multiple node (let's name it TableRootNode). This means that for each element of THIS node, one row is created. In each row the data of exactly one element of this TableRootNode is displayed.
    Then you have columns in this table. Inside of the columns there is a header and an editor. The editor is the interesting part.
    Normally the primary property of this editor is bound to an attribute of the TableRootNode. Then everything works as expected. If it binds to an attribute of a subnode (SUB) of TableRootNode, then in row i the data of the subnode of the i-th element of TableRootNode is displayed. There is no need for SUB to be a multiple node, but it must not be a singleton.
    If you bind a property of the editor to an attribute, which does not lie in the subtree of TableRootNode, then you will see the same value in each row.
    Now it depends on the structure of your context. Take the node, which is relevant for the change in each row (I assume it is TRIPS) and bind the table to the node as you are used to. Then for each additional column, you have to create a new column in the tree, create a new header element with a title and a new editor (e.g. textview or inputfield) and then bind the right property of the editor to the corresponding attribute in node AMOUNTS).
    If these 2 nodes do not have parent-child-relationship, the tip to create a new node, which consists of the attributes of both nodes is the only solution.
    Ciao, Regina

  • How can i add two values under the same property?

    Hi all,
    How can i add two values under the same property name in a
    prop list? For example:
    [question1: "item1","item2", question2: "item3","item4"]
    To be more precise, i am creating a property list and I want
    whenever a two values have the same property name to be added int
    he list under the same property. For example:
    gMyList.AddProp (#""&question&"" & x,
    member("input").text)
    question is a variable that is updated fromt he user's input.
    Now, whenever somethign like this happens:
    question = "question1"
    member("input").text = "five"
    question = "question1"
    member("input").text = "six"
    I want to output list to be:
    [question1: "five","six"] and so on
    Any ideas?

    Maybe you could make each property a list (so you have a
    property list full
    of lists), and add multiple values to the list held in a
    particular
    property?
    Cheers
    Richard Smith

  • HT5824 how to merge all my contacts in one for all the iPhones and iPad

    How to merge all my contacts in one for all my Iphones and Ipad so that i have one contacts list in all my gadgets

    make an album titled whatever you want and then go to photos. select the photos you want and click the arrow ponting up on the left habnd corner. move them to the album you created and once your finished navigate to albums. once in your album go to the top right and click slideshow. You can add transitions and play music also when you click slideshow. Then you click start slideshow.

  • How can i get the all values from the Property file to Hashtable?

    how can i get the all values from the Property file to Hashtable?
    ok,consider my property file name is pro.PROPERTIES
    and it contain
    8326=sun developer
    4306=sun java developer
    3943=java developer
    how can i get the all keys & values from the pro.PROPERTIES to hashtable
    plz help guys..............

    The Properties class is already a subclass of Hashtable. So if you have a Properties object, you already have a Hashtable. So all you need to do is the first part of that:Properties props = new Properties();
    InputStream is = new FileInputStream("tivoli.properties");
    props.load(is);

  • How use "All Values" in the pages of pivot tables

    Hi everyone,
    I’m using Oracle Bi Answers and I have the following problem:
    I’m doing reports based in a datamart with 2 fact table each with about 28 Million records per month and with a medium of 14 dimensions.
    The users want to have the choice to select 5 parameters for example (region, district, type of product, month of analysis, subtype of product) where they can select an individual option as well as select an “all values” option. They want this for all the parameters.
    We are having problems doing this without having the report to timeout.
    Approaches used
    We are trying to do this by using pivot tables and combo boxes in the reports (one for each parameter). The combos are in the pages area.
    We are trying to do a calculated item with Sum(*) to have a “ALL Values” in the combo box but this makes the report extremely slow.
    We also tried to do Sum in the pages section of the pivot table but it only displays the “All pages value” of the first combo box.
    So actually I don’t know what to try. Can you help me with the best way to do this?
    Thanks
    Edited by: user8727081 on Sep 28, 2009 2:45 AM

    Hi,
    I had the same problem, and I solved it using the dashboard prompts.
    But sometimes users are not happy. I explaine why.
    Suppose a dimension Nation:
    Italy, Germany, UK, France, USA
    1) I create a report with sales quantity.
    2) Report has a filter --> "nation" = is prompted
    3) I create a dashboard prompt "Nations" based on dimension Nation with All Values
    4) I publish the report in a dashboard with the dashboard prompt "Nations"
    When user choose the nation from the prompt, all nations are displayed, also if I have NO sales for some of these.
    My goal: only nations with sales must be shown
    Thanks
    Enrico

  • Do any one knows how to add those arrows from the right and left side of the screen in the youtube widget which allows you to navigate back and forth between video clips?

    do any one knows how to add those arrows from the right and left side of the screen in the youtube widget which allows you to navigate back and forth between video clips?

    do any one knows how to add those arrows from the right and left side of the screen in the youtube widget which allows you to navigate back and forth between video clips?

  • TS1368 my brother has an iphone and his details are on my computrer i have just purchased an iphone and now have all his stuff on my phone. ive created an apple id but i still dont know how to add another phone to the apple account! please help

    my brother has an iphone and his details are on my computrer i have just purchased an iphone and now have all his stuff on my phone. ive created an apple id but i still dont know how to add another phone to the apple account! please help

    when you open the app store scroll down to the bottom it will display the apple id currently in use, change it to your normal apple id email

  • When i start a new email, it shows all of my old contacts. how do i get rid of the ones i dont want? they are not in my contacts info.

    when i start a new email, it shows some of my old email addresses. how do i get rid of the ones i dont want? they are not in my contacts info.

    Unfortunately the Mail app on the iPad/iPhone/iPod Touch does have the option to clear previous recipients. If you don't want to live with it, the only way to remove these cached email addresses from the Mail application is by restoring the iPad/iPhone/iPod Touch as a new iPad/iPhone/iPod.  If you restore from backup, the cache is also restored.
    This article shows you the screens you will see during the restore:  http://support.apple.com/kb/HT1414

Maybe you are looking for

  • Bluetooth no longer works after Nokia PC Suite Upd...

    I am afraid I have a problem. I have a Nokia 6085 and Nokia PC Suite on my computer that worked just great until I updated now the Bluetooth is no longer available so I can't connect to my phone. Phone - Nokia 6085 Computer - Windows XP SP3 Notebook

  • How can I connect to the database using the Oracle Remote Diagnostic Agent?

    Now I try to study RDA on Windows XP platform,when I run 'rda.cmd',there is a question 'Enter password for 'SYSTEM@'',what is the answer? Because I didn't know how to connect to database,there are many error messages - RDA-00510: SQL execution disabl

  • IMac 24" with Glossy display?

    I was wondering if there is a kind of glossy film that one can place on the iMac's diaplay to make it even better for watching DVDs by increasing the "blacks" and the "contrast"? iMac 24"   Mac OS X (10.4.8)  

  • Embedding into a web page & background sound.

    Hello, I am looking for some advise on embedding an adobe edge animation into a web page. It's more complex than it sounds unfortunately for me because I don't have any coding knowledge. I have a web page with a flash version of the animation. I want

  • SkyGo does not remember last watched position

    Dear Sky, Along with my other gripe of SkyGo now wanting to access wifi for already downloaded content, I have another issue. When a programme is paused and the iPad locks after a screen timeout, or you shut the app for any other reason, it no longer