Fonction SAP BAPI_MATERIAL_EXISTENCECHECK - Check Existence of Material

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
MATERIAL BAPIMATALL-MATERIAL C 18 Material No.
MATERIAL_EVG BAPIMGVMATNR u 82 X

Paramètre Reférence Type Long. Description
DELETION_FLAG BAPIMATALL-DEL_FLAG C 1 Material is flagged for deletion
RETURN BAPIRETURN1 u 470 Return Parameter

Functionality
This method checks the existence of a material.

Notes
Messages are returned in the parameter RETURN. The return codes andtheir meanings are contained in this parameter documentation.

Description
For information on the meaning of this indicator, see the correspondingdata element documentation:
Deletion flag

Value range
If the field contains the value X, the material is flagged fordeletion.
If the field is blank (' ' / SPACE), the material is not flagged fordeletion.

Description
INCLUDE MATRETURN OBJECT DOKU ID TX

Value range
Type,,ID,,Number,,Message
S,,,,,,The material exists.
I,,M3,,008,,The material exists, but is flagged
,,,,,,for deletion.
E,,M3,,262,,No material number was transferred.
E,,M3,,305,,The material does not exist.
The field Message contains the message text for the respectivecombination of ID / Number if they contain values.

Description
INCLUDE MATNUMMER OBJECT DOKU ID TX

Description
Parameter for the long material number
This parameter can be used to transfer long material numbers that cancontain a maximum of 40 characters.
To use this parameter, you must activate the switch for the LAMA (longmaterial number) business function in the system.
The LAMA business function is available as part of the business functionset for DIMP.

Value range
None

Default
None