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.


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.


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.


4. This is a full source code of ZFM_FIBTE_00001011.

Incoming search terms:

ABAP MM01 enhancement,bseg-projk,bte1011,sap document validation bte,bte in abap,sap configure to validate IDocs at the line item level,how to modify line item validation,abap example how to examine a sap field,BTE in fi transaction,www line item for field accounting procedure