Handling SAP Events from CPS

Hello ,
          is there anyway can we handle SAP events from CPS  , our scenario is if we schedule a job in SAP from CPS , the job in SAP is firing an SAP event based job , how can we get the status of event based job from SAP to CPS.
Regards
Raghu

Hi Raghu,
There are a few options here.
You could monitor the SAP event based job in CPS, to see the status.
You could also create the SAP event based job from CPS, then it is automatically monitored.
The best would be to verify if you can simply put the two jobs in a CPS job chain. If the second job only waits for the event and does not do anything with the message of the event, this should be very easy. If the ABAP programs involved are custom developments, you could remove the event dependency and replace it with a CPS job chain too.
Regards,
Anton.

Similar Messages

  • Best way to handle an event from WaitForSingleObject

    Hello LV experts,
    I would like to know what's the best way to handle an event which I catch using the Win32 API (WaitForSingleObject) in Labview(7.1 or 8.20).
    I know there is too many possibilities to do this, but I want to do it  on the best way. that is why I would like to have ideas and tips from you.
    Any and all tips appreciated

    You can download the Library from this link. Inside is an example that shows how to handle windows messages/events.
    http://zone.ni.com/devzone/cda/epd/p/id/4394

  • Event structure doesn't handle all events from external DLL source

    Hi!
    I use a DLL, wich handles an USB CAN transceiver device, and generates LabVIEW user events with extcode.h and PostLVUserEvent() function.
    In my vi I use an event case structure to handle theese external events. The problem is, that if the events come too frequently, then it cannot handle all events.
    The vi contains a couple of parallel while loops which process the incoming data from the external event.
    In another application I use the same architecture, and that works fine. This one is more complex.
    Do you think I have reached the limits of the program? Or what else can be the problem?
    I have tried to use a queue in the  event structure, it helped a little, but yet, not all the events are handled. My external DLL sends all event, so the problem is not there.
    Thanks in advance!

    Hi Wasz,
    Thanks for the post and I hope your well.
    It is not possible for the event structure to miss events - it simply queues them up. To keep the event structure 'in time' with the code you must ensure the code to execute in each event is minimal to allow the event structure to handle the next event. 
    Please see this two links:
    event structure buffering: leading to,
    How to avoid built-up for "cursor move" events? : where somone is trying to avoid handling all events.
    What sort of events are not being handled? Could it be an issue your events are not configured correctly? Maybe if you could produce a small example in LabVIEW code, so we can just test the event structure configuration... someone working around the external dll call - which you seem sure is working correctly.  
    In terms of queuing to process the events in other loops is certainly an option to speed up the event structure. To do this, use a produce/consumer design pattern.
    hope this helps,
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • Handle Portlet event from portal.

    Hi all,
    I wander that we can handle a event is issued by portlet in the portal?
    Example: when I click a command-Link on the portlet, then portal can catch some info of this action I did in the portlet.
    Do you have any idea about it?
    Thanks a lot!
    Edited by: AS84 on Oct 26, 2012 8:26 AM

    Hi again.
    I'm busy at the moment but you have to follow this steps:
    As Producer side (your Portlet):
    - Click on your ADF Component (CommandLink or CommandButton) that you want to generate an event.
    - In Properties Inspector you'll see "Contextual Events" pane. Select in "+" and add new Event.
    As Consumer side (your portal page):
    - Generate a class called EventCosumer or something similar to handle events.
    - Create a method to handle your event: For example
       * Metodo manejador del boton pulsado
       * @param customPayLoad El texto del boton pulsado
      public void handleButtonEvent(DCBindingContainerValueChangeEvent or String customPayLoad) { // It depends of the payload of you want to share
        // Take that you want of value passed
      }- Generate a DataControl from your EventConsumer Java (Right click -> Generate Data Control).
    - Create a methodAction binding in your pageDef.
    - In your pageDef in Contextual Events tabs, subscribe your pageDef to the event generated by EventConsumer.
    This is basically the steps to do all programmatically. Remember that you can subscribe and consume payLoad values in Runtime too :).
    Regards.
    Reference links:
    - My own blog entry (Spanish): http://www.danielmerchanoracle.blogspot.com.es/2012/05/adf-11g-eventos-contextuales.html
    - Frank Nimphius ADF sample about Contextual Events: http://www.oracle.com/technetwork/issue-archive/2011/11-may/o31adf-352561.html
    - Yannick Ongena Blog entry: http://yonaweb.be/inter_component_communication_between_taskflows_adf_and_webcenter
    Edited by: Daniel Merchán on 29-oct-2012 10:43

  • How to handle Lov event from Advanced Table

    hi all,
    I have requirement like I need to return 5 items from lov RN and need to bind them with curresponding 5 coloumns in advanced table which is diplaying fine,
    but once clicked on 'Add New Row' button values from the privious row is getting null/disappearing. All the items in advanced table are binded with proper view Attribute.
    Please let me know why it is behaving so? and kindly give the solution also how can I handle this.

    Hi,
    The columns on which you are returning the values must be messageStyledTexts Right??
    If yes, then you should know that read only fields are not able to hold values and hence the lov mappings gets lost when you click on Add New Row button.
    To avoid this.
    For 5 columns, create 5 form Values and bind the same View Attribute to them as to the columns.
    Now in the LOV also create 5 mappings for form values same as you have created for table columns.
    This way it should work.
    Thanks,
    Gaurav

  • Is it possible to launch a sap event from unix?

    thanks

    hi check this link..
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/frameset.htm
    regards,
    venkat.

  • How to Handle events from audioplayer by ADF ObjectMedia Component

    Hi,
    In My application Having a ADF ObjectMedia Component for the audio play,
    My requirement is to handle the events from the Player,i.e Need to get an
    event when the user pause the player,can i get the event in backing bean.or else please help me in any other way to get the requirement asap.
    Thanking you....

    Hi,
    assume the media player most likely is a browser plugin. Question: Does the media plugin raise events ?
    If the media player has a JavaScript API that allows you to call a JavaScript function then you found a gate open to publish the event to the JSF application
    So as a todo for you: Check with the media player vendor if there exist a JavAScript API or any other sort of eventing.
    Frank

  • Handling standard iview event from web dynpro

    Hi all,
    I hav w a search iView which is SAP standard, when you click an element on the result list it triggers an event. The link contains the following:
    javascript:{jsCode="
    EPCM.storeClientData('urn:com.sap.bor:BUS1001','objid','12002');
    EPCM.storeClientData('urn:com.sap.bor:BUS1001','AllKeys','objid');
    EPCM.raiseEvent('urn:com.sap.bor:BUS1001','select','','a very long url');"};if(opener!=null&&self!=opener){opener.execJS(jsCode);}else{execJS(jsCode);};
    On the other side I'm developing a custom WebDynpro iView whick needs to handle this event. By adding to wdInit() the line WDPortalEventing.subscribe("urn:com.sap.bor:BUS1001", "select", wdThis.wdGetGetReportsListForMaterialAction());  I was able to catch the event. But I can't get the parameters from the event.
    For what i've learned browsing the forum the javascript code above stores the parameters in the "client data bag", and are not directly passed in the event.
    Is there any way to retrieve these parameters from the Web Dynpro iView ?
    Thanks in advance,
    Diego.

    Hi all,
    As a workaround I made a Portal Component application which receives the event and parameters from the standard iView and lanuchs a new event setting the aprameters in the event as Web Dynpro expects them (without using the client databag). Then I inserted this Iview in the same page as the others, but hidden. It's not elegant but is working.

  • To transfer time events from external time recording system to sap r/3

    hi all,
          I have a task to make an interface program between external time recording and sap r/3, and then to transfer the time events from that external system to sap system with the help of an rfc, i have got some information like the data first has to be transferred to the table CC1TEV and then from this table the data will be uploaded to 2011 infotype with the help of a standard program, but i am unable to find a solution for making the interface program and the RFC or BAPI which will transfer the records from external system.
        if anybody has any information on this plz help me out to solve this problem.

    Which recorgding terminals using to capture time events? They should have give some guidelines about this?
    Regards
    niranjan

  • Handling Unit Information from sap mm point of view

    Hi all.
    Looking for Handling Unit Information from sap mm point of view.
    Regards.
    Parameshwar
    Note : Please search forum before posting.
    Edited by: Jeyakanthan A on Sep 22, 2011 1:20 PM

    Please refer the below links
    http://help.sap.com/printdocu/core/print46c/en/data/pdf/LOHU/LOHU.pdf
    http://help.sap.com/bp_bblibrary/600/html/G74_BB_EN_US.htm

  • Dispatch custom event from itemClick handler

    hi,
    I'm trying to dispatch a custom event from my itemClick handler.
    So when I click on an item of my datagrid, I want to send a custom event.
    private function dataGridItemClickHandler( event:ListEvent): void
         dispatchEvent( new myEvent( myEvent.NEW, values[event.columnIndex]["name"]) );
    <mx:DataGrid dataProvider="{values}" itemClick="dataGridItemClickHandler(event)">
    </mx:DataGrid>
    but this code doesn't work.
    Can you help me
    thanks
    best regards

    Please see that you override the function clone() and return the new function.If that is correct.you can call the super() method to initialize your base class.
    If your custom event {myEvent} is in package say: CustomEvent,
    1)import package CustomEvent.myEvent
    2) keep in <mx:metadata>[Event(name="NEW", type="CustomEvent.myEvent")]</mx:metadata>.. name suggest  what type of event you want
    3)Create an itemclick listener and in dataGridItemClickHandler
    private function dataGridItemClickHandler( event:ListEvent): void
         dispatchEvent( new myEvent( ' NEW ', values[event.columnIndex]["name"]) );
    private funcation myEventListener(evt:myEvent):void
    //Put your logic
    4)Use this event by name NEW="myEventListener(event)"  this will behave as event type in the datagrid tag like click, hover and others.
    Hope this helps! Please excuse if anything is logically incorrect.Do point out.Thanks.

  • How to know login history/events of  Sap user from server

    how to know login history/events of  Sap user from server without operating users computer.
    Am using B1 2007A PL47 Forthshift(FSE version 8.5 SP03PL05)

    Hi,
    Check the thread
    Re: User login history SAP Business One
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

  • Launch a RFC in a SAP system from Redwood CPS

    Hi,
    How can I launch a rfc in a SAP system from Redwood ?
    Ex : in SE37, the function DATE_GET_WEEK, with a date (DD.MM.YYYY) as input parameter returns the corresponding week (YYYYWW)
    Regards.

    Hi,
    SAP CPS uses an RFC to communicate with a target SAP system via the XBP interface so that Jobs can be executed.  The CPS executable only knows of the calls that are appropriate to that interface or function modules created when CPS transports are loaded.  If there was an RFC type interface that exposed your function to an external executable then of course CPS could execute the executable.
    Regards,
    Simon

  • Handling FPM Events in Java WDP

    Hi All,
    I have a requirement for a simple WDPJ iView that responds to the selection of an employee in MSS.
    Is it possible to handle the employee selection event from Business Package for Manager Self-Service (mySAP ERP) from a simple WDPJ iView that is not configured/resgistered as an FPM Self-Service application?
    Can a WDPJ simply handle theses events if the event name is known?
    Cheers,
    Steve

    Steve,
    you may want to check out these links
    Adding custom iview to general info
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/how-toaddacustomWebDynproiViewtotheMSSEmployeeProfile%28ECC+6.0%29
    and check this note 1112733
    Thanks
    Bala Duvvuri

  • CollapseLevel change within handling et_FORM_DATA_UPDATE event

    Normally, I can set a grid's CollapseLevel to any value I want, and it behaves normally.
    But, when handling et_FORM_DATA_UPDATE event, a weird problem occurs when the grid's collapse level is changed from 1 to 0: all the rows are duplicated! meaning: instead of seeing 3 rows in collapse level 0, i see 6 (for example).
    I see no need to add any code, since I'm doing that in the most straight-forward way - just setting the CollapseLevel  property of the grid.

    Hi Avi,
    As a partner the same way you have access to the latest B1 patches you have also a page where you can create messages for support to report problems you can find in B1 app and also in B1 SDK. You need a partner number to be able to access to it (same way as for patches downloads).
    Ask your colleagues more in charge of B1 installation and consulting, they will help you with support messages.
    The page should be
    http://service.sap.com/sbosupport
    Regards
    Trinidad.

Maybe you are looking for

  • Installing Arch on a MacBook Pro Retina

    I've spent many hours trying to install Arch on my macbook pro to no avail (over 14 times I've tried), I've learned a lot through this process, but apparently not enough. I get the system installed and blessed (in OSX), but when I try to boot into it

  • How To Make A Tabular Form Field Conditionally Readonly

    Hello. I am using Apex 4.0.1. I've created a tabular form on the EMP table and have made the ENAME column a select list that is being sourced from a simple SELECT query like: select distince ename d, ename r from emp order by 1 When a user selects "K

  • Make my Illustrator file 3D with lighting?

    Hello, I have a stock photo of a photo studio i'm using as my background. I have a vector image created in Illustrator i'd like to "place" into my background, with the end product being the photographer taking model shots of my fancy vector image. Th

  • Where can i find the installation's files for photoshop element version 7

    Where can I find the installation's files for Phtoshop element version 7 ?

  • Speech recognition and manual user input

    I  have a main GUI VI that contains two listboxes.  Both listboxes are selectable by the user.  Here is how I want them to interact. When the VI is initialized, the first listbox will be filled with string phrases.  If the user double clicks a cell i