SAP ABAP Class CL_EPIC_EXAMPLE_CN_CCB_PAY (EXAMPLE ONLY - Send Payment File for CCB)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-LOC (Application Component) Localization
     ID-FI-EPIC-CN-EXAMPLE (Package) Globalization: E-Payment Integration China: Example Impl.
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_EPIC_BANK_COMM_IMPL Bank Communication Implementation Interface 20120720
Properties
Class CL_EPIC_EXAMPLE_CN_CCB_PAY  
Short Description EXAMPLE ONLY - Send Payment File for CCB    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package ID-FI-EPIC-CN-EXAMPLE   Globalization: E-Payment Integration China: Example Impl. 
Created 20120720   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_EPIC_EXAMPLE_CN_CCB_PAY has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_EPIC_BANK_COMM_IMPL Bank Communication Implementation Interface 20120720
Friends
Class CL_EPIC_EXAMPLE_CN_CCB_PAY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_BANK_COMM_SEGMENT Constant Private Type reference (TYPE) EPIC_BANK_COMM_ITERATION 1 Segment of Bank Communication 20120724
2 GC_BANK_COMM_STEP Constant Private Type reference (TYPE) EPIC_BANK_COMM_STEP 1 Bank Communication Step 20120724
3 GC_BANK_ENCODE Constant Private Type reference (TYPE) STRING 'GB18030' 20120801
4 GC_PAYMENT_FAIL Constant Private Type reference (TYPE) STRING '8610ZX999999' 20131122
5 GC_PAYMENT_FILE_SUCESS Constant Private Type reference (TYPE) STRING '000000' 20120724
6 MO_CCB_SERVICE Instance attribute Private Object reference (TYPE REF TO) IF_EPIC_CCB_SERVICE 20121018
7 MO_EPIC_PP_SERVICE Instance attribute Private Object reference (TYPE REF TO) IF_EPIC_PP_SERVICES epic file status update 20120726
8 MO_ORDER_SERVICE Instance attribute Private Object reference (TYPE REF TO) IF_EPIC_PAYMENT_ORDER_SERVICE 20121113
9 MS_REGUT Instance attribute Private Type reference (TYPE) REGUT TemSe - Administration Data 20120726
10 MT_ITEM_KEYS Instance attribute Private Type reference (TYPE) EPIC_T_GUID_BSEG_KEYS 20120813
11 MV_PAYMENT_DOC_NUM Instance attribute Private Type reference (TYPE) STRING 20120918
12 MV_PAYMENT_ORDER_NUM Instance attribute Private Type reference (TYPE) STRING 20121113
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_MESSAGE Instance method Private Method Store Message 20120723
2 CONCATENATE_PAYFILE_MAININFO Instance method Private Method Concatenate Payment File Key Info 20120723
3 CONCATENATE_PAYITEM_MAININFO Instance method Private Method Concatenate Payment Item Key Info 20120724
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20120720
5 GET_ACCOUNT_INFO Instance method Private Method get account information 20120810
6 GET_ITEM_STATUS_DESP Instance method Private Method Get Item Status Description 20120724
7 GET_PAYFILE_MSG_BY_STATUS Instance method Private Method get Payment File Message According to Process Status 20120829
8 GET_PAYFILE_STATUS_DESP Instance method Private Method Get Payment File Status Description 20120724
9 GET_PAYITEM_MSG_BY_STATUS Instance method Private Method get Payment Item Message According to Process Status 20120829
10 GET_PAYMENT_DOCUMENT_NUM Instance method Private Method 20120918
11 GET_PAYMENT_FILE_INFO Instance method Public Method get Payment file info 20120812
12 GET_PAYMENT_ITEM_KEY Instance method Public Method get Payment item keys 20120812
13 GET_PAYMENT_ORDER_NUM Instance method Private Method 20121113
14 PERFORM_POST_RESP_XSLT_PROC Instance method Private Method Process Response Xml 20120723
15 SAVE_PAYMENT_ACCOUNT_NUM Instance method Private Method 20121113
16 SET_PAYMENT_DOC_NUM Instance method Public Method 20120918
17 SET_PAYMENT_FILE_INFO Instance method Public Method Set Payment File info 20120812
18 SET_PAYMENT_ITEM_KEY Instance method Public Method set payment item keys 20120812
19 SET_PAYMENT_ORDER_NUM Instance method Private Method 20121113
20 UPDATE_FILE_STATUS Instance method Public Method update file status by return code from ccb bank 20120824
21 UPDATE_ITEM_STATUS Instance method Public Method update item status by ccb return code 20120824
Events
Class CL_EPIC_EXAMPLE_CN_CCB_PAY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_REQ_KEY_INFO Public See coding 20120823 BEGIN OF ty_req_key_info, request_sn TYPE string, END OF ty_req_key_info
2 TY_RESP_MAPPING_RESULT Public See coding 20120720 BEGIN OF ty_resp_mapping_result, request_sn TYPE string, cust_id TYPE string, tx_code TYPE string, return_code TYPE string, return_msg TYPE string, language TYPE string, item TYPE ty_resp_mapping_result_item, END OF ty_resp_mapping_result
3 TY_RESP_MAPPING_RESULT_ITEM Public See coding 20120720 BEGIN OF ty_resp_mapping_result_item, credit_no TYPE string, deal_type TYPE string, validate_code TYPE string, individual1 TYPE string, individual_name2 TYPE string, individual2 TYPE string, rem1 TYPE string, rem2 TYPE string, END OF ty_resp_mapping_result_item
Method Signatures

Method APPEND_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) EPIC_T_MESSAGES Messages Table Type 20120824

Method APPEND_MESSAGE on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method CONCATENATE_PAYFILE_MAININFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_REGUT_KEY Call by reference Type reference (TYPE) EPIC_S_REGUT_KEY Key Structure for REGUT 20120723
2 Returning RV_TEXTID Value transfer Type reference (TYPE) CHAR30 30 Characters 20120723

Method CONCATENATE_PAYFILE_MAININFO on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method CONCATENATE_PAYITEM_MAININFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ITEM_KEY Call by reference Type reference (TYPE) FPRLS_ITEM Key Structure for REGUT 20120724
2 Returning RV_TEXTID Value transfer Type reference (TYPE) CHAR30 30 Characters 20120724

Method CONCATENATE_PAYITEM_MAININFO on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CCB_SERVICE Call by reference Object reference (TYPE REF TO) IF_EPIC_CCB_SERVICE 20121019
2 Importing IO_ORDER_PAYMENT_ORDER_SERVICE Call by reference Object reference (TYPE REF TO) IF_EPIC_PAYMENT_ORDER_SERVICE 20121113
3 Importing IO_PP_SERVICE Call by reference Object reference (TYPE REF TO) IF_EPIC_PP_SERVICES epic file status update 20120720

Method CONSTRUCTOR on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method GET_ACCOUNT_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PWD Call by reference Type reference (TYPE) STRING password 20120810
2 Exporting EV_USER Call by reference Type reference (TYPE) STRING user id 20120810
3 Importing IS_BANK_COMM_KEY Call by reference Type reference (TYPE) EPIC_S_BANK_COMM_KEY bank communication key 20120827
4 Importing IV_BANK_COMM_STEP Call by reference Type reference (TYPE) EPIC_BANK_COMM_STEP bank comm step 20120827
# Exception Resumable Description Created on
1 CX_EPIC_BANK_COMM_IMPL 20121019

Method GET_ITEM_STATUS_DESP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_ITEM_DESC Value transfer Type reference (TYPE) DDTEXT Explanatory Short Text 20120724
2 Importing IV_ITEM_PAY_STATUS Call by reference Type reference (TYPE) EPIC_ITEM_STATUS Item Status 20120724

Method GET_ITEM_STATUS_DESP on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method GET_PAYFILE_MSG_BY_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) EPIC_T_MESSAGES Messages Table Type 20120829
2 Importing IS_FILE_UPD Call by reference Type reference (TYPE) EPIC_S_FILE_UPD_STATUS File Key for Status Update 20120829

Method GET_PAYFILE_MSG_BY_STATUS on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method GET_PAYFILE_STATUS_DESP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LV_FILE_STATUS Call by reference Type reference (TYPE) EPIC_REGUT_STATUS Payment File Status 20120724
2 Returning RV_STATUS_TEXT Value transfer Type reference (TYPE) DDTEXT Explanatory Short Text 20120724

Method GET_PAYFILE_STATUS_DESP on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method GET_PAYITEM_MSG_BY_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) EPIC_T_MESSAGES Messages Table Type 20120829
2 Importing IS_ITEM_KEY Call by reference Type reference (TYPE) FPRLS_ITEM GUID/BSEG Key Structure 20120829
3 Importing IS_UPD_ITEM_STATUS Call by reference Type reference (TYPE) EPIC_S_ITEM_UPD_STATUS Item Key for Status Update 20120829

Method GET_PAYITEM_MSG_BY_STATUS on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method GET_PAYMENT_DOCUMENT_NUM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_PAYMENT_DOC_NUM Value transfer Type reference (TYPE) STRING 20120918

Method GET_PAYMENT_DOCUMENT_NUM on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method GET_PAYMENT_FILE_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_REGUT Value transfer Type reference (TYPE) REGUT TemSe - Administration Data 20120812

Method GET_PAYMENT_FILE_INFO on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method GET_PAYMENT_ITEM_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ITEM_KEYS Call by reference Type reference (TYPE) EPIC_T_GUID_BSEG_KEYS GUID/BSEG Keys 20120813

Method GET_PAYMENT_ITEM_KEY on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method GET_PAYMENT_ORDER_NUM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ORDER_NUM Value transfer Type reference (TYPE) STRING 20121113

Method GET_PAYMENT_ORDER_NUM on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method PERFORM_POST_RESP_XSLT_PROC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) EPIC_T_MESSAGES Messages Table Type 20120824
2 Importing IS_RESP_MAPPING_RESULT_DATA Call by reference Type reference (TYPE) TY_RESP_MAPPING_RESULT 20120723
3 Importing IV_COMPANY_CODE Call by reference Type reference (TYPE) STRING 20121114

Method PERFORM_POST_RESP_XSLT_PROC on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method SAVE_PAYMENT_ACCOUNT_NUM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REQUEST_SN Call by reference Type reference (TYPE) STRING 20121113

Method SAVE_PAYMENT_ACCOUNT_NUM on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method SET_PAYMENT_DOC_NUM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PAYMENT_DOC_NUM Call by reference Type reference (TYPE) STRING 20120918

Method SET_PAYMENT_DOC_NUM on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method SET_PAYMENT_FILE_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_REGUT Call by reference Type reference (TYPE) REGUT TemSe - Administration Data 20120812

Method SET_PAYMENT_FILE_INFO on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method SET_PAYMENT_ITEM_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ITEM_KEYS Call by reference Type reference (TYPE) EPIC_T_GUID_BSEG_KEYS GUID/BSEG Key Structure 20120813

Method SET_PAYMENT_ITEM_KEY on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method SET_PAYMENT_ORDER_NUM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PAYMENT_ORDER_NUM Call by reference Type reference (TYPE) STRING 20121113

Method SET_PAYMENT_ORDER_NUM on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method UPDATE_FILE_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) EPIC_T_MESSAGES Messages Table Type 20120824
2 Importing IV_RETURN_CODE Call by reference Type reference (TYPE) STRING return code of CCB bank 20120824
3 Importing IV_RETURN_MSG Call by reference Type reference (TYPE) STRING error message from CCB bank 20120824

Method UPDATE_FILE_STATUS on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.

Method UPDATE_ITEM_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) EPIC_T_MESSAGES store item related messages 20120824
2 Importing IV_COMPANY_CODE Call by reference Type reference (TYPE) STRING 20121114
3 Importing IV_RETURN_CODE Call by reference Type reference (TYPE) STRING return code from ccb bank 20120824

Method UPDATE_ITEM_STATUS on class CL_EPIC_EXAMPLE_CN_CCB_PAY has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 617