SAP ABAP Class CL_RSMD_RS_SEARCH (Free Search in InfoObject)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RSMD_RS (Package) Master Data Read Services ( Value Help etc)
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RS_BASE BW Basis 20070417
Properties
Class CL_RSMD_RS_SEARCH  
Short Description Free Search in InfoObject    
Super Class CL_RS_BASE BW Basis 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSMD_RS   Master Data Read Services ( Value Help etc) 
Created 20070416   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_ABAP_STRUCTDESCR Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 RRSV Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 RSDRS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSMD_RS_SEARCH has no interface implemented.
Friends
Class CL_RSMD_RS_SEARCH has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_CHABASNM Instance attribute Private Type reference (TYPE) RSDCHABASNM Reference InfoObject 20070416
2 P_CHANM Instance attribute Private Type reference (TYPE) RSCHANM Characteristic 20070416
3 P_C_TREX_ACTION Constant Private See coding 20070417
4 P_C_TREX_BOOLOP Constant Private See coding 20070417
5 P_C_TREX_CASE_SENSITIV Constant Private See coding 20070417
6 P_C_TREX_CONTENT Constant Private See coding 20070417
7 P_C_TREX_FEMS Constant Private Type reference (TYPE) RSFIELDNM 'FEMS' 20070417
8 P_C_TREX_ROWTYPE Constant Private See coding 20070417
9 P_INFOPROV Instance attribute Private Type reference (TYPE) RSINFOPROV InfoProvider 20070416
10 P_LANGU Instance attribute Private Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20070416
11 P_REF_CHANM Instance attribute Private Type reference (TYPE) RS_BOOL Boolean 20070416
12 P_RFC_DEST Instance attribute Private Type reference (TYPE) RFCDEST Logical destination (specified when calling function) 20070416
13 P_SRDATE Instance attribute Private Type reference (TYPE) SY-DATUM Current Date of Application Server 20070416
14 P_S_COB_PRO Instance attribute Private Type reference (TYPE) RSD_S_COB_PRO InfoObject Properties (in Context of InfoCube / ODS Object) 20070416
15 P_S_DEBUGFLAGS Instance attribute Private Type reference (TYPE) RSR_S_DEBUGFLAGS Flags for Debugging a Query 20070416
16 P_S_LANGU Instance attribute Private Type reference (TYPE) TREXS_LANGUAGE Language (ISO 639) 20070416
17 P_S_REQ Instance attribute Private Type reference (TYPE) RSMD_S_REQ Structure of Required InfoObjects and Their Attributes 20070417
18 P_TH_ATTRNAME Instance attribute Private Type reference (TYPE) PT_TH_ATTRNAME 20070417
19 P_TH_CMP_MAPPING Instance attribute Private Type reference (TYPE) PT_TH_CMP_MAPPING 20070417
20 P_T_COMP Instance attribute Private Type reference (TYPE) CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE 20070416
21 P_T_COMP_MAPPING Instance attribute Private Type reference (TYPE) PT_T_COMP_MAPPING 20070417
22 P_T_COMP_RETURN Instance attribute Private Type reference (TYPE) CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE 20070417
23 P_T_FREESTYLE_ATTR Instance attribute Private Type reference (TYPE) TREXT_ATTRIBUTES Attributes 20070416
24 P_T_INDEXES Instance attribute Private Type reference (TYPE) TREXT_INDEXLIST Indexes with Language and RFC Destination 20070416
25 P_T_IOBJ_CMP Instance attribute Private Type reference (TYPE) RSD_T_IOBJ_CMP Compounding of InfoObjects 20070416
26 P_T_PLACEHOLDER Instance attribute Private Type reference (TYPE) TREXT_PLACEHOLDERS Placeholder 20070416
27 P_T_QUERY_AUTH Instance attribute Private Type reference (TYPE) TREXT_QUERY_ENTRIES Search Query 20070416
28 P_T_QUERY_SELDR Instance attribute Private Type reference (TYPE) TREXT_QUERY_ENTRIES Search Query 20070416
29 P_T_REQ_ATTR Instance attribute Private Type reference (TYPE) TREXT_JOIN_ATTRIBUTES Attributes with Index ID and Join Path 20070416
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_TREXCOMPDESCR Instance method Private Method Build TREX Return Structure 20070416
2 CONSTRUCTOR Instance method Public Constructor 20070416
3 FUZZY_SEARCH_POSSIBLE Static method Public Method 20070416
4 GET_ATTRNAME Instance method Private Method Determine Attribute Names in TREX 20070416
5 GET_CHAVL_FROM_AUTH_VALUE Static method Private Method 20070416
6 GET_TYPE Instance method Private Method Determine Type for Return Structure 20070416
7 RESTRICT_BY_AUTHORITY Instance method Public Method 20070416
8 RESTRICT_BY_AUTH_VALUES Instance method Private Method -> O_R_WHERE_TREE (AND) 20070416
9 RESTRICT_BY_RANGE Instance method Private Method -> O_R_WHERE_TREE (AND) 20070416
10 RESTRICT_BY_SELDR Instance method Public Method -> O_R_WHERE_TREE (AND) 20070416
11 SEARCH Instance method Public Method 20070416
12 SELECT_FIELD Instance method Private Method 20070416
13 TRANSFORM_DATA Instance method Private Method Transforms Data to User-Specified Format 20070417
14 _BUILD_BOOLOP_ENTRY Instance method Private Method Generate Boolop Trex Query-Entry 20070417
15 _RESTRICT_FOR_FREE_SEARCH Instance method Private Method Restrict Time and Language Dependency for Free Search 20070416
16 _RESTRICT_SELDR_FILL Instance method Private Method 20070417
17 _SHOW_STATEMENT Instance method Private Method Display Generated TREX Query Statement 20070417
18 _SHOW_TRACE Instance method Private Method 20070417
19 __GET_ATTRNAME Instance method Private Method 20070416
Events
Class CL_RSMD_RS_SEARCH has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 PT_S_ATTRNAME Private See coding 20070417 BEGIN OF pt_s_attrname, iobjnm TYPE rsd_iobjnm, prsnt TYPE rsmd_rs_prsnt, fieldname TYPE rsddbattrnm, END OF pt_s_attrname
2 PT_S_CMP_MAPPING Private See coding 20070417 BEGIN OF pt_s_cmp_mapping, iobjnm TYPE rsd_iobjnm, chabasnm TYPE rsd_iobjnm, END OF pt_s_cmp_mapping
3 PT_S_COMP_MAPPING Private See coding 20070417 BEGIN OF pt_s_comp_mapping, retalias TYPE trexs_comp_descr-field_name, attr_name TYPE trexs_comp_descr-attr_name, END OF pt_s_comp_mapping
4 PT_TH_ATTRNAME Private See coding 20070417 pt_th_attrname TYPE HASHED TABLE OF pt_s_attrname WITH UNIQUE KEY iobjnm prsnt
5 PT_TH_CMP_MAPPING Private See coding 20070417 pt_th_cmp_mapping TYPE HASHED TABLE OF pt_s_cmp_mapping WITH UNIQUE KEY iobjnm
6 PT_T_COMP_MAPPING Private See coding 20070417 pt_t_comp_mapping TYPE STANDARD TABLE OF pt_s_comp_mapping WITH KEY retalias
Method Signatures

Method BUILD_TREXCOMPDESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_TYPE Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Run Time Type Services 20070416
2 Returning R_T_TREXCOMPDESCR Value transfer Type reference (TYPE) TREXT_COMP_DESCR Beschreibung der Komponenten 20070416

Method BUILD_TREXCOMPDESCR on class CL_RSMD_RS_SEARCH has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHANM Call by reference Type reference (TYPE) RSCHANM Merkmal 20070416
2 Importing I_CMP_SEARCH Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Flag-Struktur 20070417
3 Importing I_DATE Call by reference Type reference (TYPE) SY-DATUM SY-DATUM Aktuelles Datum des Applikationsservers 20070416
4 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20070416
5 Importing I_LANGU Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Sprachenschlüssel der aktuellen Textumgebung 20070416
6 Importing I_S_REQ_FIELDS Call by reference Type reference (TYPE) RSMD_S_REQ Struktur der angeforderten InfoObjects und ihre Attribute 20070417
# Exception Resumable Description Created on
1 CX_RS_ERROR BW: Allgemeine Fehlerklasse 20070417

Method FUZZY_SEARCH_POSSIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHANM Call by reference Type reference (TYPE) RSCHANM Merkmal 20070416
2 Returning R_IS_POSSIBLE Value transfer Type reference (TYPE) RS_BOOL Flag-Struktur 20070416

Method FUZZY_SEARCH_POSSIBLE on class CL_RSMD_RS_SEARCH has no exception.

Method GET_ATTRNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IOBJNM Call by reference Type reference (TYPE) RSD_IOBJNM 20070416
2 Importing I_PRSNT Call by reference Type reference (TYPE) RSMD_RS_PRSNT Darstellung eines InfoObjects 20070416
3 Returning R_FIELDNAME Value transfer Type reference (TYPE) RSDDBATTRNM Feldname 20070416
# Exception Resumable Description Created on
1 CX_RS_ERROR BW: Allgemeine Fehlerklasse 20070416

Method GET_CHAVL_FROM_AUTH_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AUTH_VALUE Call by reference Type reference (TYPE) C 20070416
2 Returning R_CHAVL Value transfer Type reference (TYPE) TREXS_QUERY_ENTRY-VALUE1 Ab 20070416

Method GET_CHAVL_FROM_AUTH_VALUE on class CL_RSMD_RS_SEARCH has no exception.

Method GET_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_S_COMP Call by reference Type reference (TYPE) ABAP_COMPONENTDESCR 20070416
2 Importing I_ABAPLEN Call by reference Type reference (TYPE) I 20070416
3 Importing I_DATATP Call by reference Type reference (TYPE) DATATYPE_D 20070416
# Exception Resumable Description Created on
1 CX_RS_ERROR BW: Allgemeine Fehlerklasse 20070416

Method RESTRICT_BY_AUTHORITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AUTH_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20070416
2 Importing I_WITH_AUTH Call by reference Type reference (TYPE) RSBOOL Flag-Struktur 20070416
# Exception Resumable Description Created on
1 CX_RSMD_RS_NO_AUTH Aktion ist hier nicht zulässig 20070416
2 CX_RS_ERROR BW: Allgemeine Fehlerklasse 20070417

Method RESTRICT_BY_AUTH_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TSX_AUTH_VALUES_USER Call by reference Type reference (TYPE) RSSB_TSX_AUTH_VALUES_USER Berechtigte Stammdatenwerte eines Benutzers 20070416
2 Importing I_T_LEAVES_SIDS Call by reference Type reference (TYPE) RRSV_T_SID 20070416
# Exception Resumable Description Created on
1 CX_RS_ERROR BW: Allgemeine Fehlerklasse 20070416

Method RESTRICT_BY_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IOBJNM Call by reference Type reference (TYPE) RSD_IOBJNM 20070416
2 Importing I_PRSNT Call by reference Type reference (TYPE) RSMD_RS_PRSNT IF_RSMD_RS=>N_C_PRSNT_INT_NC 20070416
3 Importing I_T_RANGE Value transfer Type reference (TYPE) RSR_T_RANGESID 20070416
# Exception Resumable Description Created on
1 CX_RS_ERROR BW: Allgemeine Fehlerklasse 20070416

Method RESTRICT_BY_SELDR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TSX_SELDR Call by reference Type reference (TYPE) RSDD_TSX_SELDR Selektion an den Datamanager 20070416
# Exception Resumable Description Created on
1 CX_RS_ERROR BW: Allgemeine Fehlerklasse 20070416

Method SEARCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_NO_OF_ALL_HITS Call by reference Type reference (TYPE) I 20070417
2 Exporting E_NO_OF_HITS Call by reference Type reference (TYPE) I 20070417
3 Exporting E_R_TYPE Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Run Time Type Services 20070416
4 Exporting E_R_T_DATA Call by reference Object reference (TYPE REF TO) DATA 20070416
5 Importing I_RESULT_FROM Call by reference Type reference (TYPE) I 1 20070416
6 Importing I_RESULT_TO Call by reference Type reference (TYPE) I 20 20070416
7 Importing I_SEARCH_STRING Call by reference Type reference (TYPE) RSMD_RS_FUZZY_STRING Suchstring für Wertehilfe 20070416
# Exception Resumable Description Created on
1 CX_RS_ERROR BW: Allgemeine Fehlerklasse 20070416

Method SELECT_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CMP_SEARCH Call by reference Type reference (TYPE) RS_BOOL Flag-Struktur 20070417
# Exception Resumable Description Created on
1 CX_RS_ERROR BW: Allgemeine Fehlerklasse 20070416

Method TRANSFORM_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_R_DATA Call by reference Type reference (TYPE) DATA Referenz auf die vom Benutzer angegebene Struktur 20070417
2 Importing I_R_DATA Call by reference Object reference (TYPE REF TO) DATA Referenz auf die von der Datenbank zurückgegebenen Daten 20070417
# Exception Resumable Description Created on
1 CX_RS_ERROR BI: Allgemeine Fehlerklasse 20070417

Method _BUILD_BOOLOP_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BOOLOP Call by reference Type reference (TYPE) RSDRS_BOOLOP 20070417
2 Importing I_FEMS Call by reference Type reference (TYPE) RSIDN4 BW: Allgemeines Bezugsfeld für interne IDs 20070417
3 Returning R_T_QUERY Value transfer Type reference (TYPE) TREXT_QUERY_ENTRIES Suchanfrage 20070417

Method _BUILD_BOOLOP_ENTRY on class CL_RSMD_RS_SEARCH has no exception.

Method _RESTRICT_FOR_FREE_SEARCH Signature

Method _RESTRICT_FOR_FREE_SEARCH on class CL_RSMD_RS_SEARCH has no parameter.
# Exception Resumable Description Created on
1 CX_RS_ERROR BW: Allgemeine Fehlerklasse 20070416

Method _RESTRICT_SELDR_FILL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IOBJNM Call by reference Type reference (TYPE) RSCHANM Merkmal 20070417
2 Importing I_T_RANGE Call by reference Type reference (TYPE) RSDD_SX_SELDR-RANGE-RANGE 20070417
3 Importing I_T_SID Call by reference Type reference (TYPE) RRSI_T_SID Tabelle von SID (bzw. Integers) 20070417
4 Returning R_T_QUERY Value transfer Type reference (TYPE) TREXT_QUERY_ENTRIES Suchanfrage 20070417
# Exception Resumable Description Created on
1 CX_RS_ERROR BW: Allgemeine Fehlerklasse 20070417

Method _SHOW_STATEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_TREX_COMPDESCR Call by reference Type reference (TYPE) TREXT_COMP_DESCR Beschreibung der Komponenten 20070417

Method _SHOW_STATEMENT on class CL_RSMD_RS_SEARCH has no exception.

Method _SHOW_TRACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_TRACE Call by reference Type reference (TYPE) TREXT_TRACE_LINES 20070417

Method _SHOW_TRACE on class CL_RSMD_RS_SEARCH has no exception.

Method __GET_ATTRNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IOBJNM Call by reference Type reference (TYPE) RSD_IOBJNM 20070416
2 Importing I_PRSNT Call by reference Type reference (TYPE) RSMD_RS_PRSNT Darstellung eines InfoObjects 20070416
3 Returning R_FIELDNAME Value transfer Type reference (TYPE) RSDDBATTRNM BIA-Attributsname: InfoObjekt + weitere Daten 20070416

Method __GET_ATTRNAME on class CL_RSMD_RS_SEARCH has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 710