SAP Reports / Programs | Public Sector Contract Accounts Receivable and Payable | Public Sector Contract Accounts Receivable and Payable | Public Sector Contract Accounts Receivable and Payable(IS-PS-CA) SAP IS

RFMCAP700 SAP ABAP Report - Edit Inbound Correspondence







RFMCAP700 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can list and process inbound correspondence using this report...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 RFMCAP700 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

FMCAINCOH - Process Inbound Correspondence


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 RFMCAP700. "Basic submit
SUBMIT RFMCAP700 AND RETURN. "Return to original report after report execution complete
SUBMIT RFMCAP700 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: SO_INTYP = D .
Selection Text: P_VKTYP = D .
Selection Text: P_STAT = D .
Selection Text: P_INDAT = D .
Selection Text: TODAT = Upper Limit for Ref. Period
Selection Text: SO_VKONT = Contract Account
Selection Text: SO_PSOB = Contract Object
Selection Text: SO_GPART = Business Partner
Selection Text: P_MAXSEL = Maximum Number of Hits
Selection Text: FROMDAT = Lower Limit for Ref. Period
Title: Edit Inbound Correspondence
Text Symbol: P18 = Send reminder letter?
Text Symbol: P17 = No longer send reminder letter?
Text Symbol: P16 = Do you really want to reset the reversal of the inbound correspondence requests?
Text Symbol: P15 = Do you really want to reverse the inbound correspondence requests?
Text Symbol: P14 = Do you really want to cancel the arrival of correspondence?
Text Symbol: P13 = Save changes first?
Text Symbol: P12 = Data was changed ;;
Text Symbol: P11 = Exit Maintenance
Text Symbol: 104 = Clear.date
Text Symbol: 103 = Clearing Date
Text Symbol: 102 = Clearing Date
Text Symbol: 101 = Clearing Date
Text Symbol: 005 = Dunning Blocks
Text Symbol: 004 = Reason for Block
Text Symbol: 003 = Limitation
Text Symbol: 002 = Further Restrictions
Text Symbol: 001 = Selection of Inbound Correspondences


INCLUDES used within this REPORT RFMCAP700

INCLUDE RFMCAP700TOP.
INCLUDE ICONFMCA_PRINT.
INCLUDE ICONFMCA1.
INCLUDE LFKKCORR_AUTHACT.
INCLUDE RFMCAP700_CLASS.


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:

FMCA_DPSOBBPACC_PSOBKEY_SELECT * CALL FUNCTION 'FMCA_DPSOBBPACC_PSOBKEY_SELECT' * EXPORTING * i_psobkey = so_psob-low * TABLES * t_dpsob_bp_acc = lt_dpsob_bp_acc.

FKK_ACCOUNT_READ * CALL FUNCTION 'FKK_ACCOUNT_READ' * EXPORTING * i_vkont = so_vkont-low * IMPORTING * e_fkkvk = l_fkkvk * EXCEPTIONS * OTHERS = 1.

FMCA_DPSOB_BP_ACC_READ * CALL FUNCTION 'FMCA_DPSOB_BP_ACC_READ' * EXPORTING * i_psobkey = so_psob-low * i_partner = so_gpart-low * i_partneracctyp = p_vktyp * i_valdt = sy-datlo * i_bypass_buffer = space * IMPORTING * e_dpsob_bp_acc = l_dpsob_bp_acc * EXCEPTIONS * not_found = 1 * OTHERS = 2.

FMCA_READ_MASTER_DATA_DESCR * CALL FUNCTION 'FMCA_READ_MASTER_DATA_DESCR' * EXPORTING * i_gpart = l_dpsob_bp_acc-partner * i_vkont = l_dpsob_bp_acc-partneracc * i_psobkey = l_dpsob_bp_acc-psobkey * i_vktyp = l_dpsob_bp_acc-partneracctyp * IMPORTING * e_fmca_master_data_descr = fmca_master_data_descriptions.

DATE_CHECK_PLAUSIBILITY CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY' EXPORTING date = fromdat EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 1 OTHERS = 2.

DATE_CHECK_PLAUSIBILITY CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY' EXPORTING date = todat EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 1 OTHERS = 2.

FKK_ACCOUNT_SELECT CALL FUNCTION 'FKK_ACCOUNT_SELECT' EXPORTING gpart = so_gpart-low TABLES i_fkkvk = t_fkkvk i_fkkvkp = t_fkkvkp EXCEPTIONS OTHERS = 1.

FKK_CORR_HIST_FRDAT_TODAT_NEW CALL FUNCTION 'FKK_CORR_HIST_FRDAT_TODAT_NEW' EXPORTING i_cotyp = con_cotyp_corrreq i_tr_gpart = tr_gpart i_tr_vkont = tr_vkont i_tr_vtref = tr_vtref i_tr_incotyp = tr_incotyp i_fromdat = fromdat i_todat = todat i_accept_coper_initial = 'X' i_only_status_initial = p_stat i_only_indate_initial = p_indat i_max_sel = p_maxsel IMPORTING e_lockidx = lockidx e_lockuser = lockuser TABLES et_fkkcohi_ext = gt_fkkcohi_ext_orig EXCEPTIONS not_found = 1 internal_error = 2 items_dfkkcohincorr_missing = 3 OTHERS = 4.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-p11 "Pflege beenden textline1 = text-p12 "Daten wurden verändert textline2 = text-p13 "Änderungen vorher sichern? IMPORTING answer = l_answer.

FKK_CORR_AUTH_CHECK CALL FUNCTION 'FKK_CORR_AUTH_CHECK' EXPORTING i_cotyp = con_cotyp_corrreq i_actvt = gc_actvt_status_update EXCEPTIONS not_authorized = 1 OTHERS = 2.

FKK_DP_OR_CM_DUNNING CALL FUNCTION 'FKK_DP_OR_CM_DUNNING' EXPORTING i_bukrs = wa_fkkcohi_ext-bukrs IMPORTING e_dp_or_cm = l_coll.

FKK_CORR_DUNNING_DESIRED CALL FUNCTION 'FKK_CORR_DUNNING_DESIRED' EXPORTING i_corr_status = g_corr_status EXCEPTIONS no = 1.

FKK_CORR_STATUS_TXT_GET CALL FUNCTION 'FKK_CORR_STATUS_TXT_GET' EXPORTING i_corr_status = wa_fkkcohi_ext-corr_status IMPORTING e_corr_status_txt = l_corr_status_txt EXCEPTIONS OTHERS = 2.

FMCA_INCORR_UPDATE_STATUS CALL FUNCTION 'FMCA_INCORR_UPDATE_STATUS' CHANGING c_fkkcohi_ext = wa_fkkcohi_ext EXCEPTIONS invalid_status = 1 not_authorized = 2 OTHERS = 3.

FKK_CORR_STATUS_TXT_GET CALL FUNCTION 'FKK_CORR_STATUS_TXT_GET' EXPORTING i_corr_status = wa_fkkcohi_ext_orig-corr_status IMPORTING e_corr_status_txt = l_corr_status_txt EXCEPTIONS OTHERS = 2.

FMCA_INCORR_UPDATE_INDATE CALL FUNCTION 'FMCA_INCORR_UPDATE_INDATE' CHANGING c_fkkcohi_ext = wa_fkkcohi_ext EXCEPTIONS e_invalid_date = 1 e_not_authorized = 2 e_not_existing = 3 e_already_satisfied = 4 e_cancelled = 5 OTHERS = 6.

FMCA_INCORR_UPDATE_CANCEL CALL FUNCTION 'FMCA_INCORR_UPDATE_CANCEL' EXPORTING iv_also_received = 'X' CHANGING c_fkkcohi_ext = wa_fkkcohi_ext EXCEPTIONS e_not_existing = 1 e_not_authorized = 2 e_already_satisfied = 3 e_has_defer_date = 4 e_old_incorr = 5 OTHERS = 6.

FMCA_INCORR_UPDATE_REV_CANCEL CALL FUNCTION 'FMCA_INCORR_UPDATE_REV_CANCEL' CHANGING c_fkkcohi_ext = wa_fkkcohi_ext EXCEPTIONS OTHERS = 1.

FMCA_INCORR_UPDATE_DEFERDATE





CALL FUNCTION 'FMCA_INCORR_UPDATE_DEFERDATE' CHANGING c_fkkcohi_ext = wa_fkkcohi_ext EXCEPTIONS e_not_existing = 1 e_invalid_date = 2 e_not_authorized = 3 OTHERS = 4.

FMCA_INCORR_UPDATE_BETRAG CALL FUNCTION 'FMCA_INCORR_UPDATE_BETRAG' CHANGING c_fkkcohi_ext = wa_fkkcohi_ext EXCEPTIONS e_not_authorized = 1 e_not_existing = 2 OTHERS = 3.

FKK_CORR_AUTH_CHECK * CALL FUNCTION 'FKK_CORR_AUTH_CHECK' * EXPORTING * i_cotyp = CON_COTYP_CORRREQ * i_actvt = gc_actvt_status_update * EXCEPTIONS * not_authorized = 1 * OTHERS = 2.

FKK_INCORR_INDATE_DIALOG CALL FUNCTION 'FKK_INCORR_INDATE_DIALOG' EXPORTING i_indate = l_default_date IMPORTING e_indate = l_indate EXCEPTIONS cancelled = 1 OTHERS = 2.

FKK_INCORR_DEFERDATE_DIALOG CALL FUNCTION 'FKK_INCORR_DEFERDATE_DIALOG' EXPORTING i_deferdate = wa_fkkcohi_ext-defer i_faedn = wa_fkkcohi_ext-incorr_faedn IMPORTING e_deferdate = l_defer EXCEPTIONS cancelled = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-p14 IMPORTING answer = v_answer.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-p15 IMPORTING answer = v_answer.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-p16 IMPORTING answer = v_answer.

FKK_CORR_BETRAG_DIALOG CALL FUNCTION 'FKK_CORR_BETRAG_DIALOG' EXPORTING i_cotyp = wa_fkkcohi_ext-cotyp i_salwa = wa_fkkcohi_ext-salwa i_salbe = wa_fkkcohi_ext-salbe IMPORTING e_salwa = l_salwa e_salbe = l_salbe EXCEPTIONS cancelled = 1 OTHERS = 2.

FMCA_INCORR_CAL_REMINDER CALL FUNCTION 'FMCA_INCORR_CAL_REMINDER' EXPORTING i_gpart = wa_fkkcohi_ext-gpart i_vkont = wa_fkkcohi_ext-vkont i_vtref = wa_fkkcohi_ext-vtref i_subap = wa_fkkcohi_ext-subap i_incotyp = wa_fkkcohi_ext-incotyp i_persl = wa_fkkcohi_ext-persl IMPORTING e_allowed = v_allowed EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = v_text IMPORTING answer = v_answer.

FKKCORR_HIST_COMMAND_INLO CALL FUNCTION 'FKKCORR_HIST_COMMAND_INLO' EXPORTING i_tabindex = l_line_number TABLES t_dfkkcohi_ext = gt_fkkcohi_ext.

FKK_S_LOCKSET_MAINTAIN CALL FUNCTION 'FKK_S_LOCKSET_MAINTAIN' EXPORTING i_appl_work_area = s_fkkop i_gpart = s_fkkop-gpart i_vkont = s_fkkop-vkont i_proid = '01' i_lotyp = '02' i_wmode = '02' i_upd_online = 'X'.

FKK_CORR_CDOC_DISPLAY_ALV CALL FUNCTION 'FKK_CORR_CDOC_DISPLAY_ALV' EXPORTING is_dfkkcohi = ls_dfkkcohi i_applicationid = 'FMCAINCOH'.

FMCA_DPSOBBPACC_BP_ACC_SELECT CALL FUNCTION 'FMCA_DPSOBBPACC_BP_ACC_SELECT' EXPORTING i_partner = v_gpart i_partneracc = v_vkont TABLES t_dpsob_bp_acc = t_acc EXCEPTIONS not_found = 1 OTHERS = 2.

FMCA_DPSOB_BP_ACC_READ CALL FUNCTION 'FMCA_DPSOB_BP_ACC_READ' EXPORTING i_psobkey = v_vtref i_partner = v_gpart i_partneracctyp = p_vktyp * I_VALDT = SY-DATLO * I_BYPASS_BUFFER = ' ' * I_READ_BDT_MEMORY = ' ' * I_READ_OBSOLETE = ' ' IMPORTING e_dpsob_bp_acc = s_acc EXCEPTIONS not_found = 1 invalid_input = 2 OTHERS = 3.

FMCA_INCORR_CREATE_POPUP CALL FUNCTION 'FMCA_INCORR_CREATE_POPUP' EXPORTING i_gpart = v_gpart i_vkont = v_vkont i_vtref = v_vtref i_subap = ' ' IMPORTING et_incorr = t_incorr EXCEPTIONS OTHERS = 1.

DEQUEUE_EDFKKCOHI CALL FUNCTION 'DEQUEUE_EDFKKCOHI' EXPORTING cotyp = wa_fkkcohi_ext-cotyp gpart = wa_fkkcohi_ext-gpart vkont = wa_fkkcohi_ext-vkont cokey = wa_fkkcohi_ext-cokey.

FKK_DB_LOCK_SELECT CALL FUNCTION 'FKK_DB_LOCK_SELECT' EXPORTING i_gpart = wa_fkkcohi_ext_tmp-gpart i_vkont = wa_fkkcohi_ext_tmp-vkont i_loobj1 = h_loobj1 i_proid = gc_proid_corrdun i_lotyp = gc_lotyp_incorr i_x_hist = ' ' i_x_use_fieldlist = ' ' TABLES et_locks = lt_db_entries.

FKK_DB_LOCK_SELECT CALL FUNCTION 'FKK_DB_LOCK_SELECT' EXPORTING i_gpart = wa_fkkcohi_ext_tmp-gpart i_vkont = wa_fkkcohi_ext_tmp-vkont i_proid = gc_proid_docdun i_lotyp = gc_lotyp_doc i_x_hist = ' ' i_x_use_fieldlist = ' ' TABLES it_fkkr_loobj1 = lt_rloobj1 et_locks = lt_db_entries.




F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING value_org = 'S' retfield = 'INCOTYP' TABLES value_tab = valtab return_tab = rettab.



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