Business Transction Events : FI Document Parking and Posting
Do you know how to restrict a user to post a document parked by some one else?
Scenario: A financial document was parked by user A , situation warrants that parked document has to posted by user A no one else.
Solution : You can archive this requirement by implementing business transaction events [ 00002213 ]. SAP has provided number of business transaction events to enhance standard programs and facilitate SAP customer.
To implement BTE 00002213 follow below mention steps: -
- Execute transction code : FIBF
- Navigate Menu->Environment->infosystems(processes) on “SAP Business Frame work : Business Transction Events screen
- Execute
- Find BTE 00002213
- Select the contains BTE 00002213 and click on “Sample Function Module”
- Choose “Copy” icon and give function module name starting Z* and choose right function group
- Insert a small code as given below
- If I_VBKPF = USNAM NE SY-UNAME
- Message “You are not authorized to post the document” Type “E”
- Endif
- Save and activate
- Once agin execite trabsction code FIBF
- Navigate Menu->Settings->Products->of a customer on “SAP Business Frame work : Business Transction Events” screen.
- Choose “New Entries” and Key PRODUCT name ( can be anything stating with Z) and check ACTIVE check box. ( Note : if active check box is not checked then BTE will not be triggered.)
- Assign the product to process module by Navigating Menu->Settings-> process modules -> ..of a customer on “SAP Business Frame work : Business Transction Events” screen.
- Choose “New Entries” and enter 00002213 in “Process” in col. Product name in “product” col.
With this you have implemented…… BTE which allows a user to post his own parked document. With this a user can’t post a document parked by someone else.