Start PC using Event

Hi ,
I need to start my process chain using event .
but for PC job name always start with 'BI_PROCESS_TRIGGER', so how i can give the jobname to start the PC ?
Thanks
Don

Hi Jimmy,
Right click on the start variant..for your process chain..  and click on Maintain variant..--> click on change selection.. and choose after event --> give the event name. Schedule process chain..
To check if the job name is based on event. go to SM37 and make your selections after event " your event name" and execute.. you get to see job released ..and if you double click..you notice in Job start section-->After event "your event name".
Regards
Manga(Assign points--its a way to say thanks!!)
Message was edited by: Manga

Similar Messages

  • How do I use event.target.name in AS2?

    Thanks to kglad I was able to see how event.target.name in AS3 could make a button load a movieclip with the same namesake.
    I'm doing the same thing now in AS2 but don't know what to write instead of event.target.name.
    And so at the moment each button pushes info into an array and then a function uses that to decide which movieclip to attach to a holder after it has faded out once, and then fades in again...
    // ***** IMAGE GALLERY START ***** //
    // Add image to holder
    imgholder.attachMovie("img0", "image0_0", 1)
    // Array
    var nextLoad = ["img0"];
    // Btn listeners
    img5.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img5"); btnClick() } // Written on 1 line
    img4.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img4"); btnClick() }
    img3.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img3"); btnClick() }
    img2.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img2"); btnClick() }
    img1.onRelease = function() {
    nextLoad.pop();
    nextLoad.push("img1");
    btnClick()
    img0.onRelease = function() {
    nextLoad.pop();
    nextLoad.push("img0");
    btnClick()
    // The btn function
    function btnClick() {
    trace ("click");
    var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 100, 0, 1, true);
    myImgTween.onMotionFinished = function() {
    fadeOutImg();
    // The btn function part II
    function fadeOutImg() {
    trace ("fadeOutImg");
    imgholder.attachMovie(nextLoad, "image1_1", 1);
    var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 0, 100, 1, true);
    I know I should be able to push the button name into the array, but am having to use a string... I'm sure my code is cumbersome!! But it works. I've tried pushing the button name but it end up including the full stage reference.
    Is there a cleaner way of doing this using event.target.name?
    Thanks for looking!

    There is no event.target in AS2. However since AS2 has no way of remembering the scope object where the target object resides, you can use this to your advantage to retrieve the name of the target by using the "this" command in the function whenever you use the above format "mc.onPress = myfunc". FYI, the popular workaround Delegate, made it possible that when you called "this" in the function, you could retrieve the scope object where the target instance resides. So without its use, "this" will return the name of the target object. Anyway this is the code you can use:
    imgholder.attachMovie("img0","image0_0",1);
    var nextLoad = ["img0"];
    img5.onRelease = onImgRelease;
    img4.onRelease = onImgRelease;
    img3.onRelease = onImgRelease;
    img2.onRelease = onImgRelease;
    img1.onRelease = onImgRelease;
    img0.onRelease = onImgRelease;
    function onImgRelease():Void {
       nextLoad.pop();
       nextLoad.push(this._name);
       btnClick();
    // The btn function
    function btnClick() {
       trace("click");
       var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 100, 0, 1, true);
       myImgTween.onMotionFinished = function() {
          fadeOutImg();
    // The btn function part II
    function fadeOutImg() {
       trace("fadeOutImg");
       imgholder.attachMovie(nextLoad,"image1_1",1);
       var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 0, 100, 1, true);

  • Not able to reach start of selection event in the called program

    hi,
    I have a report 1 in which i am calling report2 using below syntax,
    SUBMIT Report2  VIA JOB gv_jobname NUMBER gv_jobcount
                 WITH s_g_yr  IN s_g_yr
                 WITH s_c_rf  IN s_c_rf
    AND RETURN.
    the problem is when report 2 is called it exists after event "at selection screen output" and does not go in the event "start of selection". 
    Please advise. how can i reach the "start of selection" event where all the processing logic is specified..
    Thanks and Regards,
    Kriti

    Hi,
    In your report you have used the event AT SELECTION-SCREEN OUTPUT. So, first it will trigger this event and then it will go for START-OF-SELECTION event.
    Events will trigger in this following way.
    LOAD PROGRAM
    INITIALIZATION
    AT SELECTION-SCREEN
    AT SELECTION-SCREEN OUTPUT
    START-OF-SELECTION
    END-OF-SELECTION
    TOP-OF-PAGE
    END-OF-PAGE
    In above sequence events will trigger in report.
    Regards,
    Shankar.

  • Using events in Process chain

    Hi All,
    I have below scenario:
    Now we are using event collecter and subsequent event in event collector .
    I am going to convert my loads into Process chain from Infopackage groups. My problem is I can use event1 directly in Start of process chain but how to trigger event2 using this chain. I need to trigger event2 once my PC is completed successfully. The even2 will trigger a background job to execute one ABAP program. This ABAP program triggers event1 again if it meets certain requirement.
    Hope you understood my problem.
    Thanks in advance
    Vani

    Hi,
    If I have understood properly,
    Event1(Start) --> Sequence of PC steps --> ABAP Program Process Type (To trigger Event2)  --> Event2 triggers again Event1( If meets requirement)
    What is your End of the Process Chain if it triggers again Event1?
    Why do you want to trigger events in a cyclic way?
    Regards,
    Suman

  • Use Events or delegates in my application??

    I am trying to implements events in c#. my scenario is that there will be multiple events and there will be multiple events listeners to an event(many to many relationship).
    the problem here is since there are many events and if i implement all in one class, maintaining code will a tough task, and if i create one class per event there will be too many classes.
    I found a solution which has an event broker in this link: http://msforge.net/blogs/paki/archive/2007/11/20/EventBroker-implementation-in-C_2300_-full-source-code.aspx
    but here the author is using delegates only instead of events. he is maintaining a dictionary wherein he is saving some event ID as key and list of delegates as value. this solves my problem of code maintenance.
    my question is that is it fine to do this way since behind the scenes an event is a construct that wraps a delegate only or use events which c# is already providing rather than maintaining a dictionary?
    which one is a better way in terms of performance or any other way?
    Also is there any better way to implement my scenario with events
    Please provide your inputs.

    You should take a look at the event aggregator pattern:
    http://martinfowler.com/eaaDev/EventAggregator.html
    I have written a blog post about how to communicate between classes using the event aggregator class that is included in Prism here:
    http://blog.magnusmontin.net/2014/02/28/using-the-event-aggregator-pattern-to-communicate-between-view-models/
    Prism is a framework for building composite XAML based applications from the Microsoft Patterns and Practices Team:
    http://msdn.microsoft.com/en-us/library/gg406140.aspx. But even if you are not developing a XAML based application, the concepts and many of the components are still useful.
    Another popular framework out there is MvvmLight which uses a Messenger class to handle this kind of communication:
    https://marcominerva.wordpress.com/2014/06/25/how-to-send-string-and-content-messages-with-mvvm-light-messenger/
    http://stackoverflow.com/questions/16993918/mvvm-light-messenger-sending-and-registering-objects
    http://msdn.microsoft.com/en-us/magazine/dn745866.aspx
    Hope that helps.
    Please remember to mark helpful posts as answer and/or helpful and please start a new thread if you have a new question.

  • Trigger process chain using event

    Hi all,
    I’d like to know if someone ever faced this kind of situation.
    I have a process in R/3 and it must run every day, and when it’s finished I have to start a process chain in BW.
    I thought to do this using events. So, I created a Job that executes this process and added a step( an ABAP program ) that generates an event in a target system, BW.
    The program is this one:
    PARAMETERS:
        p_eventi   TYPE btceventid,
        p_eventp   TYPE btcevtparm,
        p_server   TYPE btcserver.
    Obligatory parameter: EventID.
    EventID should be an existing event already defined in transaction
    SM64 or using CREATE method of class CL_BATCH_EVENT:
    p_eventi   = 'SAP_TEST'.
    Optional parameters: event parameter and target server.
    p_eventp = 'Event parameter'.
    p_server    = ''.
      CALL METHOD cl_batch_event=>raise
        EXPORTING
          i_eventparm                    = p_eventp
          i_server                       = p_server
          i_eventid                      = p_eventi
        EXCEPTIONS
          excpt_raise_failed             = 1
          excpt_server_accepts_no_events = 2
          excpt_raise_forbidden          = 3
          excpt_unknown_event            = 4
          excpt_no_authority             = 5
          OTHERS                         = 6.
      CASE sy-subrc.
        WHEN 0.
          EXIT.
        WHEN 1 OR 2 OR 3.
    Raise failed.
        WHEN 4.
    Event does not exist.
        WHEN OTHERS.
    Raised failed due to unknown reason.
      ENDCASE.
    The execution of the job appears to be OK, but I checked the log at SM62 and couldn’t find any entrie, and the process chain didn’t start too.
    I created the event at BW and R/3 side,  informed the variant with event / server in R/3, etc.
    I’m missing some step??
    Best Regards,
    Tomas

    This is what this note does.  From R/3, it will trigger an event in BW.
    You can also read this post:
    Triggering a Process Chain From R/3 pgm
    Hope this helps.

  • Start Task and Event Loops

    I have a Window with an Event Loop that looks like this:
    Event Loop
    when StartButton.click do
    SO.EventLoop;
    when StopButton.click do
    post SO.Z;
    End Event;
    I have ServiceObject (SO) that has an EventLoop that looks like this:
    Event Loop
    when X do
    start task Y();
    when Z do
    exit;
    End Event;
    The Event Loop on my SO is not catching Z until Y finishes processing.
    Does anyone know why? Is there another way do this so I can catch Z
    before Y finishes?
    Paul Monax
    Consultant
    Sage It Partners
    303.779.3309 x204
    [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Paul
    Could it be that the StopButton.Click() event is not being trapped? That is, the window's event loop is waiting for the SO to complete, as it is a synchronous task. Therefore, use:
    when StartButton.Click() do
    start task SO.EventLoop();
    Anyway, I would think that a better way to do it would be to have the SO's EventLoop running initially. That is, start it (as a separate task) elsewhere (perhaps when the window is opened). Then, when you get the StartButton.Click() event, do:
    when StartButton.Click() do
    post SO.X; -- This will cause task Y to begin
    Hope this helps...
    Regards
    Sam Keall
    [email protected] on 11/08/98 02:42:00
    To: [email protected]
    cc: (bcc: Sam Keall/GB/ABNAMRO/NL)
    Subject: Start Task and Event Loops
    I have a Window with an Event Loop that looks like this:
    Event Loop
    when StartButton.click do
    SO.EventLoop;
    when StopButton.click do
    post SO.Z;
    End Event;
    I have ServiceObject (SO) that has an EventLoop that looks like this:
    Event Loop
    when X do
    start task Y();
    when Z do
    exit;
    End Event;
    The Event Loop on my SO is not catching Z until Y finishes processing.
    Does anyone know why? Is there another way do this so I can catch Z
    before Y finishes?
    Paul Monax
    Consultant
    Sage It Partners
    303.779.3309 x204
    [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • How to control the tab control using event structure?

    Hi,
    I am using tab control and event structure in the program.
    When i run the application event is not happening for the active page.
    When user switches from active page to the other page then event is taking place for all pages
    So, how to get the event trigger for the active page when the application is started
    For more clarification i am attaching the code "Test Control Tab using Event Structure.vi"
    Attachments:
    Test Control Tab using Event Structure.vi ‏52 KB

    You have a basic misunderstanding of dataflow. Maybe you should start with some tutorials or study some of the examples that ship with LabVIEW.
    The event structure belongs inside the while loop, and not vice versa. RIght now, the event structure only runs exactly once and never again.
    If the stop is pressed first, the VI will stop. Game over.
    If the tab control is changed (from any state to any other state!), the inner loop will spin forever as fast as the CPU allows, either executing one or the other case. It just reads the tab terminal to decide which case to execute. Changing tab never triggers any events. The VI is trapped inside the event until stop is pressed to stop the VI.
    you were closer to a reasonable program in the other thread:
    http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=287905
    Have you tried execution highlighting? Maybe things would become more clear of you do.
    LabVIEW Champion . Do more with less code and in less time .

  • How can I view my photos in "Events" like in iPhoto? How can I create events?  I have 55,000 photos and 1700 events so the only way I can possibly manage my photos is using events that are one slide in size.

    I have 55,000 images organized into about 1700 events. The only reasonable way to view my library is using events in iPhoto where each event has one image That still leaves 1700 images to sort through but that is a lot easier than 55,000 images.  In the side bar is a folder with "iPhoto Events" but those views still show all of the slides.  How can I create events and view my photos as events as in iPhoto?  Events are critical for large libraries and has been my primary way to sort images.
    Thanks!

    I had a problem a couple of months ago when iPhotos suddenly rearranged the order of my Events (Why won't iPhoto let me arrange my photos?) .  I was told "Use albums not events - events are not a good way to organize - albums and folder are designed for organisation and are very flexible".
    Haha!  I should have paid attention and read between the lines!  My iPhotos were highly organised groupings - not according to date but the way I wanted them - and it was so easy to do!  I see now that if I had them all in albums, as per the Apple Apologist suggestion, I wouldn't have this unholy mess I have been left with just to make iPhone & iCloud users happy.  I am now going through Photos and making Albums (of what used to be in my Events)  ... maybe I'll get this finished before they do another non user friendly update!

  • I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have manged to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the pr

    I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the projects, what I would like is a piece of text  or icon that when you roll over it and then click a separate window pops up with additional information in, once finished reading the info you can then click to close the box, any advice on how to do this?

    The best way to do what you're asking is with the Composition widget. Start with the Tooltip preset, which, by default shows the info on rollover. You can change the option to show on click, which is what you're after. You can also add the close button or have the info disappear on rollout.
    David

  • I've recently started to use Numbers but when I try to sync to iCloud it asks me to create a new iCloud account. Problem is I already have one and that's the one I want to use. Looks like I have the same situation on my iphone. Any guidance? Thanks.

    I've recently started to use Numbers on my macbook pro but when I try to sync to iCloud it asks me to create a new iCloud account. Problem is I already have one and that's the one I want to use.
    Looks like I have the same situation on my iphone.
    The only option I'm being given is to create an lCloud account.
    Any guidance? Thanks.

    The last thing you want is a second iCloud account. Try logging out and back in in System Preferences. If that doesn't work, I'd get AppleCare on the line.
    Jerry

  • Add fields to maintenance view and update then using events

    Hi experts:
      I've created a table with 4 fields, one of them is userid. Also, there is a maintenance view to add new entries.
      I want to display user name when typing userid using events (1 or 21). I know how to do it if username is one of the fields of the table, but there is a requirement to not store username in the table, just userid.
    My question is: is possible to add a field into the maintenance view and update it using events but not store the value in DB?.
    Thanks in advance for your help.
    Regards,
    Carlos.

    In the save event just clear the entries of the field(user name) in the internal table.

  • Can i use events for anything i want?

    hi
    i've got a doubt about events. i am using events to send information between objects, so that the objects don't need to know who they are sending the information to.
    so i created my own events, listener and listenermulticaster
    but i have the feeling that events are intended to be used by the GUI objects, swing and awt.
    my question is if it is a good programming practice to use events to communicate other kind of objects. or maybe using events is not desirable at all??
    if events must not be used for this kind of works, what are the other ways to do it??
    thanx in advance,
    Lagarto

    well, thank you for your time
    now im considering using interfaces. if i understand it, the idea would be this:
    object A has information to send, so it has an atribute of tipe MyInterface, which has the methods to send the data.
    object B wants to get the data, so it create a new MyInterface and do something like:
    A.setMyInterface(new MyInterface() {....});
    i think this would work if there is only object B which wants the data (actually, this is the case i was thinking of from the beginning)
    but what can i do if there are more objects wich must get the data?
    Must the object A keep a Vector or something of more than one interfaces??
    thanks again...
    Lagarto

  • Can not start HTTP_server using "opmnctl startall" after applying p4505133

    After I apply patch 4505133 on win32
    10.1.0.5 PATCH SET FOR ORACLE DATABASE SERVER
    I can not start HTTP_Server using opmnctl startall, got following error in apache log file:
    [Thu Mar 22 22:43:54 2007] [error] (2)No such file or directory: mod_plsql: Please check your enviroment.\nORACLE_HOME is [C:\\OracleHomes\\oms10g]\nPATH is [C:\\OracleHomes\\oms10g\\bin;C:\\OracleHomes\\oms10g\\Perl\\5.6.1\\bin\\MSWin32-x86;C:\\OracleHomes\\oms10g\\Apache\\Apache\\fastcgi;C:\\OracleHomes\\oms10g\\opmn\\bin;C:\\OracleHomes\\oms10g\\opmn\\lib;C:\\OracleHomes\\oms10g\\opmn\\bin;C:\\OracleHomes\\oms10g\\opmn\\lib;C:\\OracleHomes\\oms10g\\bin;C:\\WINDOWS;C:\\WINDOWS\\system32]\nNLS_LANG is [Not Set]
    [Thu Mar 22 22:44:00 2007] [crit] (2)No such file or directory: mod_plsql: Unable to initialize Oracle OCI
    Any idea what is going on?
    thanks,

    Thanks for u r reply.
    resolved this issue
    oracle/middleware/oracle_idm1/bin
    oidldapd folder is missing. so we copied the folder from trail environment and placed in above directory and started opmnctl services.
    it worked.
    Thanks and Regards,
    sri485.

  • My granddaughter put the Start Up Disk in the drive inadvertently and now the drive will not eject it or start up using the HD.  I have tried all of the suggestions for opening it that appear in the manual.  Help?

    My granddaughter put the Start Up Disk in the drive inadvertently and now the drive will not eject it or start up using the HD.  I have tried all of the suggestions for opening it that appear in the manual.  Help?  It is her computer, a iMac G3 or G4 with superdrive, the one with the ball shaped base.   Thank you.

    It's a tray loading drive, there should be a little hole next to it, just large enough for a paper clip.  Stick the end of the paper clip in it and the tray should open.
    Miriam

Maybe you are looking for

  • Select * query with alias

    Hi there, I want to retrive all the field with select * from table query but i just wnt to give alias for one column is there any ways to do this?

  • TS1372 cannot start my iPod. screen is and remain black although it does synchronise on iTunes

    has anyone faced the same situation? i cannot use my ipod. all functions seems to be working expect that the screen remains inactive so i cannot use my device

  • Need to sync icloud and Outlook

    In my old PC computer in outlook -- I could make a change in a phone # for example -- hit refresh -- and the changes went into my iPhone and ipad -- need to do this on my NEW computer -- how do I get icloud into my Outlook?

  • WAAS inline deployment

    Hello All, I'm deploying a couple of WAE-512's in "inline" mode for a customer. I have the configuration and seems pretty straight forward, looks like I just need to have the inlinegroup created and allow all VLAN's. I will also have a crossover conn

  • Message / Broadcast to other Developers for an Application?

    Hi All, In Apex 4.1.1, is there any way you can leave a broadcast message that would be visible to other developers when they login to a space and click 'Edit' on an application? I have been asked to work in an app that has an unknown number of other