SAP ABAP Class CL_QNAO_PERSISTENCY (DB Interface: Assigned Objects for Notification)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   QM-QN-NT (Application Component) Creating Quality Notifications
     QNAO (Package) QM: Assigned Objects for Quality Notification
Properties
Class CL_QNAO_PERSISTENCY  
Short Description DB Interface: Assigned Objects for Notification    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package QNAO   QM: Assigned Objects for Quality Notification 
Created 20080125   SAP 
Last change 20100310   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 RSDS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_QNAO_PERSISTENCY has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_QNAO_OBJECT 20080127 API of Assigned Objects for Notification
2 CL_QNAO_PERSISTENCY 20080125 DB Interface: Assigned Objects for Notification
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_MSGTY_ERROR Constant Protected Type reference (TYPE) MSGTY 'E' Message Type 20080127
2 MC_MSGTY_SUCCESS Constant Protected Type reference (TYPE) MSGTY 'S' Message Type 20080127
3 MC_MSGTY_WARNING Constant Protected Type reference (TYPE) MSGTY 'W' Message Type 20080127
4 MC_STATE_CHANGED Constant Protected Type reference (TYPE) TY_STATE_MODE 'E' Status: 'R' Reading; 'E' Changing; 'C' Created; 'D' Deleted 20080127
5 MC_STATE_CREATED Constant Protected Type reference (TYPE) TY_STATE_MODE 'C' Status: 'R' Reading; 'E' Changing; 'C' Created; 'D' Deleted 20080127
6 MC_STATE_DELETED Constant Protected Type reference (TYPE) TY_STATE_MODE 'D' Status: 'R' Reading; 'E' Changing; 'C' Created; 'D' Deleted 20080127
7 MC_STATE_LOADED Constant Protected Type reference (TYPE) TY_STATE_MODE 'R' Status: 'R' Reading; 'E' Changing; 'C' Created; 'D' Deleted 20080127
8 MC_STATE_LOADED4EDITING Constant Protected Type reference (TYPE) TY_STATE_MODE 'X' Status: 'R' Reading; 'E' Changing; 'C' Created; 'D' Deleted 20080127
9 MR_PERSISTENCY Static Attribute Private Object reference (TYPE REF TO) CL_QNAO_PERSISTENCY DB Interface: Assigned Objects for Notification 20080125
10 MT_CREATED_OBJECT Instance attribute Private Type reference (TYPE) TY_T_DB_STACK Instance Table of Assigned Objects for Notification Item 20080128
11 MT_DELETED_OBJECT Instance attribute Private Type reference (TYPE) TY_T_DB_STACK Instance Table of Assigned Objects for Notification Item 20080128
12 MT_QQMART Static Attribute Private Type reference (TYPE) TY_T_QMART QN type 20080622
13 MT_UPDATED_OBJECT Instance attribute Private Type reference (TYPE) TY_T_DB_STACK Instance Table of Assigned Objects for Notification Item 20080128
Methods
# Method Level Visibility Method type Description Created on
1 ALIAS_WHERE_STRING Instance method Private Method Convert WHERE String to Fit Join 20080401
2 AOBJECTS_CHANGED Instance method Private Method Have the loaded objects changed? 20080302
3 BRACKET_WHERE_STRING Instance method Private Method Set Parenthesis Around WHERE String 20080402
4 BUILD_AND_WHERE_STRING Instance method Private Method WHERE String Formed Dep. on Linkage Type 20080402
5 BUILD_OR_WHERE_STRING Instance method Private Method WHERE String Formed Dep. on Linkage Type 20080402
6 BUILD_QNAO_OR_WHERE_STRING Instance method Private Method WHERE String Formed Dep. on Linkage Type 20080402
7 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20080622
8 COMPLETE_QMEL_WHERE_STRING Instance method Private Method WHERE String Formed Dep. on Linkage Type 20080402
9 COMPLETE_WHERE_STRING Instance method Private Method Complete 'Where' String 20080402
10 GET_CUST_OBJCAT Instance method Public Method Gives the Object Categories from Customizing 20080215
11 GET_CUST_OBJCAT_FOR_NTYPE Instance method Public Method Gives the Object Categories for the Notification Type 20080218
12 GET_CUST_OBJCAT_FROM_TEXT Instance method Public Method Gives Object Category for Text if Unique 20080612
13 GET_CUST_OBJCAT_TEXT Instance method Public Method Gives the Text for an Object Category 20080215
14 GET_INSTANCE Static method Public Method Read Persistency Instance 20080125
15 GET_QMEL_SELCRIT Instance method Private Method Combines Selection Criteria for QMEL 20080402
16 IS_QQMART Instance method Public Method Is the notification category for a quality notification? 20080622
17 NOTE_FOR_CHANGE Instance method Private Method Modified Object Is Registered 20080128
18 NOTE_FOR_DELETE Instance method Private Method Deleted Object Is Registered 20080128
19 NOTE_FOR_INSERT Instance method Private Method New Object Is Registered 20080128
20 OBJECTS_ARE_ASSIGNED Instance method Public Method Are objects assigned to a notification or item? 20080616
21 READ Instance method Private Method Reads Objects for Given GUIDs 20080129
22 READ_NOTIFITEM_FOR_SEL Instance method Private Method Reads Objects for the Selection Criteria from the Database 20080402
23 READ_NOTIF_FOR_SEL Instance method Private Method Reads Objects for the Selection Criteria from the Database 20080409
24 READ_OBJ_FOR_NOTIF Instance method Private Method Reads Objects for Notification from the Database 20080128
25 READ_OBJ_FOR_SEL Instance method Private Method Reads Objects for the Selection Criteria from the Database 20080128
26 READ_VIQMEL Instance method Public Method Reads Notification Header from Database 20080420
27 SAVE Instance method Private Method Starts Update 20080304
28 SELCRIT_ARE_CONSISTENT Instance method Private Method Checks Whether Given Selection Criteria Are Consistent 20080402
Events
Class CL_QNAO_PERSISTENCY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_STATE_MODE Protected Type reference (TYPE) CHAR1 Status: 'R' Reading; 'E' Changing; 'C' Created; 'D' Deleted 20080127
2 TY_T_DB_STACK Private See coding 20080331 ty_t_db_stack TYPE SORTED TABLE OF REF TO cl_qnao_object WITH UNIQUE KEY table_line
3 TY_T_QMART Private See coding QN type 20080622 ty_t_qmart TYPE STANDARD TABLE OF qmart WITH KEY table_line
4 TY_T_SEL_FIELD Private See coding 20080402 ty_t_sel_field TYPE STANDARD TABLE OF rsdswhere
Method Signatures

Method ALIAS_WHERE_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_WHERE_STRING Call by reference Type reference (TYPE) RSDS_WHERE 20080401

Method ALIAS_WHERE_STRING on class CL_QNAO_PERSISTENCY has no exception.

Method AOBJECTS_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FENUM Call by reference Type reference (TYPE) FENUM Meldung Druckpositionsnummer 20080302
2 Importing IV_QMNUM Call by reference Type reference (TYPE) QMNUM Meldungsnummer 20080302
3 Returning RV_RESULT Value transfer Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20080302

Method AOBJECTS_CHANGED on class CL_QNAO_PERSISTENCY has no exception.

Method BRACKET_WHERE_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_WHERE_STRING Call by reference Type reference (TYPE) RSDS_WHERE 20080402

Method BRACKET_WHERE_STRING on class CL_QNAO_PERSISTENCY has no exception.

Method BUILD_AND_WHERE_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WHERE_STRING Call by reference Type reference (TYPE) RSDS_TWHERE where string 20080402
2 Importing IT_QMEL_SELCRIT Call by reference Type reference (TYPE) RSDS_TRANGE 20080402
3 Importing IT_SELCRIT Call by reference Type reference (TYPE) RSDS_TRANGE 20080402
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080402

Method BUILD_OR_WHERE_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WHERE_STRING Call by reference Type reference (TYPE) RSDS_TWHERE where string 20080402
2 Importing IT_QMEL_SELCRIT Call by reference Type reference (TYPE) RSDS_TRANGE 20080402
3 Importing IT_SELCRIT Call by reference Type reference (TYPE) RSDS_TRANGE 20080402
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080402

Method BUILD_QNAO_OR_WHERE_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WHERE_STRING Call by reference Type reference (TYPE) RSDS_TWHERE where string 20080402
2 Importing IT_SELCRIT Call by reference Type reference (TYPE) RSDS_TRANGE 20080402
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080402

Method CLASS_CONSTRUCTOR Signature

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

Method COMPLETE_QMEL_WHERE_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WHERE_STRING Call by reference Type reference (TYPE) RSDS_TWHERE where string 20080402
2 Importing IT_QMEL_SELCRIT Call by reference Type reference (TYPE) RSDS_TRANGE 20080402
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080402

Method COMPLETE_WHERE_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_WHERE_STRING Call by reference Type reference (TYPE) RSDS_TWHERE 20080402
2 Importing IT_H_WHERE_STRING Call by reference Type reference (TYPE) RSDS_TWHERE 20080402
3 Importing IV_LINK_OBJCAT_W_AND Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20080402

Method COMPLETE_WHERE_STRING on class CL_QNAO_PERSISTENCY has no exception.

Method GET_CUST_OBJCAT 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) BAPIRETTAB Tabelle mit BAPI Return Informationen 20080611
2 Exporting ET_OBJCAT Call by reference Type reference (TYPE) QNAOT_OBJCAT Objekttypen 20080215
3 Importing IV_QMTYP Call by reference Type reference (TYPE) QMTYP Meldungstyp 20090907
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080215

Method GET_CUST_OBJCAT_FOR_NTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OBJCAT Call by reference Type reference (TYPE) QNAOT_OBJCAT Tabelle der Objekttypen 20080218
2 Importing IV_QMART Call by reference Type reference (TYPE) QMART Meldungsart 20080218
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080218

Method GET_CUST_OBJCAT_FROM_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OBJCAT Call by reference Type reference (TYPE) QNAOT_OBJCAT Kurztext 20080612
2 Importing IV_LANGUAGE Call by reference Type reference (TYPE) LANGU SY-LANGU Sprachenschlüssel 20080612
3 Importing IV_TEXT Call by reference Type reference (TYPE) QKURZTEXT Objekttyp eines zugeordneten Objektes 20080612
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080612

Method GET_CUST_OBJCAT_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGUAGE Call by reference Type reference (TYPE) LANGU SY-LANGU Sprachenschlüssel 20080215
2 Importing IV_OBJCAT Call by reference Type reference (TYPE) QNAO_OBJCAT Objekttyp eines zugeordneten Objektes 20080215
3 Returning RV_TEXT Value transfer Type reference (TYPE) QKURZTEXT Kurztext 20080215
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080218

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) CL_QNAO_PERSISTENCY DB Interface d. zugeord. Objekte zur Meldung 20080125

Method GET_INSTANCE on class CL_QNAO_PERSISTENCY has no exception.

Method GET_QMEL_SELCRIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_QMEL_SELCRIT Call by reference Type reference (TYPE) RSDS_TRANGE 20080402
2 Importing IT_SELCRIT Call by reference Type reference (TYPE) RSDS_TRANGE 20080402

Method GET_QMEL_SELCRIT on class CL_QNAO_PERSISTENCY has no exception.

Method IS_QQMART Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_QMART Call by reference Type reference (TYPE) QMART Meldungsart 20080622
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20080622

Method IS_QQMART on class CL_QNAO_PERSISTENCY has no exception.

Method NOTE_FOR_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_OBJECT Call by reference Object reference (TYPE REF TO) CL_QNAO_OBJECT API der zugeordneten Objekte zur Meldung 20080128

Method NOTE_FOR_CHANGE on class CL_QNAO_PERSISTENCY has no exception.

Method NOTE_FOR_DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_OBJECT Call by reference Object reference (TYPE REF TO) CL_QNAO_OBJECT API der zugeordneten Objekte zur Meldung 20080128

Method NOTE_FOR_DELETE on class CL_QNAO_PERSISTENCY has no exception.

Method NOTE_FOR_INSERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_OBJECT Call by reference Object reference (TYPE REF TO) CL_QNAO_OBJECT API der zugeordneten Objekte zur Meldung 20080128

Method NOTE_FOR_INSERT on class CL_QNAO_PERSISTENCY has no exception.

Method OBJECTS_ARE_ASSIGNED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FENUM Call by reference Type reference (TYPE) FELFD Positionsnummer im Positionssatz 20080616
2 Importing IV_QMNUM Call by reference Type reference (TYPE) QMNUM Meldungsnummer 20080616
3 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL DB Daten der zugeordneten Objekte 20080616

Method OBJECTS_ARE_ASSIGNED on class CL_QNAO_PERSISTENCY has no exception.

Method READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA_DB Call by reference Type reference (TYPE) QNAOT_OBJ_DATA_DB DB Daten der zugeordneten Objekte 20080129
2 Importing IT_OBJECT_GUID Call by reference Type reference (TYPE) QNAOT_GUID Einstelliges Kennzeichen 20080129
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080129

Method READ_NOTIFITEM_FOR_SEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NOTIFITEM_KEY Call by reference Type reference (TYPE) QNAOT_NOTIFITEM_KEY DB Daten der zugeordneten Objekte 20080402
2 Importing IT_SELCRIT Call by reference Type reference (TYPE) RSDS_TRANGE 20080402
3 Importing IV_LINK_OBJCAT_W_AND Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20080402
4 Importing IV_QMNUM_ONLY Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20080402
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080402

Method READ_NOTIF_FOR_SEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NOTIF Call by reference Type reference (TYPE) QNAOT_NOTIF_HEADERF4 Meldungskopfinformationen für Ergebnisausgabe der F4-Hilfe 20080409
2 Importing IT_SELCRIT Call by reference Type reference (TYPE) RSDS_TRANGE 20080409
3 Importing IV_LINK_OBJCAT_W_AND Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20080409
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080409

Method READ_OBJ_FOR_NOTIF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA_DB Call by reference Type reference (TYPE) QNAOT_OBJ_DATA_DB DB Daten der zugeordneten Objekte 20080128
2 Importing IV_FENUM Call by reference Type reference (TYPE) FELFD Positionsnummer im Positionssatz 20080128
3 Importing IV_OBJCAT Call by reference Type reference (TYPE) QNAO_OBJCAT Objekttyp eines zugeordneten Objektes 20080129
4 Importing IV_QMNUM Call by reference Type reference (TYPE) QMNUM Meldungsnummer 20080128
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080128

Method READ_OBJ_FOR_SEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA_DB Call by reference Type reference (TYPE) QNAOT_OBJ_DATA_DB DB Daten der zugeordneten Objekte 20080129
2 Importing IT_SELCRIT Call by reference Type reference (TYPE) RSDS_TRANGE 20080128
3 Importing IV_LINK_OBJCAT_W_AND Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20080402
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080323

Method READ_VIQMEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_VIQMEL Call by reference Type reference (TYPE) VIQMEL Generierte Tabelle zum View VIQMEL 20080420
2 Importing IV_QMNUM Call by reference Type reference (TYPE) QMNUM Meldungsnummer 20080420
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080420

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_OBJECT Call by reference Type reference (TYPE) QNAOT_OBJECT_REF Instanztabelle d. zugeordneten Objekte zur Meldungsposition 20080305
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080305

Method SELCRIT_ARE_CONSISTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SELCRIT Call by reference Type reference (TYPE) RSDS_TRANGE 20080402
2 Returning RV_RESULT Value transfer Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20080402
# Exception Resumable Description Created on
1 CX_QNAO Ausnahme für zugeord. Objekte zur Meldung 20080402
History
Last changed by/on SAP  20100310 
SAP Release Created in 604