Business Objects - Events

Please let me know to find the where used list for a business object - event?

There are many events defined for each Business Object. But I find either none or just a few of these events for the business objects defined through the event linkages.
Only events that start a follow on process using a workflow, standard task or an FM or defined in event linkages. Not all entries available will be flagged as active. Some of these could be supplied as standard and you activate them as needed and may involve additional config steps. Some of them might have been active once and deactivated later.
I am assuming that all events for a business object must have been defined for a specific purpose and that they must be getting triggered/created somewhere.
Every object can have certain standard entries like Created, Changed etc. There could be object specific events also. There are standard SAP objects with no events defined at all. You can also extend an object with your own events. How you want to react to an event is specific to your business needs. Also, not all the events defined for an object are triggered/created. You may have to do it yourself with various tools provided by SAP. You can test what events get published for an object by activating event trace and taking the object thorough various stages.
a) Is there a way to get a where-used list for events?
One way is to look at the event linkages (txn SWETYPV) as you have already done. Another way is to txn SWU0 to simulate an event and see how the system would react to that event.
b) Are there some SAP-defined events that never get created?
Answered above.
ANd checkout this link
http://help.sap.com/saphelp_46c/helpdata/en/a5/3ec8534ac011d1894e0000e829fbbd/content.htm
Thanks,

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.

  • 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.

  • Access ECC business object event in CRM

    Hi Experts,
    We have a requirement in which we need to check whether a business object event is triggered in ECC system and access the related business object details in CRM system.
    The ECC and CRM systems are already integrated.
    Any help on how to access business object events in the other system would be highly appreciated.
    Regards,
    Saumya

    Closing due to lack of replies

  • How to find the WhereUsed List for a Business Object Event?

    How to find the WhereUsed List for a Business Object Event?

    Can anybody let me know how to get which
    Whereused  function will get the data from
    different Werks in multi-level?
    Any sample program please!!!

  • 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

  • Problem in business object event linkage

    Hi all,
    When ever a material is created or extended via MM01 i can see business object A00MARA with event created/changed in event trace transaction SWEL but i cannot see the business object 'A00MARA' in business object repository swo1.
    please help......
    Regards,
    N

    Tty Trace off  and trace on , then create material and check that business object coming again. normally it should never come..

  • Asynchronous Business Object Event not triggering Workflow

    Hello everybody,
    I created a workflow for processing of inbound messages (IDoc). The workflow is correctly started when an IDoc arrives. Then it prepares some data and runs into a waiting step. After the user processes the messages via a custom transaction, the workflow should proceed and send some additional information to the message origin.
    I created a new BO with an event ProcessComplete, which is called in the custom transaction via the following code:
    INCLUDE <cntn01>.
    DATA lo_zisu TYPE swc_object.
    swc_container lo_container.
    swc_create_container lo_container.
    swc_set_element lo_container 'VAR1' lv_var.
    swc_create_object lo_zisu 'ZABC' lv_object_key.
    swc_raise_event lo_zisu 'ProcessComplete' lo_container.
    But when I call this code, the workflow does not continue. When I use SWEL to manually create an event on this object, the workflow only continues when I set the check box "synchronous call". So in some way, the asychronous calls disappears completely.
    Can anyone give me a hint, where to look for these calls? May there be a setting not active on the system for this particular workflow? Other workflows with the same method of event handling work well.
    Thanks and regards,
    Christoph

    Hello,
    I debugged deeper into the whole issue. When I call the function module for the event creation directly (not via the macro posted in my initial post), I have the option to control syncronous va. asynchronous processing:
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        objtype              = 'ZISU_MDC'
        objkey               = lv_objkey
        event                = 'ProcessComplete'
        start_recfb_synchron = 'X'
      IMPORTING
        receiver_count       = lv_rcvcnt
        event_id             = lv_evtid
      TABLES
        event_container      = lo_container
      EXCEPTIONS
        objtype_not_found    = 1
        OTHERS               = 2.
    The export parameter start_recfb_synchron controls this. In the program flow, the following is the difference between the two ways:
    Synchronous:
          CALL FUNCTION im_handler->m_linkage-recfb
               DESTINATION im_handler->m_linkage-rfcdest
               EXPORTING
                 sender                   = l_sibf_object_por
                 event                    = l_sibf_event
                 rectype                  = l_sibf_rectype
                 handler                  = l_receiver_por
                 exceptions_allowed       = 'X'
                 xml_size                 = l_xml_size
                 event_container          = lt_xml_container
               IMPORTING
                 result                   = l_result
               EXCEPTIONS
                 temp_error               = 1
                 OTHERS                   = 99.
    Asynchronous:
          CALL FUNCTION im_handler->m_linkage-recfb
               IN BACKGROUND TASK
               AS SEPARATE UNIT
               DESTINATION im_handler->m_linkage-rfcdest
               EXPORTING
                 sender                   = l_sibf_object_por
                 event                    = l_sibf_event
                 rectype                  = l_sibf_rectype
                 handler                  = l_receiver_por
                 exceptions_allowed       = ' '
                 xml_size                 = l_xml_size
                 event_container          = lt_xml_container
          CALL FUNCTION 'ID_OF_BACKGROUNDTASK'
               IMPORTING
                    tid = l_trfc_id.
    The first one works fine, the event gets processed, there is an entry in SWEL, the workflow continues. The second way does not work. The second function returns a tRFC ID, but when locking tRFC in the debugger and search for the call via SM58, there is no entry.
    In parallel I opened an OSS message, but did not get any (useful) response yet.
    Regards,
    Christoph

  • How to Handle Business Object event in ABAP class

    Hello Everybody,
    I wanted to know if it was possible to reference BOR objects in ABAP class and handle BOR events in ABAP Objects.
    Thanks in advance.

    Hi,
    Catch the et_VALIDATE event, when InnerEvent = False and ItemChanged = True.
                If pVal.EventType = BoEventTypes.et_VALIDATE Then
                    If pVal.InnerEvent = False And pVal.ItemChanged Then
                        'TODO Your code here...
                    End If
                End If
    Regards,
    Vítor Vieira

  • Business Objects - BUS2017, BUS2012, BUS2032, LIKP

    Hi,
    i m new with business objects. where can i find related information about this topic? how can i customize business objects, add attributes, methods, events?
    especially for the following business objects:
    - BUS2017 (goods movement)
    - BUS2012 (purchase order)
      How can i get the order items from a purchase order?
    - BUS2032 (sales order)
    - LIKP (outbound delivery)
    i need the business object events (methods, attributes,...)  in combination with the event infrastructure (transcode swf_bam) for a business activity monitoring with sap exchange infrastructure.
    Thanks 4 every hint!
    BR,
    René

    A good place to start is the workflow forum, it has a FAQ and you can search for similar questions.
    Major concepts needed working with business objects is: delegation and instantiation.
    Most of the work is done in transaction SWO1 (maybe you can view the help-->application help in this transaction)
    Kind regards, Rob Dielemans

  • Business Object and tasks for Plant Maintenance

    Hi,
    I would like to know which object and method should I use to create the following tasks?
    Inspect equipment to check if faulty
    Replace equipmentCreate purchase order
    Maintain equipmentCreate service order
    Thank you.

    Hi Arun,
    Swtich on the event trace using tcode SWELS and then perform each of the operations you mentioned above. Then see the event trace using tcode SWEL to check which business object events and business objects are associated with these operations i.e. inspect equipment, replace equipment, maintain equipment etc.
    Then you can drill down in those business objects using SWO1 tcode and check if there are any methods for your requirements or not.
    Regards,
    Ibrahim

  • Business Object Debuging??

    Hi Gurus,
    How can I debug the codes in  business object events or methods?
    Thanks.

    hi
    please use break point like  we use
    you can also test BO by executing directly .
    it will go into the debbuger.
    breakpoint.
    GET_PROPERTY ZTOT_VALUE CHANGING CONTAINER.                                            
        SWC_SET_ELEMENT CONTAINER 'ZTOT_VALUE' TVAL.                                         
      END_PROPERTY.                                                                               
    GET_PROPERTY ZNO_OF_PUR CHANGING CONTAINER.      
      regards
      Prashant
    Code Formatted by: Alvaro Tejada Galindo on Jan 8, 2009 4:10 PM

  • Business objects and start events required for CO11N and CO13 transactions

    Hi,
    We do production order <b>confirmation</b> and <b>cancellation</b> in CO11N and CO13 respectively. Can somebody please tell me the corresponsing business objects and the start events for them? This is a very urgent issue, I will surely rewad good points.
    I guess we need to use AFVC_PM object and "finalconfirmation" event for the confirmation.
    Please confirm this and kindly suggest the same for cancellation.
    Thanks,
    Max

    Hi Max,
    You will have to use the object BUS2005 - which is for Production order.
    If you do not have Required events in the BO, you will have to extend object to add those custom events e.g. Cancellation event.
    In this case you wil have to use Status management technique for raising events if standad transaction is not raising them.
    Hope following SAP Help link might help you  to start off..
    http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4aed5453d11d189430000e829fbbd/content.htm
    Regards,
    Akshay Bhagwat

  • How to find business object for particular tcode at particular event

    Hi,
    I want to know how i can find particular business object for particular tcode for certain event?
    For example suppose for tcode PA40, if i create infotype for employee and when i save it after creating it then it must be stored in certain object. How i can find business object where all data realted to emp. get saved?
    Thanks & Regards,
    Parag

    Hi Parag,
    To get the business object for given transaction,
    1) Go to transaction SWELS
    2) Switch on the event trace.
    3) Go to the given transaction (For which you want to know the business object)
    4) Execute the transaction
    5) Go back to SWELS and Switch off the event trace
    6) Go to transaction SWEL.. Here you will get the Business Object name (one which starts with BUS)
    Hope this will help you.
    Best Regards,
    Deepa Kulkarni

  • Any business Object and Events for CJ01?

    hello friends,
    can any one of u tell me the Business Object and Event for the transaction CJ01?
    Could you please let me know is it  business object (BUS2054) is right one. If it is right one please let me know the Event for CJ01?
    Thanks,
    Sridhar

    Hi Sridhar.
    You want to know if there is triggered an event when you create a project.
    Try the following:
    Activate event trace with SWELS.
    Create a project with CJ01.
    Check transaction SWEL to display trace event.
    Regards
    JCD

Maybe you are looking for