Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

/CWM/TOLERANCE_GROUP - BAdI: Determining an Alternative Tolerance Group

/CWM/TOLERANCE_GROUP - BAdI: Determining an Alternative Tolerance Group

PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Business Add-In (BAdI) /CWM/TOLERANCE_GROUP is used for CW materials.

You can use this BAdI to determine an alternative tolerance group for a material during the tolerance check.

Tolerance check behavior without BAdI implementation

For the tolerance check, the system uses the tolerance group stored in the material master record. The tolerance limits defined in this tolerance group determine the check result.

Tolerance check behavior with BAdI implemenation

The system can determine an alternative tolerance group for the tolerance group defined in the material master record. The BAdI provides method GET_TOLERANCE_GROUP.

When it is called, the system provides the method with the same data that the normal tolerance check uses:

  • I_MATERIAL,,,,,,Material number
  • I_BATCH,,,,,,,,Batch
  • I_PLANT,,,,,,,,Plant
  • I_ERFMG,,,,,,,,Quantity in entry unit of measure
  • I_ERFME,,,,,,,,Unit of entry
  • I_ERFMG_2TQ,,,,,,Quantity in parallel unit of entry
  • I_ERFME_2TQ,,,,,,PUoM unit of entry

With the correct implementation, the method can use these parameters to determine an alternative tolerance group for the tolerance check.

  • The Business Add-In is not active in the standard system.
  • The Business Add-In is not designed for multiple use.
  • The Business Add-In is not filter-dependent.

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.






BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2534 Date: 20211129 Time: 192315     sap01-206 ( 71 ms )