Ansicht
Dokumentation

BAPI_MATERIAL_SAVEDATA - Create and Change Material Master Data

BAPI_MATERIAL_SAVEDATA - Create and Change Material Master Data

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this method to create new material master data or to change existing material master data. The data on a material can be transferred for each call.

When creating material master data, you must transfer the material number, the material type, and the industry sector to the method. You must also enter a material description and its language.

When changing material master data, you need enter only the material number.

In the header data, you must select at least one view for which data is to be created. Depending on the view selected, you must maintain other required parameters. If you do not enter values for all of the required parameters, the method is ended with an error message.

The corresponding fields in the tables (such as CLIENTDATA) must first be supplied with data by the calling program. An indicator must also be set for each of these fields so that the data is written to the database by the method. This requires the calling program to supply the corresponding field with the indicator in a checkbox table (for example, CLIENTDATAX). Checkbox tables exist for tables that do not contain any language-dependent texts (MAKT, MLTX), International Article Numbers (MEAN), or tax classifications (MLAN). Several data records for a material can be created in these tables.

If you want to maintain long texts (basic data texts, internal comments, purchase order texts, material memos, or sales texts) or customer-defined fields for a material, some special conditions have to be observed. They are described in the documentation for parameters MATERIALLONGTEXT and EXTENSIONIN.





Parameters

AFS_CLIENTDATA
AFS_CLIENTDATAX
AFS_HEADDATA
AFS_PLANTDATA
AFS_PLANTDATAX
AFS_QUOTACATEGORIES
AFS_RETAIL_DATA
AFS_SALESDATA
AFS_SALESDATAX
AFS_SEASONDATA
CLIENTDATA
CLIENTDATACWM
CLIENTDATACWMX
CLIENTDATAX
DEMAND_PENALTYDATA
DEMAND_PENALTYDATAX
EXTENSIONIN
EXTENSIONINX
FLAG_CAD_CALL
FLAG_ONLINE
FORECASTPARAMETERS
FORECASTPARAMETERSX
HEADDATA
INTERNATIONALARTNOS
MARC_APS_EXTDATA
MARC_APS_EXTDATAX
MATERIALDESCRIPTION
MATERIALLONGTEXT
MATPLSTADATA
MATPLSTADATAX
NO_DEQUEUE
NO_ROLLBACK_WORK
PLANNINGDATA
PLANNINGDATAX
PLANTDATA
PLANTDATAX
PRTDATA
PRTDATAX
RETURN
RETURNMESSAGES
SALESDATA
SALESDATAX
SEGMRPGENERALDATA
SEGMRPGENERALDATAX
SEGMRPQUANTITYDATA
SEGMRPQUANTITYDATAX
SEGSALESSTATUS
SEGSALESSTATUSX
SEGVALUATIONTYPE
SEGVALUATIONTYPEX
SEGWEIGHTVOLUME
SEGWEIGHTVOLUMEX
SKU_CAPUSAGE_WM
SKU_COMM_CODES
SKU_INTERNATIONALARTNOS
SKU_PALLETIZATION_WM
SKU_PLANTDATA_MRP
SKU_PLANTDATA_VALUATION
SKU_SALESDATA
SKU_STORAGETYPEDATA
SKU_STRATEGIES_WM
SKU_UNITSOFMEASURE
STORAGELOCATIONDATA
STORAGELOCATIONDATAX
STORAGETYPEDATA
STORAGETYPEDATAX
TAXCLASSIFICATIONS
UNITSOFMEASURE
UNITSOFMEASURECWM
UNITSOFMEASURECWMX
UNITSOFMEASUREX
VALUATIONDATA
VALUATIONDATACWM
VALUATIONDATACWMX
VALUATIONDATAX
WAREHOUSENUMBERDATA
WAREHOUSENUMBERDATAX

Exceptions

Function Group

1001UEB

BAL Application Log Documentation   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 8284 Date: 20240523 Time: 154337     sap01-206 ( 88 ms )