SAP ABAP Class CL_MDG_BS_MAT_BO_SEARCH (BO class for material search)
Hierarchy
MDG_APPL (Software Component) MDG Applications
   CA-MDG-APP-MM (Application Component) MDG Material
     MDG_BS_MAT_SP (Package) MDG: Material Service Provider
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_MDG_BS_MAT_GEN_C Constant Interface for MDG Material 20110609
Properties
Class CL_MDG_BS_MAT_BO_SEARCH  
Short Description BO class for material search    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MDG_BS_MAT_SP   MDG: Material Service Provider 
Created 20100824   SAP 
Last change 20140121   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
# Interface Abstract Final Description Created on
1 IF_MDG_BS_MAT_GEN_C Constant Interface for MDG Material 20110609
Friends
Class CL_MDG_BS_MAT_BO_SEARCH has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GO_MODEL Static Attribute Public Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDM Data Model for Access from SAP Standard 20110113
2 GT_CHAR Static Attribute Private Type reference (TYPE) MDG_BS_MAT_T_CHOOSE_CHAR Choose Characteristics Search Table Types 20110719
3 GT_CLASS_HEIR_INFO Static Attribute Public Type reference (TYPE) MDG_BS_MAT_T_SP_CLASS_CLINT table for storing class information 20110719
4 MV_CLASSTYPE Instance attribute Public Type reference (TYPE) KLASSENART 20100826
5 ST_TEXT_POOL Static Attribute Public Type reference (TYPE) TEXTPOOL_TABLE Text pool 20131001
6 SV_SYST_LANGU Static Attribute Private Type reference (TYPE) SYLANGU System Language 20130920
Methods
# Method Level Visibility Method type Description Created on
1 AUTHORITY_CHECK Static method Public Method authority check for actions 20110608
2 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20130705
3 CLEAR_CHAR Static method Public Method clear the characteristics 20110715
4 CLEAR_CLASS_HEIR_INFO Static method Public Method Resets the class heirarchy information 20110719
5 CONSTRUCTOR Instance method Public Constructor 20100826
6 CONVERT_CLASS_TO_CLINT Static method Public Method convert class to clint 20110607
7 CONVERT_EXTERNAL_TO_INT Static method Public Method convert char external format to internal format 20110607
8 CONVERT_VALUE Static method Private Method Conversion of F4 values to UI format 20110728
9 GENERATE_RESPONSE_TABLE Static method Private Method Get the response structure from ES template 20110805
10 GET_CHAR Static method Public Method getting the characteristics 20110715
11 GET_CHAR_F4_VALUES Static method Private Method Get characteristic value as F4 20110725
12 GET_CHAR_VALUES Static method Public Method get characteristics value 20110214
13 GET_CLASSES_CLHIER Instance method Public Method get class heirarchy 20110225
14 GET_CLASSES_F4 Instance method Public Method get classes for corresponding classtype 20110719
15 GET_CLASSES_HEIRARCHY Static method Public Method Read the heirarchy information fetched 20110719
16 GET_CLASS_CHAR Instance method Public Method get characteristics 20110203
17 GET_CLASS_TYPES Instance method Public Method get class type 20100826
18 GET_CLASS_TYPE_CUSTOMIZING Static method Public Method Fetch class type customizing 20110721
19 GET_F4_VALUES_CHECKTABLE Static method Private Method Get characteristic value from check table 20110727
20 GET_ROUND Static method Private Method Round Characteristic Values (originates from using Type F) 20130222
21 GET_SEARCHABLE_ATTRIBUTES Instance method Public Method Get search criteria and result set 20100826
22 GET_SEARCH_ATTRIB_DESCR Static method Public Method Get search attribute descriptions in current language 20131001
23 GET_SYSTEM_LANGUAGE Static method Public Method Retrieve System Language 20130920
24 GET_TEXT Static method Public Method Get texts elements 20131001
25 GET_VALUES_F4_FM Static method Private Method Get characteristic value from function module 20110728
26 SET_CHAR Static method Public Method setting the characteristics 20110715
Events
Class CL_MDG_BS_MAT_BO_SEARCH has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_CABN Public See coding 20110131 BEGIN OF gty_cabn, atinn TYPE atinn, adzhl TYPE adzhl, atnam TYPE atnam, atfor TYPE atfor, atkla TYPE atkla, atson TYPE atson, atprt TYPE atprt, atprf TYPE atprf, datuv TYPE datuv, aennr TYPE aennr, END OF gty_cabn
2 GTY_CABNT Public See coding 20110131 BEGIN OF gty_cabnt, atinn TYPE atinn, atbez TYPE atbez, datuv TYPE datuv, aennr TYPE aennr, spras TYPE spras, END OF gty_cabnt
3 GTY_CHAR_UI Public See coding 20110218 BEGIN OF gty_char_ui, value_char TYPE atwrt, END OF gty_char_ui
4 GTY_KLAH Public See coding 20110131 BEGIN OF gty_klah, clint TYPE clint, class TYPE klasse_d, END OF gty_klah
5 GTY_KSML Public See coding 20110131 BEGIN OF gty_ksml, clint TYPE clint, imerk TYPE atinn, adzhl TYPE adzhl, datuv TYPE datuv, lkenz TYPE lkenz, END OF gty_ksml
6 GTY_SWOR Public See coding 20110131 BEGIN OF gty_swor, clint TYPE clint, kschl TYPE klschl, spras TYPE spras, END OF gty_swor
7 TS_ATINN_INCO Public See coding 20100826 BEGIN OF ts_atinn_inco, atinn TYPE atinn, END OF ts_atinn_inco
8 TS_GROUP Public See coding 20100826 BEGIN OF ts_group, atinn TYPE atinn, pos TYPE sylilli, END OF ts_group
9 TT_ATINN_INCO Public See coding 20100826 tt_atinn_inco TYPE STANDARD TABLE OF ts_atinn_inco
10 TT_GROUP Public See coding 20100826 tt_group TYPE STANDARD TABLE OF ts_group
11 TT_KLAH Public See coding 20110519 tt_klah TYPE STANDARD TABLE OF gty_klah
12 TT_REF_DATA Public See coding 20100826 tt_ref_data TYPE STANDARD TABLE OF cltable
Method Signatures

Method AUTHORITY_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_NO_AUTHORITY Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110608
2 Importing IV_ACTION_NAME Call by reference Type reference (TYPE) FPM_EVENT_ID Action Definition 20110608

Method AUTHORITY_CHECK on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method CLASS_CONSTRUCTOR Signature

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

Method CLEAR_CHAR Signature

Method CLEAR_CHAR on class CL_MDG_BS_MAT_BO_SEARCH has no parameter.
Method CLEAR_CHAR on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method CLEAR_CLASS_HEIR_INFO Signature

Method CLEAR_CLASS_HEIR_INFO on class CL_MDG_BS_MAT_BO_SEARCH has no parameter.
Method CLEAR_CLASS_HEIR_INFO on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLASSTYPE Call by reference Type reference (TYPE) /PLMB/KLASSENART 20100826
2 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) /PLMB/KLASSE_D 20100826
3 Importing IV_LANGU Call by reference Type reference (TYPE) SYLANGU 20100826
4 Importing IV_OBJTYP Call by reference Type reference (TYPE) /PLMB/GOS_OBJECT_TYPE 20100826
5 Importing IV_VALID_FROM Call by reference Type reference (TYPE) DATUV 20100826

Method CONSTRUCTOR on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method CONVERT_CLASS_TO_CLINT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CLINT Call by reference Type reference (TYPE) CLINT 20110607
2 Exporting EV_SEVERITY Call by reference Type reference (TYPE) /PLMB/SPI_MSG_SEVERITY 20110607
3 Importing IV_CLASS Call by reference Type reference (TYPE) KLASSE_D 20110607
4 Importing IV_CLASSTYPE Call by reference Type reference (TYPE) KLASSENART Class Type 20110607

Method CONVERT_CLASS_TO_CLINT on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method CONVERT_EXTERNAL_TO_INT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_OPTION Call by reference Type reference (TYPE) /PLMB/S_SPI_SELECTION_PARAM-OPTION Type of OPTION component in row type of a Ranges type 20120207
2 Exporting EV_CHAR_VALUE_INT Call by reference Type reference (TYPE) ATWRT Characteristic Value 20110607
3 Exporting EV_CHAR_VALUE_INT_FROM Call by reference Type reference (TYPE) ATWRT Characteristic Value 20110607
4 Exporting EV_CHAR_VALUE_INT_TO Call by reference Type reference (TYPE) ATWRT Characteristic Value 20110607
5 Exporting EV_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20121121
6 Importing IV_CHAR_HIGH_VALUE_EXT Call by reference Type reference (TYPE) /PLMB/SPI_SELCRIT_HIGH Selection Criteria 20110804
7 Importing IV_CHAR_NAME Call by reference Type reference (TYPE) ATNAM Characteristic Name 20110607
8 Importing IV_CHAR_TYPE Call by reference Type reference (TYPE) ATFOR Data type of characteristic 20110607
9 Importing IV_CHAR_VALUE_EXT Call by reference Type reference (TYPE) /PLMB/SPI_SELCRIT_LOW Characteristic Value 20110607

Method CONVERT_EXTERNAL_TO_INT on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method CONVERT_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_VALUE Call by reference Type reference (TYPE) /PLMI/S_CLF_VALUE Value data 20110728
2 Importing IS_VALUE_CTMS Call by reference Type reference (TYPE) API_VAL_A API Interface for Value for Charac. (Int. Display) + Author 20110728
3 Importing IT_VALUE_DEFAULT Call by reference Type reference (TYPE) TT_API_VALI Table Type for API_VALI 20110728
4 Importing IT_VALUE_INCO Call by reference Type reference (TYPE) TT_API_VAL_A Table Type for API_VAL_A 20110728
5 Importing IT_VALUE_LTXT Call by reference Type reference (TYPE) TT_API_VALI_TXTNR Table for Long Text Keys of Characteristic Values 20110728

Method CONVERT_VALUE on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GENERATE_RESPONSE_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_DATA_TABLE_REF Call by reference Object reference (TYPE REF TO) DATA 20110805
2 Importing IV_OBJECT_TYPE_NAME Call by reference Type reference (TYPE) ESH_E_OM_OBJECT_TYPE Object Type 20110805
3 Importing IV_SYSREL Call by reference Type reference (TYPE) ESH_E_OM_SYSREL Software Component 20110805

Method GENERATE_RESPONSE_TABLE on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_CHAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_CHAR Value transfer Type reference (TYPE) MDG_BS_MAT_T_CHOOSE_CHAR Choose Characteristics Search Table Types 20110715

Method GET_CHAR on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_CHAR_F4_VALUES 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) /PLMB/T_SPI_MSG Message 20110802
2 Exporting ET_VALUE_F4 Call by reference Type reference (TYPE) /PLMI/T_CLF_VALUE_F4 F4 help for values 20110728
3 Importing IV_ATNAM Call by reference Type reference (TYPE) ATNAM Characteristic Name 20110727
4 Importing IV_VALID_FROM Call by reference Type reference (TYPE) DATUV Valid-From Date 20110728

Method GET_CHAR_F4_VALUES on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_CHAR_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHAR_VALUES Call by reference Type reference (TYPE) MDG_BS_MAT_T_SEARCH_CHAR_VAL Structure for characteristics value and description 20110214
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /PLMB/T_SPI_MSG Structure of message variables 20110526
3 Importing IV_CHANGE_NO Call by reference Type reference (TYPE) AENNR Change Master 20110526
4 Importing IV_CHAR_CLASS_IND Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110321
5 Importing IV_CHAR_PARAM Call by reference Type reference (TYPE) MDG_BS_MAT_S_MP_IMP_PAR_ACTION structure for importing parameter of action change 20110214
6 Importing IV_VALID_FROM_DATE Call by reference Type reference (TYPE) DATUV Valid-From Date 20110222

Method GET_CHAR_VALUES on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_CLASSES_CLHIER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /PLMB/T_SPI_MSG error messages 20110225
2 Importing IV_CLASSNUM Call by reference Type reference (TYPE) KLASSE_D Class number 20110225
3 Importing IV_CLASSTYPE Call by reference Type reference (TYPE) KLASSENART Class Type 20110225
4 Importing IV_VALID_FROM_DATE Call by reference Type reference (TYPE) DATUV Valid-From Date 20110526

Method GET_CLASSES_CLHIER on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_CLASSES_F4 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CLASSES Call by reference Type reference (TYPE) MDG_BS_MAT_T_CLASS Table for storing classes 20110719
2 Importing IV_CLASS Call by reference Type reference (TYPE) KLASSE_D Class number 20110719
3 Importing IV_CLASSTYPE Call by reference Type reference (TYPE) KLASSENART Class Type 20110719
4 Importing IV_CLASS_DESC Call by reference Type reference (TYPE) KLSCHL Keywords 20110719
5 Importing IV_VALID_FROM_DATE Call by reference Type reference (TYPE) DATUV Valid-From Date 20110719

Method GET_CLASSES_F4 on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_CLASSES_HEIRARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_CLASSES_HEIRARCHY Value transfer Type reference (TYPE) MDG_BS_MAT_T_SP_CLASS_CLINT table for storing class information 20110719

Method GET_CLASSES_HEIRARCHY on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_CLASS_CHAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHAR Call by reference Type reference (TYPE) MDG_BS_MAT_T_CHOOSE_CHAR Choose Characteristics Search structure 20110203
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /PLMB/T_SPI_MSG Message 20110203
3 Importing IV_CHANGE_NO Call by reference Type reference (TYPE) AENNR Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110530
4 Importing IV_CHAR Call by reference Type reference (TYPE) ATNAM Characteristic Name 20110203
5 Importing IV_CHAR_DESC Call by reference Type reference (TYPE) ATBEZ Characteristic description 20110210
6 Importing IV_CHAR_GROUP Call by reference Type reference (TYPE) ATKLA Chars Group 20110421
7 Importing IV_CLASS Call by reference Type reference (TYPE) KLASSE_D Class number 20110203
8 Importing IV_CLASS_DESC Call by reference Type reference (TYPE) KLSCHL Keywords 20110203
9 Importing IV_CLASS_TYPE Call by reference Type reference (TYPE) KLASSENART Class Type 20110203
10 Importing IV_MAX_RECORDS Call by reference Type reference (TYPE) INT4 100 Natural Number 20110210
11 Importing IV_VALID_FROM_DATE Call by reference Type reference (TYPE) SY-DATUM Current Date of Application Server 20110222

Method GET_CLASS_CHAR on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_CLASS_TYPES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CLASSTYPE Call by reference Type reference (TYPE) /PLMB/T_CLT_CUST Class number 20100826
2 Importing IV_LANGU Call by reference Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20100826
3 Importing IV_OBJTYP Call by reference Type reference (TYPE) TABELLE Name of database table for object 20100826

Method GET_CLASS_TYPES on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_CLASS_TYPE_CUSTOMIZING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ECHM_INDICATOR Call by reference Type reference (TYPE) BOOLE_D ECHM indicator 20110721
2 Importing IV_CLASS_TYPE Call by reference Type reference (TYPE) KLASSENART Class Type 20110721

Method GET_CLASS_TYPE_CUSTOMIZING on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_F4_VALUES_CHECKTABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VALUE Call by reference Type reference (TYPE) TT_API_VALI Table Type for API_VALI 20110727
2 Importing IS_CABN Call by reference Type reference (TYPE) CABN Characteristic 20110727

Method GET_F4_VALUES_CHECKTABLE on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_ROUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALUE Call by reference Type reference (TYPE) ATWRT Characteristic Value 20130222
2 Returning RV_VALUE Value transfer Type reference (TYPE) ATWRT Characteristic Value 20130222

Method GET_ROUND on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_SEARCHABLE_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_RESULT_LIST_ATTR Call by reference Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Runtime Type Services 20110810
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) USMD_T_MESSAGE Messages 20101028
3 Exporting ET_RESULT_LIST_ATTRIBUTES Call by reference Type reference (TYPE) ABAP_COMPONENT_TAB 20101023
4 Exporting ET_SEARCH_OPERATOR Call by reference Type reference (TYPE) USMD_T_SEARCH_CRITERIA Search Criteria and Their Properties 20110721
5 Exporting ET_SELECTION_CRITERIA Call by reference Type reference (TYPE) ABAP_COMPONENT_TAB Table for searchable attributes 20100826
# Exception Resumable Description Created on
1 CX_MDG_BS_MAT_SEARCH Exeception Class for search application 20110803

Method GET_SEARCH_ATTRIB_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CRITERIA_DETAILS Call by reference Type reference (TYPE) /PLMB/T_SPI_CRITERIA_DETAILS Criteria Details 20131001

Method GET_SEARCH_ATTRIB_DESCR on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_SYSTEM_LANGUAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SYST_LANGU Value transfer Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20130920

Method GET_SYSTEM_LANGUAGE on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_KEY Call by reference Type reference (TYPE) INUM Internal ABAP/4 text number 20131001
2 Returning RV_TEXT Value transfer Type reference (TYPE) STRING Text 20131001

Method GET_TEXT on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method GET_VALUES_F4_FM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VALUE_VALID Call by reference Type reference (TYPE) TT_API_VALI Table Type for API_VALI 20110728
2 Importing IS_CABN Call by reference Type reference (TYPE) CABN Characteristic 20110728

Method GET_VALUES_F4_FM on class CL_MDG_BS_MAT_BO_SEARCH has no exception.

Method SET_CHAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CHAR Call by reference Type reference (TYPE) MDG_BS_MAT_T_CHOOSE_CHAR Choose Characteristics Search Table Types 20110715

Method SET_CHAR on class CL_MDG_BS_MAT_BO_SEARCH has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 606