Event raise failure

I have an issue involving an event that  is being raised in a user exit that is being called in update.
This works fine in dev and QA but simply will NOT work in production.
The code runs perfectly and the call to SWE_EVENT_CREATE looks to function identically in all three systems. THE ONLY DIFFERENCE IS THAT IN PRODUCTION THE EVENT NEVER GETS RAISED.
Can anyone suggest a possible cause for an event not raising in one system as opposed to another?
This is driving me seriously nuts!!

Hi Thomas. I posted here as I am not triggering a workflow just a function module that creates an inbound idoc. I will leave it here for another day and then close and repost in workflow if nothing comes out of this.
Event type linkages are correctly configured for the object and event identically in all systems, those where the event is succesfully raised and that where it is not.
Debugging the process shows that the code is behaving identically in all systems
The only thing I can think of is that there is no "commit" taking place in the application transaction itself (VL32N) in production, but the article document for the goods receipt is being created so this cannot be true either. In fact if I go immediately to the create event manually facility in the workflow utilities and use the key that was visible during debug I then do get the event raised!! How wierd is that !
Ross

Similar Messages

  • Issue regarding [Work Flow] Business Object Event Raise in ABAP Program

    Hi All,
    I have one issue regarding [Work Flow] Business Object Event Raise in ABAP Program.
    Actual TDS is as below:
    If E message type written, raise Business object BUS2005 (Production order) Event PickShortage for production order passing warehouse, transfer request
    (BUS2065 Object key) in event container. Also include table of text version of error
    messages for this set of Transfer
    Request.
    Can anybody tell me how can i write it technically in ABAP Code.
    Can anybody solve this issue!
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    Can anybody solve above posted issue!
    Thanks,
    Deep.

  • Payload for an exent & Source from where Event Raised

    In Oracle Applications 11.5.10 I want to subscribe to "oracle.apps.ap.event.invoice.approval" event.
    I want to add a custom "Rule Function", I require to know the payload for this event.
    And I want to know from where is this event raised in the base product.
    Thanks
    Atul

    Many thanks Matt..
    You are right.. The payload will be generated by the application raising the event. How do I come to know that from where is "oracle.apps.ap.event.invoice.approval" event raised. Is it raised from a form, workflow, pl/sql package, db trigger?
    Secondly I agree it is of type WF_EVENT_T, but in addition to that I want to know what are the granular contents of the payload being passed to my rule function. What all data can I reference from this seeded Payload. What is the name of this payload.
    Thanks
    Atul

  • Missing chain step name in events raised by the scheduler

    I use events raised by the scheduler (SYS.SCHEDULER$_EVENT_QUEUE) to monitor scheduler chains processing.
    For event_type = "JOB_STARTED" (chain step started in case of chains) in event message (sys.scheduler$_event_info) there is no log_id (log_id is null).
    In user_scheduler_job_log view there is column job_subname that contains chain step name but this column is missing in the event message.
    Is there any way to get chain step name for event_type = "JOB_STARTED"?
    Job configuration:
    dbms_scheduler.set_attribute(
    name => job_name,
    attribute => 'logging_level',
    value => dbms_scheduler.logging_full
    dbms_scheduler.set_attribute(
    name => job_name,
    attribute => 'raise_events',
    value => dbms_scheduler.job_all_events
    Database:
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    OS:
    CentOS - redhat-4
    Regards
    Mariusz

    I want to track chain processing by dequeue messages from SCHEDULER$_EVENT_QUEUE.
    Examples of messages automatically inserted by scheduler into SCHEDULER$_EVENT_QUEUE (user_data column from SCHEDULER$_EVENT_QTAB)
    SYS.SCHEDULER$_EVENT_INFO('JOB_SUCCEEDED','CDWMAIN','JOB_NAME','2011-07-27 16:19:11.191969',0,NULL,0,340374,1,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
    SYS.SCHEDULER$_EVENT_INFO('JOB_STARTED','CDWMAIN','JOB_NAME','2011-07-27 16:19:10.947994',0,NULL,1,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
    SYS.SCHEDULER$_EVENT_INFO('JOB_CHAIN_STALLED','CDWMAIN','JOB_NAME','2011-07-27 15:45:13.727127',0,NULL,0,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
    For event JOB_SUCCEEDED there is log_id = 340374 so we can find job_subname (chain step name) in log table.
    For JOB_STARTED and JOB_CHAIN_STALLED there is no log_id so we do not know wich chain step in this case was started and wich chain was stalled.
    JOB_NAME is the same for all steps in case of chain processing

  • Regarding [Work Flow] Business Object Event  Raise in ABAP Program

    Hi All,
    I have one issue regarding [Work Flow] Business Object Event Raise in ABAP Program.
    Actual TDS is as below:
    If E message type written, raise Business object BUS2005 (Production order) Event PickShortage for production order passing warehouse, transfer request
    (BUS2065 Object key) in event container.  Also include table of text version of error
    messages for this set of Transfer
    Request.
    Can anybody tell me how can i write it technically in ABAP Code.
    Can anybody solve this issue!
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    Can anybody solve above posted issue!
    Thanks,
    Deep.

  • List of Standard events raised by KM Repository?

    Hi ,
    I am looking for list of Standard Events raised by a KM Repository Framework.
    I could able to get Event ids for moving, deleting , renaming and opening.
    Actually I need to catch the event of new post in KM Repository.
    If some body can direct me to a document which gives me the list of all events  
    and Event ids I would be thankful.
    Thanks & Regards
    Mrutyunjay

    The javadoc for ResourceEvent is located at: <a href="https://media.sdn.sap.com/javadocs/NW04s/SPS7/km/com/sapportals/wcm/repository/manager/ResourceEvent.html">https://media.sdn.sap.com/javadocs/NW04s/SPS7/km/com/sapportals/wcm/repository/manager/ResourceEvent.html</a>.

  • Event raised

    Hi,
    Is there any event raised when we create customer/update customer with new sales data in transactio vd01.
    Regards,
    Sharadha

    Hi,
    1. Go to transaction SWELS and swich on the event.
    2. Then go to vd01 and create customer.
    3.  Go to transaction SWELS and swich off the event.
    4. Go to transaction SWEL. it will displays the events regarding your process.
    Thanks,
    Reward If Helpful.

  • TCA Business Object Events: Raise Events Program

    Hi,
    We are integrating two ebiz instances using SOA and both the instances currently are on 11.5.10. We have back ported patches from ebiz 12i into these instances to use TCA Business Objects functionality(Business Object API's and events). I have a few questions realted to the concurrent program "TCA Business Object Events: Raise Events Program":
    1) Do I need to schedule this concurrent program to raise business object events?
    2) Is there an alternate way to raise these business object events(any profiles)?
    Appreciate if someone can answer these questions.
    Thanks,
    Sak

    Hi,
    We use AIA and TCA Business Object Events program to integrate from one Ebiz instance to another.
    To achieve what you want I would not do anything in SOA.
    In out integration TCA ends up putting messages into WF_BPEL_Q.
    I would use the following process: (Assuming offline time is a possibility)
    1. Retire the parts of AIA that dequeue from WF_BPEL_Q. (depending on how messages are picked up.)
    2. Create a PLSQL script that dequeues all messages from WF_BPEL_Q but dosn't process them. Using relevant select statements you can dequeue by message ID and select only relevant messages
    3. Run whatever process you need that puts fires the Raise Events Program
    4. Run the script to dequeue the messages that does nothing with them.
    5. Re-activate the parts of AIA that dequeue from WF_BPEL_Q
    This should give you the desired effect. Just be careful you don't screen out messages that do need to be transfered.
    Robert

  • Raising failure event from Netbeans Waitscreen

    I need to raise the failure event (FAILURE_COMMAND) for a Waitscreen in the Netbeans IDE, but I do not want to throw a new exception to create the failure.
    I am writing the code in Netbeans/Java, but then porting it over to a Blackberry. If I throw a new exception, then an ugly error message comes up on the Blackberry.
    Thanks,
    -Jonathan

    I need to raise the failure event (FAILURE_COMMAND) for a Waitscreen in the Netbeans IDE, but I do not want to throw a new exception to create the failure.
    I am writing the code in Netbeans/Java, but then porting it over to a Blackberry. If I throw a new exception, then an ugly error message comes up on the Blackberry.
    Thanks,
    -Jonathan

  • Event raised upon successful outbound idoc INVOIC

    Is there any event that I can use to trigger a workflow when an INVOIC02 idoc is created successfully?
    This is an SD billing document created from VF01.  output type RD00
    I want to use workflow to take that idoc, transform it to another format, then send it off.
    I'd like to trigger this follow on function from a successfull idoc event.
    I've tried IDOC.processStateReached and IDOC.statusIDocProcessed.  They don't seen to be raised when I create the idoc.
    The events in IDOCINVOIC only relate to inbound idocs.
    I can only find inbound or failure events.  Not outbound success events.
    Thanks

    Hi-      
    I want to use workflow to take that idoc, transform it to another format, then send it off.
    I'd like to trigger this follow on function from a successfull idoc event.
    I am not sure, why to use workflow to transfer the idoc. Normally after creation of successfull idoc, ECC will send the idoc to other middleware like PI and they will convert and transform the idoc
    ok, If you need to trigger the workflow for success idoc, then are you creating idoc immediately after creating billing document or using batch job process?. This  you will be configuring in NACE
    If it is batch job process, then you need to check prog- RSNAST00 (which will be scheduled periodically to create idoc) and check any way to enhance to add logic to trigger workflow for success idoc, else, you could create a copy of std and make change
    Vinoth

  • EVENT RAISE IN PROCESS CHAIN

    Hi mates,
    How to Raise events in process chain, for example i want to raise a event like ( Data loaded in ODS) after ODS is loaded.
    thanks

    Hi,
    Look at the threads below. There are very good discussions on this topic :
    Re: Process Chains Events
    events and process chains
    Query on using EVENTS in process chains.
    Cheers,
    Kedar

  • No event raised for BUS2209 Purchase order response

    Hi Folks,
    Have any of you experiensed that the SAVED event for POR is not raised?
    I checked the event trace ( No restrictions) and there is no entry after the POR is saved.
    Maybe I'm doing something wrong, but when I save a POR that is manually entered via transaction BBPPCO02 "Enter Purchase Order Response " and it has a variance as the message says, "position 1 price outside tolerance limit"
    If I test the start condition i SWB_PROCUREMENT I get a TRUE on both WS14500019 and WS14500007.
    Any ideas what could be wrong?
    Thanks in advance,
    Thomas

    Hi
    Which SRM version are you using ?
    <b>Seems to be a bug in the System.</b>
    <u>Please go through the related SAP OSS Notes below -></u>
    Note 886529 Start conditions for BUS2209 incorrectly delivered
    Note 1112833 Schedule lines deleted
    Note875744 BOR BUS2209: Approver list is always empty
    Note795107 Order response: No approval workflow found
    Note1056889 BUS2209: The list of Approver is not filled correctly
    Note1094538 Accept/Reject Response not working from PO Response POWL
    Note1060944 SRM60SP02: Workflow various issues
    Note 832886 WS79000002: Various errors at runtime
    Do let me know.
    Regards
    - Atul

  • 640 - No event raised for Infotype 19 (SWEHR1/2/3)

    G'day all,
    I'm trying to raise events when Infotype 0019 is inserted/changed/deleted.
    I've had a poke through SWEHR1/2/3 to find similar entries. Most of the Person related infotypes are linked to Objects with an ultimate parent object of EMPLOYEEI. As such I've tried as an initial test to get the CREATED event of this object raised.
    In SWEHR1 I've created an entry as follows:
    Ob - P
    IT - 0019
    Obj.Type - EMPLOYEEI
    In SWEHR3 I've created entries as follows:
    Ob - P
    IT - 0019
    Updat - INS
    Obj.Type - EMPLOYEEI
    Event - CREATED
    Ob - P
    IT - 0019
    Updat - UPD
    Obj.Type - EMPLOYEEI
    Event - CREATED
    (This second update entry was simply to see if my problems were related purely to insertion.)
    When I create a 0019 record for an employee no event is getting raised.
    I've debugged through the Function HR_EVENT_CREATE while executing PA30 and in the end it calls SWE_EVENT_CREATE with everything looking fine. However no event is raised.
    We are on 640 basis supp.pk 15 now. OSS note 904851 was found and applied while we were still on 14.
    I can't find anything else on OSS, this forum or WUG that seems applicable.
    There aren't any ST22 Dumps, RFC issues or System Log entries.
    Can anyone shed light onto what I may be missing??
    Many thanks,
    Mark

    G'day all,
    Just a quick update. I received the following response from the MIT WUG which solved my issue. I've been waiting to see if I could get the same response from Alla here to be able to fully award points... oh well.
    Have fun,
    Mark
    >>>>
    You are right OSS note 904851 partially fixing the problem. It's required to have an active WF in order to publish an event.
    We are having the same problem with HR events and I got a replay from SAP support.
    “It’s an error in business workflow which has been corrected by the note no. 913330. Please implement it and the problem
    should be solved."
    I tested it and it's correcting the problem.
    Thanks, Alla Ostrowsky.
    <<<<<

  • Capturing an event raised by a COM object

    Hello,
    Using ABAP, it's no trouble using a COM object's properties and methods, but how do you capture a raised event?
    For example:
    INCLUDE OLE2INCL.
    DATA wf_test TYPE OLE2_OBJECT.
    CREATE OBJECT wf_test 'Test.Test'.
    SET PROPERTY OF wf_test 'TestID' = '123'.
    CALL METHOD OF wf_test 'TestMe'.
    Now as a result of calling the 'TestMe' method, the COM object will raise a 'Tested' event. How do I capture that in ABAP? I assume this will require somehow registering the event and maybe generating a proxy class but I don't know the details.
    I would really appreciate the help. An example or link would be great.
    Best Regards,
    Ahmad Shono

    Hi,
    You can look for the event triggered in table SWFREVTLOG for a specific time stamp or user or in fact any BOR object.
    Ravi

  • Event raising procedure

    Dear Experts,
                I need to raise an event soon after completion of a process chain. I have "and" process at the end of the process chain. Here is what I did:
    1. SM62- create an event
    2. SM64- triggered.
                      But the problem is the connection between event and the process chain end is missing. Can I do this using ABAP program or using SM36? but how do I know the job name of the "and" process? Please correct me if I am wrong. Does the ABAP program coe in between the SM62 and SM64? is it needed? how do I use it?
    Thank you very much.

    Hi venkat
    you can rise the event using a pice of abap code with the function module "BP_EVENT_RAISE" and call this program at the end of your process chain. If you have further queries pls post.
    P.S: Please search the forum before posting. This topic is discussed several times.
    Sriram

Maybe you are looking for