Hierarchy

⤷

⤷

Properties
Class | /IWFND/CL_METERING_DB | |
Short Description | Metering DB access | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /IWFND/COS_MET | GW Framework - Metering |
Created | 20110311 | SAP |
Last change | 20141120 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
2 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /IWFND/CL_METERING_DB has no interface implemented.
Friends
Class /IWFND/CL_METERING_DB has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | See coding | 20110311 | ||||
2 | ![]() |
Constant | Private | Type reference (TYPE) | I | 500 | Number of entries processed in one batch | 20121024 | |
3 | ![]() |
Constant | Private | Type reference (TYPE) | RSUVM_UNIT | '0371' | ID for unit of system measurement objects | 20110608 | |
4 | ![]() |
Constant | Private | Type reference (TYPE) | RSUVM_UNIT | '0370' | ID for unit of system measurement objects | 20110608 | |
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_COCCOL | 20120323 | |||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | /IWFND/T_MET_AGR_GW_USED | Table Type: Metering Usage of Gateway | 20110606 | ||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | /IWFND/T_MET_AGR_GW_USED | Table Type: Metering Usage of Gateway (DB) | 20110606 | ||
8 | ![]() |
Instance attribute | Private | Type reference (TYPE) | /IWFND/T_METAGR | Metering Data Aggregation | 20120321 | ||
9 | ![]() |
Instance attribute | Private | Type reference (TYPE) | /IWFND/T_METAGR | Metering Data Aggregation | 20120321 | ||
10 | ![]() |
Instance attribute | Private | Type reference (TYPE) | /IWFND/T_MET_AGR | Metering Data Aggregation | 20110603 | ||
11 | ![]() |
Instance attribute | Private | Type reference (TYPE) | /IWFND/T_MET_AGR | Metering Data Aggregation (DB) | 20110606 | ||
12 | ![]() |
Instance attribute | Private | Type reference (TYPE) | /IWFND/T_MET_COL | Metering Data Collector | 20110603 | ||
13 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_USAGE_MEASURE | 20140212 | |||
14 | ![]() |
Instance attribute | Private | Type reference (TYPE) | MANDT | Current client (SY-MANDT) | 20121024 | ||
15 | ![]() |
Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20140214 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Aggregate from Metering Collector | 20110526 |
2 | ![]() |
Instance method | Private | Method | Check if function module SUSAGE_INSERT exists in this system | 20140214 |
3 | ![]() |
Instance method | Private | Method | Collect all dates from single collection | 20110606 |
4 | ![]() |
Instance method | Private | Method | Convert metering data | 20110311 |
5 | ![]() |
Instance method | Public | Method | Delete Aggregated data | 20110607 |
6 | ![]() |
Instance method | Private | Method | Unlock Metering Aggregation data | 20110311 |
7 | ![]() |
Instance method | Private | Method | Aggregation for /IWFND/L_MET_AGR | 20110606 |
8 | ![]() |
Instance method | Private | Method | Aggregation for /IWFND/D_MET_AGR | 20110606 |
9 | ![]() |
Instance method | Private | Method | Aggregation for /IWFND/L_METAGR | 20120321 |
10 | ![]() |
Instance method | Private | Method | Collect data for Usage Measurement | 20140212 |
11 | ![]() |
Instance method | Private | Method | Lock Metering Aggregation data | 20110311 |
12 | ![]() |
Instance method | Private | Method | Generate Metering GUID | 20110311 |
13 | ![]() |
Instance method | Public | Method | obsolete | 20110311 |
14 | ![]() |
Instance method | Public | Method | Get aggregated service data | 20121005 |
15 | ![]() |
Instance method | Private | Method | Read Aggregation Data from DB | 20110603 |
16 | ![]() |
Instance method | Public | Method | Get collector data | 20110317 |
17 | ![]() |
Instance method | Private | Method | Read Single Collection Data | 20110603 |
18 | ![]() |
Instance method | Public | Method | Get all exempt services | 20121005 |
19 | ![]() |
Instance method | Public | Method | Get all exempt user agents | 20121005 |
20 | ![]() |
Instance method | Public | Method | 20130427 | |
21 | ![]() |
Instance method | Public | Method | Get Gateway used records for period | 20110608 |
22 | ![]() |
Instance method | Private | Method | Read Aggregation 'Usage of Gateway' Data | 20110607 |
23 | ![]() |
Instance method | Private | Method | Read all relevant User Agents for Metering (/IWFND/I_COCCOL) | 20120323 |
24 | ![]() |
Instance method | Private | Method | Provide Usage Measurement data to central API | 20140212 |
25 | ![]() |
Instance method | Private | Method | Set a date to the first day of the month | 20121024 |
26 | ![]() |
Instance method | Public | Method | Collect metering data | 20110311 |
Events
Class /IWFND/CL_METERING_DB has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | S_EXEMPTION | Public | Type reference (TYPE) | /IWFND/I_MET_EXE | Metering Exemption | 20121005 | |
2 | S_ID_KEY | Private | See coding | 20120416 | BEGIN OF s_id_key,
mandt TYPE mandt,
id TYPE /iwfnd/met_guid,
END OF s_id_key
|
||
3 | S_METAGR_KEY | Private | See coding | 20120416 | BEGIN OF s_metagr_key,
mandt TYPE mandt,
agr_year TYPE scal_year,
agr_month TYPE scal_month,
user_agent TYPE /iwfnd/met_user_agent,
tech_srv_name TYPE /iwfnd/med_mdl_srg_name,
tech_srv_version TYPE /iwfnd/med_mdl_version,
END OF s_metagr_key
|
||
4 | S_USAGE_MEASURE | Public | See coding | 20140212 | BEGIN OF s_usage_measure,
tech_srv_name TYPE /iwfnd/med_mdl_srg_name,
tech_srv_version TYPE /iwfnd/med_mdl_version,
namespace TYPE /iwfnd/med_mdl_namespace,
calls_total TYPE i,
END OF s_usage_measure
|
||
5 | T_COCCOL | Private | See coding | 20120323 | t_coccol TYPE TABLE OF /iwfnd/i_coccol
|
||
6 | T_EXEMPTIONS | Public | See coding | List of Metering Exemptions | 20121005 | t_exemptions TYPE STANDARD TABLE OF s_exemption WITH DEFAULT KEY
|
|
7 | T_USAGE_MEASURE | Public | See coding | 20140212 | t_usage_measure TYPE SORTED TABLE OF s_usage_measure WITH UNIQUE KEY tech_srv_name tech_srv_version
|
Method Signatures
Method AGGREGATE_COL_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_MSG_HANDLE | Call by reference | Type reference (TYPE) | BALMSGHNDL | Application Log: Message handle | 20110607 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Metering Exception | 20110526 |
Method CHECK_USAGE_MEASUREMNT Signature
Method CHECK_USAGE_MEASUREMNT on class /IWFND/CL_METERING_DB has no parameter.
Method CHECK_USAGE_MEASUREMNT on class /IWFND/CL_METERING_DB has no exception.
Method COLLECT_DATES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RT_DATES | Value transfer | Type reference (TYPE) | SZTG_DATST | Table of Dats | 20110606 |
Method COLLECT_DATES on class /IWFND/CL_METERING_DB has no exception.
Method CONVERT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_DATA | Call by reference | Type reference (TYPE) | /IWFND/T_MET_COL | Metering Data Collector | 20110311 |
Method CONVERT on class /IWFND/CL_METERING_DB has no exception.
Method DELETE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_MSG_HANDLE | Call by reference | Type reference (TYPE) | BALMSGHNDL | Application Log: Message handle | 20110607 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Metering Exception | 20110607 |
Method DEQUEUE_AGG_DATA Signature
Method DEQUEUE_AGG_DATA on class /IWFND/CL_METERING_DB has no parameter.
Method DEQUEUE_AGG_DATA on class /IWFND/CL_METERING_DB has no exception.
Method DETERMINE_AGGREGATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_MET_COL | Call by reference | Type reference (TYPE) | /IWFND/S_METERING_COL | Metering Collector (based on DB structure) | 20110606 | ||
2 | ![]() |
IV_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20110606 |
Method DETERMINE_AGGREGATION on class /IWFND/CL_METERING_DB has no exception.
Method DETERMINE_GW_USED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_MET_COL | Call by reference | Type reference (TYPE) | /IWFND/S_METERING_COL | Metering Collector (based on DB structure) | 20110606 | ||
2 | ![]() |
IV_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20110606 |
Method DETERMINE_GW_USED on class /IWFND/CL_METERING_DB has no exception.
Method DETERMINE_MET_AGGREGATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_MET_COL | Call by reference | Type reference (TYPE) | /IWFND/S_METERING_COL | Metering Collector (based on DB structure) | 20120321 | ||
2 | ![]() |
IV_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20120321 |
Method DETERMINE_MET_AGGREGATION on class /IWFND/CL_METERING_DB has no exception.
Method DETERMINE_USAGE_MEASUREMNT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_MET_COL | Call by reference | Type reference (TYPE) | /IWFND/S_METERING_COL | Metering Collector (based on DB structure) | 20140212 |
Method DETERMINE_USAGE_MEASUREMNT on class /IWFND/CL_METERING_DB has no exception.
Method ENQUEUE_AGG_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_IS_WAIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Wait indicator | 20110311 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Metering Exception | 20110311 |
Method GENERATE_METERING_GUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_METERING_GUID | Value transfer | Type reference (TYPE) | /IWFND/MET_GUID | GUID for Metering objects | 20110311 |
Method GENERATE_METERING_GUID on class /IWFND/CL_METERING_DB has no exception.
Method GET_AGG_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_AGG_DATA | Call by reference | Type reference (TYPE) | /IWFND/T_MET_AGR | Metering Data Aggregation | 20110526 | ||
2 | ![]() |
IV_BEGIN | Call by reference | Type reference (TYPE) | DATS | Begin date | 20110530 | ||
3 | ![]() |
IV_END | Call by reference | Type reference (TYPE) | DATS | End date | 20110530 |
Method GET_AGG_DATA on class /IWFND/CL_METERING_DB has no exception.
Method GET_AGG_SERVICE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_AGG_DATA | Call by reference | Type reference (TYPE) | /IWFND/T_METAGR | Aggregated Service Data | 20121005 | ||
2 | ![]() |
IV_BEGIN | Call by reference | Type reference (TYPE) | DATS | Begin date | 20121005 | ||
3 | ![]() |
IV_END | Call by reference | Type reference (TYPE) | DATS | End date | 20121005 |
Method GET_AGG_SERVICE_DATA on class /IWFND/CL_METERING_DB has no exception.
Method GET_AGR_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_DATES | Call by reference | Type reference (TYPE) | SZTG_DATST | Table of Dats | 20110606 |
Method GET_AGR_DATA on class /IWFND/CL_METERING_DB has no exception.
Method GET_COLLECTOR_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_COLLECTOR_DATA | Call by reference | Type reference (TYPE) | /IWFND/T_MET_COL | Metering Data Collector | 20110317 | ||
2 | ![]() |
IV_BEGIN_TS | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20110317 | ||
3 | ![]() |
IV_END_TS | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20110317 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Metering Exception | 20110408 |
Method GET_COL_DATA Signature
Method GET_COL_DATA on class /IWFND/CL_METERING_DB has no parameter.
Method GET_COL_DATA on class /IWFND/CL_METERING_DB has no exception.
Method GET_EXEMPT_SERVICES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RT_EXEMPT_SERVICES | Value transfer | Type reference (TYPE) | /IWFND/CL_METERING_DB=>T_EXEMPTIONS | List of Metering Exemptions | 20121005 |
Method GET_EXEMPT_SERVICES on class /IWFND/CL_METERING_DB has no exception.
Method GET_EXEMPT_USER_AGENTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RT_EXEMPT_USER_AGENTS | Value transfer | Type reference (TYPE) | /IWFND/CL_METERING_DB=>T_EXEMPTIONS | List of Metering Exemptions | 20121005 |
Method GET_EXEMPT_USER_AGENTS on class /IWFND/CL_METERING_DB has no exception.
Method GET_FILTERED_RAW_USAGE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_FILTERED_DATA | Call by reference | Type reference (TYPE) | /IWFND/CL_METERING_API=>TY_T_MET_EXTRACT_DATA | 20130427 | |||
2 | ![]() |
EV_COUNT | Call by reference | Type reference (TYPE) | I | 20130430 | |||
3 | ![]() |
IV_COUNT_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130430 | |||
4 | ![]() |
IV_FILTER | Call by reference | Type reference (TYPE) | STRING | 20130427 | |||
5 | ![]() |
IV_ORDER | Call by reference | Type reference (TYPE) | STRING | 20130427 |
Method GET_FILTERED_RAW_USAGE_DATA on class /IWFND/CL_METERING_DB has no exception.
Method GET_GW_USED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_GW_USED | Call by reference | Type reference (TYPE) | /IWFND/T_MET_AGR_GW_USED | Table Type: Metering Usage of Gateway | 20110608 | ||
2 | ![]() |
IV_BEG_DATE | Call by reference | Type reference (TYPE) | DATS | Begin of period as date | 20110608 | ||
3 | ![]() |
IV_END_DATE | Call by reference | Type reference (TYPE) | DATS | End of period as date | 20110608 |
Method GET_GW_USED on class /IWFND/CL_METERING_DB has no exception.
Method GET_GW_USED_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_DATE | Call by reference | Type reference (TYPE) | SZTG_DATST | Table of Dats | 20110607 |
Method GET_GW_USED_DATA on class /IWFND/CL_METERING_DB has no exception.
Method GET_USER_AGENTS Signature
Method GET_USER_AGENTS on class /IWFND/CL_METERING_DB has no parameter.
Method GET_USER_AGENTS on class /IWFND/CL_METERING_DB has no exception.
Method PROVIDE_USAGE_MEASUREMNT Signature
Method PROVIDE_USAGE_MEASUREMNT on class /IWFND/CL_METERING_DB has no parameter.
Method PROVIDE_USAGE_MEASUREMNT on class /IWFND/CL_METERING_DB has no exception.
Method SET_DATE_TO_FIRST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CV_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20121024 |
Method SET_DATE_TO_FIRST on class /IWFND/CL_METERING_DB has no exception.
Method STORE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_DATA | Call by reference | Type reference (TYPE) | /IWFND/T_MET_COL | Metering Data Collector | 20110311 | ||
2 | ![]() |
IV_MSG_HANDLE | Call by reference | Type reference (TYPE) | BALMSGHNDL | Application Log: Message handle | 20110609 |
Method STORE_DATA on class /IWFND/CL_METERING_DB has no exception.
History
Last changed by/on | SAP | 20141120 |
SAP Release Created in | 250 |