BRF linking event action and expressions

Hi,
   Looking for a bit of clarification here
In an application class I have an event EVENT1, which is linked to an action ACTION1....
Now I design a a series of expressions lets call them EXPRA, EXPARB, EXPRC, and EXPRD.
What links these expressions to ACTION1 ??
If I then have another event EVENT2 which I link to an action ACTION2 for which I want to use the some of the same expressions (but not all) how do I do this.
ALSO
An event can be linked to more than one action so this means I really need to understand how the expressions are linked to the action. For instance if I have 20 expressions but I want to use 10 of them when actiona is invoked and the other 10 for actionb how is this achieved (indeed can it be achieved)?
The doco for this framework is just terrible!!

Hi,
   you can either attach event / expression to action at a time, and you can not have both .
The usual rules to have Events -expressions -Actions are using the Rules.
One can have Expressions attached to event using Rules subscreen. and also attach the action to the same rule.... this will work like
             "When Event is triggered, expression will be evaluated, and if this returns TRUE, then action will be executed."
ie., EVENT = if EXPRESSION then ACTION
You can attach 4 expressions to one action at a time, this you can achieve using the implementation class : CL_CRM_PS_ECC_MSG_BRF for the action.
use the BRF as message ID and 014 as Message number while creating the message . this gives you the option to enter 4 expressions.
Seema

Similar Messages

  • How to do some actions between event received and event linked

    Hi all!
    Sorry my bad english :(
    I want to review event data (to compare with process form by java method) after event received and correspondence found, but before it linked.
    How could i do it?

    Rajiv Dewan
    You have to fetch data using SQL from RCD table.
    See the tables related to Reconciliation RCD, RCE. There you'll get data.In this tables only service information about event, not reconciliation fields values.
    This information i i can get from mapping.
    Rajiv Dewan
    You can make an entity adapter and get old data and new data.
    Validate that and then send email.
    If you don't get any old data it means it is Recon Insert Event then do nothing.I make entity adapter and assign it into pre-update.
    I map my variables to all reconciliation fields and to process key.
    Start reconciliation.
    When reconciliation finished, user process form updated, but pre-update adapter does not invoke.
    rajsunny
    Is this your custom connector ? ? No, it's not custom connector, but later it will be actually for custom (if there are not chance to implement incremental reconciliation).
    If Yes then just use the API ignoreEvent before generating the recon event. In that case, only if there are differences the OIM processes the recon event, otherwise it won't. Now put >your notification on the data object RCE.From OIM Javadoc:
    OIM javadoc
    boolean ignoreEvent(java.lang.String psObjName, java.util.Map poData)
    It first tries to find a definitive account match, and then compares the account data with the record of it in Xellerate. If there is no difference between the data, it returns a true (indicating that the reconciliation event should not be raised). In all other cases, it will return false.
    ...When i invoke this method and it does not find a definitive account match, then return value is true.
    As far as i understand it does not mismatch to javadoc, am i right?

  • Struts Actions and events in one jsp?!

    Hello,
    I have a problem with Struts actions and events in a jsp.
    It is a search page and when the user clicks the search button I trigger an event and when the user clicks on a link in the result table (same page) I use an action that opens a new detail jsp. The first search query works well, I get a result, open the detail page, go back (using an action).
    Then I start a new search, but struts tries to open the detail page. While debugging I found out, that struts apparantly has no action or event. Why does it work at first time?
    Any ideas?
    Thanks in advance
    Britta

    Thanks for answer,
    I work with actions AND events. I think that`s the problem. When I go back from detail page to search page I use a custom DataForwardAction class with the following method:
    public void onCancel(DataActionContext ctx)
    DCBindingContainer bc = ctx.getBindingContainer();
    HttpServletRequest request = ctx.getHttpServletRequest();
    WebUtils.setSession(request);
    String ziel = request.getParameter("ziel");
    JUCtrlActionBinding action = (JUCtrlActionBinding) bc.findCtrlBinding("Rollback");
    action.doIt();
    try
    ctx.setActionForward(ziel);
    catch (Exception e)
    ctx.setActionForward("liste_freig");
    Ziel has the correct value ("search") and I think the struts config is also correct:
    <action path="/material" type="view.actions.materialAction" className="oracle.adf.controller.struts.actions.DataActionMapping" parameter="/material.jsp" name="DataForm">
    <set-property property="modelReference" value="generalUIModel"/>
    <forward name="liste_freig" path="/liste_freig.do"/>
    <forward name="liste_angelegt" path="/liste_angelegt.do"/>
    <forward name="list_bewertet" path="/list_bewertet.do"/>
    <forward name="liste_abgelehnt" path="/liste_abgelehnt.do"/>
    <forward name="liste_onhold" path="/liste_onhold.do"/>
    <forward name="search" path="/search.do?action=search"/>
    </action>
    But when I get back from material page to search page (the first time it works). The location pathname is material.do not search.do When start a new search the material page opens, not, as desired, the search page with new results.
    Search Action:
    public class searchAction extends DataForwardAction
    public searchAction()
    protected void prepareModel(DataActionContext ctx) throws Exception
    HttpServletRequest request = ctx.getHttpServletRequest();
    DataActionMapping acmap = ctx.getActionMapping();
    DCBindingContainer bc = ctx.getBindingContainer();
    WebUtils.setSession(request);
    JUCtrlActionBinding action = (JUCtrlActionBinding) bc.findCtrlBinding("delSearchQuery");
    action.doIt();
    String sEvent=null;
    try
    sEvent=request.getParameter("event");
    catch (Exception e)
    sEvent=null;
    if (sEvent==null)
    if (request.getParameter("action") != null)
    if (request.getParameter("action").equals("material"))
    Number mat_no=new Number(request.getParameter("MaterialNumber"));
    Number userId=new Number(WebUtils.getUserId(request));
    bc = ctx.getBindingContainer();
    action = (JUCtrlActionBinding) bc.findCtrlBinding("prepareMaterial");
    ArrayList arrayList= new ArrayList();
    arrayList.add(0,mat_no);
    arrayList.add(1,userId);
    action.setParams(arrayList);
    action.doIt();
    ctx.setActionForward("material");
    if (request.getParameter("action").equals("material_datasheet"))
    ctx.setActionForward("material_datasheet");
    super.prepareModel(ctx);
    public void onSearch(DataActionContext ctx)
    DCBindingContainer bc = ctx.getBindingContainer();
    HttpServletRequest request = ctx.getHttpServletRequest();
    WebUtils.setSession(request);
    ctx.setActionForward("search");
    Struts config:
    <action path="/search" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.actions.searchAction" name="DataForm" parameter="/search.jsp">
    <set-property property="modelReference" value="searchUIModel"/>
    <forward name="search" path="/search.do?action=search"/>
    <forward name="material" path="/material.do?action=material"/>
    <forward name="material_datasheet" path="/material_datasheet.do?action=material_datasheet"/>
    </action>
    I think it`s a Struts bug. Or is there something I don`t see?

  • I am trying to link our xbox and PC into our wireless network.  I am using an apple airport express and it is asking me for a WEP Key.  Where can I find my wep key?

    I am tyrying to link our xbox and PC int oour wireless network.  I am using an apple airport express and it is asking for my WEP Key.  Where do I find it?

    You should be able to setup WPA / WPA2 access, rather than WEP - which is old an less secure. (Unless your devices are too old for WPA??)
    Try this link: http://spotlight.getnetwise.org/wireless/wifitips/apple/apple-wpa.php
    **Edit
    Airport does support the WEP protocol.
    Apple Docs: http://docs.info.apple.com/article.html?path=Airport/5.0/en/ap2084.html

  • Warning: Action and Event are not compatible for LinktoAction type

    Hi,
       I get a warning message "Action and event are not compatible" for the action associated with the type LinkToAction. The Action method "ShowDetails" has the parameters wdEvent (default) and IWDNodeElement.
       Can anybody please suggest what causes this warning?
    Regards
    Sagar

    Sagar,
    Unfortunately, it is impossible to remove this warning completely. However, you may safely ignore it.
    What you can do is copy text of warning (or part of text), then click "Filter" icon on Tasks view in IDE and set filter to hide these warnings. I do this for annoying "UI element has no lable text"
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Difference between action and event

    Hi
    while creating an action, we will find action & event handler.  What is the difference between Action and event.  If anyone provide with examples, it will be helpful for me.
    regards,
    vijaya.

    HI,
    In simple words we can put it as..IF you need any user interaction.. i.e. if your logic is based upon how user interact with your application then use Action..
    e.g. Buttons, dropdown UI elements...etc..
    Means actions are act between user and your application.
    But your application not only communicate with user.But also communicate with server too.
    so to communicate with server you need and Event
    Note. In Web Dynpro, events are called actions if they are sent from the client to the server.

  • [JS] Basic question about event listeners and event handlers

    I am very new to the whole topic of event listeners and event handlers.  I'd run the test for the following problem myself, but I don't know where to start, and I just want to know if it's impossible -- that is, if I'm misunderstanding what event listeners and event handlers do.
    Say I have an InDesign document with a text frame that is linked to an InCopy story.  Can I use an "afterImport" event listener on the text frame to perform some action any time the link to the InCopy story gets updated?  And will the event handler have access to both the story that is imported, and the pathname of the InCopy file?
    Thanks.

    Thank you, Kasyan.
    Both of those are good solutions.
    We are currently using InDesign CS4 and InCopy CS5.  I'm hoping to get them to purchase the whole CS5 suite soon, since I'd like to start writing scripts for InDesign CS5 as soon as possible, as long as I'm going to have to be doing it in the not too distant future anyway.  The greater variety of event handlers sounds like it might be something that is crucial to the project I'm working on, so that adds to the argument for getting CS5.
    Thanks again.  You have no idea how helpful this is.  I made some promises to my boss yesterday that I later realized were  based on assumptions of mine about the InDesign/InCopy system that didn't make any sense, and I was going  to have to retract my promises.  But after reading your response I think I can still deliver, in a slightly different way that I had been thinking before.
    Richard

  • Link to action doesn't work in a POWL application

    Hi,
    I have developed a web dynpro ABAP application and it is called by portal,
    This WD calls standard POWL, in a POWL there is a LinkToAction field.
    When I click on field the system should open a new window (shopping cart detail),
    but it doesn't happen anything.
    which could the problem be?
    Thank you.
    Best regards.
    Al

    Hi Alberto,
    1. Define an Action (corresponding to your Link to action which is typically the FIELD Name of the column in POWL Table) in your POWL feeder Implementation "IF_POWL_FEEDER~GET_ACTION" .
    IF_POWL_FEEDER~GET_ACTION is a standard object of custom feeder class, how can I define a new Action?
    <Vineet> See the Wiki Link http://wiki.sdn.sap.com/wiki/display/WDABAP/DocumentationInformationabout+POWL
    This has a document (POWL.doc) for POWL, refer page number 20. You can use parameter C_ACTION_DEFS for explicitly defining Actions.
    2. Handle the defined action in another feeder implementation "IF_POWL_FEEDER~HANDLE_ACTION".
    this code could be rigth?
    METHOD if_powl_feeder~handle_action.
    FIELD-SYMBOLS: <shopping_cart> TYPE STANDARD TABLE.
    IF i_actionid = 'SELECTION'.
    triggers the event
    e_portal_actions-fire_wdevent = abap_true.
    Pass parameters to event
    ASSIGN c_result_tab TO <shopping_cart>.
    i_shopping_cart = <shopping_cart>.
    selected row
    READ TABLE c_selected INTO ls_selected INDEX y_index.
    Read selected POWL data
    READ TABLE i_shopping_cart INDEX ls_selected-TABIX INTO s_shopping_cart.
    CHECK sy-subrc = 0.
    Pass parameters
    ls_parameter-key = 'OBJECT_ID'.
    ls_parameter-value = 'I_'.
    APPEND ls_parameter TO e_portal_actions-parameters.
    ENDIF.
    ENDMETHOD.
    <Vineet> Seems good provided you have defined the action name in "your class->IF_POWL_FEEDER~GET_ACTION" as 'SELECTION'.
    3. Now you need to raise an portal event from the method "IF_POWL_FEEDER~HANDLE_ACTION".
    where a portal event has to be raised?
    <Vineet> You have alrday raised it when you used "e_portal_actions-fire_wdevent = abap_true", as above you can additionally pass parameters as you have done in pushing some data in "e_portal_actions-parameters".
    4. This Portal event will be again captured in the event "POWL_FOLLOW_UP" from POWL WD component "POWL_UI_COMP"
    <Vineet>Let's assume your WD component is "MY_COMP" which uses "POWL_UI_COMP". then in the component controller or View you can handle an event "POWL_FOLLOW_UP" which is a POWL Interface event. This vene has the same action "SELECTION"a nd the parameters which you have raised from "your class->IF_POWL_FEEDER~HANDLE_ACTION".
    5. You can handle this event "POWL_FOLLOW_UP" in your WD which uses "POWL_UI_COMP" and throw a pop-up from your WD component.
    it is not clear point 5.
    <Vineet> From the event handler of "POWL_FOLLOW_UP" you can launch another webdynpro in a po-up or a new winmdow.
    Please let me knwo in case you face issue.
    Regards
    Vineet
    thanks.
    Best regards.

  • Link to Action - How to call a DynPro application?

    I am new to ABAP Web DynPro. I have a basic question with regards to accessing any dynpro application with Link to Action object. Basically I created a WebDynPro page with some links (Link To Action).  On click of these links I want to call another DynPro application.   Can anyone just provide me with a code snippet for the onAction event that calls the dynpro application and opens it in the same browser.
    Thanks.

    Hi Shan,
    wven i am new to Web dynpro,what i can think of is when we create new webdynpro appplication we get hyper link and we can call our application using this link and we have Fm to call teh same .in your onaction event we can call this FM 'CALL_BROWSER'
    Sample code for the same :
    CALL FUNCTION 'CALL_BROWSER'
    EXPORTING
    URL = 'http://iginsapecc.in.intelligroup.com:8100/sap/bc/bsp/sap/zvin_tran1/first.htm'
    WINDOW_NAME = ' '
    BROWSER_TYPE =
    CONTEXTSTRING =
    EXCEPTIONS
    FRONTEND_NOT_SUPPORTED = 1
    FRONTEND_ERROR = 2
    PROG_NOT_FOUND = 3
    NO_BATCH = 4
    UNSPECIFIED_ERROR = 5
    OTHERS = 6
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards
    Poornima

  • Alv --link to action

    HI,
    I have 5 columns in alv ...in that 3 col.. having link to action...if i click on link to action it  should show some popup...in pop up which link to action i clicked that column name should be binded to one input field in pop up...can any one suggest me how to get col. name

    Hi,
    The event handler for link to action has two importing parameters.
    1.WDEVENT
    2.R_PARAM of type IF_SALV_WD_TABLE_CLICK.
    R_PARAM has these 4 attributes.
    You have attribute,column,index and value
    You can get your column name like
    ls_col_name =  r-param->column

  • Adobe form on Link to Action

    Hi Experts,
    I an working on WDA application in which i have to call an adobe form on table column which is a link to action.
    form is already created thorugh SFP of standard form type.
    In some cases This form will be interactive and for some its not......which is through parameters in the form.
    With ABAP driver program it is working fine but i donno how to use this in WDA.
    Please suggest what to do...
    Regards
    Nik

    Hi Nikhil,
    The solution which I had suggested was for displaying the Adobe form in a new window on click of the LinkToAction field. Say suppose I have a view by name AIF & it is embedded within a window W_AIF. Then upon clicking on the LinktoAction within the MAIN view I can put the below code within the LinkToAction's onAction event to display the form in a new window:
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
    DATA lo_api_component  TYPE REF TO if_wd_component.
    DATA lo_window         TYPE REF TO if_wd_window.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->create_window(
                       window_name            = 'W_AIF'
    *                  title                  =
    *                  close_in_any_case      = abap_true
                       message_display_mode   = if_wd_window=>co_msg_display_mode_selected
    *                  close_button           = abap_true
                       button_kind            = if_wd_window=>co_buttons_ok
                       message_type           = if_wd_window=>co_msg_type_none
                       default_button         = if_wd_window=>co_button_ok
    lo_window->open( ).
    You can generate the above coding through the code wizard by selecting the option as, "Generate Popup" & select the window name as the 2nd window that you have created.
    Anyways now that you have specified that you want the form to be displayed within the same view as the LinkToAcion you can go ahead as how specified by Saketh. Define a context attribute say VISIBILITY of type WDUI_VISIBILITY. Give it a default value of 01 which would make it as invisible by default. Bind the "visible" property of the InteractiveForm UI element to this attribute. Now within the LinkToAction's onAction method you can just set the context attributes value to "02" which would mean making the form visible within the same view.
    METHOD onactioncall_aif .
      wd_context->set_attribute( EXPORTING name  =  'VISIBILITY'
                                           value = '02' ).
    endmethod.
    Regards,
    Uday

  • Training n event management and pd

    Hi gurus,
    my cliient wants to implement training n event mgnmt and pd.client is not specific about the procedures of training and development. he wants to implement as per the best practices of sap. i was only into om , pa and payroll.
    i dont even  have a tinge of idea abt these submodules. i tried searching in forums and other sites to to my dissapointmnt. i am in a big soup now as i need to gather the requirement and do the configurations in a weeks time i.e by next weekend. plzzzzzz help me out with some best practices or some config docs as i dont know even the basics of these. I would appreciate if some body is helping me out with config docs.
    Thanks n advance,
    tulsi

    Hi Tulsi,
    Please go to our help website :
    Appraisals
    http://help.sap.com/saphelp_47x200/helpdata/en/77/bff8ab4a2911d182b80000e829fbfe/frameset.htm
    and you can also use the link:
    https://websmp209.sap-ag.de/bestpractices
    Thanks
    Chetan

  • Can't get Airport Extreme and Express to join same network

    I recently bought an Airport Extreme so I could create a wireless network with my Airport Express. THis way I could browse the internet and stream music to my stereo at the same time. After spending hours trying to get both AP Extreme and Express linked together in a WDS network, I have failed time and time again. I have no problem setting the AP Extreme as the WDS main. My iMac and laptop connect to the AP Extreme just fine. I can set up the AP Express to stream music via iTunes to my stereo without problems. But to get them working together in the same network has got me stumped.
    I've set the AP Extreme as WDS main and Express as WDS remote. They are both set to same wireless channel. Where am I going wrong? Is it a 802.11n/802.11g compatibility issue?
    I'd appreciate any insight. Thanks.

    adrian,
    I have done this a dozen time today with different base stations like yours.
    The only thing I can think of is this:
    1. With the WDS Main, make sure you have the address of the Remote in the box.
    2. With the WDS Remote, make sure you have the address of the Main in the box.
    3. Make sure both base stations have the same network name in the wireless tab.
    Then restart both base stations.
    Let us know what you find out.
       Joseph Kriz

  • Question regarding GO URL link with &Action=Navigate in OBIEE 11g

    Hello All,
    Actually I am working with the GO URL Links in OBIEE 11g.When I am trying to use the link as
    &Action=Navigate&p0=3&p1=bet&p2="Time%20Periods".Date&p3=2+ '01/01/2011'+'01/31/2011'
    The data is not getting filtered.It is giving me all the data which I don't need also..Is this a bug or am I doing any mistakes..Please let me know..

    Actually I have a few parameters or filters and I am using those filters in the GO URL Link but that filters when I am applying in
    &Action=Extract it is working properly.But When I am trying the same with &Action=Navigae it is not gining me the results what I want..

  • Linking D-Link DIR 655 and AirPort Extreme

    Help! I need to link my D-Link DIR-655 and new Airport Extreme, but have no idea how to do it. I use the D-Link as my base router and want to use the Airport Extreme as a repeater/range extender upstairs in the house (the D-Link is in my office in the basement)where I use my Macbook Pro. The D-Link signal isn’t strong enough to reach areas of the upstairs. How can I make these two pieces of hardware work together? Is it possible? Any help would be greatly appreciated. I’m not a tech whiz.

    I use the D-Link as my base router and want to use the Airport Extreme as a repeater/range extender upstairs in the house
    The "extend a network" feature of the Extreme is intended to extend a wireless network created by another 802.11n Apple Airport product (Extreme, Express or Time Capsule).
    Wireless repeaters or "extenders" use proprietary techniques that don't work well among different manufacturers. To extend your network wirelessly in the manner you seek would require that you replace your D-Link with another Airport, or replace the Express with a D-Link product.
    The ideal solution in your case would be to run an Ethernet cable between the devices. That will work.

Maybe you are looking for

  • JButton on XP non-modal Jdialog doen't work.

    I recently upgraded from 1.3 to 1.4 while upgrading my OS from NT 4.0 to XP. In a stand-alone application I have non-modal JDialog's that are launched as threads so that I can have multiple instances of them running simultaneously. There are JButton'

  • Backup 800GB with Time Machine?

    I have about 800GB-1TB worth of data spread out over 3 drives that I'd like to backup regularly. Is Time Machine even an option? Is there some way to backup to multiple drives. like if I were to purchase 2 or 3 1TB drives for TM backups?

  • Removing apps from launch pad

    Does anyone know how to remove an App from the launch pad that isn't downloaded directly from the apple store such as products from Microsoft office? I know that with app's downloaded directly from the App store all you have to do is press Option+ X.

  • Does file exist isn't work.

    I've been using this script to see if a file exists. The code works fine on everything but vbs files. I can put any other kind of file and it will find it, but a vbs file that I know is there it can't find. Anyone else have problems with this?       

  • Using Static Libraries in XCode 3

    I'm pretty new to relatively low level programming, and I would like to use particular static library (.a extension). How do I do that in XCode? Suppose I have a file with .a extension in Frameworks folder in XCode project, now how do I get the names