SAP ABAP Class CL_MDG_BS_MAT_SERVICES (General Services)
Hierarchy
MDG_APPL (Software Component) MDG Applications
   CA-MDG-APP-MM (Application Component) MDG Material
     MDG_BS_MAT_MODEL_ACCESS (Package) MDG: ERP Material Model Access to Prim. Pers.
Properties
Class CL_MDG_BS_MAT_SERVICES  
Short Description General Services    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MDG_BS_MAT_MODEL_ACCESS   MDG: ERP Material Model Access to Prim. Pers. 
Created 20090902   SAP 
Last change 20131127   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)
2 IF_MDG_BS_CLF_ACCESS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_MDG_BS_MAT_GEN_C Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_MDG_BS_MAT_SERVICES has no interface implemented.
Friends
Class CL_MDG_BS_MAT_SERVICES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_DEFAULT_CLASSTYPE Constant Protected Type reference (TYPE) KLASSENART '001' Default Classtype 20100408
2 GT_ENTITIES_STRUC Static Attribute Private Type reference (TYPE) USMD_TS_GEN_DDIC_STRUC Generated Structures from View Cluster usmd004c 20120706
3 GT_SEGMENT_ENTITIES Static Attribute Private Type reference (TYPE) GTY_TS_SEGMENT_ENTITIES Entities per Mat API segment 20120315
4 GT_STANDARD_SEGMENTS Static Attribute Public Type reference (TYPE) MDG_BS_MAT_T_MAT_TBNAM MDG BS MAT: Material Master Table Names 20101022
5 STS_APPL_STRUCS Static Attribute Private Type reference (TYPE) MDG_BS_MAT_TS_APPL_STRUCTURES Structures of Application Mappings 20091028
6 STS_CLASSTYPE Static Attribute Private Type reference (TYPE) TY_TS_CLASSTYPE Classtypes per Criteria 20111111
7 STS_DDIC_API_DATA Static Attribute Private Type reference (TYPE) GTY_TS_DESCR_STRUC API Modification Data 20091111
8 STS_DDIC_API_FC_COND Static Attribute Private Type reference (TYPE) GTY_TS_DESCR_STRUC API Field Control Conditions 20091111
9 STS_DDIC_API_FC_PROP Static Attribute Private Type reference (TYPE) GTY_TS_DESCR_STRUC API Field Control Properties 20091111
10 STS_ENTITY_ATTR_SWITCHED_OFF Static Attribute Private Type reference (TYPE) GTY_TS_ENTITY_ATTR_MAP Table of switched-off attributes per entity 20101213
11 STS_MODEL_STRUC Static Attribute Private Type reference (TYPE) GTY_TS_MODEL_STRUC Generated Structures of the Model 20091029
12 STS_SMT_MAP Static Attribute Private Type reference (TYPE) USMD_TS_SMT_MAP SMT Mapping from USMD004M 20120716
13 STS_VALID_CLASSTYPE Static Attribute Private Type reference (TYPE) TY_TS_CLASSTYPE Valid Classtypes per Criteria 20111111
14 SV_SEARCH_MODE Static Attribute Public Type reference (TYPE) USMD_SEARCH_MODE 'ES' Search Mode 20130705
Methods
# Method Level Visibility Method type Description Created on
1 CHANGE_STAGING Static method Public Method Read a single model attribute 20091012
2 CHECK_CC_CLASSTYPE_EXISTS Static method Public Method Check if Classtype with change number exists 20100921
3 CHECK_SEVERITY_ERROR Static method Public Method Get consolidated Severity of given BO Messages 20091011
4 CLASS_CONSTRUCTOR Static method Public Constructor 20091028
5 CONVERT_MATNR_TO_EXTERN Static method Public Method Convert Object Number for output - e.g. MATNR 20100408
6 CONVERT_MATNR_TO_INTERN Static method Public Method Convert Object Number for output - e.g. MATNR 20100921
7 DETERMINE_ENTITIES_PER_SEGMENT Static method Public Method Determine material segments for SMT mapping 20120314
8 DETERMINE_MAT_SEGMENTS Static method Public Method Determine material segments for SMT mapping 20101022
9 DETERMINE_MAT_SEGMENTS_EXT Static method Public Method Determine extended material segments (CHECK and SAVE) 20101022
10 DETERMINE_MAT_SEGMENTS_INT_STD Static method Public Method Determine standard material segments (field control) 20120320
11 DETERMINE_MAT_SEGMENTS_STD Static method Public Method Determine standard material segments (field control) 20110315
12 DETERMINE_SMT_APPL_STRUCTURES Static method Private Method Read the SMT source and target structures into buffer 20091111
13 EVALUATE_MODEL_METADATA Static method Private Method Evaluate model metadata - with and witout switch 20101213
14 EXCLUDE_CHANGED_FIELDS Static method Private Method Exclude switched off fields from 'Changed Fields' structure 20101213
15 GET_ATTRIBUTES Static method Public Method Read Attributes of given Instance of given Entity 20091109
16 GET_BOMSG_SEVERITY Static method Public Method Get consolidated Severity of given BO Messages 20091011
17 GET_CLASSIFICATION Static method Public Method Read classification data from model 20091012
18 GET_COMPTAB Static method Public Method calculates the components of a structure in a recursive way 20120227
19 GET_CONTROL_PARAMETERS Static method Public Method Get control parameters for update handling (direct save) 20100902
20 GET_DEFAULT_CLASS Static method Public Method Get "default" Class 20091217
21 GET_DEFAULT_CLASSTYPE Static method Public Method Get "default" Class Type 20100408
22 GET_DEFAULT_LANGUAGE Static method Public Method Get "default" Language 20100408
23 GET_DEFAULT_VALID_FROM Static method Public Method Get "default" Valid From 20100408
24 GET_DESCR_STRUC Static method Public Method Description of DDIC Structure 20091110
25 GET_EAN Static method Public Method Convert EAN and EAN Category 20091020
26 GET_ENTITIES_STRUC Static method Public Method Structuresof all Entities 20120706
27 GET_FIELD_CONTROL Static method Public Method Map API Field Properties to UI Field Properties 20091102
28 GET_FIELD_CONTROL_WITH_DATA Static method Public Method Map API Field Properties to UI Field Properties 20110421
29 GET_MAPPING Static method Public Method Get SMT mapping per entity (USMD004M) 20100119
30 GET_MATERIAL_CLASSTYPES Static method Public Method Get class types for a material 20091028
31 GET_MAT_TYPES Static method Public Method Reads material types for given material IDs 20090916
32 GET_MAT_TYPES_FROM_BUFFER Static method Public Method Map internal MATNR to external MATNR 20100923
33 GET_MODEL_FIELDNAME Static method Private Method 20091110
34 GET_MODEL_STRUCTURES Static method Public Method Generated SMT Structures 20091023
35 GET_ROOT_ATTRIBUTES Static method Public Method Read a single model attribute 20090902
36 GET_SMT_APPL_STRUCTURES Static method Public Method Provide the SMT source and target structures to external 20100303
37 GET_USMD_MESSAGES Static method Public Method Convert Classification Messages to USMD Messages 20091011
38 GET_VALID_CLASSTYPE Static method Public Method Get "valid" Class Type 20100408
39 HAS_ENTITY_TEXT Static method Public Method Checks whether entity has text 20091023
40 MAP_CLA_2_STA Static method Public Method Map class assignment data to staging area data 20101115
41 MAP_FIELD_CONTROL_2API Static method Public Method Map API Field Properties to UI Field Properties 20110406
42 MAP_MATNR_INT_2_EXT Static method Public Method Map internal MATNR to external MATNR 20100917
43 MAP_MODEL_2_API Static method Public Method Map staging area structures to API structures 20091110
44 MAP_MODEL_2_STA Static method Public Method Map API structures to staging area structures 20091026
45 MAP_TO_CR Static method Public Method Map model structure, considering no data sign 20110105
46 MAP_VAL_2_STA Static method Public Method Map characteristic valuation data to staging area data 20101115
Events
Class CL_MDG_BS_MAT_SERVICES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_S_DESCR_STRUC Public See coding Description of DDIC structures 20091110 BEGIN OF gty_s_descr_struc, name_component TYPE name_komp, name_line_type TYPE ddobjname, is_table TYPE boole_d, struc_components TYPE abap_component_tab, END OF gty_s_descr_struc
2 GTY_S_ENTITY_ATTR_MAP Private See coding 20101215 BEGIN OF gty_s_entity_attr_map, usmd_entity TYPE usmd_entity, source_struc TYPE smt_structure, target_struc TYPE smt_structure, attribute_map TYPE mdg_bs_mat_t_smt_mappinfo. TYPES END OF gty_s_entity_attr_map
3 GTY_S_MODEL_STRUC Private See coding 20091029 BEGIN OF gty_s_model_struc, usmd_model TYPE usmd_model. INCLUDE TYPE usmd_s_gen_ddic_struc AS entity_struc. TYPES END OF gty_s_model_struc
4 GTY_S_SEGMENT_ENTITIES Private See coding 20120314 BEGIN OF gty_s_segment_entities, segment TYPE tbnam, entities TYPE usmd_ts_entities, END OF gty_s_segment_entities
5 GTY_TS_DESCR_STRUC Public See coding Table of DDIC structure description 20091110 gty_ts_descr_struc TYPE SORTED TABLE OF gty_s_descr_struc WITH UNIQUE KEY name_component WITH NON-UNIQUE SORTED KEY line_type COMPONENTS name_line_type
6 GTY_TS_ENTITY_ATTR_MAP Private See coding 20101215 gty_ts_entity_attr_map TYPE SORTED TABLE OF gty_s_entity_attr_map WITH UNIQUE KEY primary_key COMPONENTS usmd_entity source_struc target_struc
7 GTY_TS_MATERIALID Public See coding Mapping internal/external Material ID 20100917 gty_ts_materialid TYPE SORTED TABLE OF materialid WITH UNIQUE KEY matnr_int
8 GTY_TS_MODEL_STRUC Private See coding 20091029 gty_ts_model_struc TYPE SORTED TABLE OF gty_s_model_struc WITH UNIQUE KEY usmd_model usmd_entity usmd_struc_usage usmd_struc_sub
9 GTY_TS_SEGMENT_ENTITIES Private See coding 20120314 gty_ts_segment_entities TYPE SORTED TABLE OF gty_s_segment_entities WITH UNIQUE KEY segment
10 TY_S_CLASSTYPE Public See coding 20111111 BEGIN OF ty_s_classtype, changeno_filter TYPE boole_d, inverse_filter TYPE boole_d, cc_supported TYPE boole_d, classtypes TYPE mdg_bs_clf_t_classtype. TYPES END OF ty_s_classtype
11 TY_TS_CLASSTYPE Public See coding 20111111 ty_ts_classtype TYPE SORTED TABLE OF ty_s_classtype WITH UNIQUE KEY changeno_filter inverse_filter cc_supported
Method Signatures

Method CHANGE_STAGING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) USMD_TS_ENTITY_DATA MDG Data for classification 20091012
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) USMD_T_MESSAGE Messages 20091012
3 Importing IS_CLF_CHANGES Call by reference Type reference (TYPE) IF_MDG_BS_CLF_ACCESS=>TY_S_CONTEXT_CHANGES Classification Changes 20091021
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_GEN Material Exceptions and Messages - Existency Check 20091012

Method CHECK_CC_CLASSTYPE_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_RESULT Value transfer Type reference (TYPE) BOOLE_D Classtype supporting Changno exists 20100921
2 Importing IV_OBJETYPE Call by reference Type reference (TYPE) TABELLE Name of database table for object 20100921
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_GEN Exceptions with Static and Dynamic Check of RAISING Clause 20100921

Method CHECK_SEVERITY_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_ERROR Value transfer Type reference (TYPE) BOOLE_D Error 20091011
2 Importing IO_MAT_MESSAGE Call by reference Object reference (TYPE REF TO) CX_MDG_BS_MAT_GEN Material Exceptions and Messages 20091011
3 Importing IT_MAT_MESSAGE Call by reference Type reference (TYPE) MDG_BS_MAT_T_MESSAGE Material Message Table 20091011
4 Importing IT_USMD_MESSAGE Call by reference Type reference (TYPE) USMD_T_MESSAGE USMD Messages 20091012
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_GEN Classification Exceptions and Messages 20091011

Method CLASS_CONSTRUCTOR Signature

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

Method CONVERT_MATNR_TO_EXTERN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_MATNR Value transfer Type reference (TYPE) MATNR_EXT Material Number (extern format) 20100408
2 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR_INT Material Number (intern format) 20100408
# Exception Resumable Description Created on
1 CX_STATIC_CHECK Exceptions with Static and Dynamic Check of RAISING Clause 20100408

Method CONVERT_MATNR_TO_INTERN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_MATNR Value transfer Type reference (TYPE) MATNR_INT Material Number (internal format) 20100921
2 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR_EXT Material Number (external format) 20100921
# Exception Resumable Description Created on
1 CX_STATIC_CHECK Exceptions with Static and Dynamic Check of RAISING Clause 20100921

Method DETERMINE_ENTITIES_PER_SEGMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20120314
2 Importing IV_MAP_TO_PP Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120314
3 Importing IV_SEGMENT Call by reference Type reference (TYPE) TBNAM Segment name (API structure) 20120314
4 Returning RT_ENTITIES Value transfer Type reference (TYPE) USMD_TS_ENTITIES Entity Types 20120314
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_SMT Exception for SMT mapping im material 20130219

Method DETERMINE_MAT_SEGMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20101022
2 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20101022
3 Importing IV_MAP_FROM_MDG Call by reference Type reference (TYPE) SMT_MAP Mapping 20101022
4 Importing IV_MAP_TO_MDG Call by reference Type reference (TYPE) SMT_MAP Mapping 20101022
5 Returning RT_MAT_SEGMENTS Value transfer Type reference (TYPE) MDG_BS_MAT_T_MAT_TBNAM MDG BS MAT: Material Master Table Names 20120313
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_SMT Exception for SMT mapping im material 20130218

Method DETERMINE_MAT_SEGMENTS_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MAT_SEGMENTS_EXT Call by reference Type reference (TYPE) MDG_BS_MAT_T_MAT_TBNAM MDG BS MAT: Material Master Table Names 20101022
2 Importing IO_DELTA Call by reference Object reference (TYPE REF TO) IF_USMD_DELTA_BUFFER_READ Read-Interface to Data Buffer 20101022
3 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20101022
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_SMT Exception for SMT mapping im material 20130219

Method DETERMINE_MAT_SEGMENTS_INT_STD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MAT_SEGMENTS_INT_STD Call by reference Type reference (TYPE) MDG_BS_MAT_T_MAT_TBNAM MDG BS MAT: Material Master Table Names 20120320
2 Importing IO_DELTA Call by reference Object reference (TYPE REF TO) IF_USMD_DELTA_BUFFER_READ Read-Interface to Data Buffer 20120320
3 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20120320
4 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20120320
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_SMT Exception for SMT mapping im material 20130219

Method DETERMINE_MAT_SEGMENTS_STD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MAT_SEGMENTS_STD Call by reference Type reference (TYPE) MDG_BS_MAT_T_MAT_TBNAM MDG BS MAT: Material Master Table Names 20110315
2 Importing IO_DELTA Call by reference Object reference (TYPE REF TO) IF_USMD_DELTA_BUFFER_READ Read-Interface to Data Buffer 20110315
3 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20110315
4 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20110315
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_SMT Exception for SMT mapping im material 20130219

Method DETERMINE_SMT_APPL_STRUCTURES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_APPLICATION Call by reference Type reference (TYPE) SMT_MAP Mapping 20091111
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_SMT Exception for SMT mapping im material 20130215

Method EVALUATE_MODEL_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT Model 20101215
2 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20101213

Method EVALUATE_MODEL_METADATA on class CL_MDG_BS_MAT_SERVICES has no exception.

Method EXCLUDE_CHANGED_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_CHANGE_STRUCT Call by reference Type reference (TYPE) ANY Changed Fields Structure 20110114
2 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20110114
3 Importing IS_UPDATE Call by reference Type reference (TYPE) ANY Update field list from delta buffer 20120522
4 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20110114
5 Importing IV_SOURCE_STRUC Call by reference Type reference (TYPE) SMT_STRUCTURE Entity Structure Name 20120522
6 Importing IV_TARGET_STRUC Call by reference Type reference (TYPE) SMT_STRUCTURE Mat API Structure Name 20120522
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_SMT Exception for SMT mapping im material 20130215

Method GET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) ANY TABLE Data in MDAF format 20100114
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) USMD_T_MESSAGE Messages 20091110
3 Exporting ET_RESULT Call by reference Type reference (TYPE) USMD_T_VALUE Values of Read Fields 20091110
4 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT Material Model 20091109
5 Importing IS_KEY Call by reference Type reference (TYPE) ANY Key field structure for selection 20110310
6 Importing IT_ATTRIBUTE Call by reference Type reference (TYPE) USMD_TS_FIELD Fields to be read 20091109
7 Importing IT_KEY_FIELD Call by reference Type reference (TYPE) USMD_TS_VALUE Entity Key Values for selection 20091110
8 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20091110

Method GET_ATTRIBUTES on class CL_MDG_BS_MAT_SERVICES has no exception.

Method GET_BOMSG_SEVERITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_BO_SEVERITY Value transfer Type reference (TYPE) /PLMB/SPI_MSG_SEVERITY BO Severity 20091011
2 Importing IO_MAT_MESSAGE Call by reference Object reference (TYPE REF TO) CX_MDG_BS_MAT_GEN Material Exceptions and Messages 20091011
3 Importing IT_MAT_MESSAGE Call by reference Type reference (TYPE) MDG_BS_MAT_T_MESSAGE Materiak Message Table 20091011
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_GEN Classification Exceptions and Messages 20091011

Method GET_CLASSIFICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_CLASSASGN Call by reference Type reference (TYPE) IF_MDG_BS_CLF_ACCESS=>TY_TS_CLASSASGN Class Assignment 20091015
2 Exporting ETS_VALUATION Call by reference Type reference (TYPE) IF_MDG_BS_CLF_ACCESS=>TY_TS_VALUATION Characteristic Valuation 20091015
3 Exporting ET_CLF_MESSAGE Call by reference Type reference (TYPE) MDG_BS_CLF_T_MESSAGE Classification Message Table 20110113
4 Exporting EV_NO_HIT Call by reference Type reference (TYPE) BOOLE_D No staging area data available 20101005
5 Importing IO_CONTEXT_CNTL Call by reference Object reference (TYPE REF TO) IF_MDG_BS_CLF_CNTL Classification Controller Interface for Lead Object 20091202
6 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDM Data Model for Access from Non-SAP-Standard Code 20091012
7 Importing ITS_CLF_CONTEXT Call by reference Type reference (TYPE) IF_MDG_BS_CLF_ACCESS=>TY_TS_CONTEXT Classification Context 20091012
8 Importing IV_EXISTENCE_CHECK_ONLY Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Flag: only existence check, no read of data required 20101015
9 Importing IV_WITH_EXPLOSION Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Explode result (ECN) 20101018
10 Importing IV_WITH_VALUATION_CONV Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Convert valuation (VALUE + CHARNAME filled) 20121011
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_GEN Material Exceptions and Messages - Existency Check 20091012

Method GET_COMPTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_STRUCT_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20120227
2 Returning RT_COMPONENT Value transfer Type reference (TYPE) ABAP_COMPONENT_TAB 20120227

Method GET_COMPTAB on class CL_MDG_BS_MAT_SERVICES has no exception.

Method GET_CONTROL_PARAMETERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CLF_CC_ALLOWED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100902
2 Exporting EV_CLF_CC_MULT Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100902
3 Exporting EV_CLF_DIRECT_SAVE Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100902
4 Exporting EV_CLF_SAVE_IN_UPD_TASK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100902
5 Exporting EV_CLF_SAVE_LOCAL Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100902
6 Exporting EV_CLF_SAVE_ON_COMMIT Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100902
7 Importing IV_MODEL Call by reference Type reference (TYPE) USMD_MODEL IF_MDG_BS_MAT_GEN_C=>GC_MODEL_MM Data Model 20100902
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_GEN Material Exceptions and Messages 20100921

Method GET_DEFAULT_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_CLASS Value transfer Type reference (TYPE) KLASSE_D Class 20091217
2 Importing IV_CLASSTYPE Call by reference Type reference (TYPE) KLASSENART_M Class Type 20100108
3 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20091217
4 Importing IV_MTART Call by reference Type reference (TYPE) MTART Material Type 20091217
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_GEN Exceptions with Static and Dynamic Check of RAISING Clause 20091217

Method GET_DEFAULT_CLASSTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_CLASSTYPE Value transfer Type reference (TYPE) KLASSENART Class Type 20100408
2 Importing IO_CONTEXT_CNTL Call by reference Object reference (TYPE REF TO) IF_MDG_BS_CLF_CNTL Classification Controller Interface for Lead Object 20120402
3 Importing IV_CC_SUPPORTED Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Filter Classtype: Changno supported 20100408
4 Importing IV_CHANGENO_FILTER Call by reference Type reference (TYPE) AENNR Change Number 20100408
5 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20100408
6 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20121128
7 Importing IV_MTART Call by reference Type reference (TYPE) MTART Material Type 20100408
# Exception Resumable Description Created on
1 CX_STATIC_CHECK Exceptions with Static and Dynamic Check of RAISING Clause 20100408

Method GET_DEFAULT_LANGUAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_LANGUAGE Value transfer Type reference (TYPE) SY-LANGU Language 20100408
# Exception Resumable Description Created on
1 CX_STATIC_CHECK Exceptions with Static and Dynamic Check of RAISING Clause 20100408

Method GET_DEFAULT_VALID_FROM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_VALID_FROM Value transfer Type reference (TYPE) DATUV Valid from 20100408
# Exception Resumable Description Created on
1 CX_STATIC_CHECK Exceptions with Static and Dynamic Check of RAISING Clause 20100408

Method GET_DESCR_STRUC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CTS_DESCR_STRUC Call by reference Type reference (TYPE) GTY_TS_DESCR_STRUC 20091110
2 Importing IV_COMPDESCR Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100329
3 Importing IV_NAME_STRUC Call by reference Type reference (TYPE) NAME_KOMP DDIC Structure Component Name 20091110

Method GET_DESCR_STRUC on class CL_MDG_BS_MAT_SERVICES has no exception.

Method GET_EAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) MDG_BS_MAT_T_MAT_MSG MDG BS MAT: Material Error Message Table 20120320
2 Exporting EV_EAN11 Call by reference Type reference (TYPE) EAN11 International Article Number (EAN/UPC) 20091020
3 Exporting EV_NUMTP Call by reference Type reference (TYPE) NUMTP Category of International Article Number (EAN) 20091020
4 Importing IV_EAN11 Call by reference Type reference (TYPE) EAN11 International Article Number (EAN/UPC) 20091020
5 Importing IV_NUMTP Call by reference Type reference (TYPE) NUMTP Category of International Article Number (EAN) 20091020

Method GET_EAN on class CL_MDG_BS_MAT_SERVICES has no exception.

Method GET_ENTITIES_STRUC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_ENTITIES_STRUC Value transfer Type reference (TYPE) USMD_TS_GEN_DDIC_STRUC Generated Structures from View Cluster usmd004c 20120706
2 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20120706

Method GET_ENTITIES_STRUC on class CL_MDG_BS_MAT_SERVICES has no exception.

Method GET_FIELD_CONTROL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETR_PROPERTY Call by reference Object reference (TYPE REF TO) DATA MDAF UI Field Control Properties 20091110
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) USMD_T_MESSAGE Messages 20091103
3 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20100614
4 Importing IT_DATA Call by reference Type reference (TYPE) USMD_TS_ENTITY_DATA UI Data 20110719
5 Importing IT_KEY_FIELD Call by reference Type reference (TYPE) USMD_TS_VALUE MDAF Key Field Values 20110719
6 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20091102

Method GET_FIELD_CONTROL on class CL_MDG_BS_MAT_SERVICES has no exception.

Method GET_FIELD_CONTROL_WITH_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_FLD_PROP_ATTR Call by reference Type reference (TYPE) ANY TABLE Field Properties per Entity Key 20110601
2 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20110421
3 Importing IT_DATA Call by reference Type reference (TYPE) ANY TABLE Entity Key + Data 20110511
4 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20110421
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_SMT Exception for SMT mapping im material 20130218

Method GET_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_MAP_FROM_MDG Call by reference Type reference (TYPE) SMT_MAP Mapping 20100202
2 Exporting EV_MAP_TO_MDG Call by reference Type reference (TYPE) SMT_MAP Mapping 20100202
3 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20100614
4 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20100119
5 Importing IV_STRUC_USAGE Call by reference Type reference (TYPE) USMD_STRUC_USGTXT Structure usage 20100202

Method GET_MAPPING on class CL_MDG_BS_MAT_SERVICES has no exception.

Method GET_MATERIAL_CLASSTYPES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ETS_CLASSTYPE Value transfer Type reference (TYPE) MDG_BS_CLF_T_CLASSTYPE Table of Class Types 20091028
2 Importing IV_CHANGENO_FILTER Call by reference Type reference (TYPE) AENNR Change Number 20091203
3 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20091028

Method GET_MATERIAL_CLASSTYPES on class CL_MDG_BS_MAT_SERVICES has no exception.

Method GET_MAT_TYPES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDM Data Model for Access from Non-SAP-Standard Code 20091006
2 Importing IT_MAT_ID Call by reference Type reference (TYPE) MDG_BS_MAT_T_MAT_ID Material: Table of material IDs 20090917
3 Importing IV_DEFAULT Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20091216
4 Returning RT_RESULT Value transfer Type reference (TYPE) MDG_BS_MAT_T_MAT_ID_TYPE Material: Table of Material ID and Material type 20090917

Method GET_MAT_TYPES on class CL_MDG_BS_MAT_SERVICES has no exception.

Method GET_MAT_TYPES_FROM_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MAT_ID_TYPE Call by reference Type reference (TYPE) MDG_BS_MAT_T_MAT_ID_TYPE Material: Table of Material ID and Material type 20100923
2 Importing ITR_MODEL_DATA Call by reference Object reference (TYPE REF TO) DATA Model Data 20100923

Method GET_MAT_TYPES_FROM_BUFFER on class CL_MDG_BS_MAT_SERVICES has no exception.

Method GET_MODEL_FIELDNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20091110
2 Returning RV_FIELDNAME Value transfer Type reference (TYPE) USMD_FIELDNAME Fieldname 20091110

Method GET_MODEL_FIELDNAME on class CL_MDG_BS_MAT_SERVICES has no exception.

Method GET_MODEL_STRUCTURES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_STRUC_ATTR Call by reference Type reference (TYPE) DDOBJNAME Name of Attribute Structure 20091023
2 Exporting EV_STRUC_ES Call by reference Type reference (TYPE) DDOBJNAME Name of Search Structure 20091112
3 Exporting EV_STRUC_FC Call by reference Type reference (TYPE) DDOBJNAME Name of Field Control Structure 20091110
4 Exporting EV_STRUC_FP Call by reference Type reference (TYPE) DDOBJNAME Name of Field Property Structure (EHP6) 20111111
5 Exporting EV_STRUC_FPT Call by reference Type reference (TYPE) DDOBJNAME Name of Field Property Structure for Text 20121212
6 Exporting EV_STRUC_TEXT Call by reference Type reference (TYPE) DDOBJNAME Name of Text Structure 20091023
7 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDM Data Model for Access from Non-SAP-Standard Code 20091029
8 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type of Model 20091023

Method GET_MODEL_STRUCTURES on class CL_MDG_BS_MAT_SERVICES has no exception.

Method GET_ROOT_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDM Data Model for Access from Non-SAP-Standard Code 20090902
2 Importing IT_ATTRIBUTE Call by reference Type reference (TYPE) USMD_TS_FIELD Field Names to be read 20090902
3 Importing IV_EDITION Call by reference Type reference (TYPE) USMD_VALUE Characteristic Value 20090916
4 Importing IV_MATERIAL Call by reference Type reference (TYPE) MATNR Material Number 20090902
5 Returning RT_RESULT Value transfer Type reference (TYPE) USMD_T_VALUE FieldNamew and Values 20090902
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_GEN Material Exceptions and Messages - Existency Check 20090902

Method GET_SMT_APPL_STRUCTURES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_APPLICATION Call by reference Type reference (TYPE) SMT_MAP Mapping 20100303
2 Returning RT_APPL_STRUCS Value transfer Type reference (TYPE) MDG_BS_MAT_TS_APPL_STRUCTURES Structures of Application Mappings 20100303
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_SMT Exception for SMT mapping im material 20130215

Method GET_USMD_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_USMD_MESSAGE Value transfer Type reference (TYPE) USMD_T_MESSAGE Messages 20091011
2 Importing IT_MAT_MESSAGE Call by reference Type reference (TYPE) MDG_BS_MAT_T_MESSAGE Material Message Table 20091011

Method GET_USMD_MESSAGES on class CL_MDG_BS_MAT_SERVICES has no exception.

Method GET_VALID_CLASSTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ETS_CLASSTYPE Value transfer Type reference (TYPE) MDG_BS_CLF_T_CLASSTYPE Table of Classtypes 20100408
2 Importing IV_CC_SUPPORTED Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Filter Classtype: Changno supported 20100408
3 Importing IV_CHANGENO_FILTER Call by reference Type reference (TYPE) AENNR Filter Classtype: only Changeno based classtypes 20100408
4 Importing IV_INVERSE_FILTER Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Filter Classtype: only Time based classtypes if no changeno 20100408
5 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20100408
# Exception Resumable Description Created on
1 CX_STATIC_CHECK Exceptions with Static and Dynamic Check of RAISING Clause 20100408

Method HAS_ENTITY_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20100602
2 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20091023
3 Returning RV_HAS Value transfer Type reference (TYPE) BOOLE_D Has or has not Description? 20091023

Method HAS_ENTITY_TEXT on class CL_MDG_BS_MAT_SERVICES has no exception.

Method MAP_CLA_2_STA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20101115
2 Importing IT_CLASSASGN Call by reference Type reference (TYPE) IF_MDG_BS_CLF_ACCESS=>TY_TS_CLASSASGN 20101115
3 Importing I_RT_DATA Call by reference Object reference (TYPE REF TO) DATA Expected data reference (or generated) 20101117
4 Returning R_RT_DATA Value transfer Object reference (TYPE REF TO) DATA Result table (generated structure) 20101115

Method MAP_CLA_2_STA on class CL_MDG_BS_MAT_SERVICES has no exception.

Method MAP_FIELD_CONTROL_2API Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PROPERTY Call by reference Type reference (TYPE) MDG_BS_MAT_S_MATERIAL_UI_PROP MDG BS MAT: Material Master UI properties 20110418
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) USMD_T_MESSAGE Messages 20110406
3 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20110406
4 Importing IR_T_PROPERTY Call by reference Object reference (TYPE REF TO) DATA MDAF UI Field Control Properties 20110420
5 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20110406

Method MAP_FIELD_CONTROL_2API on class CL_MDG_BS_MAT_SERVICES has no exception.

Method MAP_MATNR_INT_2_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MATERIALID Call by reference Type reference (TYPE) GTY_TS_MATERIALID Mapping internal/external Material ID 20100917
2 Importing ITR_MODEL_DATA Call by reference Object reference (TYPE REF TO) DATA Model Data 20100917

Method MAP_MATNR_INT_2_EXT on class CL_MDG_BS_MAT_SERVICES has no exception.

Method MAP_MODEL_2_API Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_API_DATA Call by reference Type reference (TYPE) MDG_BS_MAT_S_MAT_DATA API Data 20100112
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) USMD_T_MESSAGE Messages 20100505
3 Importing IO_FILL_API Call by reference Object reference (TYPE REF TO) IF_BS_MAT_FILL_API Fill API Structure (obsolete) 20091110
4 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20100614
5 Importing ITR_MODEL_DATA Call by reference Object reference (TYPE REF TO) DATA Model Data 20100112
6 Importing IV_DELETE Call by reference Type reference (TYPE) BOOLE_D Delete line 20110907
7 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20100120
8 Importing IV_SOURCE_STRUC Call by reference Type reference (TYPE) SMT_STRUCTURE Entity Structure Name 20091110
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_SMT Exception for SMT mapping im material 20130215

Method MAP_MODEL_2_STA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MODEL_DATA Call by reference Type reference (TYPE) ANY TABLE Entity Data 20091028
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) USMD_T_MESSAGE Messages 20100505
3 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20100614
4 Importing IS_API_DATA Call by reference Type reference (TYPE) MDG_BS_MAT_S_MAT_DATA API Data 20091026
5 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20100120
6 Importing IV_TARGET_STRUC Call by reference Type reference (TYPE) SMT_STRUCTURE Entity Structure Name 20091026
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_SMT Exception for SMT mapping im material 20130215

Method MAP_TO_CR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_DATA Call by reference Object reference (TYPE REF TO) DATA 20110105
2 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20110105
3 Importing IT_MFRES Call by reference Type reference (TYPE) MDG_BS_MAT_T_MFIELDRES Material: Table of field names to be initialized 20110105
4 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20110105
5 Importing I_R_DATA Call by reference Object reference (TYPE REF TO) DATA 20110105

Method MAP_TO_CR on class CL_MDG_BS_MAT_SERVICES has no exception.

Method MAP_VAL_2_STA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20101115
2 Importing IT_VALUATION Call by reference Type reference (TYPE) IF_MDG_BS_CLF_ACCESS=>TY_TS_VALUATION 20101115
3 Importing I_RT_DATA Call by reference Object reference (TYPE REF TO) DATA 20101117
4 Returning R_RT_DATA Value transfer Object reference (TYPE REF TO) DATA 20101115

Method MAP_VAL_2_STA on class CL_MDG_BS_MAT_SERVICES has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in 605