Many kinds of user exits are ( BadI, BTE, user-exits ) available during dialog processing of an accounting document, in this article we would to explain how to check line item during the creaating of accounting document via BTE 1011.

Prerequisites

1.You are familiar using BTE via tcode FIBF

Example of Business Case

We would use 1011 BTE to check field BSEG-PROJK ( WBS Element ) during FI Document creation.

Step-by Step Procedure

1.Execute FIBF tcode to open SAP Business Framework : Business Transaction Events. Go to menu Setting-> Products -> Of a Customer to create Products. In this sample we create ZPPENH as Product, and don’t forget to tick on Activate Column.

sap-bte-1011

2.Create BTE 1011 Function module by copying SAMPLE_INTERFACE_0000101 of function module via SE37 tcode.

3.Back to FIBF tcode, Go to Menu Settings-> P/S Modules->of a customer, choose BTE Event 1011 and input your product ZPPENH for this example and your copied of function module in step 2 before.

sap-bte-1011-2

4. This is a full source code of ZFM_FIBTE_00001011.

Incoming search terms:

Leave a Reply

Your email address will not be published. Required fields are marked *