SAP ABAP Class CL_WSD_MATERIAL (Material object used in lean material creation.)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD-MD-MM-CS (Application Component) Additional Material Functions
     WSD_CS_FU (Package) Functionality Enhanced Material Search
Properties
Class CL_WSD_MATERIAL  
Short Description Material object used in lean material creation.    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class WSD_MESSAGE    
Program status     
Category 0   
Package WSD_CS_FU   Functionality Enhanced Material Search 
Created 20060531   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_WSD_MATERIAL has no interface implemented.
Friends
Class CL_WSD_MATERIAL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MS_MATERIAL Instance attribute Public Type reference (TYPE) WSD_MATERIAL_STY Lean material structure 20060531
2 M_REF_MATERIAL Static Attribute Private Type reference (TYPE) MATNR Reference Material 20060712
3 M_SOURCE Static Attribute Public Type reference (TYPE) WSD_MATERIAL_SOURCE The source from where data of material is retrieved 20061208
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_PLANT_SPECIFIC_DATA Instance method Private Method Fill the structures used in creating plant data 20060824
2 CALCULATE_SALES_PRICE Instance method Private Method Calculate sales price 20060601
3 CHANGE_MATERIAL_RETAIL Static method Public Method Change an existing retail material 20090116
4 CHANGE_MATERIAL_STANDARD Static method Public Method Change an existing standard material 20090116
5 CHECK_EX_NUMBER_RANGE Static method Private Method Check if the material number is valid as external nr. 20060629
6 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20060531
7 CREATE_MATERIAL Static method Public Method Create material object 20060531
8 CREATE_MATERIAL_FROM_CATALOG Static method Public Method Create material from Catalog 20081229
9 CREATE_MATERIAL_FROM_MATERIAL Static method Public Method Create material using an existing material 20081229
10 CREATE_PLANT_DATA Static method Public Method Create a plant specific data for an existing material 20060704
11 CREATE_SALES_DATA Static method Public Method Creates sales organization data (MVKE) 20070220
12 GET_CLIENT_DATA Instance method Private Method Gets client data of material to be saved 20061211
13 GET_INTERNAL_MAT_NR Static method Private Method Get internal material number of the given material type 20060601
14 GET_PURCH_ORG Static method Private Method Gets a possible purch org for vendor and plant specified 20070131
15 GET_REFERENCE_MATERIAL Static method Private Method Get the reference material 20060711
16 GET_REFERENCE_PLANT Static method Private Method Get the ref. plant from the customizing table 20060825
17 GET_SALES_DATA Instance method Private Method Gets the sales data of material to be saved 20061211
18 GET_TAX_DATA Instance method Private Method Gets the tax data of material to be saved 20061211
19 MERGE_STRUCTURES Static method Private Method Merge the structures 20060823
20 POST_INFORECORD Instance method Private Method Post info record 20060531
21 RAISE_BAPI_ERROR Instance method Private Method Rollback and raise the bapi result an an exception 20060717
22 RAISE_FM_ERROR Instance method Private Method Fill wsd_message_sty for the internal table 20060717
23 READ_MATERIAL Static method Public Method Read the material data of the given matnr 20060802
24 READ_MATERIAL_BASIC_DATA Static method Private Method Read the mara table to get the material basic data 20060802
25 READ_MAT_DESCRIPTION Static method Private Method Read the material description from the MAKT table 20060802
26 READ_PLANT_DATA Static method Private Method Read plant and valuation reference data 20060704
27 READ_PURCHASING_DATA Static method Private Method Read the material purchasing data from EINA and EINE tables 20060802
28 READ_SALES_DATA Static method Private Method Read the material sales data from MVKE table 20060802
29 READ_VALUATION_DATA Static method Private Method Get the valuation data using the reference 20060825
30 SAVE_MATERIAL Instance method Public Method Save the new material data 20060704
31 SAVE_MATERIAL_RT Instance method Public Method Save the new retail material data 20070305
32 SAVE_PLANT_DATA Instance method Public Method Save plant specific data for the given material 20060704
33 SAVE_SALES_DATA Instance method Public Method Saves the sales org data (MVKE) for given material 20070220
34 SET_CHECKBOX_TABLE Instance method Private Method Sets the flag for update in the checkbox table 20061211
35 SET_MATERIAL Instance method Public Method Set attibute ms_material 20060720
Events
Class CL_WSD_MATERIAL has no event.
Types
Class CL_WSD_MATERIAL has no local type.
Method Signatures

Method BUILD_PLANT_SPECIFIC_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PLANT Call by reference Type reference (TYPE) BAPIE1MARC Material Data at Plant Level 20060825
2 Changing CS_PLANT_X Call by reference Type reference (TYPE) BAPIE1MARCX Checkbox Structure for BAPIE1MARC 20060825
3 Changing CS_VALUATION Call by reference Type reference (TYPE) BAPIE1MBEW Valuation Data 20060825
4 Changing CS_VALUATION_X Call by reference Type reference (TYPE) BAPIE1MBEWX Checkbox Structure for BAPIE1MBEW 20060825

Method BUILD_PLANT_SPECIFIC_DATA on class CL_WSD_MATERIAL has no exception.

Method CALCULATE_SALES_PRICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) WSD_APPLICATION Application name 20070201
# Exception Resumable Description Created on
1 CX_WSD_MAT_CREATE Material creation exception class 20060626

Method CHANGE_MATERIAL_RETAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MATERIAL Call by reference Type reference (TYPE) BAPIMATINR Material Number 20090116
2 Exporting ET_ERRORLIST Call by reference Type reference (TYPE) BAPIRET2_TAB Error Messages 20090116
3 Importing IS_MATERIAL Call by reference Type reference (TYPE) WSD_CREATESCREENVALUES Material change/create structure 20090123
4 Importing IV_CHANGE_FROM_MAT Call by reference Type reference (TYPE) WSD_CHANGE_MATERIAL '01' Change Method For Retail Articles 20090116

Method CHANGE_MATERIAL_RETAIL on class CL_WSD_MATERIAL has no exception.

Method CHANGE_MATERIAL_STANDARD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MATERIAL Call by reference Type reference (TYPE) BAPIMATINR Material Number 20090116
2 Exporting ET_ERRORLIST Call by reference Type reference (TYPE) BAPIRET2_TAB Error Messages 20090116
3 Importing IS_MATERIAL Call by reference Type reference (TYPE) WSD_CREATESCREENVALUES Header Structure: Core Article Master Data Maintenance Copy 20090116

Method CHANGE_MATERIAL_STANDARD on class CL_WSD_MATERIAL has no exception.

Method CHECK_EX_NUMBER_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_IS_VALID Value transfer Type reference (TYPE) XFELD Return value. X=valid, space=invalid 20060629
2 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060629
3 Importing I_MAT_TYPE Call by reference Type reference (TYPE) MTART Material Type 20060629
# Exception Resumable Description Created on
1 CX_WSD_MAT_CREATE Material creation exception class 20060629

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MATERIAL Call by reference Type reference (TYPE) WSD_MATERIAL_STY Lean material structure 20060531

Method CONSTRUCTOR on class CL_WSD_MATERIAL has no exception.

Method CREATE_MATERIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_MATERIAL Call by reference Object reference (TYPE REF TO) CL_WSD_MATERIAL Material object used in lean material creation. 20060531
2 Importing IS_MAT_DATA Call by reference Type reference (TYPE) WSD_MATERIAL_STY Lean material structure 20060531
3 Importing I_APP_NAME Call by reference Type reference (TYPE) WSD_APPLICATION Application name 20070201
4 Importing I_SOURCE Call by reference Type reference (TYPE) WSD_MATERIAL_SOURCE The source from where data of material is retrieved 20061208
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060828
2 CX_WSD_MAT_CREATE Material creation exception class 20060626
3 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20060810

Method CREATE_MATERIAL_FROM_CATALOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ERRORLIST Call by reference Type reference (TYPE) BAPIRET2_TAB Error Messages 20081229
2 Exporting ET_MATERIALLIST Call by reference Type reference (TYPE) WSD_MAT_CREATION_PRICAT_TTY List of newly created materials 20081229
3 Importing IS_CATALOGDATA Call by reference Type reference (TYPE) WSD_MATERIAL_STY Lean material structure 20081229
4 Importing IV_BACKGROUND Call by reference Type reference (TYPE) WSD_BACKGROUND_CREATE Flag for using background creation process 20081229
5 Importing IV_CREATE_FROM_CAT Call by reference Type reference (TYPE) WSD_CREATE_FROM_CATALOG Creation Method based on Catalog 20090417

Method CREATE_MATERIAL_FROM_CATALOG on class CL_WSD_MATERIAL has no exception.

Method CREATE_MATERIAL_FROM_MATERIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MATERIAL Call by reference Type reference (TYPE) BAPIMATINR Material Number 20081229
2 Exporting ET_ERRORLIST Call by reference Type reference (TYPE) BAPIRET2_TAB Error Messages 20081229
3 Importing IS_REFERENCE_DATA Call by reference Type reference (TYPE) WSD_CREATESCREENVALUES Header Structure: Core Article Master Data Maintenance Copy 20081229
4 Importing IV_BACKGROUND Call by reference Type reference (TYPE) WSD_BACKGROUND_CREATE Flag for using background creation process 20090123
5 Importing IV_CREATE_FROM_MAT Call by reference Type reference (TYPE) WSD_CREATE_FROM_MATERIAL Creation Method Based on Material 20081229
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20081231
2 CX_WSD_MAT_CREATE Material creation exception class 20081231
3 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20081231

Method CREATE_PLANT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_MATERIAL Call by reference Object reference (TYPE REF TO) CL_WSD_MATERIAL Material object used in lean material creation. 20060704
2 Importing I_APP_NAME Call by reference Type reference (TYPE) WSD_APPLICATION Application name 20070201
3 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060704
4 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20060711
5 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20061207
6 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20061207
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060828
2 CX_WSD_MAT_CREATE Material creation exception class 20060825
3 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20060830

Method CREATE_SALES_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_MATERIAL Call by reference Object reference (TYPE REF TO) CL_WSD_MATERIAL Material object used in lean material creation. 20070220
2 Importing I_APP_NAME Call by reference Type reference (TYPE) WSD_APPLICATION Application name 20070220
3 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20070220
4 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20070221
5 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20070220
6 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20070220
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20070221
2 CX_WSD_MAT_CREATE Material creation exception class 20070221
3 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20070221

Method GET_CLIENT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_MATERIAL Call by reference Type reference (TYPE) BAPIE1MARA Material Data at Client Level 20071129
2 Changing CS_MATERIAL_X Call by reference Type reference (TYPE) BAPIE1MARAX Checkbox Structure for BAPIE1MARA 20071129
3 Changing CS_MAT_UOM Call by reference Type reference (TYPE) BAPIE1MARM Units of Measure 20071129
4 Changing CS_MAT_UOM_X Call by reference Type reference (TYPE) BAPIE1MARMX Checkbox Structure for BAPIE1MARM 20071129

Method GET_CLIENT_DATA on class CL_WSD_MATERIAL has no exception.

Method GET_INTERNAL_MAT_NR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060601
2 Importing I_MAT_TYPE Call by reference Type reference (TYPE) MTART Material type 20060628
# Exception Resumable Description Created on
1 CX_WSD_MAT_CREATE Material creation exception class 20060629

Method GET_PURCH_ORG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20070131
2 Importing I_VENDOR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20070131
3 Returning R_PURCH_ORG Value transfer Type reference (TYPE) EKORG Purchasing Organization 20070131

Method GET_PURCH_ORG on class CL_WSD_MATERIAL has no exception.

Method GET_REFERENCE_MATERIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060711
2 Returning R_REF_MATERIAL Value transfer Type reference (TYPE) MATNR Material Number 20060712

Method GET_REFERENCE_MATERIAL on class CL_WSD_MATERIAL has no exception.

Method GET_REFERENCE_PLANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) WSD_APPLICATION Application name 20070201
2 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20060825
3 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20060825
4 Returning R_REF_PLANT Value transfer Type reference (TYPE) VLGFI Reference Plant of the Category "Store" (Material Master) 20060825
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060828
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20060825

Method GET_SALES_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_SALES_DATA Call by reference Type reference (TYPE) BAPIE1MVKE Sales Data 20071129
2 Changing CS_SALES_DATA_X Call by reference Type reference (TYPE) BAPIE1MVKEX Checkbox Structure for BAPIE1MVKE 20071129

Method GET_SALES_DATA on class CL_WSD_MATERIAL has no exception.

Method GET_TAX_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TAX_DATA Call by reference Type reference (TYPE) BAPIE1MLAN_LTTY Control Data 20080818
2 Importing I_NAME Call by reference Type reference (TYPE) WSD_APPLICATION Application 20070313

Method GET_TAX_DATA on class CL_WSD_MATERIAL has no exception.

Method MERGE_STRUCTURES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RESULT Value transfer Type reference (TYPE) ANY 20060823
2 Importing IS_FIRST Call by reference Type reference (TYPE) ANY 20060823
3 Importing IS_SECOND Call by reference Type reference (TYPE) ANY 20060823

Method MERGE_STRUCTURES on class CL_WSD_MATERIAL has no exception.

Method POST_INFORECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) WSD_APPLICATION Application name 20070201
# Exception Resumable Description Created on
1 CX_WSD_MAT_CREATE Material creation exception class 20060626

Method RAISE_BAPI_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing IT_RETURNS Call by reference Type reference (TYPE) WSD_BAPIE1RET2_TTY Return Parameter 20060717
2 Importing I_WHEREABOUT Call by reference Type reference (TYPE) STRING 20060717
# Exception Resumable Description Created on
1 CX_WSD_MAT_CREATE Material creation exception class 20060811

Method RAISE_FM_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WHEREABOUT Call by reference Type reference (TYPE) STRING 20060717
2 Changing X_MSG_TBL Call by reference Type reference (TYPE) WSD_MESSAGE_TTY Internal table for WSD exception text 20060717
# Exception Resumable Description Created on
1 CX_WSD_MAT_CREATE Material creation exception class 20060811

Method READ_MATERIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EKORG Call by reference Type reference (TYPE) EKORG Purchasing Organization 20061218
2 Importing I_KZRFB Call by reference Type reference (TYPE) KZRFB Indicator: reset buffer for Material_Pre_Fetch 20090320
3 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060802
4 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20060802
5 Importing I_VENDOR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20060929
6 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20060929
7 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20060929
8 Returning RS_MATERIAL Value transfer Type reference (TYPE) WSD_MATERIAL_STY Lean material structure 20061002
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060828
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20060830

Method READ_MATERIAL_BASIC_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_MAT_DATA Call by reference Type reference (TYPE) WSD_BASIC_MAT_STY Basic material data 20060802
2 Importing I_KZRFB Call by reference Type reference (TYPE) KZRFB Indicator: reset buffer for Material_Pre_Fetch 20090320
3 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060802
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060828
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20060825

Method READ_MAT_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DESCRIPTION Value transfer Type reference (TYPE) WSD_MAT_DESC_STY Material description 20060802
2 Importing I_KZRFB Call by reference Type reference (TYPE) KZRFB 20090320
3 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060802
4 Importing I_SPRAS Call by reference Type reference (TYPE) SPRAS Language Key 20061002
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060828
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20060825

Method READ_PLANT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PLANT Call by reference Type reference (TYPE) MARC Material 20060825
2 Importing I_KZRFB Call by reference Type reference (TYPE) KZRFB Indicator: reset buffer for Material_Pre_Fetch 20090320
3 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060704
4 Importing I_OPTIONAL Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE The return data for the given plant can be empty 20060928
5 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant Table for National (Centrally Agreed) Contracts 20060711
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060828
2 CX_WSD_NO_DATA_FOUND Material creation exception class 20060825

Method READ_PURCHASING_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PURCHASING_GENERAL Call by reference Type reference (TYPE) WSD_PURCHASING_GEN_STY Purchasing data 20060821
2 Changing CS_PURCHASING_ORG Call by reference Type reference (TYPE) WSD_PURCHASING_ORG_STY Purchasing Info Record: Purchasing Organization Data 20060821
3 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060802
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060828
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20060825

Method READ_SALES_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_SALES Call by reference Type reference (TYPE) WSD_SALES_STY Sales data 20060802
2 Importing I_KZRFB Call by reference Type reference (TYPE) KZRFB Indicator: reset buffer for Material_Pre_Fetch 20090320
3 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060802
4 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20060824
5 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20060824
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060828
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20060825

Method READ_VALUATION_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ES_VALUATION Value transfer Type reference (TYPE) MBEW Material Valuation 20060825
2 Importing I_KZRFB Call by reference Type reference (TYPE) KZRFB Indicator: reset buffer for Material_Pre_Fetch 20090320
3 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060825
4 Importing I_OPTIONAL Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE retuen data can be empty if this is true. 20060928
5 Importing I_VALUATION_AREA Call by reference Type reference (TYPE) WERKS_D Plant 20060825
6 Importing I_VALUATION_TYPE Call by reference Type reference (TYPE) BWTAR_D Valuation Type 20060825
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060828
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20060825

Method SAVE_MATERIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APP_NAME Call by reference Type reference (TYPE) WSD_APPLICATION Application name 20070201
2 Importing I_MAT_CREATE Call by reference Type reference (TYPE) WSD_MAT_CREATE Type of materials that are created 20070313
3 Returning R_MATERIAL Value transfer Type reference (TYPE) MATNR Material Number 20060803
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060928
2 CX_WSD_MAT_CREATE Material creation exception class 20060706
3 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20060928

Method SAVE_MATERIAL_RT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APP_NAME Call by reference Type reference (TYPE) WSD_APPLICATION Application name 20070305
2 Returning R_MATERIAL Value transfer Type reference (TYPE) MATNR Material Number 20070305
# Exception Resumable Description Created on
1 CX_WSD_MAT_CREATE Material creation exception class 20070412

Method SAVE_PLANT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APP_NAME Call by reference Type reference (TYPE) WSD_APPLICATION Application name 20070201
# Exception Resumable Description Created on
1 CX_WSD_MAT_CREATE Material creation exception class 20060706

Method SAVE_SALES_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APP_NAME Call by reference Type reference (TYPE) WSD_APPLICATION Application name 20070220
# Exception Resumable Description Created on
1 CX_WSD_MAT_CREATE Material creation exception class 20070221

Method SET_CHECKBOX_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_TABLE Call by reference Type reference (TYPE) ANY Check Table 20061211
2 Importing IS_TABLE Call by reference Type reference (TYPE) ANY Table 20061211
3 Importing I_TABNAME Call by reference Type reference (TYPE) DDOBJNAME Table name 20061211

Method SET_CHECKBOX_TABLE on class CL_WSD_MATERIAL has no exception.

Method SET_MATERIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MAT_DATA Call by reference Type reference (TYPE) WSD_MATERIAL_STY Lean material structure 20060720

Method SET_MATERIAL on class CL_WSD_MATERIAL has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 700