SAP Function BAPI_MAT_BOM_EXISTENCE_CHECK - Check Whether BOM for Material Exists

Parameter Reference Type Length Default Optional Text
BOMUSAGE BAPI1080_BGR_C-BOM_USAGE C 1 BOM Usage
MATERIAL BAPI1080_MBM_C-MATERIAL C 18 Material Number
MATERIAL_EVG BAPIMGVMATNR u 82 X Long Material Number
PLANT BAPI1080_MBM_C-PLANT C 4 X Plant
VALID_FROM_DATE BAPI1080_BOM_C-VALID_FROM_DATE D 8 X Valid-From Date
VALID_TO_DATE BAPI1080_BOM_C-VALID_FROM_DATE D 8 X Valid To Date

Parameter Reference Length Optional Text
RETURN BAPIRET2 548 Return Parameter


This module checks whether a BOM exists for the given material andplant and usage. If the value is BLANK the system looks for a groupBOM.
You can enter the selection period to be used as additional criteria.In this case, the system checks whether the BOM found exists in thegiven selection period.

Notes
Note that the function module merely provides information about whethera BOM exists in the selection period or not. It does not say anythingabout the effectivity of the BOM within this period or about whichother materials or plants, the BOM is assigned to. It also does not sayanything about which type of BOM it concerns, whether configurable,variant or multiple.

Description
(Assembly-)material of the BOM.

Description
Parameter for the long material number.
You can use this parameter to transfer long material numbers, whosemaximum length may be up to 40 characters.
Before you can use this parameter, you must switch on the switch forbusiness function LAMA (long material number) in the system.
Business function LAMA is available as a component of the businessfunction set for DIMP.

Value range
None

Default
None
The parameter defines the plant of the material entered for which theexistence of a BOM assignment is being checked. If the plant remainsinitial, the system checks for the existence of the group BOM. Makesure that another BOM can be assigned to each plant. Which BOM it is,is irrelevant.

Description
With the parameter, you can restrict the effectivity period
(start date), within which to look for the BOM.

Value range
Note that the function module merely provides information about whethera BOM exists in the selection period or not. It does not say anythingabout the effectivity of the BOM within this period.

Description
With this parameter, you can restrict the effectivity period (finishdate) in which you are looking for a BOM.

Value range
Note that the function module merely provides information about whethera BOM exists in the selection period or not. It does not say anythingabout the effectivity of the BOM within this period.

Description
This table returns why the BOM group you are looking for does notexist.