Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> UserExit>MCBR0001



User Exit for Inventory Controlling
Only data from the material and accounting documents are normally
used for the updating of Inventory Controlling.
If you want to use additional data for the statistics update
which is not contained in the documents, you can determine this data
using the function exit EXIT_SAPLMCBR_001 (accounting document).


  1. Defining new data as fields in the ABAP Dictionary using
    the append structures.
    The fields must be included in the user structures MCBESTUSR
    (inventory) and MCMSEGUSR (document information).
  2. To determine the new fields, the data from the material and accounting
    document are made available in the function exit.
  • XMCMSEG: Structure MCMSEGB (Document segment: Material)
  • XMCBEST: Structure MCBESTB (Inventory und material master information)
    In addition, the event (IM=Inventory Managenment, R=Revalution)
    that is used to call Inventory Controlling is transferred.

    • EXIT_SAPLMCBR_001: User Exit for Inventory Mgmt: Data from Price Changes, Revaluations,...