SAP Function VALUE_ARTICLE_FIND -

Parameter Reference Type Length Default Optional Text
I_BWKEY T001K-BWKEY C 4 X
I_KZRFB MTCOM-KZRFB C 1 ' ' X
I_KZRMW C C 0 ' ' X
I_MATKL MARA-MATKL C 9 X
I_MATNR MARA-MATNR C 18 X
I_MAXTZ MTCOM-MAXTZ I 4 0 X
I_WERKS T001W-WERKS C 4 X

Parameter Reference Type Length Text
E_BWKEY T001K-BWKEY C 4
E_MATNR MARA-MATNR C 18
E_PEVAF PEVAF u 239
E_WAART C C 0

Exception Text
BUCHUNG_NICHT_ERLAUBT
ENTRY_NOT_FOUND
MATERIAL_NOT_FOUND
WERTM_BF_NICHT_ERLAUBT

Functionality
Determines the value-only material on which the material passed on atimport is managed. Also determines those materials managed on an exactmaterial basis in spite of value-only inventory management. Returns thematerial numbers. An indicator is also returned indicating whether thestock-keeping material is a value-only material.

Example
All materials in the fruit material group are managed on the "fruit"value-only material. If a goods movement is posted in plant "XYZ" formaterial "banana", the function module is called as follows:
CALL FUNCTION 'VALUE_ARTICLE_FIND'
EXPORTING
I_MATNR = "BANANA"
I_WERKS = "XYZ"
IMPORTING
E_MATNR = NEW_ARTICLE
E_WAART = Flag
If value-only inventory management is allowed in this plant, the"fruit" material is contained in NEW_ARTICLE after the function moduleis called. The E_WAART indicator is set.

Notes
If an exception occurs which is not intercepted by the calling program,an error message is issued.