转 Tracing the events executed in a transaction

本文介绍如何使用SAP系统内置的功能追踪物料主数据(MM01)创建过程中的事件触发。通过开启和关闭事件跟踪,可以记录下所有在创建物料过程中触发的标准和自定义事件,并进一步关联到业务流程中使用的标准工作流或自定义工作流。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Tracing the events executed in a transaction

By Suresh Kumar Parvathaneni, from link.

 In the article triggering events programmatically, we learned about triggering the events programmatically in our custom programs. But SAP has already provided with many events in almost all the standard SAP transactions like:

1.      When a material is created, a standard event is triggered

2.      When a Purchase Order is created, an event is triggered.

3.      When the status of a production order is changed, an event is triggered. 
We can link the events to either standard workflows or custom workflows to carry out our business requirements. Before linking the business workflows to events, we would need to trace the events that are triggered in a transaction. This document explains the procedure in tracing the events for the Material Master transaction (MM01). We would trace the events that are triggered when a Material is created using MM01. 

1.      Go to transaction SWELS. A pop-up screen as shown below would appear:

2.      Click on “Switch on”. The event trace would be on now.

3.      Keeping this event trace on, create a material using MM01.

4.      Now go to transaction SWELS and click on “Switch Off” to switch off the event trace.

5.      Go to transaction SWEL to get the list of events triggered during the Material creation.
 

6.      Click on Execute.

The list of events that are triggered are shaded in green. A workflow object (shown in yellow) is also triggered as it is attached to the event CREATED belonging to the business object BUS1001006.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值