SAP ABAP Class CL_LOP_DB_ACCESS (DB access)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-AB-TC (Application Component) Trading Contract
     LOOP (Package) Model layer for logistical contract options
Properties
Class CL_LOP_DB_ACCESS  
Short Description DB access    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package LOOP   Model layer for logistical contract options 
Created 20111103   SAP 
Last change 20130531   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
Class CL_LOP_DB_ACCESS has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_LOP_TEST_MANAGER 20111103 Test Manager for unit tests
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 SO_INSTANCE Static Attribute Protected Object reference (TYPE REF TO) CL_LOP_DB_ACCESS DB access 20111103
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CHANGE_POINTER_DOC Instance method Public Method Change pointer for document 20111209
2 ADD_CHANGE_POINTER_MASTER Instance method Public Method Change pointer for master data 20111209
3 ADD_CHANGE_POINTER_REF Instance method Public Method Change pointer for reference object 20111209
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20111103
5 GET_INSTANCE Static method Public Method return an instance 20111103
6 ITEM_LIST_POST Instance method Public Method Post the option list 20111123
7 MASTER_POST Instance method Public Method Post the master data 20111123
8 READ_FROM_DB Instance method Public Method read option list data from DB 20111103
9 READ_FROM_DB_DOC_ITEM Instance method Public Method read option list for a document item 20120124
10 READ_FROM_DB_DOC_MULT Instance method Public Method read lists for multiple documents and one document type 20120807
11 READ_FROM_DB_GUID Instance method Public Method read option list data from DB with GUID 20111110
12 READ_FROM_DB_GUID_MULT Instance method Public Method read option list data from DB with GUIDs 20120807
13 READ_FROM_DB_REF_MULT Instance method Public Method read lists for multiple references 20120807
14 READ_MASTER_FOR_CAT Instance method Public Method Read option lists (master data) for a category 20120710
15 READ_MASTER_HD_NO_FOR_CAT Instance method Public Method Read option list number + name (master data) for a category 20121005
16 RESET_FROM_TEST_MODE Static method Protected Method reset from mode for unit test 20111103
17 SET_INTO_TEST_MODE Static method Protected Method set into mode for unit test 20111103
Events
Class CL_LOP_DB_ACCESS has no event.
Types
Class CL_LOP_DB_ACCESS has no local type.
Method Signatures

Method ADD_CHANGE_POINTER_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CTS_HEADER_HIST_NEW Call by reference Type reference (TYPE) LOP_TS_HD_DOC_H History: Embedded option list header (document related) 20120126
2 Changing CTS_HEADER_HIST_OLD Call by reference Type reference (TYPE) LOP_TS_HD_DOC_H History: Embedded option list header (document related) 20120126
3 Changing CTS_ITEM_HIST_NEW Call by reference Type reference (TYPE) LOP_TS_IT_DOC_H History: Option list items (document related) 20120126
4 Changing CTS_ITEM_HIST_OLD Call by reference Type reference (TYPE) LOP_TS_IT_DOC_H History: Option list items (document related) 20120126
5 Importing ITS_DOC_KEY Call by reference Type reference (TYPE) LOP_TS_DOC_KEY Document key 20120126
6 Importing ITS_DOC_KEY_DEL_DB Call by reference Type reference (TYPE) LOP_TS_DOC_KEY Delete change pointer history 20120126
7 Importing ITS_OBJ_CDTXT Call by reference Type reference (TYPE) LOP_TS_TDOBJECT_CDTXT Text changes per Text object 20120313
8 Importing ITS_TEXT_KEY Call by reference Type reference (TYPE) LOP_TS_DOC_TEXT_KEY_CHG Document Key for Text Changes 20120313
9 Importing I_NO_MSG Call by reference Type reference (TYPE) ABAP_BOOL No exception 20120126
# Exception Resumable Description Created on
1 CX_LOP_OBJ_CANNOT_BE_CHANGED Object can't be changed 20120126

Method ADD_CHANGE_POINTER_MASTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CTS_HEADER_HIST_NEW Call by reference Type reference (TYPE) LOP_TS_HD_MAST_H History: Option list header (master data) 20120126
2 Changing CTS_HEADER_HIST_OLD Call by reference Type reference (TYPE) LOP_TS_HD_MAST_H History: Option list header (master data) 20120126
3 Changing CTS_ITEM_HIST_NEW Call by reference Type reference (TYPE) LOP_TS_IT_MAST_H History: Option list items (master data 20120126
4 Changing CTS_ITEM_HIST_OLD Call by reference Type reference (TYPE) LOP_TS_IT_MAST_H History: Option list items (master data 20120126
5 Importing ITS_DEL_DB Call by reference Type reference (TYPE) LOP_TS_NO Delete change pointer history 20120126
6 Importing ITS_LOP_NO Call by reference Type reference (TYPE) LOP_TS_NO Option List number (for master data) 20120126
7 Importing ITS_OBJ_CDTXT Call by reference Type reference (TYPE) LOP_TS_TDOBJECT_CDTXT Text changes per Text object 20120313
8 Importing ITS_TEXT_KEY Call by reference Type reference (TYPE) LOP_TS_MASTER_TEXT_KEY_CHG Option List number for Text Changes 20120313
9 Importing I_NO_MSG Call by reference Type reference (TYPE) ABAP_BOOL No exception 20120126
# Exception Resumable Description Created on
1 CX_LOP_OBJ_CANNOT_BE_CHANGED Object can't be changed 20120126

Method ADD_CHANGE_POINTER_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CTS_HEADER_HIST_NEW Call by reference Type reference (TYPE) LOP_TS_HD_REF_H History: Embedded option list header (reference related) 20120126
2 Changing CTS_HEADER_HIST_OLD Call by reference Type reference (TYPE) LOP_TS_HD_REF_H History: Embedded option list header (reference related) 20120126
3 Changing CTS_ITEM_HIST_NEW Call by reference Type reference (TYPE) LOP_TS_IT_REF_H History: Option list items (reference related) 20120126
4 Changing CTS_ITEM_HIST_OLD Call by reference Type reference (TYPE) LOP_TS_IT_REF_H History: Option list items (reference related) 20120126
5 Importing ITS_OBJ_CDTXT Call by reference Type reference (TYPE) LOP_TS_TDOBJECT_CDTXT Text changes per Text object 20120313
6 Importing ITS_REF_GUID Call by reference Type reference (TYPE) LOP_TS_REF_GUID Reference GUID 20120126
7 Importing ITS_REF_GUID_DEL_DB Call by reference Type reference (TYPE) LOP_TS_REF_GUID Delete change pointer history 20120126
8 Importing ITS_TEXT_KEY Call by reference Type reference (TYPE) LOP_TS_REF_GUID_TEXT_KEY_CHG Reference Guid for Text Changes 20120313
9 Importing I_NO_MSG Call by reference Type reference (TYPE) ABAP_BOOL No exception 20120126
# Exception Resumable Description Created on
1 CX_LOP_OBJ_CANNOT_BE_CHANGED Object can't be changed 20120126

Method CLASS_CONSTRUCTOR Signature

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

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_INSTANCE Value transfer Object reference (TYPE REF TO) CL_LOP_DB_ACCESS DB access 20111103

Method GET_INSTANCE on class CL_LOP_DB_ACCESS has no exception.

Method ITEM_LIST_POST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CTS_HEADER Call by reference Type reference (TYPE) LOP_TS_LIST_HD_COM Embedded option list header communication structure 20111123
2 Importing CTS_ITEM Call by reference Type reference (TYPE) LOP_TS_LIST_IT_COM Communication structure for option list items 20111123
3 Importing IV_ERR_MSG_PROCESS Call by reference Type reference (TYPE) ABAP_BOOL 20111123

Method ITEM_LIST_POST on class CL_LOP_DB_ACCESS has no exception.

Method MASTER_POST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CTS_HEADER Call by reference Type reference (TYPE) LOP_TS_MASTER_HD_COM Option list header as master data communication structure 20111123
2 Importing CTS_ITEM Call by reference Type reference (TYPE) LOP_TS_LIST_IT_COM Communication structure for option list items 20111123
3 Importing IV_ERR_MSG_PROCESS Call by reference Type reference (TYPE) ABAP_BOOL 20111123

Method MASTER_POST on class CL_LOP_DB_ACCESS has no exception.

Method READ_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MASTER_HEADER Call by reference Type reference (TYPE) LOP_S_MASTER_HD_COM Option list header as master data communication structure 20111103
2 Exporting ETS_EMBEDDED_HEADER Call by reference Type reference (TYPE) LOP_TS_LIST_HD_COM Embedded option list header communication structure 20111103
3 Exporting ETS_ITEM Call by reference Type reference (TYPE) LOP_TS_LIST_IT_COM Communication structure for option list items 20111103
4 Importing IS_KEY Call by reference Type reference (TYPE) LOP_S_DOC_REF_KEY Key of a document or reference 20111103
5 Importing I_NO_DUMP_MASTER Call by reference Type reference (TYPE) ABAP_BOOL No dump if list number is not unique 20111123
6 Importing I_ONLY_EMB_HEADERS Call by reference Type reference (TYPE) ABAP_BOOL Read only the embedded headers 20120712
7 Importing I_ONLY_MASTER_HEAD Call by reference Type reference (TYPE) ABAP_BOOL Read only the master header 20111110
# Exception Resumable Description Created on
1 CX_LOP_MAINTAIN_ERROR Maintain error 20111123

Method READ_FROM_DB_DOC_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_EMBEDDED_HEADER Call by reference Type reference (TYPE) LOP_TS_LIST_HD_COM Embedded option list header communication structure 20120124
2 Exporting ETS_ITEM Call by reference Type reference (TYPE) LOP_TS_LIST_IT_COM Communication structure for option list items 20120124
3 Importing IS_DOC_ITEM_KEY Call by reference Type reference (TYPE) LOP_S_DOC_ITEM_KEY Item key 20120124

Method READ_FROM_DB_DOC_ITEM on class CL_LOP_DB_ACCESS has no exception.

Method READ_FROM_DB_DOC_MULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_EMBEDDED_HEADER Call by reference Type reference (TYPE) LOP_TS_LIST_HD_COM Embedded option list header communication structure 20120807
2 Exporting ETS_ITEM Call by reference Type reference (TYPE) LOP_TS_LIST_IT_COM Communication structure for option list items 20120807
3 Importing ITS_DOC_NO Call by reference Type reference (TYPE) LOP_TS_DOC_NO Document Number 20120807
4 Importing IV_DOC_TYPE Call by reference Type reference (TYPE) LOP_DOC_TYPE Document Type 20120807
5 Importing I_ONLY_EMB_HEADERS Call by reference Type reference (TYPE) ABAP_BOOL Read only the embedded headers 20120807

Method READ_FROM_DB_DOC_MULT on class CL_LOP_DB_ACCESS has no exception.

Method READ_FROM_DB_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MASTER_HEADER Call by reference Type reference (TYPE) LOP_S_MASTER_HD_COM Option list header as master data communication structure 20111110
2 Exporting ETS_EMBEDDED_HEADER Call by reference Type reference (TYPE) LOP_TS_LIST_HD_COM Embedded option list header communication structure 20111110
3 Exporting ETS_ITEM Call by reference Type reference (TYPE) LOP_TS_LIST_IT_COM Communication structure for option list items 20111110
4 Importing I_LIST_GUID Call by reference Type reference (TYPE) LOP_LIST_GUID Option list GUID 20111110
5 Importing I_MASTER_DATA Call by reference Type reference (TYPE) ABAP_BOOL read the master data option list 20111110
6 Importing I_ONLY_HEADER Call by reference Type reference (TYPE) ABAP_BOOL Only header data 20111110

Method READ_FROM_DB_GUID on class CL_LOP_DB_ACCESS has no exception.

Method READ_FROM_DB_GUID_MULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_EMBEDDED_HEADER Call by reference Type reference (TYPE) LOP_TS_LIST_HD_COM Embedded option list header communication structure 20120807
2 Exporting ETS_ITEM Call by reference Type reference (TYPE) LOP_TS_LIST_IT_COM Communication structure for option list items 20120807
3 Exporting ETS_MASTER_HEADER Call by reference Type reference (TYPE) LOP_TS_MASTER_HD_COM Option list header as master data communication structure 20120807
4 Importing ITS_GUID Call by reference Type reference (TYPE) LOP_TS_LIST_GUID Option List GUID 20120807
5 Importing I_MASTER_DATA Call by reference Type reference (TYPE) ABAP_BOOL read the master data option list 20120807
6 Importing I_ONLY_HEADER Call by reference Type reference (TYPE) ABAP_BOOL Only header data 20120807
7 Importing I_ONLY_ITEMS Call by reference Type reference (TYPE) ABAP_BOOL Only items 20120807

Method READ_FROM_DB_GUID_MULT on class CL_LOP_DB_ACCESS has no exception.

Method READ_FROM_DB_REF_MULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_EMBEDDED_HEADER Call by reference Type reference (TYPE) LOP_TS_LIST_HD_COM Embedded option list header communication structure 20120807
2 Exporting ETS_ITEM Call by reference Type reference (TYPE) LOP_TS_LIST_IT_COM Communication structure for option list items 20120807
3 Importing ITS_REF Call by reference Type reference (TYPE) LOP_TS_REF_GUID Reference GUID 20120807
4 Importing I_ONLY_EMB_HEADERS Call by reference Type reference (TYPE) ABAP_BOOL Read only the embedded headers 20120807

Method READ_FROM_DB_REF_MULT on class CL_LOP_DB_ACCESS has no exception.

Method READ_MASTER_FOR_CAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MASTER_HD Call by reference Type reference (TYPE) LOP_T_D_MASTER_HD Option list header as master data 20120710
2 Exporting ET_MASTER_IT Call by reference Type reference (TYPE) LOP_T_D_MASTER_IT Option List items as master data 20120710
3 Importing I_CAT Call by reference Type reference (TYPE) LOP_CAT Logistical option category 20120710
4 Importing I_MAX_ROWS Call by reference Type reference (TYPE) I 20120710

Method READ_MASTER_FOR_CAT on class CL_LOP_DB_ACCESS has no exception.

Method READ_MASTER_HD_NO_FOR_CAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MASTER_HD_NO Call by reference Type reference (TYPE) LOP_T_MASTER_HD_SEL Option list headers (master data) 20121005
2 Importing I_CAT Call by reference Type reference (TYPE) LOP_CAT Logistical option category 20121005
3 Importing I_MAX_ROWS Call by reference Type reference (TYPE) I 20121005

Method READ_MASTER_HD_NO_FOR_CAT on class CL_LOP_DB_ACCESS has no exception.

Method RESET_FROM_TEST_MODE Signature

Method RESET_FROM_TEST_MODE on class CL_LOP_DB_ACCESS has no parameter.
Method RESET_FROM_TEST_MODE on class CL_LOP_DB_ACCESS has no exception.

Method SET_INTO_TEST_MODE Signature

Method SET_INTO_TEST_MODE on class CL_LOP_DB_ACCESS has no parameter.
Method SET_INTO_TEST_MODE on class CL_LOP_DB_ACCESS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 607