`
evangxli
  • 浏览: 230873 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

转 Triggering Workflow using Business Transaction Events

 
阅读更多

Triggering Workflow using Business Transaction Events (BTE)

from Link

 

What are Business Transaction Events?

·        The enhancement technique (Open FI) that were developed for Financial Accounting Component.

·        Open FI is based upon the following principles:

o       Application developers must define their interface in a function module, an assignment table is read in the accompanying code and the customer modules assigned are called dynamically.

·        This can be easily adopted / customized to the business needs wherein SAP does not provide the standard functionality through customization or enhancements. This functionality is primarily used in FI in the areas of dunning, credit management, banking etc. For Example: Standard Dunning functionality in SAP sends the notice to the Pay to partner function (based on the partner functions in SD module i.e. pay to hits the books in Accounts Receivable in FI module), whereas the requirement could be to send the same to Bill to party, based on the premise that the original invoice was sent to him as per the partner functions in SD.  

Basic steps in configuring the Business Transaction Events:

Company A would like to fill the Assignment field with custom value ‘Demo BTE’ when an accounting document is posted for a certain Company Code for accounting purposes to analyze the data. To accomplish this requirement, Company A will use the Business Transaction Event 1120, Post Document: SAP Internal Field Substitution. Depending on the business scenarios, generally the reference document number field and assignment number field will be populated with a unique identifier for analyzing the accounting data. For the purpose of this document, I have used a scenario of populating the text field while creating accounting document. 

·        IMG Menu Path: Financial Accounting ->Financial Accounting Global Settings->  Business Transaction Events-> Environment-> Infosystem (Processes).

·        Execute the search with the defaults.

 

·        Find the correct interface for updating the document.

 

·        Place the cursor on the key 00001120 and click on Sample Function Module

·        This navigates you to SE37 – Function Builder. This is the function module (SAMPLE_PROCESS_00001120) we would need to copy into a Z or Y function module for coding

·        Click on copy button.

 

·        Specify the function module name and the function group.

·        Now in the SE37 screen, click on change button and enter the following code:

 

·        Save and activate the function module

·        Go back to the first screen by multiple clicking on BACK.

 

·        To assign function module to the event, we need to create a product, say ZPRODUCT. Click as shown below:

 

·        Click on New entries.

 

·        Ensure that the Active check box is checked, otherwise BTE wouldn’t trigger.

·        Now we need to assign the function module created earlier to the event

·        Click as per the following screenshot:

 

·        Click on new entries and create the following entry for 00001120:

 

·        Test the BTE by creating a document through FB01 transaction.

·        To check whether the assignment field is filled with “Demo BTE”, display the created accounting document from FB03 and check for the Assignment value.

 

Double click on the item.

 

Triggering business object events:

 Update the Z function module that is created earlier by calling the function module SWE_EVENT_CREATE to trigger a business object event. Link this event to the workflow. To know about triggering an event programmatically, click here. 

分享到:
评论

相关推荐

    A GitHub Action for triggering workflows

    标题 "A GitHub Action for triggering workflows" 指的是在GitHub平台上使用特定的工作流触发器——`workflow_dispatch`事件。GitHub Actions 是GitHub提供的一种自动化工具,它允许开发者在代码仓库中创建自定义...

    TShark Triggering.rar

    同时,配合“TShark Triggering.rar”中的内容,我们可以进一步探讨网络通信中的数据捕获工具TShark如何与AB PLC结合,实现触发机制的设置。 AB PLC编程通常采用Ladder Logic(梯形图)或Structured Text(结构化...

    ISO PAS 21448-2019(SOTIF).rar

    ISO-PAS_21448-2019 Scope Normative references. 3 Terms and definitions. 4 Overview of this document’s activities in the ...7.2.2 Triggering events related to sensors and actuators................

    jenkins-triggering-user:Jenkins插件

    "jenkins-triggering-user" 插件是 Jenkins 生态系统中的一部分,它允许用户控制谁可以触发 Jenkins 构建。尽管这个插件已经归档并且不再维护,了解它的功能和原理对于理解 Jenkins 的扩展性和安全性仍然很有价值。 ...

    wikiqa 数据集

    We compare several systems on the task of answer sentence selection on both datasets and also describe the performance of a system on the problem of answer triggering using the WikiQA dataset.

    Floor Plan Manager - ABAP Webdynpro

    ###### 2.4.2 Triggering Application-Specific Events Developers can define their own events to handle specific scenarios not covered by standard events. ###### 2.4.3 Reacting on Framework Events This ...

    CitectSCADA Cicode Reference (7.10)

    - **Triggering Events Using Expressions**: 表达式也可以用于触发特定事件或动作。 ### Cicode Functions #### Using Cicode Functions - **Calling Functions from Commands and Expressions**: 函数是封装了...

    Single Pulse PWM Inverter:Single Pulse PWM Triggering-matlab开发

    单脉冲PWM(Pulse Width Modulation)触发逆变器是一种广泛应用在电力电子技术中的电路结构,主要用于将直流电转换为交流电。在MATLAB环境下,我们可以利用其强大的信号处理和控制理论工具来设计和仿真这种逆变器的...

    MAS-event triggering.zip

    参考杨大鹏博士论文: 多智能体系统的事件驱动一致性控制与多 Lagrangian 系统的分布式协同 其中参考文献 2013 Event-based broadcasting for multi-agent average consensus

    Consensus control of multi-agent system via event-triggering strategy

    本文讨论了通过事件触发策略实现多智能体系统一致性控制的控制方法。多智能体系统由多个智能体构成,这些智能体能够通过某种通讯结构相互作用,以实现特定的控制目标。事件触发策略是一种控制算法,智能体仅在某些...

    Practical Game AI Programming

    Plan the interaction between the AI character and the environment using Smart Zones or Triggering Events Use animations correctly, blending one animation into another and rather than stopping one ...

    论文研究-A handover scheme with an adaptive triggering window mechanism in LTE-advanced systems.pdf

    LTE-advanced 系统中基于自适应触发窗机制的切换模式,汪宇,,众所周知,近年来LTE系统中使用的是硬切换模式。为了提升系统的整体性能,层3滤波器、合成器以及时间触发窗被研究出来。本文提出��

    TLegHtmlParser 1.8

    TLegHtmlParser detects comments, scripts, tags, specialHTML tags, errors, blocks, and text, just triggering events.In addition, TLegHtmlParser automatically translates characterreferences &..;...

    Android代码-pusher-websocket-java

    Pusher Java Client Pusher client library for Java targeting Android and general Java. ...Triggering events Accessing the connection socket ID Helper Methods Getting a channel from stri

    DDL_Trigger.sql

    一般开发人员对于DDL触发器比较陌生, 那没这篇文章会给你详细的讲解DDL触发器,然你深入了解DDL触发器

    Oracle Database 10g PL-SQL Programming

    - **Triggering Jobs**: Configuring jobs to run based on time intervals or specific events. - **Managing Jobs**: Monitoring, modifying, and deleting scheduled jobs. By covering these topics, "Oracle ...

    Learning Drupal 6 Module Development

    * Writing actions and triggering them with events * Working with the Forms API * Defining custom hooks and making modules work together * Exploring the database and schema API * Creating an ...

    Switching Model Predictive Control based on Self-triggering Mechanism

    根据提供的文件信息,本篇研究论文主要探讨了基于自触发机制的切换模型预测控制(Switching Model Predictive Control based on Self-triggering Mechanism)。以下是该论文所涉及的知识点详解: 1. 自触发模型预测...

Global site tag (gtag.js) - Google Analytics