SAP /TRP/CL_SRV_NETWORK_COST OO Class - REST Service: Network Cost
/TRP/CL_SRV_NETWORK_COST is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /TRP/CL_SRV_NETWORK_COST including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Inheritance
This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for /TRP/CL_SRV_NETWORK_COST is CL_REST_RESOURCEMethod list of /TRP/CL_SRV_NETWORK_COST SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| CURRENCY_CONVERT | Currency conversion | Public |
| CALL METHOD /trp/cl_srv_network_cost=>CURRENCY_CONVERT...more details | ||
| GET_COST_FROM_BADI | Network Costs: Return costs from BADI | Protected |
| CALL METHOD /trp/cl_srv_network_cost=>GET_COST_FROM_BADI...more details | ||
| GET_COST_FROM_PROFILE | Network Costs: Return costs from cost profile | Protected |
| CALL METHOD /trp/cl_srv_network_cost=>GET_COST_FROM_PROFILE...more details | ||
| GET_COST_FROM_TCM | Network Costs: Return costs from TCM | Protected |
| CALL METHOD /trp/cl_srv_network_cost=>GET_COST_FROM_TCM...more details | ||
| MAP_LOCATION_ID_2_UUID | Read location information | Protected |
| CALL METHOD /trp/cl_srv_network_cost=>MAP_LOCATION_ID_2_UUID...more details | ||
| TCC_CALC_CHARGES | Network Costs: Return costs from TCM - call CC service | Protected |
| CALL METHOD /trp/cl_srv_network_cost=>TCC_CALC_CHARGES...more details | ||
|
| ||
| TCC_POST | Network Costs: Return costs from TCM - map data from CC | Protected |
| CALL METHOD /trp/cl_srv_network_cost=>TCC_POST...more details | ||
| TCC_PRE | Network Costs: Return costs from TCM - fill comm structure | Protected |
| CALL METHOD /trp/cl_srv_network_cost=>TCC_PRE...more details | ||
| TCC_PRE_ENRICH | Network Costs: Return costs from TCM - enrich the comm struc | Protected |
| CALL METHOD /trp/cl_srv_network_cost=>TCC_PRE_ENRICH...more details | ||
/TRP/CL_SRV_NETWORK_COST attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| SC_REQUEST_TYPE | Constant | LIKE | Public |
/TRP/CL_SRV_NETWORK_COST types
TT_CONNECTIONS -TT_CONNECTION_COSTS -
TT_CONN_ID_COMM_STRUC -
TT_LOCATION_ID -
TT_LOC_MAP -
TY_CONNECTIONS -
TY_CONNECTION_COSTS -
TY_CONN_ID_COMM_STRUC -
TY_LOC_MAP -
TY_REQUEST_CONNECTION_COST -
TY_REQUEST_TYPE -
TY_RESPONSE_CONNECTION_COST -
Links to Related Class(s)
/TRP/CL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects