SAP ABAP Class CL_TCM_CFIRSUITECRT_ASSIST (helper class)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SCM (Application Component) Supply Chain Management
     OPS_SE_TCM (Package) Service Enabling for Transportation Charge Management
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  TCM_IF_CONSTANTS Constants for TCM 20091218
Properties
Class CL_TCM_CFIRSUITECRT_ASSIST  
Short Description helper class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class OPS_SE_TCM_80    
Program status     
Category 0   
Package OPS_SE_TCM   Service Enabling for Transportation Charge Management 
Created 20091218   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_TCM_CFIRSUITECRT_ASSIST has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 TCM_IF_CONSTANTS Constants for TCM 20091218
Friends
Class CL_TCM_CFIRSUITECRT_ASSIST has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GV_INTRA Static Attribute Public Type reference (TYPE) CHAR1 Single-Character Indicator 20120229
2 MC_FALSE Constant Private Type reference (TYPE) FLAG ' ' Boolean 'False' 20091218
3 MC_TRUE Constant Private Type reference (TYPE) FLAG 'X' Boolean 'True' 20091218
4 MO_CMN_ASSIST Instance attribute Private Object reference (TYPE REF TO) CL_TCM_CFIR_COMMON_ASSIST Assist Class for CFIR 20111215
5 MO_INPUT_POSTMAPPING Instance attribute Private Object reference (TYPE REF TO) DATA Billing interface 20100107
6 MO_LOG Instance attribute Private Object reference (TYPE REF TO) CL_TCM_MSG_HANDLER Msg handler for TM services 20091218
7 MO_POST_OUTPUTMAPPING Instance attribute Private Object reference (TYPE REF TO) DATA 20100107
8 MT_VBRP Instance attribute Private Type reference (TYPE) VBRP_TAB 20101207
9 MV_CANCEL_BILL_DOC Instance attribute Private Type reference (TYPE) BILL_DOC Billing document 20130829
10 SUBOBJ_FOIP Constant Private Type reference (TYPE) BALSUBOBJ 'FOIP' Application Log: Subobject 20091218
Methods
# Method Level Visibility Method type Description Created on
1 BILLING_INTERFACE_PREPARE Instance method Private Method Population of the billing interface structures 20091218
2 BILL_INTERFACE_CALL Instance method Private Method 20091218
3 CHECK_INTER_OR_INTRA Instance method Private Method Check the incoming settlement is intra or intercompany 20120129
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20100304
5 CREATE_BILLING_INTERFACE Instance method Public Method 20091218
6 CREATE_CO_INTERFACE Instance method Public Method Create controlling interface for posting cost via IO 20120408
7 CREATE_MESSAGE_HEADER Instance method Public Method 20091218
8 DO_INPUT_MAPPING Instance method Public Method 20091218
9 DO_INPUT_VALIDATION Instance method Public Method 20100304
10 DO_OUTPUT_MAPPING Instance method Public Method 20091218
11 DO_OUTPUT_MAPPING_REJECT Instance method Public Method Output Mapping for Reject Confirmation 20120203
12 INPUT_MAPPING Instance method Private Method 20110314
13 INTRA_SETTLEMENT_BAPI_CALL Instance method Private Method Call BAPI to post the primary costs from TM Intra Settlement 20120123
14 INTRA_SETTLEMENT_PREPARE Instance method Public Method Data Preparation for Intra Company Settlement 20120123
15 MESSAGE_MAPPING Instance method Private Method map few SD message to TM 20101122
16 NUMBER_ALLOCATION_PREDECESSOR Instance method Public Method Get a new number for the predecessor to build document flow 20091218
17 OUTPUT_MAPPING Instance method Private Method 20091218
18 RETRIEVE_BILLING_ITEMS Instance method Private Method Retrieve the billing items for credit memo. 20101207
Events
Class CL_TCM_CFIRSUITECRT_ASSIST has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_DIST_ITEM_MAP Public See coding 20111221 BEGIN OF ts_dist_item_map , btd_id TYPE char20, name TYPE char35, value TYPE string, END OF ts_dist_item_map
2 TT_DIST_ITEM_MAP Public See coding 20111221 tt_dist_item_map TYPE STANDARD TABLE OF ts_dist_item_map
3 T_BILLING_DATA Public See coding 20091218 BEGIN OF t_billing_data, lt_posted TYPE tcm_t_vbrp, lv_co_doc_id TYPE string, lt_messages TYPE bapirettab, cfirid TYPE tcm_s_post_mapping_cfir_suite-cfir_id, sender_party TYPE tcm_s_post_mapping_cfir_suite-sender_party, input TYPE sapplco_cfir_suiterequest_msg, END OF t_billing_data
4 T_POST_MAP Public See coding 20091218 BEGIN OF t_post_map, input TYPE sapplco_cfir_suiterequest_msg, komfkgn TYPE komfkgn_tab, komv TYPE komv_tab, co_doc TYPE tcm_s_intracompcd_bill, cfirid TYPE tcm_s_post_mapping_cfir_suite-cfir_id, sender_party TYPE tcm_s_post_mapping_cfir_suite-sender_party, lv_budat TYPE budat, lv_error TYPE char1, END OF t_post_map
Method Signatures

Method BILLING_INTERFACE_PREPARE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KOMFKGN Call by reference Type reference (TYPE) KOMFKGN_TAB 20091218
2 Exporting ET_KOMV Call by reference Type reference (TYPE) KOMV_TAB 20091218
3 Exporting EV_BUDAT Call by reference Type reference (TYPE) BUDAT 20091218
4 Exporting EV_ERROR Call by reference Type reference (TYPE) CHAR1 20091218
5 Importing IS_INPUT Call by reference Type reference (TYPE) SAPPLCO_CFIR_SUITEREQUEST_MSG Data Type CustomerFreightInvoiceRequestSUITERequestMessage ( 20091218
6 Importing IS_TCM_CUST_FRTINV Call by reference Type reference (TYPE) TCM_S_CUST_FRTINV_REQ_SUITE Structure for Customer Freight Invoicing SUITE 20091218
7 Importing IV_BUDAT Call by reference Type reference (TYPE) BUDAT 20091218

Method BILLING_INTERFACE_PREPARE on class CL_TCM_CFIRSUITECRT_ASSIST has no exception.

Method BILL_INTERFACE_CALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KOMFKGN Call by reference Type reference (TYPE) KOMFKGN_TAB Table Type KOMFKGN 20091218
2 Changing CT_KOMV Call by reference Type reference (TYPE) KOMV_TAB Table type komv 20091218
3 Exporting ET_POSTED Call by reference Type reference (TYPE) TABLE 20091218
4 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20091218
5 Importing IS_INPUT Call by reference Type reference (TYPE) SAPPLCO_CFIR_SUITEREQUEST_MSG Data Type CustomerFreightInvoiceRequestRequestMessage (Reque 20111019
6 Importing IV_BUDAT Call by reference Type reference (TYPE) BUDAT Posting Date in the Document 20091218

Method BILL_INTERFACE_CALL on class CL_TCM_CFIRSUITECRT_ASSIST has no exception.

Method CHECK_INTER_OR_INTRA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_INTRA Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20120129
2 Exporting EV_NON_TU Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20130214
3 Exporting EV_RECEIVER_GRP Call by reference Type reference (TYPE) TM_PURCHASE_GRP_ID Purchasing Group 20120809
4 Exporting EV_RECEIVER_OFF Call by reference Type reference (TYPE) TM_SALES_ORG_ID Sales Organization 20130214
5 Exporting EV_RECEIVER_ORG Call by reference Type reference (TYPE) TM_SALES_ORG_ID Sales Organization 20120404
6 Exporting EV_SENDER_GRP Call by reference Type reference (TYPE) TM_SALES_GRP_ID Sales Group 20120809
7 Exporting EV_SENDER_OFF Call by reference Type reference (TYPE) TM_SALES_OFFICE_ID Sales Office ID 20120809
8 Exporting EV_SENDER_ORG Call by reference Type reference (TYPE) TM_SALES_ORG_ID Sales Organization 20120404
9 Importing LT_PROPERTY Call by reference Type reference (TYPE) SAPPLCO_DOCUMENT_PROPERTY_TAB Additional Data Property Information 20120329

Method CHECK_INTER_OR_INTRA on class CL_TCM_CFIRSUITECRT_ASSIST has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_LOG Call by reference Object reference (TYPE REF TO) CL_TCM_MSG_HANDLER Msg handler for TM services 20100304

Method CONSTRUCTOR on class CL_TCM_CFIRSUITECRT_ASSIST has no exception.

Method CREATE_BILLING_INTERFACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_OUTPUT_API Call by reference Type reference (TYPE) DATA 20091218
2 Exporting ET_BAPIRET Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20100304
3 Importing IR_INPUT_API Call by reference Object reference (TYPE REF TO) DATA 20091218
# Exception Resumable Description Created on
1 CX_TCM_INPUT_MAP Exception class for TCM Input Mapping 20100304

Method CREATE_CO_INTERFACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_OUTPUT_API Call by reference Type reference (TYPE) DATA 20120408
2 Exporting ET_BAPIRET Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120408
3 Importing IR_INPUT_API Call by reference Object reference (TYPE REF TO) DATA 20120408

Method CREATE_CO_INTERFACE on class CL_TCM_CFIRSUITECRT_ASSIST has no exception.

Method CREATE_MESSAGE_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_BTDM_HEADER Call by reference Type reference (TYPE) SAPPLCO_BUS_DOC_MESSAGE_HEADER Business information from the perspective of the sender appl 20120203
2 Exporting EV_CREATION_DATE_TIME Call by reference Type reference (TYPE) SAPPLCO_GLOBAL_DATE_TIME Proxy Data Element (Generated) 20091218

Method CREATE_MESSAGE_HEADER on class CL_TCM_CFIRSUITECRT_ASSIST has no exception.

Method DO_INPUT_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_INPUT_TO_API Call by reference Object reference (TYPE REF TO) DATA 20091218
2 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20091218
3 Importing IR_INPUT_XI Call by reference Object reference (TYPE REF TO) DATA 20091218
# Exception Resumable Description Created on
1 CX_TCM_INPUT_MAP Exception class for TCM Input Mapping 20121003

Method DO_INPUT_VALIDATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20100304
2 Importing IR_INPUT_XI Call by reference Object reference (TYPE REF TO) DATA 20100304
# Exception Resumable Description Created on
1 CX_TCM_INPUT_MAP Exception class for TCM Input Mapping 20100304

Method DO_OUTPUT_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ER_OUTPUT_XI Call by reference Object reference (TYPE REF TO) DATA 20091218
2 Importing IS_OUTPUT_API Call by reference Type reference (TYPE) DATA 20091218

Method DO_OUTPUT_MAPPING on class CL_TCM_CFIRSUITECRT_ASSIST has no exception.

Method DO_OUTPUT_MAPPING_REJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_OUTPUT_XI Call by reference Type reference (TYPE) TCM_CFIR_SUITECONFIRMATION MT for MDT CustomerFreightInvoiceRequestSUITEConfirmationMes 20120203
2 Importing IS_PRE_MAPPING Call by reference Type reference (TYPE) SAPPLCO_CFIR_SUITEREQUEST_MSG Data Type CustomerFreightInvoiceRequestRequestMessage (Reque 20120203

Method DO_OUTPUT_MAPPING_REJECT on class CL_TCM_CFIRSUITECRT_ASSIST has no exception.

Method INPUT_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_TCM_CUST_FRTINV Call by reference Type reference (TYPE) TCM_S_CUST_FRTINV_REQ_SUITE Structure for Customer Freight Invoicing SUITE 20110314
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110314
3 Importing IS_INPUT Call by reference Type reference (TYPE) SAPPLCO_CFIR_SUITEREQUEST_MSG Data Type CustomerFreightInvoiceRequestSUITERequestMessage ( 20110314
# Exception Resumable Description Created on
1 CX_TCM_INPUT_MAP Exception class for TCM Input Mapping 20121003

Method INTRA_SETTLEMENT_BAPI_CALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120306
2 Exporting EV_ACC_ID Call by reference Type reference (TYPE) CO_BELNR Document Number 20120306
3 Exporting EV_KOKRS Call by reference Type reference (TYPE) KOKRS Controlling Area 20120607
4 Importing IS_INTRACOMPCD_BILL Call by reference Type reference (TYPE) TCM_S_INTRACOMPCD_BILL Transportation Charge Management Intracompany Code Billing 20120306

Method INTRA_SETTLEMENT_BAPI_CALL on class CL_TCM_CFIRSUITECRT_ASSIST has no exception.

Method INTRA_SETTLEMENT_PREPARE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CO_DOC Call by reference Type reference (TYPE) TCM_S_INTRACOMPCD_BILL 20120404
2 Exporting EV_BUDAT Call by reference Type reference (TYPE) BUDAT 20120404
3 Exporting EV_ERROR Call by reference Type reference (TYPE) CHAR1 20120404
4 Importing IS_INPUT Call by reference Type reference (TYPE) SAPPLCO_CFIR_SUITEREQUEST_MSG Data Type CustomerFreightInvoiceRequestRequestMessage (Reque 20120229
5 Importing IS_TCM_CUST_FRTINV Call by reference Type reference (TYPE) TCM_S_CUST_FRTINV_REQ_SUITE Structure for Customer Freight Invoicing SUITE 20120404
# Exception Resumable Description Created on
1 CX_TCM_INPUT_MAP Exception class for TCM Input Mapping 20121004

Method MESSAGE_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20101122

Method MESSAGE_MAPPING on class CL_TCM_CFIRSUITECRT_ASSIST has no exception.

Method NUMBER_ALLOCATION_PREDECESSOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VGBEL Call by reference Type reference (TYPE) VGBEL Document number of the reference document 20091218
2 Importing IV_NUMKI Call by reference Type reference (TYPE) TVTF-NUMKI Number range in the case of internal number assignment 20091218

Method NUMBER_ALLOCATION_PREDECESSOR on class CL_TCM_CFIRSUITECRT_ASSIST has no exception.

Method OUTPUT_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CANCEL Call by reference Type reference (TYPE) XCHAR Batch management indicator (internal) 20091218
2 Exporting ES_CONFIRMATION Call by reference Type reference (TYPE) SAPPLCO_CFIR_SUITECONF_MSG MDT for CustomerFreightInvoiceRequestSUITEConfirmationMessag 20091218
3 Importing IS_INPUT Call by reference Type reference (TYPE) SAPPLCO_CFIR_SUITEREQUEST_MSG Data Type CustomerFreightInvoiceRequestRequestMessage (Reque 20120220
4 Importing IT_ACC_CNC_DOC Call by reference Type reference (TYPE) TABLE 20091218
5 Importing IT_BAPIRETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20091218
6 Importing IV_ACC_ID Call by reference Type reference (TYPE) STRING 20091218
7 Importing IV_CFIR_ID Call by reference Type reference (TYPE) CHAR20 Data Element Type CHAR Length 35 20091218
8 Importing IV_CUST_INV_IDS Call by reference Type reference (TYPE) TABLE 20091218
9 Importing IV_INTRA_BILL Call by reference Type reference (TYPE) XCHAR Batch management indicator (internal) 20091218
10 Importing IV_SENDER_PARTY Call by reference Type reference (TYPE) SAPPLCO_PARTY_INTERNAL_ID-CONTENT Proprietary identifier for a party 20091218

Method OUTPUT_MAPPING on class CL_TCM_CFIRSUITECRT_ASSIST has no exception.

Method RETRIEVE_BILLING_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ITEM_ID Call by reference Type reference (TYPE) C Billing Document item ID 20101207
2 Importing IV_BILL_DOC_ID Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20101207
3 Importing IV_BILL_ITEM Call by reference Type reference (TYPE) ARKTX Short text for sales order item 20101207

Method RETRIEVE_BILLING_ITEMS on class CL_TCM_CFIRSUITECRT_ASSIST has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 605