Sapass

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



Index

MGW00002

Customer Exits Additional Data (Retail)
Material Number Assignment (Retail)

Important
Industry customers must use customer enhancement MGA00002.

This customer enhancement lets you:

  • Change external (user-specified) numbers, for example, by appending a check digit
  • Complete self-assignment of internal numbers
  • Assign the numbers of variants in accordance with the number of the generic material
Functional Description
  • External number assignment (customer exit EXIT_SAPLMG72_002)

With the exception of the transfer structure, this function is identical to customer enhancement MGA00002 for material number assignment for the material master for industry. Please see customer enhancement MGA00002 for more information and for sample coding.

  • Internal number assignment (customer exit EXIT_SAPLMG72_001)

With the exception of the transfer structure, this function is identical to customer enhancement MGA00002 for material number assignment for the material master for industry. Please see customer enhancement MGA00002 for more information and for sample coding.

  • Assignment of numbers of variants (customer exit EXIT_SAPLMGNK_003)

This function module is called up for each variant of a generic material. The number of the generic material is given to the customer exit, and the number of the variant (at first blank) is changed by the function module. If the proposed number of the variant already exists, the function module is called up again.

You are responsible for ensuring that the function module makes a different proposal each time it is called up. An endless loop can otherwise occur. You can use the SAP function module
Function/Program:

  • EXIT_SAPLMG72_001: Customer Exit: Internal Material Number Assignment (Retail)
  • EXIT_SAPLMG72_002: Customer Exit: External Material Number Assignment (Retail)
  • EXIT_SAPLMGNK_003: Customer Exit: Variant Number Assignment

02-Oct-2005