TCC_POST SAP Method Network Costs: Return costs from TCM - map data from CC
Below is documentation, parameters and attributes of ABAP Method TCC_POST within SAP class /TRP/CL_SRV_NETWORK_COST. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /TRP/CL_SRV_NETWORK_COST into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method TCC_POST can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method TCC_POST
.| Name | Type | Data Type | Description | Default Value |
| IT_COMM_STRUCTURE | Importing | TYPE /SCMTMS/T_TCC_COMM_ROOT | ||
| IT_CONNECTION | Importing | TYPE TT_CONNECTIONS | ||
| IT_CONN_ID_COMM_STRUC | Importing | TYPE TT_CONN_ID_COMM_STRUC | ||
| IT_TCC_COST | Importing | TYPE /SCMTMS/IF_TCC_ENGINE=>TT_RESPONSE | ||
| IV_CURRENCY | Importing | TYPE /SCMTMS/CURRENCY | ||
| IV_TRP_DATASET_ID | Importing | TYPE CHAR50 | ||
| ET_CONNECTION_COST | Exporting | TYPE TT_CONNECTION_COSTS | ||
| ET_MESSAGE | Exporting | TYPE /TRP/T_MESSAGE |
Exceptions of Method TCC_POST
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /TRP/CL_SRV_NETWORK_COST.
DATA: lv_ET_CONNECTION_COST TYPE TT_CONNECTION_COSTS,
lv_ET_MESSAGE TYPE /TRP/T_MESSAGE,
lv_IT_COMM_STRUCTURE TYPE /SCMTMS/T_TCC_COMM_ROOT,
lv_IT_CONNECTION TYPE TT_CONNECTIONS,
lv_IT_CONN_ID_COMM_STRUC TYPE TT_CONN_ID_COMM_STRUC,
lv_IT_TCC_COST TYPE /SCMTMS/IF_TCC_ENGINE=>TT_RESPONSE,
lv_IV_CURRENCY TYPE /SCMTMS/CURRENCY,
lv_IV_TRP_DATASET_ID TYPE CHAR50,
lv_other TYPE c.
CALL METHOD lo_class=>TCC_POST(
EXPORTING
IT_COMM_STRUCTURE = lv_IT_COMM_STRUCTURE
IT_CONNECTION = lv_IT_CONNECTION
IT_CONN_ID_COMM_STRUC = lv_IT_CONN_ID_COMM_STRUC
IT_TCC_COST = lv_IT_TCC_COST
IV_CURRENCY = lv_IV_CURRENCY
IV_TRP_DATASET_ID = lv_IV_TRP_DATASET_ID
IMPORTING
ET_CONNECTION_COST = lv_ET_CONNECTION_COST
ET_MESSAGE = lv_ET_MESSAGE ).
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