SAP ABAP Class CL_MATERIAL_EXTRACT (Class for BAdI Impl.: MATERIAL_EXTRACTION)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       MGA (Package) Application development R/3 material master from 3.0
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_ESH_IF_OBJECT_DATA Object data by list of object ids 20080311
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20080311
Properties
Class CL_MATERIAL_EXTRACT  
Short Description Class for BAdI Impl.: MATERIAL_EXTRACTION    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MGA   Application development R/3 material master from 3.0 
Created 20080311   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_MATERIAL_EXTRACT has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_ESH_IF_OBJECT_DATA Object data by list of object ids 20080311
2 IF_BADI_INTERFACE Tag Interface for BAdIs 20080311
Friends
Class CL_MATERIAL_EXTRACT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_MATERIAL Constant Public Type reference (TYPE) TABNAME 'MATERIAL' Material 20080311
2 GC_MATERIAL_OBJECT Constant Public Type reference (TYPE) ESH_E_OM_OBJECT_TYPE 'MATERIAL' Object Type: Material 20080311
3 GC_NODE_MATERIAL Constant Public Type reference (TYPE) ESH_E_OM_NODE_NAME 'MATERIAL' Node: Material 20080311
4 GC_NODE_MATERIAL_DESCRIPTION Constant Public Type reference (TYPE) ESH_E_OM_NODE_NAME 'MATERIAL_DESCRIPTION' material description node 20080313
5 GC_NODE_MATERIAL_EAN Constant Public Type reference (TYPE) ESH_E_OM_NODE_NAME 'MATERIAL_GTIN' international article number for material 20080318
6 GC_NODE_MATERIAL_GTIN Constant Public Type reference (TYPE) ESH_E_OM_NODE_NAME 'MATERIAL_GTIN' internation article number for material 20080313
7 GC_NODE_MATERIAL_PLANT Constant Public Type reference (TYPE) ESH_E_OM_NODE_NAME 'MATERIAL_PLANT' plant specific data for material 20080325
8 GC_NODE_MATERIAL_RETAIL Constant Public Type reference (TYPE) ESH_E_OM_NODE_NAME 'MATERIAL_RETAIL' Material Retail and Pos Control data 20080326
9 GC_NODE_MATERIAL_SALES Constant Public Type reference (TYPE) ESH_E_OM_NODE_NAME 'MATERIAL_SALES' sales data for material 20080326
10 GC_NODE_MATERIAL_SALES_LTXT Constant Public Type reference (TYPE) ESH_E_OM_NODE_NAME 'MATERIAL_SALES_LTXT' Sales Longtext for material 20090619
11 GC_NODE_MATERIAL_STORAGE_LOC Constant Public Type reference (TYPE) ESH_E_OM_NODE_NAME 'MATERIAL_STORAGE_LOC' Storage Location Data for Material 20080326
12 GC_NODE_MATERIAL_TEXT_UOM Constant Public Type reference (TYPE) ESH_E_OM_NODE_NAME 'MATERIAL_TEXT_UOM' Material Master Texts per Unit of Measure and Text ID 20080326
13 GC_NODE_MATERIAL_UOM Constant Public Type reference (TYPE) ESH_E_OM_NODE_NAME 'MATERIAL_UOM' Units of Measure for Material 20080408
14 GC_NODE_PURCH_LTXT Constant Public Type reference (TYPE) ESH_E_OM_NODE_NAME 'MATERIAL_PURCH_LTXT' Purchasing Longtext for Material 20081209
15 GC_NODE_VENDOR_EAN Constant Public Type reference (TYPE) ESH_E_OM_NODE_NAME 'MATERIAL_GTIN_VENDOR' vendors international article number 20080325
16 GC_SAP_APPL Constant Public Type reference (TYPE) ESH_E_OM_SYSREL 'SAP_APPL' Home Software Component 20090616
17 GC_TABLE_MAKT Constant Protected Type reference (TYPE) TABNAME 'MAKT' table name for material description 20080313
18 GC_TABLE_MAMT Constant Protected Type reference (TYPE) TABNAME 'MAMT' table name for Material Text per Unit of Measure and text id 20080326
19 GC_TABLE_MARA Constant Protected Type reference (TYPE) TABNAME 'MARA' Db table from where the fields are to be selected 20080312
20 GC_TABLE_MARC Constant Protected Type reference (TYPE) TABNAME 'MARC' table name for material plant 20080325
21 GC_TABLE_MARD Constant Protected Type reference (TYPE) TABNAME 'MARD' table name for Storage Location Data for Material 20080326
22 GC_TABLE_MARM Constant Protected Type reference (TYPE) TABNAME 'MARM' table name fo Unit of Measure of Material 20080408
23 GC_TABLE_MAW1 Constant Public Type reference (TYPE) TABNAME 'MAW1' Table Name 20080312
24 GC_TABLE_MEAN Constant Protected Type reference (TYPE) TABNAME 'MEAN' table name for internation article number 20080326
25 GC_TABLE_MLEA Constant Protected Type reference (TYPE) TABNAME 'MLEA' table name for vendor international article number 20080325
26 GC_TABLE_MVKE Constant Protected Type reference (TYPE) TABNAME 'MVKE' table name for material sales data 20080326
27 GC_TABLE_WLK2 Constant Protected Type reference (TYPE) TABNAME 'WLK2' table name for retail part pos data 20080318
28 GTS_MARA_MANDATORY Static Attribute Protected Type reference (TYPE) CL_ESO_EXTRACTION_TOOLS=>GTY_TS_FIELDNAME 20080312
29 GTS_MAW1_MANDATORY Static Attribute Protected Type reference (TYPE) CL_ESO_EXTRACTION_TOOLS=>GTY_TS_FIELDNAME 20080312
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor class constructor 20080416
2 GET_ARTICLE_MASTERDATA Instance method Private Method get the materials internation article number EAN 20080318
3 GET_MATERIAL_DESCRIPTION Instance method Private Method get the material description 20080313
4 GET_MATERIAL_PLANT Instance method Private Method get plant specific data for material 20080325
5 GET_MATERIAL_UOM Instance method Private Method get Material unit of measure 20080408
6 GET_PURCHASING_LONGTEXT Instance method Private Method Get Purchasing Longtext from Material Master 20081209
7 GET_RETAIL_POSDATA Instance method Private Method get Retail/Part POS control data 20080326
8 GET_ROOTNODE_DATA Instance method Private Method get the root node data mara_maw1 for full and delta index 20080314
9 GET_SALES_DATA Instance method Private Method get sales data for material 20080326
10 GET_SALES_LONGTEXT Instance method Private Method Get Sales Longtext for Material 20090619
11 GET_STORAGE_LOCATIONDATA Instance method Private Method get Storage Location Data for Material 20080326
12 GET_TEXT_PER_UOM Instance method Private Method get Material Master Texts per Unit of Measure and Text ID 20080326
13 GET_VENDOR_ARTICLENUMBER Instance method Private Method get the vendors internation article number EAN 20080325
Events
Class CL_MATERIAL_EXTRACT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_MARA_MAW1 Protected See coding 20080313 gty_mara_maw1 TYPE STANDARD TABLE OF eso_s_mara_maw1 WITH KEY matnr
2 GTY_MATERIAL_DESC Protected See coding 20080313 gty_material_desc TYPE STANDARD TABLE OF eso_s_makt_ltx WITH DEFAULT KEY
3 GTY_MATERIAL_EAN Protected See coding 20080318 gty_material_ean TYPE STANDARD TABLE OF eso_s_mean WITH DEFAULT KEY
4 GTY_MATERIAL_PLANT Protected See coding 20080325 gty_material_plant type standard table of ESO_S_MARC with default key
5 GTY_MATERIAL_TEXT_UOM Protected See coding 20080326 gty_material_text_uom type standard table of ESO_S_MAMT with default key
6 GTY_RETAIL_POSDATA Protected See coding 20080326 gty_retail_posdata type standard table of ESO_S_WLK2 with default key
7 GTY_SALES_DATA Protected See coding 20080326 gty_sales_data type standard table of ESO_S_MVKE with default key
8 GTY_STORAGE_LOCATIONDATA Protected See coding 20080326 gty_storage_locationdata type standard table of ESO_S_MARD with default key
9 GTY_S_MATNR_KEY Protected See coding 20080313 BEGIN OF gty_s_matnr_key. TYPES matnr TYPE matnr. TYPES END OF gty_s_matnr_key
10 GTY_T_MARA Protected See coding 20080312 gty_t_mara TYPE STANDARD TABLE OF mara WITH DEFAULT KEY
11 GTY_T_MATNR_KEY Protected See coding 20080313 gty_t_matnr_key TYPE STANDARD TABLE OF gty_s_matnr_key WITH DEFAULT KEY
12 GTY_T_MAW1 Protected See coding 20080312 gty_t_maw1 TYPE STANDARD TABLE OF maw1 WITH DEFAULT KEY
13 GTY_VENDOR_EAN Protected See coding 20080325 gty_vendor_ean type standard table of ESO_S_MLEA with default key
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_MATERIAL_EXTRACT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_MATERIAL_EXTRACT has no exception.

Method GET_ARTICLE_MASTERDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_EXTRACTION Call by reference Object reference (TYPE REF TO) ESH_S_IF_EXTRACT_NODE Extraction of one node 20080318
2 Importing IT_MATNR Call by reference Type reference (TYPE) GTY_T_MATNR_KEY list of material number 20080331

Method GET_ARTICLE_MASTERDATA on class CL_MATERIAL_EXTRACT has no exception.

Method GET_MATERIAL_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_EXTRACTION Call by reference Object reference (TYPE REF TO) ESH_S_IF_EXTRACT_NODE Extraction of one node 20080313
2 Importing IT_MATNR Call by reference Type reference (TYPE) GTY_T_MATNR_KEY 20080331

Method GET_MATERIAL_DESCRIPTION on class CL_MATERIAL_EXTRACT has no exception.

Method GET_MATERIAL_PLANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_EXTRACTION Call by reference Object reference (TYPE REF TO) ESH_S_IF_EXTRACT_NODE Extraction of one node 20080325
2 Importing IT_MATNR Call by reference Type reference (TYPE) GTY_T_MATNR_KEY list of material number 20080331

Method GET_MATERIAL_PLANT on class CL_MATERIAL_EXTRACT has no exception.

Method GET_MATERIAL_UOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_EXTRACTION Call by reference Object reference (TYPE REF TO) ESH_S_IF_EXTRACT_NODE Extraction of one node 20080408
2 Importing IT_MATNR Call by reference Type reference (TYPE) GTY_T_MATNR_KEY list of material number 20080408

Method GET_MATERIAL_UOM on class CL_MATERIAL_EXTRACT has no exception.

Method GET_PURCHASING_LONGTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_EXTRACTION Call by reference Object reference (TYPE REF TO) ESH_S_IF_EXTRACT_NODE Extraction of one node 20081209
2 Importing IT_MATNR Call by reference Type reference (TYPE) GTY_T_MATNR_KEY 20081211

Method GET_PURCHASING_LONGTEXT on class CL_MATERIAL_EXTRACT has no exception.

Method GET_RETAIL_POSDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_EXTRACTION Call by reference Object reference (TYPE REF TO) ESH_S_IF_EXTRACT_NODE Extraction of one node 20080326
2 Importing IT_MATNR Call by reference Type reference (TYPE) GTY_T_MATNR_KEY list of material number 20080331

Method GET_RETAIL_POSDATA on class CL_MATERIAL_EXTRACT has no exception.

Method GET_ROOTNODE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_EXTRACTION Call by reference Object reference (TYPE REF TO) ESH_S_IF_EXTRACT_NODE Extraction of one node 20080314
2 Importing IT_OBJECT_ID Call by reference Type reference (TYPE) GTY_T_MATNR_KEY list of material numbers 20080314
3 Importing IV_LAST_OBJECT_ID Call by reference Type reference (TYPE) ESH_E_IF_GENERAL_ID General ID 20080314
4 Importing IV_PACKAGE_SIZE Call by reference Type reference (TYPE) ESH_E_IF_PACKAGE_SIZE Package size 20080314

Method GET_ROOTNODE_DATA on class CL_MATERIAL_EXTRACT has no exception.

Method GET_SALES_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SALES_DATA Call by reference Type reference (TYPE) GTY_SALES_DATA sales data for material 20080326
2 Importing IR_EXTRACTION Call by reference Object reference (TYPE REF TO) ESH_S_IF_EXTRACT_NODE Extraction of one node 20080326
3 Importing IT_MATNR Call by reference Type reference (TYPE) GTY_T_MATNR_KEY list of material number 20080331

Method GET_SALES_DATA on class CL_MATERIAL_EXTRACT has no exception.

Method GET_SALES_LONGTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_EXTRACTION Call by reference Object reference (TYPE REF TO) ESH_S_IF_EXTRACT_NODE Extraction of one node 20090619
2 Importing IT_SALES_DATA Call by reference Type reference (TYPE) GTY_SALES_DATA sales data for material 20090619

Method GET_SALES_LONGTEXT on class CL_MATERIAL_EXTRACT has no exception.

Method GET_STORAGE_LOCATIONDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_EXTRACTION Call by reference Object reference (TYPE REF TO) ESH_S_IF_EXTRACT_NODE Extraction of one node 20080326
2 Importing IT_MATNR Call by reference Type reference (TYPE) GTY_T_MATNR_KEY list of material number 20080331

Method GET_STORAGE_LOCATIONDATA on class CL_MATERIAL_EXTRACT has no exception.

Method GET_TEXT_PER_UOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_EXTRACTION Call by reference Object reference (TYPE REF TO) ESH_S_IF_EXTRACT_NODE Extraction of one node 20080326
2 Importing IT_MATNR Call by reference Type reference (TYPE) GTY_T_MATNR_KEY list of material number 20080331

Method GET_TEXT_PER_UOM on class CL_MATERIAL_EXTRACT has no exception.

Method GET_VENDOR_ARTICLENUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_EXTRACTION Call by reference Object reference (TYPE REF TO) ESH_S_IF_EXTRACT_NODE Extraction of one node 20080325
2 Importing IT_MATNR Call by reference Type reference (TYPE) GTY_T_MATNR_KEY 20080331

Method GET_VENDOR_ARTICLENUMBER on class CL_MATERIAL_EXTRACT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 604