To change table data runtime when dropdown item is changed

Hi,
I have two ui elements(Dropdown by index and table) in single view .
I need to display table as per drondown index item selection. Means i have to change table data runtime when dropdown item is changed.Please help me in that .Please provide code for same.
Regards,
gurprit Bhatia

Hello gurprit Bhatia,
On the view create a new action. Fill only the Name and Text and leave the other items default.
In this event you can populate the table fields.
Bound this newly created action (event) to the onSelect property of the 'DropDownByIndex'.
Regards,
Patrick Willems

Similar Messages

  • List workflow with "Start workflow when an item is changed" will run twice when creating a new wiki page

    I have created the following workflow on the wiki page library to run when an item is changed:-
    And it will send emails as follow:-
    Currently when a user creates a new wiki page and he enters the wiki page name.
    Then he enters the content and click on save.
    Then two duplicate emails from the workflow will be sent ? So can anyone advice why creating a new wiki page will fire the workflow twice ?
    Thanks

    Hi john
    Have you see the library where the wiki pages are stored. You can see how many occurrences of the workflow has been run.
    Anyway, instead of using "wait for", can we put a condition that says, if Assign To:Approver is not empty. then email. 
    i use if instead of wait and it worked well, thanks

  • Change table data without tabular report

    Hi,
    I am very new the APEX, and PL/SQL for that matter, but hope this is not too newbie.
    I am trying to make a page with a report where I can change table values by ediiting text in report columns. I have tried to use tabular report but since my source pl/sql includes a search etc I am not able to write SQL which is accepted as SQL updatable report.... this is my source which works with search:
    declare
    q varchar(32767);
    begin
    --Search with no text
    if(:p1_report_search IS NULL) then
    q := 'select * from tpd_delivery_detail';
    --Search According to criteria
    else
    q := 'select *
    from tpd_delivery_detail
    where upper(trim(:p1_report_search)) '||:P1_OPERATOR||' upper(trim('||:p1_in||')) ';
    end if;
    return q;
    end;
    So my first question is if it is possible to write this as SQL updatable report, and if how?
    Then I have a process which start when a button is pressed which is:
    declare
    l_colA tpd_delivery_detail.status%TYPE;
    l_colB tpd_delivery_detail.usr_comment%TYPE;
    begin
    for i in 1..apex_application.g_f01.count
    loop
    select status
    , usr_comment
    into l_colA
    , l_colB
    from tpd_delivery_detail
    where id = apex_application.g_f01(i);
    if l_colA != apex_application.g_f12(i) or l_colB != apex_application.g_f13(i) then
    update tpd_delivery_detail
    set status = apex_application.g_f12(i), usr_comment = apex_application.g_f13(i)
    where id = apex_application.g_f01(i);
    end if;
    end loop;
    end;
    In the process I try to to see if any of the two updatable columns are changed and needs updating, and if so update. Here my problem is the apex_application.g_f01(i) which when i is a number refering to the row...cant get the apex_application.g_f01(i) to refer to the data in the report.
    My question is how I can use the apex_application.g_f (suspect you can only use for tabular report) or if there is another easy way to do the updates I want?
    Best regards
    Alex

    Is it common to implement TDMS without scrambling sensitive data? => This depends on the customer situation , if you feel that you have very sensitive data in sender system and do not want to expose this data to users in receiver system , then for sure scrambling is the way else leave it .
    Or to change table auth groups in one system and not in another?=> I do not understand the need of doing this , can you elaborate a bit more .

  • How to change delivery date (LFDAT) in  me57 item data

    hi ,
    While  Creating purchase order  (me57)  . on the basis  of info rec   . i want to change  delivery date  by
    passing  info rec to table eine and get field aplfz  .
    then adding  aplfz to sysdate    and pass it to 
    Delivery date   .
    i have done this using USER EXIT  EXIT_SAPMM06E_016
    and modified table  teket  with field eindt   but still in screen fields  it shows  old date value   .
    After Debugging i found that  that  it passes value from internal table ETT[] .
    how to modify internal table ETT[]  which is used to display data on screen   .
    regards
    Deepak.
    Edited by: Deepak Dhamat on Jun 8, 2011 8:32 AM
    Edited by: Deepak Dhamat on Jun 8, 2011 10:35 AM

    hi ,
    i have  implemented BAdi  me_process_po_cust
    for changing Delivery date   .
    method if_ex_me_process_po_cust~process_item .
    data : eeind_dt type eket-eindt ,
             t_aplfz type eine-aplfz ,
             delivery_dt(10) type c.
      ls_item = im_item->get_data( ) .
    if sy-tcode = 'ME21N' .
        select single aplfz into t_aplfz  from eine
          where infnr  = ls_item-infnr .
        if sy-subrc = 0 .
          if t_aplfz is  not initial  .
            eeind_dt  = sy-datum  + t_aplfz  .
            concatenate  eeind_dt6(2) eeind_dt4(2)  eeind_dt+0(4) into delivery_dt .
          endif.
        endif.
        ls_item-eeind = delivery_dt .
        call method im_item->set_data
          exporting
            im_data = ls_item.
        clear : delivery_dt  ,t_aplfz  ,eeind_dt .
      endif.
    regards
    Deepak.

  • Change PowerPivot data source when deploying from Dev - Staging - Production

    We have PowerPivot workbooks we store in SharePoint 2013 Libraries. 
    We have a powershell script which automates the deployment of sites and pages. Is there a way using PowerShell (or any scripting language really) to look into the workbook and change the PowerPivot data source when deployment from one environment to
    another? (Dev -> Stage -> Prod) We need to update the workbooks to point to our SSAS cubes Dev -> Stage -> Prod respectively.
    Thank you for any expert advice you may offer,
    Sincerely,
    -Craig

    Basically, it's an excel file (XLSX) file and you can use excel OM for this.
    A simple program (in C# or any language of your choice) can be written to do the following and achieve what you need.
    using XLS = Microsoft.Office.Interop.Excel;
    string info = null;
    XLS.Application application = null;
    try
     application = new XLS.Application();
     var book = application.Workbooks.Open(filepath);
     foreach (XLS.WorkbookConnection wc in book.Connections)
      switch (wc.Type)
       case XLS.XlConnectionType.xlConnectionTypeOLEDB:
        info = wc.Name + " " + wc.OLEDBConnection.Connection.ToString() + "\r\n";
        break;
     book.Close();
    finally
     if (application != null)
      application.Quit();
    Hopefully, this was helpful.

  • Batch change does not change meta data name when exporting or copy

    I use batch change to change the name of an event when photos from more than one source (camera) are imported. When I copy or export the photos the name reverts to the original meta data file. I do this to override duplicate names. For instance photos from two cameras taking pictures of the same event can have identical names such as IMG_0100. Iphoto does not show all the metadata on info but does show the change in the name when viewing info in iphoto.
    Is there some way to permanently change the name on photos using a group or batch method?

    No you're not changing any filenames at all.
    There is no way to change a filename in iPhoto at all. What you with Batch Change is add a Title to the photo. A Title is an entry in the metadata.
    You can set the name of an exported file to be the same as the title, when you export... if you choose that option.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • How to change the data type of an item in administrator

    Hi,
    A summary folder was created. One of the item in the summary folder is a sum. That sum item was created in the business area (based on another item). I can't refresh that summary folder because it gives me an oracle error (Ora-12008 and Ora-01401 the value is too large for the column). The column that this item is based on is of data type Number(13). How can I fix this problem without changing the column's data type of the original table? I already tried altering the data type in the EUL table via TOAD.
    Thanks!

    You really don't need to sum the item before hand if you are going to create a summary!

  • To set an error while saving the order when the item categor changed in CRM

    Hello SAP Gurus,
    As per our current system set up, whenever the order created in CRM once replicated to ERP should not change the item category in CRM .If the item category is changed( allows the system) and saved, it gives an error as u201CItem category should not be changedu201D. We have been encountering  this type of issue since long back
    To avoid this type of issue, an error should through while saving the order when the user changes the item category in CRM.
    Can someone help me to achieve this.
    Thanks in advance.
    Cheers
    Sreedhar

    Sreedhar,
    Can't you control it by Item Category determination?
    JD

  • KNOWN BUG????  data action changing to data page when reload of JDev

    Hi All,
    i'm using jdev 10.1.2, adf bc's, struts, jsp's.
    I have a data action on my struts page which is bound to a method in the app module. I created a class for this data action which overrides the initialMethodParameters() method and gets the arguments for the method in the app module.
    it all works perfectly fine, until i shut down JDev and load it up again. The data action has now turned into a data page. if i dbl click on it i get the create page dialog, instead of the data action class. obviously when i try run this data action, i get cannot display this page error.
    I'm assuming/hoping that this is a bug. can anyone shed any light??
    Thanks in advance,
    Liz

    Hi,
    did you open this in the same version of JDeveloper 10.1.2? I remember that there was a change in Struts between JDeveloper versions
    Frank

  • How to know when series items gets changed in the bubble series

    Hi,
    I want to trace when the data inside the series data provoder gets changed. how ?
    Regards,
    Arjun.

    This works for me
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
         <mx:Script>
              <![CDATA[
                   import mx.collections.ArrayCollection;
                   import mx.events.CollectionEvent;
                   [Bindable]
                   public var expenses:ArrayCollection = new ArrayCollection([
                        {Month:"Jan", Profit:2000, Expenses:120, Amount:45},
                        {Month:"Feb", Profit:1000, Expenses:200, Amount:60},
                        {Month:"Mar", Profit:1500, Expenses:500, Amount:30}
                   public var myArray:Array=[{Month:"Mar", Profit:1500, Expenses:500, Amount:30}];
                   private function init():void{
                        expenses.addEventListener(CollectionEvent.COLLECTION_CHANGE,myFunction);
                   private function myFunction(e:CollectionEvent):void{
                        trace("I was changed");
              ]]>
         </mx:Script>
         <mx:Button label="add something" click="expenses.addItem(myArray)" />
    </mx:Application>

  • BUG? Data Action on Struts changing to Data page when i reload Jdev????

    Hi All,
    i'm using jdev 10.1.2, adf bc's, struts, jsp's.
    I have a data action on my struts page which is bound to a method in the app module. I created a class for this data action which overrides the initialMethodParameters() method and gets the arguments for the method in the app module.
    it all works perfectly fine, until i come into work the next day, load up JDev and the data action has now turned into a data page. if i dbl click on it i get the create page dialog, instead of the data action class. obviously when i try run this data action, i get cannot display this page error.
    I'm assuming/hoping that this is a bug. can anyone shed any light??
    Thanks in advance,
    Liz

    Hi,
    did you open this in the same version of JDeveloper 10.1.2? I remember that there was a change in Struts between JDeveloper versions
    Frank

  • Change listener not notified when tree item is deselected

    I'm attaching a listener to the selected index property of the tree view selection model to detect when a user selects or deselects on or more nodes in a tree, but it appears that the listener is not notified when a user deselects a node. So if a user selects two nodes and then while holding down the Ctrl key deselects one of the selected nodes the tree view control deselects the node, but the change listener is not notified. Is this is a bug or am I doing something wrong?
    I’m using the GA version of JavaFX 2.1 on Windows 7.
    Thanks.
    Stefan
    import javafx.application.Application;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.SelectionMode;
    import javafx.scene.control.TreeItem;
    import javafx.scene.control.TreeView;
    import javafx.scene.image.Image;
    import javafx.scene.image.ImageView;
    import javafx.scene.layout.StackPane;
    import javafx.stage.Stage;
    public class TreeViewSample extends Application {
    private final Node rootIcon = new ImageView(
    new Image(getClass().getResourceAsStream("Folder.gif"))
    public static void main(String[] args) {
    launch(args);
    @Override
    public void start(Stage primaryStage)
    primaryStage.setTitle("Tree View Sample");
    TreeItem<String> rootItem = new TreeItem<String> ("Inbox", rootIcon);
    rootItem.setExpanded(true);
    for (int i = 1; i < 6; i++)
    TreeItem<String> item = new TreeItem<String> ("Message" + i);
    rootItem.getChildren().add(item);
    TreeView<String> tree = new TreeView<String> (rootItem);
    tree.getSelectionModel().setSelectionMode(SelectionMode.MULTIPLE);
    tree.getSelectionModel().selectedIndexProperty().addListener(new ChangeListener<Number>()
                   @Override
                   public void changed(ObservableValue<? extends Number> ov, Number oldIndex, Number newIndex)
         System.out.println("selection changed");
    StackPane root = new StackPane();
    root.getChildren().add(tree);
    primaryStage.setScene(new Scene(root, 300, 250));
    primaryStage.show();
    }

    The selected index value does not change in those cases as it reflects the last selected index (useful for single selection). It does act wierd at is possible to have a selected index that is not actually selected (you can report a bug for that I think).
    However, if you want to track the full selection, try adding a ListChangeListener to the selectedIndices of the selection model. This one does fire a change every time.

  • Again : Changing Delivery Date automaticly when CARDCODE is validated...

    Strugging again.
    Nothing I'm trying seems to work.
    With this : It never gets in
    if (pVal.EventType == BoEventTypes.et_VALIDATE && pVal.ItemUID == FortSum.SAPFramework.Enums.SO_FIELDS.B1_CARDCODE && pVal.ItemChanged == true && pVal.ActionSuccess == true && BubbleEvent)
    If I remove ItemChanged and ActionSuccess, it gets in but chaning the delivery date makes SAP
    crazy again running around like a DOG running after his tale
    Why is it so hard and different each time we're trying to figure out the right combination so we can do things ?
    So how can I change the DeliveryDate when the CARDCODE changed ?
    I'm still working on it,  I always work hard every single time and it's time consuming

    Hi,
    Thank you for your help.
    Yes this works but each time I lost focus of this control it gets in again.
    I need something that will be triggered once and only if I change the value of the control.
    I still don't know how.  Sometimes ItemChanged works and sometimes not and this behaviour I don't really understand.

  • AFVC table note updated when Cost element is changed in PR

    For External activity PR is created and in PR cost element is changed. When I go back and check the activity in CN22 it reflects new cost element correctly. But when I check the AFVC table entries it still shows the old cost element.
    Did any one experienced same problem and I could not find any OSS note on this.

    i haven't come across this problem, however you can check which costelement updated in cooi table. i think
    it doesn't matter what costelement updated  in afvc table because system concerns more about cooi table for commitments
    and reporting.
    regards,

  • Change contract date rule for contract items

    Hi
    I am trying to Change the Contract End date. This is getting updated. But there are some date rules which are not getting updated based on the contract end date.
    Please suggest.
    Regards,
    Arpit

    The issue is solved

Maybe you are looking for