Fonction SAP BAPI_MATERIAL_EDIT - Change Material

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
MATERIAL BAPIMATALL-MATERIAL C 18 Material to be changed
MATERIAL_EVG BAPIMGVMATNR u 82 X
SKIP_1ST_SCREEN BAPIMATALL-SKIP_1ST_SCREEN C 1 'X' X Skip initial screen

Paramètre Reférence Type Long. Description
RETURN BAPIRET1 u 470

Functionality
You can use this method to change a material.

Description
INCLUDE MATRETURN OBJECT DOKU ID TX

Value range
Type,,ID,,Number,,Explanation
I,,M3,,801,,The material has been changed.
I,,M3,,810,,The material has not been changed.
E,,M3,,262,,No material number has been transferred.
E,,M3,,305,,The material does not exist.

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

Description

  • Parameter set

  • The initial screen in material master maintenance is skipped.
    • Parameter not set

    • Another material can be selected on the initial screen. In addition, achange number can be entered (not in the case of a retail material).

      Default
      Skip initial screen ( 'X' ).

1272296Transaction MM02 is always called in change mode