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: -

  1. Execute transction code : FIBF
  2. Navigate Menu->Environment->infosystems(processes) on “SAP Business Frame work : Business Transction Events screen
  3. Execute
  4. Find BTE 00002213
  5. Select the contains BTE 00002213 and click on “Sample Function Module”
  6. Choose “Copy” icon and give function module name starting Z* and choose right function group
  7. Insert a small code as given below
    1.  If I_VBKPF = USNAM NE SY-UNAME
    2.   Message “You are not authorized to post the document” Type “E”
    3.  Endif
  8. Save and activate
  9. Once agin execite trabsction code FIBF
  10. Navigate  Menu->Settings->Products->of a customer on “SAP Business Frame work : Business Transction Events” screen.
  11. 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.)
  12. Assign the product to process module by Navigating  Menu->Settings-> process modules -> ..of a customer on “SAP Business Frame work : Business Transction Events” screen.
  13. 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.