How to trigger a event when WBS gets changed in Cj02

Hello,
I have a requirement where I need to send create an idoc and send the idoc to external system when WBS is created or changed.  Currently, I have the following setup:
   - I have created a YBUS2054 as a subtype of BUS2054 using SWO1
   - YBUS2054 has been delegated to BUS2054
   - created an CHANGED event in the YBUS2054. This event is implemented and then released
   - created a type linkage (object type=YBUS2054, event=CHANGED, receiver type null, and receiver function module = zz_create_wbs_idoc) using SWETYPV. This function is supposed to create an idoc when CHANGED event occurs. I just don't know how to trigger the event to occur.
   - all the port, define idoc type, logical system, and etc are setup
   - when I try to create an entry in "Event for Chagne Document" using SWEC with change doc object=PROJ, business object type = YBUS2054, with on change, I get "Key for change doc object PROJ and business object type YBUS2054 are incompatible".
I tried various configurations, and I was not successfully in creating an event on CHANGED
can you please advise what I am missing in getting the changed event to trigger?
Thank you in advance,
Shawn

Hi,
If the change doc doesnt exist, check if you can create an event using BSVW.
Also use the event log to see if there are other sap standard events happening.
I checked the package belonging to CJ02 to see if there is something useable, but didn't find anything: CN_PSP_OPR
If there are no sap standard ways to get an event, you'll have to find a badi/enhancement spot and include some coding to start the event using fm SAP_WAPI_CREATE_EVENT.
Kind regards, Rob Dielemans

Similar Messages

  • How to trigger an event when a job is cancelled

    Hi,
    Can anyone help me out wid a transaction that will trigger an event when a job is
    cancelled....??
    My scenario is :
    When a job is cancelled (SM37) or in cancelled status  i want notify to certain ppl thru emails.
    How do i go abt doing the same??
    Its Urgent...
    Answers will be rewarded.
    regards,
    Rohan

    Hi,
    please check out the link below it might help you
    http://help.sap.com/saphelp_nw2004s/helpdata/en/71/a8a77955bc11d194aa0000e8353423/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/97d2e8b3-0b01-0010-b787-b8ce558a51c2
    for table name and list of function please check out the links below it will help you
    http://www.erpgenie.com/sap/abap/tables_system.htm
    http://www.sap-img.com/abap/function-list.htm
    **************please reward points if the information is helpful to you**********

  • How to trigger a event when there in any change in category in the service request

    Hello Experts
                            I need to set Employee responsible dynamically when the exact category is chosen in the service request. i am following a approach to register a function module in the crmv_events so that the event will be called as soon as categorization is changed in service request.I have never configured crmv_events.please guide me its urgent.
    Please tell me if a better approach is available.
    I will award points immediately .Reply as early as possible as its urgent.
    Thanks in advance

    Hi Rashmi,
    I would say, instead of doing it from any event function module, do it from web ui bol layer itself.
    Define get P method of category and set event on the value change. Create that same event from event handler and write the code for getting(use FM) and setting emp responsible in that event using bol programming.
    Please let me know if you need the codes for doing all this.
    It would be great if you can paste the the screen shot of the view you are using in web ui.
    Thanks,
    Bhushan

  • How to catch an event when the user change values in the project information dialog

    hi,
    i would like to know how to catch an event in my C# code when the user change values in the project information dialog?
    taskChange doesn't catch these changes.
    thanks.
    Thanks, Sharon.

    You need to write save button event handler for project information dialog. Link is having same functionality described. 
    http://blogs.msdn.com/b/husainzgh/archive/2011/08/01/hooking-into-the-project-detail-page-ribbon-save-button-without-overriding-out-of-box-functionality-in-project-web-access-for-project-server-2010.aspx
    http://www.projectserver2010blog.com/2010/01/sharepoint-2010-webpart-client-server.html
    kirtesh

  • Figuring out how to trigger an event when a component is visible on screen?

    Hey guys, I got this arraycollection i'm setting on TAB 1 of
    my tab navigator. I'm using this array collection as a dataprovider
    for my grid on TAB 2. I dynamically add rows with an AS function
    and that seems to work fine when i click on a button on tab 2.
    However, I want my function to get called everytime i switch
    from tab 1 to tab 2.
    It seems simple enough but some events seem to run the
    function more than once and that probably isn't the most efficient
    way like the render event or updateComplete.

    also, what I'm noticing is if i have:
    -main application Tab Navigator with 2 canvases
    -- Canvas1
    ---componentA
    ---componentB
    --Canvas2
    ---ComponentD
    ---ComponentE
    the show event registers for Canvas1 and 2 but never
    dispatches for the canvas inside of any of the components?? Any
    ideas?

  • How to trigger the event when leave current iView

    Hi Expert,
    We have this common senario: when leave current iView(eg, change the menu, close the window etc) we need to notify user whether they want to save current content or not, but I found wdDoExit(in views or coponent controller) can not be triggered
    Is there any event we can use to reside these logic?
    Thanks in advance.
    Best Regards,
    William

    How about trying to use the wdDoBeforeAction event?  You can use a flag to keep track of whether or not there is unsaved data, and check it in the above-mentioned event.
    Walter

  • How to trigger an event when a file is created.

    Hi!
    I need labview to wait until a file is created in a certain folder (by other program) and then perform a task.
    Is this possible?
    I have no idea how to implement it.
    Thank you!
    Solved!
    Go to Solution.

    File System Watcher does what you want if you don't want to poll.
    I can't remember where I found this VI but attached is an example of it working.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    Monitor File Changes FileSystemWatcher_working.vi ‏37 KB

  • How to trigger a workflow when data inside a table changes

    Hi
    How to trigger a workflow when data inside a table changes ??
    We need to trigger a workflow when STAT2 field value in PA0000 table changes.
    rgds
    Chemmanz

    Make use of Business Object BUS1065. In this business Object you have an attribute Status which you can use. There are a number of events that will get triggered when the status is changed.
    Thanks
    Arghadip

  • How to trigger own events?

    How can you create your own events to be triggered?
    For instance, I have an InputStream that I've got through a Socket that's listening for incoming data. I want to signal/trigger an event when data comes in so that the gui (in another class) can take appropriate actions. How can you do this?

    The basic idea is this:
    public interface SockeListener
        void dataEvent(/* pass a parameter if needed.  Often an event interface is added */);
    public class MySocket
         private final List listeners = new ArrayList();
         public void addListener(SocketListener listener)
              listeners.add(listener);
         public void removeListener(SocketListener listener)
              listeners.remove(listener);
         private void triggerEvent()
               for (Iterator i = listeners.iterator(); i.hasNext();)
                    ((SocketListener) i).dataEvent();
    }Check out the PropertyChangeSupport class also.

  • Dictionary Search Help - how to trigger an event after F4 help

    Hi,
    I been searching the web lately to find a way to trigger an event after using the F4 input help.
    Here is an example of what I would like to do:
    - I have a WD form with a inputfield in it.
    - The input field is bound to datalement "LIFNR".
    - In my context I have specified the Input Help Mode to "Dictionary Search Help"
    - And the Dictionay Search Help is set to "KRED"
    A user will the click on F4 to start the Search help, then pick a LIFNR and the WD inputfield wil be filled.
    What I want is to trigger an event when this is happening.
    Does anyone have som tips or guides for me regarding this problem?
    Thanks in advance! =)

    Hi Mathias Hagen
    Actually there is no straight way of doing this , but still you can trigger a event in F4 search help ...  below is very informative blog to trigger the F4 search help by chris
    Firing a WDA event on using a Search Help - how to do it, without an NDA
    regards
    Chinnaiya P

  • How can I download itunes when I get the following errors...have installed and uninstalled a dozen times with various fixes...b noir for example and used Revo to clean up..ituneshelper did not install correctly error 7

    How can I download itunes when I get the following errors  ..ituneshelper did not install correctly error 7..I .have installed and uninstalled a dozen times with various fixes...b noir for example and used Revo to clean up.
    This has been a problem for 6 weeks now, I retry when I have time and patience and use my other laptop which is also Windows 7 and runs with no problem.
    Every attempt fails when all seems fine on the desktop and I try to log on to Itunes I get the errors.
    Any help greatly appreciated.
    billymac

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features(Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (If this won't uninstall press on)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.
    tt2

  • How to trigger left_click_run event on ALV GRID

    Hiiiiiiii........
    Can any of u please tell me how to trigger left_click_run event on ALV GRID.
         There is an event LEFT_CLICK_RUN and  its a public accessed event. But the problem is , the corresponding  attribute of this event  "EVENT_LEFT_CLICK_RUN" which is needed to registered that event (We need to register our events through a method set_register_events  using table of type cntl_simple_events...) is protect accessed. So I am unable to use that attribute...Could u please tell  me is there any alternative way to register that event.......ANY POSSIBLE WAY?
    Thanks in advance,
    Rams

    I think you should use event selection_changed. Note that you shouldn't allow multiple selection for the tree at the same time, i.e. use: create object g_tree exporting \[...\] node_selection_mode = cl_gui_column_tree=>node_sel_mode_single.
    For more information, see this thread: Urgently required :  cl_gui_alv_tree single_click event...

  • How to trigger an event in the program

    Hi,
    I have a program. The purpose of the program is to retrieve the data matching the selection criteria and downlod the same to a file.
    In the selection screen, I have a parameter called 'EVENT'. Here, user enters some event name. Generally, they enter the 'Background job processing events'.
    So, my requirement is... once the files are successfully downloaded, the program should trigger the 'EVENT' specified in the selection screen at run time.
    Can someone help me in this regard. How to trigger an EVENT in the program. Is there any Function Module or Method available in SAP which triggers the EVENT at runtime.
    And is there any table available in SAP which stores all the events available in SAP. Because, whenever the user enters an EVENT in the selection screen, we should check whether the event is valid or not. So, if there is any table available which has all the events then, it will be easy I guess. or is there any other way to validate the EVENT name.
    Please help me. Thanks in advance,
    Best Regards,
    Paddu.

    Hello Paddu,
    have a look at tables
    - btcsev, btcsed (system events)
    - btcuev, btcued (user events)
    and use function BP_EVENT_RAISE.
    kind regards
    Walter Habich

  • How to trigger email notification when users fail to reset your password in fim 2010 r2.

    Hi,
    how to trigger email notification when users fail to reset  your password in fim 2010 r2
    Regards
    Anil Kumar

    Hi Sylvain,
    I did all thing as you told me.First i created Criteria based Set after this we created a Workflow type Action and Actvities Type Notifcation Email template and finally i called this Workflow in MPR as Set Transition and call Set that i was created below.and
    check Advance View of Set this gives
    <Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect"
    xmlns="/Request[(Creator">http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Request[(Creator = 'b0b36673-d43b-4cfa-a7a2-aff14fd90522') and (RequestStatus = 'Denied or PostProcessingError')]</Filter>
    But this is not working for me so please tell me where i am wrong.
    Regards
    Anil Kumar

  • How to trigger email notification when users fail to give correct answers to reset your password in fim 2010 r2

    Hi,
    How to trigger email notification when users fail to give correct answers to reset your password in fim 2010 r2
    Senario:I want put wrong answering to the Questions that i was during registration if i give wrong answers to the questions then a Email Notification should be trigger to Users.
    Regards
    Anil Kumar

    Hi Sylvain,
    I did all thing as you told me.First i created Criteria based Set after this we created a Workflow type Action and Actvities Type Notifcation Email template and finally i called this Workflow in MPR as Set Transition and call Set that i was created below.and
    check Advance View of Set this gives
    <Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect"
    xmlns="/Request[(Creator">http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Request[(Creator = 'b0b36673-d43b-4cfa-a7a2-aff14fd90522') and (RequestStatus = 'Denied or PostProcessingError')]</Filter>
    But this is not working for me so please tell me where i am wrong.
    Regards
    Anil Kumar

Maybe you are looking for

  • Trouble installing Mac drivers on Windows Vista

    I've just installed Windows Vista on my intel-based IMac. I'm at the final part where I'm supposed to install the Mac drivers on Vista by ejecting the Windows installation disk and inserting the Mac OS X installation disk. According to the Boot Camp

  • Answers-Perf

    Hi, Can Any one tell me the performance tuning techniques we can do in OBIEE Answers side?not RPD

  • Bank Name in Incoming Payments

    Hi All Please help me out of a Query.I jus want to make report on incoming payments. I have written query to report all incoming payments made by customers.But when i try to capture the cheque details i am not able to capture the bank Name of the che

  • Which objects are recorded in a TBOM?

    Hello all, In a dynamic recording of the TBOM for the BPCA, what level of objects is recorded?  For example, does it capture every field on the screen?  Does it capture a field even if the user recording it does not click onto that field?  Does it re

  • Has anyone else experienced their macbook powering off by itself after installing lion?

    This never happened before the lion install, but now it has happened twice and I can't restart without attempting power on mulitple times.