sap 第四代增强bte fb02 fb03

SAP/ABAP:Using BTE in FB02/FB03 to reflect changes made on FI document to Custom table


Requirements: Need to update custom table field when changes made on FI Document number.

1) Execute Tx FIBF. Click on Menu-Evironment.


2). Select "Info system(P/S)".


3). On the Publish & Subscribe Interfaces, just press the execute button.


4). Upon executing, it will list all existing P&S BTE. From the list, we will going to use the 00001110 - CHANGE DOCUMENT. This BTE will be fired up once the SAVE button is clicked. Double click the CHANGE DOCUMENT.


5). On the Interface Detail, click on the Sample function module button.


6). It will proceed to Transaction Function Builder.


7). Copy the function module to custom function.


8). Select function group.


9). On the function module source code, we could see the interface IMPORTING and the TABLES.


10). See sample codes to update custom table sgtext. From the interface parameters, you can do any logic or whatever requirements.


11). After implementing your logic, save and activate the custom function module then return to FIBF main screen. Click on Settings->Products->...of a customer.


12).  On the Change View, here we have to add the newly created function module. Click New Entries button.


13). On the New Entries, type in "ZBTE_T01" as our sampe Product under Product column and our custom function module which is "ztest_interface_00001110".


14). Click the Active checkbox column and then save.


15). Once saved, click the BACK button to return to FIBF main screen. Again, select Settings -> P/S Function Modules -> ...of a customer.


16). On the "Publish&Subscribe BTE: Customer Enhancement". We need to add new entries. Click on the New Entries button.


17).  On the Event column, type in the interface event which is "00001110".


18). On the Product column type in our newly created products which is ZBTE_T01 or you can select it from the list box.


19). Type in the function module "ZTEST_INTERFACE_00001110". Click SAVE.


20). Now that the BTE already created, we have to test it if it works perfectly. Execute Tx FB02 OR FB03.


21). On the Document Overview, we are going to change the LONG TEXT/SGTEXT of line item # 5.


22). Double click line item # 5 and type anything on the text field and then click SAVE button.


23). After clicking SAVE button, our sample BTE will be triggered and a Popup message informing custom table has been updated.


24). Additional example informing user that the field Long text of the custome table has been updated.


That's all folks. Thank you.


原文链接:https://www.linkedin.com/pulse/sapabapusing-bte-fb02fb03-reflect-changes-made-fi-table-buenavista

说明我不生产水我做大自然的搬运工。谢谢

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 8,158评论 0赞 10
  • 有过这样的一个女子,张爱玲笔下的女子,美丽,剔透,智慧,温婉的女子。 最是欣赏这样的女子,在我感觉里,该是最精致的...
    寸寸微云阅读 827评论 0赞 1
  • 把商品『传淘宝』到自己的店铺,步骤和之前面讲的方法类似,主要是我们在填写宝贝信息的时候主要完善属性信息等,因为不同...
    知舟_宁缺阅读 670评论 0赞 0
  • 在圣托里尼公车上听后面一排的美国人和英国人聊天,他们说起原本打算徒步从Fira到Oia,因为导游不建议,又因为一路...
    兔娘子阅读 427评论 0赞 1
  • 为什么“真理”无法被说出,真理是一种体验,而体验本身是真实的。 如果一个人说,我讲出的就是真理,这是不准确的。因为...
    羽翼成阅读 524评论 0赞 0

友情链接更多精彩内容