How to set the fire action on the "OAMessageDateFieldBean"

Hi All,
I want to set the fire action on "OAMessageDateFieldBean" field.Could you suggest how can i set the fire action on the messge date field
Normally for message text input i used to set the fire action as follows
           OAMessageTextInputBean counterreading = (OAMessageTextInputBean)webBean.findChildRecursive("CsfTravelStartTimeReq");
       if(counterreading!=null)
       counterreading.setFireActionForSubmit("xxReadingEvent",null,null,true,true);
when i try to set the fire action on the date field as below it is not allowing to set the fire action on "trvlstrtdatebean" (Date Bean)
       OAMessageDateFieldBean  trvlstrtdatebean = (OAMessageDateFieldBean)webBean.findChildRecursive("CsfTravelStartTimeReq");
     if(trvlstrtdatebean!=null)
       trvlstrtdatebean.setFireAction("xxStartdateEvent",null,null,true,true);
regards
Ajay

Hi Ajay,
Refer below Link It will help.
  http://mukx.blogspot.in/2010/04/adding-programmatic-fire-action-to-uix.html
Thanks,
Dilip

Similar Messages

  • How to set up automatic payment for the purchase order

    Hi, All,
    I have one question how to set up automatically payment for the Rent Office purchase Order?
    There is the requirement from the client. They want to create one kind of purchase order for the Office Rent, then pay the fees in the certain time of every month to the vendor for the rent fees without any invoice. Whatu2019s the normal solution for this kind of purchase order? Is it ERS? Or something else?
    Please give me the details and business flow. Also please tell me how to setup in the SAP and T-code.
    Thanks in advance

    Either you can set up ERS or you can pay directly from the FI side.
    Prerequisites
    Evaluated receipt settlement must be flagged in the purchase order item.
    The vendor must be flagged as being subject to ERS in the vendor master record.
    The goods receipt must refer to a purchase order.
    Goods-receipt-based Invoice Verification must be defined for the purchase order item.
    A tax code must have been maintained in the purchase order item.
    The order price of the materials may not be an estimated price.
    If you flag a vendor as being subject to ERS, the system sets the ERS indicator as a default in each item when you create a purchase order for the vendor. You can prevent this happening for certain vendors by flagging the info record for the material and the vendor as not being subject to ERS.
    In Purchasing, you can delete the default ERS indicator in a purchase order item.
    Choose Logistics Invoice Verification ® Automatic Settlement ® Evaluated Receipt Settlement (ERS).
    The selection screen appears.
    You can use the following criteria to narrow down selection of the transactions to be settled:
    Company code
    Plant
    Goods receipt posting date
    Goods receipt document
    Fiscal year of the goods receipt
    Vendor
    Purchase order and order item
    You can define the selection criteria for the invoice documents by:
    Delivery
    Purchase order
    Purchase order item
    Goods receipt document
    Credit memo
    Invoice
    Currency
    Choose  Execute.
    The system issues a log for Evaluated Receipt Settlement, which displays the following:
    Settled
    In line with your selection criteria, the system displays all the order items that were settled (or if you are working in test mode, which would have been settled).
    Could not be settled
    In line with your selection criteria, the system displays all order items for which ERS is defined but could not be settled. It also lists the reasons.
    If the system reports being unable to invoice a transaction, you should exclude the transaction from ERS to avoid it being included in the log the next time ERS is run.
    Select the item and choose Exclude from ERS.
    The system also generates and possibly sends a message to inform the vendor(s) about the transaction settled, depending on the settings in Customizing.
    You can display the following environment information for the order items selected. To do this, choose Goto ®:
    Display purchase order
    Display invoice
    Display material document
    Display long text

  • How to set a variable value on the BPC Data Manager

    Hello BPC Experts,
    I'm creating a BPC10 NW version demo environment for our prospect customer.
    I made a data manager to import  BW data into BPC model from BW cube.
    I need to import just one month data into BPC from the BW cube that has more than one month data.
    When I run the data package manually, I can select a member of the time dimension prompt and I can import specific month data I want.
    But, in a case where the program (data manager) runs by JOB monthly,
    I can't select a member of the time dimension prompt manually.
    So I want to know how to set a  variable value to the time dimension prompt from a system date etc. automatically.
    Are there any way to set a variable value to the time dimension prompt on the data manager automatically from a system date?
    Or, do you have any other solution to import just one month data into BPC from the BW cube that has more than one month data  by the data manager running on JOB ?
    (without selecting a member of the time dimension prompt of the data package manually)
    Thanks in advance,
    Keisuke

    Hi Gersh
    Sorry for my late reply and thanks for your helpful information.
    I tried the second way of your information and I could configure it.  
    And I 'll try first way of your information.
    Regards,
    Keisuke

  • How to set Multi User Environment in the weblogic 5.1 and 6.1 server..(Urgently)

    Hi all,
    I need to know how to set Multi User Environment in the weblogic 5.1
    properties file..
    Here my question is..:)
    1) I have a database with multiple users and having different privileges
    for the users.. and i need to use all the privileges when user aceess
    the database through weblogic server connectionPool.
    2)According to the user privileges i need access the database tables
    content and gives the frontEnd(jsp).
    3)How to modify dynamically weblogic.properties file in the weblogic
    5.1.
    If anybody having idea reg. this issues pl...help me..
    Thanks in advance
    Chandu([email protected],[email protected])

    Hi. A JDBC connection pool is a set of identical, interchangeable, pre-made
    connections, and the controls to make sure only one user uses a particular
    connection at any one time. If you want to have different DBMS users, you can
    have a separate pool for each DBMS user, which may contain as many or few
    connections as you want. Some applications has a pool for the accounting
    applications, and another for the sales applications etc. Some do have a
    separate pool for john, jane, joe etc, each with one connection. Pools
    can be created and destroyed dynamically using the dynamic pool API.
    Joe
    softstar wrote:
    >
    Hi all,
    I need to know how to set Multi User Environment in the weblogic 5.1
    properties file..
    Here my question is..:)
    1) I have a database with multiple users and having different privileges
    for the users.. and i need to use all the privileges when user aceess
    the database through weblogic server connectionPool.
    2)According to the user privileges i need access the database tables
    content and gives the frontEnd(jsp).
    3)How to modify dynamically weblogic.properties file in the weblogic
    5.1.
    If anybody having idea reg. this issues pl...help me..
    Thanks in advance
    Chandu([email protected],[email protected])

  • An you tell me how to add an advanced action to the TEB so you can check for multiple lines of input

    an you tell me how to add an advanced action to the TEB so you can check for multiple lines of input? How do you add the advanced action?

    Can you elaborate your requirement?
    If you want to have a text wrapped around and enable a scroller for the same, you can achieve it by TEB properties and check the scroll bar option,
    Is this what you are looking to achieve?
    Thanks,
    Anjaneai

  • I'm new to using iCloud and couldn't find the answer to: how to set my calendar to use the 24 hour clock. Thanks all.

    ?? I'm new to using iCloud and couldn't find the answer to: how to set my calendar to use the 24 hour clock. Thanks all.

    Thanks, David.  i thought i had it set correctly in Preferences in L&R. Being i was wearing my suspenders and belt at the same time i went back to L&R, cleared what was there and re-entered same to include unchecking and rechecking Time Format fgor 24-hour time.   It works now. Thanks again.

  • How to set colors in cells depending the conditions  in alvtree

    Hi All,
    Could you please provide me idea or sample program how to set colors in cells depending the conditions  in alvtree.
    Thanks,
    Suresh

    When running vim in a terminal, it will use whatever colour scheme is defined by the terminal.  You should have a look at this thread:
    http://bbs.archlinux.org/viewtopic.php?id=51818
    Also, check the wiki article on Xdefaults.

  • How to set field to blank if the data is # or unassigned

    hi experts,
    how to set field to blank if the data is # or unassigned?
    thx

    Hi
    add the following macro to your workbook (template workbook):
    Sub SAPBexonrefresh(qstring As String, resultArea As Range)
        For Each c In resultArea
            If LCase(c.Value) = "not assigned" Then c.Value = ""
           Next
    End Sub

  • ORA-24333: zero iteration count  Cause: An iteration count of zero was specified for the statement Action: Specify the number of times this statement must be executed

    Get the following error from Oracle 
    ORA-24333: zero iteration count
    Cause: An iteration count of zero was specified for the statement
    Action: Specify the number of times this statement must be executed
    Any suggestions on whether is this a Oracle bug or if not what should be set to avoid this failure.

    Hello get this from executing the following.
    Occurs intermitently.
    select MAX(LENGTH(lxVal)) from lxString_74501fb6 where lxType=910231053
    Find the MaxLenght(LxVal) returned is null for this query.
    Did google it but says the iterator not initialized. But not the case here
    Thanks

  • How to set a navigation case as the action for a CoreCommandButton

    Hi all,
    I dynamically display a CoreCommandButton on my jspx using code in the backing bean.
    I want to set a navigation case to this button so that I can navigate to a separate page when clicking the button.
    CoreCommanButton has a setAction method which needs a methoBinding. If my navigation case is "goMaintainPr", how do I set this as the action of my button? Can I create a methodBinding for my navigation case? If so how?
    Cheers.
    Kaz.

    I am creating my CoreCommanButton in the backing bean like:
              CoreCommandButton editElemBtn = new CoreCommandButton();
              editElemBtn.setId(elemCd + "-edit");
              editElemBtn.setText("Edit");
    and then add it to the page from the backing bean. So I need to be able to set the action to the above button like:
              editElemBtn.setAction(action); -- here, action needs to be a methodBinding. So i cannot just assign my navigation case as a String.
    How do I create a methodBinding with my navigation case ?

  • How to catch the fire action/Id of a flex field button in a seeded OAF page

    Hi,
    I have to catch the ID of a submit type button in a seeded OAF page from an extended controller.
    The button is of flexfield type and the credentials of the button are as ::
    ID :: applyCreActBut
    Prompt :: A&pply
    Additional Text :: Apply: Alt + p
    Attribute Set :: /oracle/apps/fnd/attributesets/Buttons/Apply
    In extended controller if any IOException is thrown at processRequest the it is getting reflected in the page, but if any exception is thrown in processFormRequest, then it is not getting reflected
    (according to my understanding the extended controller's processFormRequest is not working even when the super is defined at the last line).
    Please suggest if there is any other way of catching the ID or event of the buttons.
    Regards,
    Arindam.

    The call to super should not be the last line in the PFR of the extended controller, it should be the first. In you extended controller you can use a call to getParameter passing "applyCreActBut" as the parameter.
    Kristofer Cruz

  • How to set up fb integrated on the new ios6

    i have an iphone 4 and i just did the update to the new ios6 and i do not know how to set up the integrated facebook for it to come  up on the notification center.  is it even compatible with the iphone 4. please help anyone!

    Open up Settings, and scroll down a lot until you see "Twitter" and "Facebook" right next to each other. From there, it's a simple matter of signing in.

  • How to set a Default Value in the drop down on Account Creation ?

    Hi,
    i have to set a default value in the drop down as soon as a User in a particular business role clicks on New Account. I have written the following code in do_prepare_output method. But this code is executed in the 2nd server round trip after entering some value or pressing enter. so i am not getting as soon as user clicks on the New Account.
    How to set that default value when user clicks on New Account ? and where should i code ?
      IF lv_icwc_profile = 'ZCSALESPRO' or lv_icwc_profile = 'Z_SALESPRO' .
      try.
                  lr_entity ?= me->typed_context->header->collection_wrapper->get_current( ).
                  lv_current = lr_entity->create_related_entity(
                                                  iv_relation_name = 'BuilRolesRel' ).
                                 lv_current->set_property(
                                    iv_attr_name = 'PARTNERROLE'
                                    iv_value     =  'BUP002' ).
                   CATCH cx_sy_ref_is_initial cx_sy_move_cast_error
                   cx_crm_genil_model_error.
                   return.
            ENDTRY.
    Thanks and Regards
    Raman Khurana

    Hi,
    I have some idea abt it, it is also used in account life cycle.
    Please refer SAP note 1097651, Defaulting a life cycle stage.
    Let me know if useful.
    rgds,
    Vinay

  • How to set default file extension in the FileChooser?

    We are trying to use the FileChooser but for some reason, it doesn't have any file extensions in the drop down menu (like in windows). Does anyone know how to put this in?
    Also, how do we set the file name for the saving file, rather than typing the name in ourself?
    Also, how do we position the file chooser dialog in the middle of the screen? Right now, it's in the top left corner of the screen.
    Here's our piece of code, used for saving file.
    FileChooser fileChooser = new FileChooser();
            File file = fileChooser.showSaveDialog(stage);
            /*User might clicked on the cancel button*/
            if (file != null) {
                try {
                    Writer output = new BufferedWriter(new FileWriter(file));
                    output.write(text);
                    output.close();
                } catch (IOException ex) {
                    logger.error("save file error", ex);
            }Any help would be appreciated! Thanks!

    867511 wrote:
    We are trying to use the FileChooser but for some reason, it doesn't have any file extensions in the drop down menu (like in windows). Does anyone know how to put this in?Have you read the API? What's the nested class of FileChooser that's listed immediately after it in the classes list?
    Also, how do we set the file name for the saving file, rather than typing the name in ourself?I don't see any API for that. You could file a RFE on kenai.
    Also, how do we position the file chooser dialog in the middle of the screen? Right now, it's in the top left corner of the screen.I don't see any API for that either.
    db

  • How to set a backgound pic for the panel

    I use a JTable as a member of a JPanel Object, and I want to set a backgound pic for the panel ,How to?

    Hello,
    import java.awt.*;
    import javax.swing.*;
    public class ImageTest extends JFrame
         public static void main(String[] args)
              new ImageTest();
         public ImageTest()
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              MainPanel pan = new MainPanel();
              pan.add(new JTable(6, 3));
              getContentPane().add(pan);
              pack();
              setVisible(true);
         class MainPanel extends JPanel
              private Toolkit tool = Toolkit.getDefaultToolkit();
              private MediaTracker media = new MediaTracker(this);
              private Image background = tool.getImage(yourImage);
              MainPanel()
                   super();
                   media.addImage(background, 0);
                   try
                   {     //wait to calcute sizes correctly
                        media.waitForID(0);
                   }catch (InterruptedException e){}
              public void paintComponent(Graphics g)
                   super.paintComponent(g);
                   g.drawImage(background, this.getX(), this.getY(), this);
              public Dimension getPreferredSize()
                   return new Dimension(background.getWidth(this), background.getHeight(this));
    }regards,
    Tim

Maybe you are looking for