SAP Reports / Programs

RFCCSSTT SAP ABAP Report - Payment Cards: Execute Settlement







RFCCSSTT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this program to settle and transfer payment card accounting data to a payment card company (or a service provider that works with the company)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFCCSSTT into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

WPCA - Carry out settlement run


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RFCCSSTT. "Basic submit
SUBMIT RFCCSSTT AND RETURN. "Return to original report after report execution complete
SUBMIT RFCCSSTT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SL_MERCH = D Merchant ID
Selection Text: SL_LOCID = D Point of receipt
Selection Text: SL_HKONT = D Payment card receivables
Selection Text: SL_DIGIT = D Last Digit
Selection Text: SL_CURRC = D Currency
Selection Text: SL_CCTYP = D Payment Card Category
Selection Text: SL_CCINS = D Payment Card Type
Selection Text: PR_XECHT = D Update Run
Selection Text: PR_XDETA = D Detail Log
Selection Text: PR_XADDR = D Transmit address data
Selection Text: PR_GJAHR = D Fiscal Year
Selection Text: PR_BUKRS = D Company Code
Selection Text: PR_BUDAT = D Posting Date
Selection Text: PR_BLDAT = D Document Date
Selection Text: PR_BLART = D Document Type
Selection Text: PR_BELNR = D Document Number
Title: Payment Cards: Execute Settlement
Text Symbol: 023 = Test Run
Text Symbol: 004 = Processing Parameters
Text Symbol: 003 = Data for Clearing Entry
Text Symbol: 002 = Further Selections
Text Symbol: 001 = General Selections


INCLUDES used within this REPORT RFCCSSTT

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = pr_bukrs IMPORTING e_t001 = gs_t001 EXCEPTIONS system_error = 1 OTHERS = 2.

CCARDEC_FI_AR_CLEAR_BUFFER CALL FUNCTION 'CCARDEC_FI_AR_CLEAR_BUFFER'.

POSTING_INTERFACE_CLEARING CALL FUNCTION 'POSTING_INTERFACE_CLEARING' EXPORTING i_auglv = fipi-auglv i_tcode = fipi-tcode IMPORTING e_subrc = subrc e_msgid = msgid e_msgty = msgty e_msgno = msgno e_msgv1 = msgv1 e_msgv2 = msgv2 e_msgv3 = msgv3 e_msgv4 = msgv4 TABLES t_ftpost = ftpost t_ftclear = ftclear t_fttax = fttax t_blntab = xblntab.

CCARDEC_READ CALL FUNCTION 'CCARDEC_READ' EXPORTING im_ccard_guid = bsegc-ccard_guid IMPORTING ex_ccard_bin = ls_ccardec_bin EXCEPTIONS entry_not_found = 1 guid_is_initial = 2 OTHERS = 3.

CCARDEC_REFRESH_BUFFER CALL FUNCTION 'CCARDEC_REFRESH_BUFFER'.

CCARD_DEVELOPE CALL FUNCTION 'CCARD_DEVELOPE' EXPORTING im_ccard_bin = ls_ccardec_bin IMPORTING ex_ccnum = bsegc-ccnum EXCEPTIONS develope_failed = 1 OTHERS = 2.

CCARDEC_FI_AR_WRITE_BUFFER CALL FUNCTION 'CCARDEC_FI_AR_WRITE_BUFFER' EXPORTING im_guid = bsegc-ccard_guid im_ccnum = bsegc-ccnum.

ENQUEUE_EFCCENQ CALL FUNCTION 'ENQUEUE_EFCCENQ' EXPORTING bukrs = enq-bukrs hkont = enq-hkont ccdig = enq-ccdig EXCEPTIONS foreign_lock = 1.

GET_SHORTKEY_FOR_FEBKO CALL FUNCTION 'GET_SHORTKEY_FOR_FEBKO' EXPORTING i_tname = 'CCARD' IMPORTING e_kukey = hlp_ccbtc8 EXCEPTIONS febkey_update_error = 1.

CREDIT_CARD_CONVERT_FOR_SETTLE CALL FUNCTION 'CREDIT_CARD_CONVERT_FOR_SETTLE' EXPORTING i_bsis = postab i_xaddr = pr_xaddr IMPORTING e_settab = settab e_ccsetexd_h = setexd_h TABLES t_ccsetexd_i = setexd_i EXCEPTIONS already_settled = 1 OTHERS = 2.

CREDIT_CARD_GET_INSTITUTE CALL FUNCTION 'CREDIT_CARD_GET_INSTITUTE' EXPORTING i_ccins = settab-ccins IMPORTING e_tvcin = ls_tvcin.

POSTING_INTERFACE_END CALL FUNCTION 'POSTING_INTERFACE_END'.

POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING i_function = fipi-function i_group = fipi-group i_holddate = fipi-holddate i_keep = space i_mode = mode i_update = fipi-update i_user = fipi-user.

CREDIT_CARD_SETTLEMENT CALL FUNCTION 'CREDIT_CARD_SETTLEMENT' EXPORTING i_ccseth = ccseth TABLES t_settab = lt_settab t_setexd_h = setexd_h t_setexd_i = setexd_i_all EXCEPTIONS error_message = 1.

CCARD_CHECK_BATCH_FOR_SET CALL FUNCTION 'CCARD_CHECK_BATCH_FOR_SET' EXPORTING i_vcard = ' ' i_read_cctvin = 'X' TABLES t_settab = settab t_errors = lt_errors.

OPEN_FI_PERFORM_00005010_P CALL FUNCTION 'OPEN_FI_PERFORM_00005010_P' EXPORTING i_chgtype = 'U' i_origin = 'RFCCSSTT UPDATE_BSAD_CCBTC' i_tabname = 'BSAD' i_structure = bsad EXCEPTIONS OTHERS = 1.

SD_CCARD_SET_FPLTC_CCBTC CALL FUNCTION 'SD_CCARD_SET_FPLTC_CCBTC' EXPORTING i_vbeln = lc_vbeln i_ccins = settab-ccins i_ccnum = settab-ccnum i_aunum = settab-aunum i_ccbtc = hlp_ccbtc I_CCARD_GUID = settab-ccard_guid EXCEPTIONS no_billing_document = 1 wrong_payment_card = 2 technical_problem = 3 OTHERS = 4.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = c_loghndl.

BAL_LOG_MSG_ADD





CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = i_loghndl i_s_msg = ls_message.

BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = i_loghndl IMPORTING e_s_log = ls_log.

BAL_LOG_HDR_CHANGE CALL FUNCTION 'BAL_LOG_HDR_CHANGE' EXPORTING i_log_handle = i_loghndl i_s_log = ls_log.

BAL_DSP_PROFILE_STANDARD_GET CALL FUNCTION 'BAL_DSP_PROFILE_STANDARD_GET' IMPORTING e_s_display_profile = ls_display_profile.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile i_t_log_handle = i_loghndls.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RFCCSSTT or its description.