Ansicht
Dokumentation

/DSCSAG/MAT_CREATE_DARK - Create and Change Material Master Data accroding template

/DSCSAG/MAT_CREATE_DARK - Create and Change Material Master Data accroding template

ABAP Short Reference   BAL_S_LOG - Application Log: Log header data  
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

CLIENTDATA
CLIENTDATAX
EXTENSIONIN
EXTENSIONINX
FLAG_CAD_CALL
FLAG_ONLINE
FORECASTPARAMETERS
FORECASTPARAMETERSX
HEADDATA
INTERNATIONALARTNOS
IV_CLIENT_VERSION
IV_TEMPLATE_MATERIAL
MATERIALDESCRIPTION
MATERIALLONGTEXT
NO_DEQUEUE
PLANNINGDATA
PLANNINGDATAX
PLANTDATA
PLANTDATAX
PRTDATA
PRTDATAX
RETURN
RETURNMESSAGES
RUNTIME
SALESDATA
SALESDATAX
STORAGELOCATIONDATA
STORAGELOCATIONDATAX
STORAGETYPEDATA
STORAGETYPEDATAX
TAXCLASSIFICATIONS
UNITSOFMEASURE
UNITSOFMEASUREX
VALUATIONDATA
VALUATIONDATAX
VERSION_ID
WAREHOUSENUMBERDATA
WAREHOUSENUMBERDATAX

Exceptions

Function Group

SAG/SAPLMATERIAL

ROGBILLS - Synchronize billing plans   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 5359 Date: 20240423 Time: 131633     sap01-206 ( 81 ms )