Any event triggered when SM35 session completed?

Hi Guys.
I wanted to know if there is an event that is triggered after a batch input session has been processed? We want to do something as soon as the batch input sessions are completed - may be something like sending mails to users etc.
I know we can make a separate program that can check system tables to see the status of the session. But I remember reading somewhere sometime that a batch input session's completion triggers an event.
Please advice.
Thanks in adv.

You can use FUNCTION RS_SEND_MAIL_FOR_SPOOLLIST If UNIX is being used,
you may send a report to any internet mail with the following:
REPORT ZSNDMAIL.
DATA: COMND (200) type c.
DATA: RESULT (200) type c.
PARAMETERS: FILE (60) type c lower case default '/sapdata/sd_outbound/testmail.dat'.
PARAMETERS: SUBJECT (60) type c lower case.
PARAMETERS: EMAIL (60) type c lower case.
INITIALIZATION.
TRANSLATE EMAIL TO LOWER CASE.
START-OF-SELECTION.
TRANSLATE EMAIL TO LOWER CASE.
CONCATENATE 'cat' FILE '| elm -s "' subject '"' email into comnd seperated by space.
CALL 'SYSTEM' ID 'COMMAND' FIELD comnd 'TAB' FIELD UNIX_RESULTS-SYS.
Loop at Results.
write: /1 results.
endloop .
end-of-selection.

Similar Messages

  • Any event triggered when deletion happens

    Hi guys,
    I wonder is there any way how to handle following scenario:
    We have custom BO which has association to Activity BO.
    User deletes Activity's instance and here I want that my custom BO's instance would be deleted together with this activity, as we have 1:1 relationship between Activity BO and mine custom BO.
    As I know, than none of events on activity could be triggered when row from Activity's OWL is removed, right? As possible work around I see MDR usage on my custom BO, but it won't be real time check if my custom BO instance still has association to activity. So another thought what I had, but I couldn't find the way how to get it working, is there any chance to trigger on my custom BOs OWL any actions (mass enabled action which checks if my instances has set association to activity)?
    Thanks,
    Uldis

    In case of an internal communication used, you would not receive a delete event.
    The backend would delete your custom object.
    Explained simple, internal communication creates, updates and deletes instances of objects (the destination object) based on modifications of a source object asynchronously in the background (you can define additional conditions when to create, update or delete).
    So you might use it to create and delete instances of your custom object.
    The approach using internal communication is just a suggestion and might not be what you need.

  • "Presave" Event triggered when the form is loaded.

    Dear all,
    I created an interactive form with an XML interface and I use it into a Web Dynpro ABAP.
    The version of my Adobe LiveCycle Designer is 8.0.
    My problem is that the "presave" event is triggered when the form is loaded.
    For example, if I place a field in the form and add the script " this.rawValue = "123"; " to the "presave" event of this field, the field will have the value "123" when I launch the Web Dynpro application.
    Then, if the user does not make any input and directly save the form, the "presave" event is not triggered.
    Does anyone know why I get such a behavior?

    Steeven, I was unable to test this scenario as Adobe Credentials are not installed in my system. But something similar from Java Script is referenced here in the below mentioned link.
    Please look if you find it useful:
    http://careerabap.blogspot.ca/2011/02/custom-dialog-box-message-while-saving.html
    Please reward if you find it useful.
    Regards,
    Nitin.

  • Any event dispatched when a pdf content is completely loaded?

    I have a mx:HTML and the location points to a large remote pdf file. Is there anyway I know when the pdf file is loaded completely? I tried "complete" event but it was dispatched way before pdf file is loaded.

    Hi,
    I have the same problem with some specific PDF files. For more than 90% it hangs when opening the file, but sometimes it works (with the same file).
    The workflows where it sometimes worked:
    a) Loading the PDF, the reader is started the first time and displays license dialog.
    b) The reader was already runing and file is loaded with Drag&Drop or File/Open in the Reader
    But most times it does not load.
    I could not find out which file is missing or trying to be opened. So I tried with the CP949.TXT.
    I found no CP949.TXT in Reader 8 installation, so I took it from the link, pasted into notepad and stored in the respective directory
    C:\Program Files (x86)\Adobe\Reader 9.0\Resource\TypeSupport\Unicode\Mappings\win\
    Now it seems to work fine, opening PDFs with double click from exporer.
    But why did Adobe Reader 8 not have the TypeSupport directory at all?
    Even when having found a fix (hack?), I think I did not understand the cause of this problem.
    Regards,
    TheLastReader

  • Do any events fire when the Flash Player exits?

    Hey all.
    I use a LocalConnection object to prevent being able to run our SWF multiple times on the same computer.
    The problem is that this connection can remain in place even when the SWF which called it closes. 
    I have:
    1) An External Interface call to dispose() all HTML pages call dispose() on pageunload which closes the connection.... But this is unreliable because if the browser crashes, you are locked out of the SWF
    2) I tried some crazy try/catch.  If SWF A exists and SWF B tries to be initialised.... SWFB cannot connect so it sends a function to SWFA to dispose(). This should free the connection for SWFB to connect to?  But this does not work well either because sometimes a localconnection can be in use but calling "dipose()" throws an error, often because the LocalConnection swf which should be available is already gone.
    What this all comes down to, is that I need a way to detect when the player closes, so i can close the localconnection.
    stage.addEventListener(Event.EXIT, onExit);
    function onExit(e:Event): void
             if (localconnection)
                    localconnection.close();
    Does anything like this exist?
    Thanks,

    Thanks for taking the time to answer kglad!
    I should have been clearer it is a Web App, so your answer remains valid.
    I have not completely followed you on your advice.. When you say "So it only prevents another swf from running if something is returned from a currently running swf".
    Could you expand on that? I am desperate to fix the issue, but it just seems localconnection is not the best method for "single swf execution". I just have not found any other methods.
    Thanks.

  • Re: AfterValueChange event triggered when it shouldn'tbe

    <[email protected]>
    Hi there,
    I'm hoping that someone out there has experienced the following (and
    knows why it is happening. ) :-)
    I have a couple of windows on which the AfterValueChange event is
    triggered on a field upon hitting the delete key.
    We all know that this should only happen upon leaving the field, ie. the
    field loosing focus. The problem is that I'm trying to recreate this in
    a simple test class, but now it won't happen. I still have the original
    windows on which it is happening, but I would like to construct
    something small and simple to send to Forte.
    Any ideas as to why this could be happening?
    Many thanks in advance.
    JacoIs the "Validate on KeyStroke" property turned on for the widget in the
    original window? I believe the AfterValueChange gets triggered every
    time you hit a key if it is.
    I can't think of anything else, off the top of my head. I haven't had my 1st
    pot of coffee yet....
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hello Jaco,
    i could not reproduce the problem you have. The best way for a help in your
    case is a little sample which may be modified by others (forte-users).
    Please attach your PEX-Code in your next reply and describe it.
    I'am absolutly sure that we are able to give an helpfull answer.
    One question forward: 'Do you use the FunktionKey-Event in your Window(s)?'
    Sorry, but no other way exists to resolve your problem (We/I'am too far,
    for making a visit :-) ).
    At 08:14 09.10.98 GMT, you wrote:
    <[email protected]>
    Hi there,
    I'm hoping that someone out there has experienced the following (and
    knows why it is happening. ) :-)
    I have a couple of windows on which the AfterValueChange event is
    triggered on a field upon hitting the delete key.
    We all know that this should only happen upon leaving the field, ie. the
    field loosing focus. The problem is that I'm trying to recreate this in
    a simple test class, but now it won't happen. I still have the original
    windows on which it is happening, but I would like to construct
    something small and simple to send to Forte.
    Any ideas as to why this could be happening?
    Many thanks in advance.
    Jaco

  • Events triggered when the cross on the top-right corner is tapped

    Hi all,
    I am writing a program for Pocket PC using Personal Profile. I am trying to use WindowListener to make my program do something when the cross on the top-right corner of a frame is tapped. However, neither windowClosing nor windowClosed is triggered. Could anyone give me some hints about doing something when the cross on the top-right corner is tapped?
    Thanks,
    Jokeshing

    the answe to this is to use the windowIconified event. This is what is actually trigged when the X is pressed.

  • Event triggered when a popup closes

    Hello All,
    I have a WD4A application. On one view(SECOND_VIEW) of a window(MAIN_WINDOW), there is a button. When the user clicks this button, a popup window displays.
    Now what i want is that when the popup closes, the previous view(second_view) does some action.
    So the question is how do i find out if the popup window has closed? I am able to close it, but how to inform the view that called it, that it is closed.
    P.S. The popup view is in a different window.

    HI Mithun,
    I had a similar requirement for which i used cross component programming technique. I am using the SUBSCRIBE TO BUTTON EVENT in the WDDOINT method of popup window to register an event handler to it's OK button.
      lo_window->subscribe_to_button_event(
                   button            = if_wd_window=>co_button_OK
                   button_text       = 'Select DOC NR.'
                   action_name       = 'SELECT'
                   action_view       = l_api
                   is_default_button = abap_true ).
    I have created a method TRIGGER_EVENT_NAV in COMPONENTCONTROLLER .In my event handle in popup windowr (action 'SELECT' in my case) i am calling the previously mentioned compcontoller method (TRIGGER_EVENT_NAV) by using this statement WD_COMP_CONTROLLER->TRIGGER_EVENT_NAV( ).
    Now create an event in your COMPONENTCONTROLLER ( eg. OP_SECOND_WDW  - this acts as your outbound plug ) and create a corresponding inbound plug in SECOND WINDOW ( IN_SECOND_WDW ). register this inbound plug (IN_SECOND_WDW) to event of component controller (OP_SECOND_WDW ).
    use this statement
    wd_this->fire_OP_SECOND_WDW_evt
    in the method TRIGGER_EVENT_NAV to trigger the event OP_SECOND_WDW from component controller. This event in  turn triggerrs the inbound  plug IN_SECOND_WDW of second window.
    Further naviagtion within the window is the normal INBOUND - OUTBOUND plug navigation.
    Let me know if you need any further input on this issue.
    Thanks,
    Vivek
    Edited by: Vivek Priyadarshi on Sep 29, 2010 4:45 PM

  • (FP Bug?) - Mc's/Sprite's events triggered when mouse leaves SWF area

    Hi guys,
    I wonder if somebody had a similar problem and can help out. I have a button on y=0 (may be either Movieclip or Sprite) with two events: ROLL_OVER and ROLL_OUT. Now when the mouse pointer leaves the SWF area, both of these events get triggered, even if the button is not hovered at all. There is no MOUSE_LEAVE event defined nor anything like that (see the code below). I realized that changing the y position of the button helps, strangely small numbers don't - if I set y=1 the bug still occurs, but y=20 solves the problem. What the hell? This happens only in Firefox on Mac, Safari seems to work alright. (FF 5.0.1 and 6 tested, on OSX 10.6.8 and 10.7)
    I uploaded a video to youtube in case somebody would be interested of seeing this from Windows (where I assume this doesn't happen, but cannot test at the moment - please leave feedback if you could - http://www.youtube.com/watch?v=YKWl50v_MIo - first 10 seconds are kinda crappy, sorry)
    Is this a Flash Player bug or am I missing something really badly here? Thanks!
    package {
        import flash.display.Sprite;
        import flash.display.Stage;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.display.MovieClip;
        import flash.text.TextField;
        public class Main extends Sprite {
            private var field:TextField;
            public function Main() {
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
                //Set up the textfield
                field = new TextField();
                field.x = 200;
                field.y = 200;
                field.border = true;
                field.width = 200;
                field.height = 100;
                field.wordWrap = true;
                addChild(field);
                //Create and set up the MovieClip or Sprite - the MovieClip/Sprite must have content,
                //cannot be empty, otherwise the bug doesn't appear!
                var b:MovieClip = new MovieClip();
                b.graphics.beginFill(0xCCCCCC);
                b.graphics.drawRect(0, 0, 50, 50);
                b.graphics.endFill();
                addChild(b);
                b.y = 0;
                b.addEventListener(MouseEvent.ROLL_OVER, rollOverHandler);
                b.addEventListener(MouseEvent.ROLL_OUT, rollOutHandler);
            private function rollOverHandler(e:MouseEvent):void {
                field.appendText("Over"+new Date().getTime()+"\n");
                field.scrollV = field.maxScrollV;
            private function rollOutHandler(e:MouseEvent):void {
                field.appendText("Out"+new Date().getTime()+"\n");
                field.scrollV = field.maxScrollV;

    Yep, strange thing. I filed a report so feel free to vote. https://bugbase.adobe.com/index.cfm?event=bug&id=2944625

  • Calendar app not displaying any events but when entering they do update other devices

    New iPhone 6 calendar app appears to accept new events but none show up on calendar. They are updating on iPad and iMac. Any ideas please/

    Can i get assistance on this issue?

  • Event Triggered when a Report is generated

    Hi ,
    When we execute a report is there a trigger which captures this event. I need to execute an APD once the report is executed.
    Could you please give me the name of the event when a report is generated?

    Thanks for the quick response.
    I have tried with POST-FORM event. But it is not working for me.
    Ihave defined a seq 10 with
    a) Condition
    Trigger Event = WHEN-NEW-FORM-INSTANCE
    b) Action
    Type = Builtin
    Builtin Type = Forms_DDL
    Argument = Script for creating a trigger
    I have created another seq 20 with
    a) Condition
    Trigger Event = WHEN-FORM-NAVIGATE
    b) Action
    Type = Builtin
    Builtin Type = Forms_DDL
    Argument = scritpt to disable the trigger
    When form is opened, trigger is getting created.
    But when the user closes the form, it is not disabling the trigger. User closes the form by clicking on 'X' on the window.
    As per your suggesion , I have changed the trigger event to POST-FORM in seq20. It is not working.
    I have tried with WHEN-WINDOW-CLOSED event also.
    Please help me in this.

  • Event triggered for checkbox in cl_gui_alv_grid

    Hi All ,
    I have a requirement like ,i give PO number on selection-screen.After execution, the items should be displayed on second screen ,which has some options on the top like before GR or after GR .(custom screen designed with cl_gui_alv_grid for display)
    I desgined checkboxes for each row of the line item.user can click on multiple rows and click on EXECUTE button on the screen.After that smartform should trigger and print .
    Now my query is how to capture the checkboxes which the user has entered (thru cl_gui_alv_grid) . Is there any event that gets triggered upon clicking the checkboxes?? I need the data of the corresponding row to process further .User can click on multiple items.
    Please respond
    Thanks

    Hi Hemanth
    You should have a field in your internal table matching the checkbox column in ALV.
    Call method CHECK_CHANGED_DATA of CL_GUI_ALV_GRID on user command for execute button,
    it will set the field  = 'X' for ticked lines in your internal table.
    Then use a loop on your internal table and find selected lines.
    You don't need an event triggered when user clicks.
    Edited by: Bulent Balci on Aug 3, 2010 4:42 PM

  • Is there any event that triggers when you switch between components?

    is there any event that triggers when you switch between components?
    like for example... when i switch between components, i need a function to fire everytime i switch...
    ive tried show, hide, and initialize... and none of them work...
    any ideas or help is greately appretiated!!

    Depends on what you are trying to do,
    you have mouseover and mouseout and mouseclick events which you can use on the component and write code to deal with what you want to happen when you change focus. You have keypress event which would allow you to monitor tabbing between components, remember that in most events the currentTarget and target values will give you the information you need to handle component interaction.
    so
    [Bindable] private var CurrentObject: Object; <-------  use this as a pointer to what ever object you are currently focused on or just to indicate things have changed
    addeventListener(MouseEvent.CLICK,myCompponentSwap);
    protected function myComponentSwap(e:event): void
        if (CurrentObject !=e.currentTarget && CurrentObject != null)
             do what you want becuase a component switch just happened
        CurrentObject = e.currentTarget;
    Hope this gets you started.
    David

  • BSEG.CREATED event not triggering when a document is posted in FB60

    Hi All,
    I have a requirement in which i need to post documents in FB60/FB65/FB01 tcode. But when i post the document in FB60 the event BSEG.CREATED is not triggering. I could not see any trace in SWEL. But when i park the document in FB60, FIPP.CREATED event is getting triggerd.
    Can anyone tell me why this BSEG.CREATED event is not triggering.
    Thanking you in advance,
    satheesh.

    Hi Viji,
    Thanks for your quick reply.
    We have maintained the required configurations in the system related to this. But still the event BSEG.CREATED is not triggering.
    for this the alternative solution is to implement the BTE '1030'. But our functional team is asking us to check whey standard business object BSEG.CREATED is not triggering when we post a document. So that particular reason we are not able to find out.
    Configuration maintained.
    1) Created a workflow variant and assigned it to particular company code(OBWA and OBWJ).
    2) Checked the 'Posting' release' and 'Release payments' checkboxes in the OBWA transaction.
    3) Event linkage for BSEG is active.(SWETYPV)
    Thanks,
    satheesh

  • Is there any event in windows universal app (wp8.1&win8.1) that fires when screen locked and unlocked with in the app?

    Hi All,
    Is there any event in windows universal app (wp8.1&win8.1) that fires when screen locked and unlocked with in the app
    Right now, I am using this below mentioned event
    Window.Current.VisibilityChanged +=
    CurrentWindow_VisibilityChanged;, but it fires even when app relaunches.
    Please anybody help me to solve this issue.

    Thanks for your early reply. but, those are system triggers used in background task. I want an event that fires when screen gets locked. like this...(a networkstatuschangedevent)
    NetworkStatusChangedEventHandler
    networkStatusCallback =
    newNetworkStatusChangedEventHandler(OnNetworkStatusChange);

Maybe you are looking for

  • Help Required - Regarding New Implementation

    Hello Experts, Implementing a new SAP ... and got bit confused about the April 1 opening balances and March closure. On 1st March 2014 we entered the following Opening Balances - 1. Open POs 2. Open Sales Orders 3. Stock Opening Balances Then for the

  • How can I share a project specific calendar I created on Entourage 2008 ?

    How can I share a project specific calendar I created on Entourage 2008 without showing my personal calendar? I created a project specific calendar using Entourage 2008 for Mac. I want to add someone that uses Outlook from a PC. We are in the same ex

  • MacMini, miniDisplayPort-VGA Adapter, iTunes(HD)-Video

    Hello, I just bought a new MacMini (model last 2009) I connected trough original Apple miniDisplayPort-VGA adapter to a FullHD-Display. iTunes or Front-row tell me i must connect a HDCP capable Display (via Analog VGA, that make no sense for me) EDIT

  • Reg ALV grid display

    Hi Expert, I am facing simple problem regarding alv display. While retrieving data, records are shown in internal table (It_final), but it doesn't goes to alv display in output. The code is: FORM merge_data .   SORT it_qasr BY probenr prueflos  vorgl

  • Mail replacement for MS Outlook

    I'm using OS 10.8.5 and I need email system to replace MS Outlook. The Mac version of Outlook 2011 (which, like many people, I have to use at work) has the search function disabled. I can't do a search for a name, for example, or anything else. This