SAP Reports / Programs | Cross-Application Components | General Application Functions | Correspondence Tool(CA-GTF-COR) SAP CA

RFKKCO02 SAP ABAP Report - Correspondence - Display Correspondence History







RFKKCO02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for ..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 RFKKCO02 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

FPCOHIST - Display Correspondence History


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 RFKKCO02. "Basic submit
SUBMIT RFKKCO02 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKKCO02 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: P_ARCH = Display from Archive Also
Selection Text: P_MAXCNT = Maximum No.of Hits
Selection Text: R_ABRZO = Upper Limit - Inb. Corr. Perd
Selection Text: R_ABRZU = Lower Limit - Inb. Corr. Perd
Selection Text: R_BUKRS = Company Code
Selection Text: R_COCYR = Year
Selection Text: R_COIDT = Date of Issue
Selection Text: R_COKEY = Correspondence key
Selection Text: R_COPER = Periods
Selection Text: R_COPNR = Period no.
Selection Text: R_COPRI = Print Date
Selection Text: R_COTYP = Correspondence type
Selection Text: R_GPART = Recipient Business Partner
Selection Text: R_OGPART = Underlying Business pPartner
Selection Text: R_VKONT = Contract account
Selection Text: R_CORRST = D .
Selection Text: R_INDATE = D .
Selection Text: R_VTREF = D .
Title: Correspondence - Display Correspondence History
Text Symbol: 001 = Dynamic Selections
Text Symbol: TFA = Dynamic Selections for Selecting Correspondence History


INCLUDES used within this REPORT RFKKCO02

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:

FREE_SELECTIONS_INIT CALL FUNCTION 'FREE_SELECTIONS_INIT' EXPORTING kind = 'T' IMPORTING selection_id = g_selid TABLES tables_tab = g_tab_tables[] EXCEPTIONS OTHERS = 1.

FREE_SELECTIONS_DIALOG CALL FUNCTION 'FREE_SELECTIONS_DIALOG' EXPORTING selection_id = g_selid title = 'Freie Abgrenzungen zur Selektion der Korrespondenzhistorie'(tfa) IMPORTING where_clauses = g_tab_where[] TABLES fields_tab = g_tab_fields[] EXCEPTIONS OTHERS = 1.

FKK_DB_CORR_GET_HISTORY CALL FUNCTION 'FKK_DB_CORR_GET_HISTORY' EXPORTING t_cokey = r_cokey[] t_cotyp = r_cotyp[] t_gpart = r_gpart[] t_org_gpart = r_ogpart[] t_vkont = r_vkont[] t_vtref = r_vtref[] t_bukrs = r_bukrs[] t_coidt = r_coidt[] t_copri = r_copri[] t_cocyr = r_cocyr[] t_coper = r_coper[] t_copnr = r_copnr[] t_corr_status = r_corrst[] t_incorr_indate = r_indate[] t_abrzu = r_abrzu[] t_abrzo = r_abrzo[] i_flg_arch_disp = p_arch i_maxcount = p_maxcnt i_tab_where = g_tab_where[] IMPORTING e_tab_clusterdata = g_tab_clusterdata[] TABLES t_dfkkcohi = g_tab_dfkkcohi[] t_dfkkcohincorr = g_tab_dfkkcohincorr[] EXCEPTIONS not_found = 1 OTHERS = 2.

FKK_CORR_DISPLAY_HISTORY CALL FUNCTION 'FKK_CORR_DISPLAY_HISTORY' EXPORTING i_tab_corrdata = g_tab_display[].

FKKCORR_BUILD_FKKCOINFO CALL FUNCTION 'FKKCORR_BUILD_FKKCOINFO' EXPORTING i_cocyr = '0000' i_coidt = '00000000' i_cotrg = '2' TABLES t_fkkcoinfo = l_tab_info[].

FKK_CORR_STATUS_TXT_GET CALL FUNCTION 'FKK_CORR_STATUS_TXT_GET' EXPORTING i_corr_status = l_wrk_stat-status IMPORTING e_corr_status_txt = l_wrk_stat-statustxt EXCEPTIONS OTHERS = 0.



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 RFKKCO02 or its description.