Shared Top Border

Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

Login

Login to view more content!!!





Lost Password?
No account yet? Register

Registered Access

Poll

What is your relationship with SAP?
 
Home
Ways to generate a business object event PDF Print E-mail
User Rating: / 1
PoorBest 
Written by Kevin Wilson   
Thursday, 30 August 2007
7 ways to generate events for business objects....
  1. Change Documents

When a change to a certain field in a document is made then an event is raised.

    1. Wizard: SWU_EWCD

                                                              i.      Choose the Business object and event that you want raised

                                                            ii.      Choose the change document object and the type of event (create / change / delete)

    1. Set up change docs using SCDO if required
    2. Transaction: SWED, define workflow properties for change docs
    3. Transaction: SWEC is the change document event linkage table maintenance transaction. Allows for restricting to only changes to certain fields
  1. Logistics Information System (LIS)

When an exception is reached in LIS an event is raised.

    1. Wizard: SWU_EWLIS

                                                              i.      Choose the Business object and event that you want raised

                                                            ii.      Choose the LIS exception that you want to raise the above event for

    1. Transaction: AWUW is the maintenance transaction for the LIS exception linkages with business object events
  1. Business Transaction Events (BTE)

If a BTE is raised then raise a business object event.

    1. Wizard: SWU_EWBTE

                                                              i.      Give a new function module name together with an existing function group

                                                            ii.      Supply the applicable business transaction product and event (See transaction FIBF for BTEs)

                                                          iii.      Choose the Business object and event that you want raised

  1. Change to HR Master Data

Changes to HR master data can trigger business object events.

    1. Linking object type to Infotype

                                                              i.      Transaction: SWEHR1

    1. Event linkage

                                                              i.      Transaction: SWEHR2 (SAP), SWEHR3 (Customer)

                                                            ii.      Link the object type, infotype, subtype (as defined above) and update activity to object type and event

  1. Status Management

Changes in statuses of business documents can trigger business object events.

    1. Transaction: BSVW

                                                              i.      Customer settings (for user status) and System settings (for system status)

                                                            ii.      Add your status object category, schema

                                                          iii.      Choose the Business object and event that you want raised

                                                          iv.      Select the line and add the status restrictions

1.      Add the particular user / system status

2.      Select inactive = checked if you want to raise the event if the status was turned off

3.      Select inactive = NOT checked if you want to raise the event if the status was turned on

  1. Message Control

Output messages processed through message control can be configured to raise a business object event.

    1. Transaction: NACE

                                                              i.      Select the applicable application and add your output type of transmission medium 9

                                                            ii.      Make sure your access sequence and procedure are configured in conjunction with the output type

                                                          iii.      Once the output type is configured add the condition record which specifies the business object event to be raised.

  1. Workflow start conditions

Workflows can be triggered when certain criteria is met for a particular business object

    1. Transaction: SWB_COND
    2. Need to ensure the condition is entered and that the start condition is active
  1. Standard Events

Standard events are often raised by standard business objects. See if you can utilize them for your workflow triggering.

    1. Transaction SWETYPV is used to activate this event linkage with your receiver task / function module.

 

Other Event related transactions

  • SWEINST/ SWE3 – Instance linkage transaction – Used for terminating event and wait for event linkages
  • SWU0 – Simulate an event
  • SWUE – Create an event
  • SWEL – Event trace
  • SWELS / SWE4 – Activation of the event trace
  • SWEM – Configure event trace restrictions
  • RSWELOGD – Delete event trace
  • SWEQBROWSER – Event browser – For events that make use of the event queue
  • SWEQADM – Event queue administration
  • SWEQDEL – Delete event queue
  • SWE2 – Event type linkages similar to SWETYPV
  • SWE5 – Event linkage check report
  • SWE_CD_TST – Test event creation via change documents

Related Items:

 
< Prev   Next >

Google Search

Statistics

Contribution Activity
Utilities: 38
Tips and Tricks: 333
Sample Code: 164
Total Contributions: 550

Member Activity
Members: 6182 since 2/1/2007!
New: 9 since yesterday!
Visitors: 1010419
We have 1 guest online

Newest Members

Welcome our newest members:

Google Ads

Shared Bottom Border

Contact Us | Polls | Add URL | Contribute | Privacy | Terms | Feedback

Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks | SAP Solutions Database

EDIGenie | Searching Survivor