RFKK_SECURITY_FOR_PARTNER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can display cash, non-cash and/or reversed security deposits posted to a business partner or a contract account using this program...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 RFKK_SECURITY_FOR_PARTNER into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FPD2 - Overview of Security Deposits
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.
Selection Text: P_VARI = Layout
Selection Text: REVERSED = Reversed Security Deposits
Selection Text: REV_REAS = Reversal Rsn for Cash Sec.Dep.
Selection Text: ACCOUNT = D .
Selection Text: CASH = D .
Selection Text: CONTRACT = D .
Selection Text: NON_CASH = D .
Selection Text: PARTNER = D .
Title: Overview of Security Deposits
Text Symbol: 001 = Partner
Text Symbol: 002 = Contract Acct
Text Symbol: 003 = Contrct
Text Symbol: 004 = Total
Text Symbol: 006 = Cash Sec. Deposit Pymts
Text Symbol: 100 = Name and Address of Business Partner
Text Symbol: 101 = Work field
Text Symbol: 102 = Text
Text Symbol: CNT = Number
Text Symbol: H01 = |Security |U|St|Rsn |Return |Type|Guarantee|RvRs|Cur| Request| Cash amount|
Text Symbol: P01 = Business partner security deposits are being read
Text Symbol: S01 = Display Reversed Security Deposits
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FKK_GET_APPLICATION CALL FUNCTION 'FKK_GET_APPLICATION' IMPORTING e_applk = w_applk.
FKK_DB_SECURITY_PARAMETER CALL FUNCTION 'FKK_DB_SECURITY_PARAMETER' EXPORTING x_applk = w_applk IMPORTING y_xvtref = w_xvtref y_option_vtref = h_option_vtref.
REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant EXCEPTIONS not_found = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-p01.
FKK_DB_SECURITY_FOR_ACCOUNT CALL FUNCTION 'FKK_DB_SECURITY_FOR_ACCOUNT' EXPORTING x_applk = w_applk i_cash = cash i_non_cash = non_cash TABLES txy_sec = t_sec tx_sec_n = t_sec_n tx_sec_c = t_sec_c tx_sec_c_req = t_sec_req ty_fkkop = tl_fkkop EXCEPTIONS not_found = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = percentage text = text-p01.
FKK_PARTNER_HEADER_DISPLAY CALL FUNCTION 'FKK_PARTNER_HEADER_DISPLAY' EXPORTING x_partner = t_fkkvkp-gpart IMPORTING y_text1 = wa_partnertext.
FKK_DB_CASH_SECURITY_STATUS_GP CALL FUNCTION 'FKK_DB_CASH_SECURITY_STATUS_GP' EXPORTING x_security = t_sec-security IMPORTING y_status = t_stat-s_status_s y_request_sum = t_stat-request y_paid_sum = t_stat-paid y_status_txt = t_stat-s_status_text TABLES ty_fkkop_pay = t_fkkop_augbl.
DD_DOFV_GET CALL FUNCTION 'DD_DOFV_GET' EXPORTING domain_name = 'NC_STATUS_KK' TABLES dd07v_tab_a = t_fwetaba dd07v_tab_n = t_fwetabn.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = 'RFKK_SECURITY_FOR_PARTNER' i_internal_tabname = i_internal_tabname i_structure_name = i_structure_name CHANGING ct_fieldcat = i_fieldcat_all.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' .
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'RFKK_SECURITY_FOR_PARTNER' i_callback_pf_status_set = 'SET_SECURITY_STAT_PFSTATUS' i_callback_user_command = 'SECURITY_USER_COMMAND' it_fieldcat = t_fieldcat[] is_layout = w_layout i_save = 'A' is_variant = g_variant it_events = t_events[] TABLES t_outtab = t_stat.
FKK_S_SECURITY_CHANGE CALL FUNCTION 'FKK_S_SECURITY_CHANGE' EXPORTING x_security = t_stat-security x_upd_online = 'X' x_no_other = 'X' IMPORTING y_db_update = w_update EXCEPTIONS OTHERS = 1.
FKK_S_SECURITY_CREATE CALL FUNCTION 'FKK_S_SECURITY_CREATE' EXPORTING x_security = auto-sec_d-security x_upd_online = 'X' x_auto = auto IMPORTING y_db_update = w_update EXCEPTIONS OTHERS = 1.
FKK_S_SECURITY_CREATE CALL FUNCTION 'FKK_S_SECURITY_CREATE' EXPORTING x_security = auto-sec_d-security x_upd_online = 'X' x_auto = auto IMPORTING y_db_update = w_update EXCEPTIONS OTHERS = 1.
POPUP_TO_DISPLAY_TEXT * CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' * EXPORTING * titel = text-100 * textline1 = t_stat-text1gp.
FKK_DB_SECURITY_SELECT CALL FUNCTION 'FKK_DB_SECURITY_SELECT' EXPORTING x_security = t_stat-security TABLES y_fkk_sec_req = ht_sec_req EXCEPTIONS not_found = 1 OTHERS = 2.
FKK_BP_LINE_ITEMS_SEL_BY_OPBEL CALL FUNCTION 'FKK_BP_LINE_ITEMS_SEL_BY_OPBEL' EXPORTING i_opbel = tl_fkkop-augbl TABLES pt_fkkop = ht_fkkop.
CALL FUNCTION 'DD_DOFV_GET' EXPORTING domain_name = 'C_STATUS_KK' TABLES dd07v_tab_a = t_fwetaba dd07v_tab_n = t_fwetabn.
DD_DOFV_GET CALL FUNCTION 'DD_DOFV_GET' EXPORTING domain_name = 'NC_STATUS_KK' TABLES dd07v_tab_a = t_fwetaba dd07v_tab_n = t_fwetabn.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = l_retfield value_org = 'C' TABLES value_tab = l_value_tab field_tab = l_field_tab * return_tab = l_returntab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
HELP_VALUES_GET CALL FUNCTION 'HELP_VALUES_GET' EXPORTING display = 'X' fieldname = h_fieldname tabname = 'FKK_SEC_D' EXCEPTIONS OTHERS = 1.
FKK_S_SECURITY_DISPLAY CALL FUNCTION 'FKK_S_SECURITY_DISPLAY' EXPORTING x_security = t_stat-security x_upd_online = 'X' x_no_other = 'X' IMPORTING y_db_update = w_update EXCEPTIONS OTHERS = 1.
FKK_PARTNER_HEADER_DISPLAY * CALL FUNCTION 'FKK_PARTNER_HEADER_DISPLAY' * EXPORTING * x_partner = partner ** X_VKONT = * IMPORTING ** Y_REPID = ** Y_DYNNR = ** y_text1 = w_text1 * y_ltext1 = y_ltext1 * y_ltext2 = y_ltext2 * y_ltext3 = y_ltext3 * EXCEPTIONS * not_found = 1 ** OTHERS = 2 * .
REUSE_ALV_COMMENTARY_WRITE * CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' * EXPORTING * it_list_commentary = t_list_top_of_page.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = t_events.
DD_DOFV_GET CALL FUNCTION 'DD_DOFV_GET' EXPORTING domain_name = 'AUGRS_KK' TABLES dd07v_tab_a = t_fwetaba dd07v_tab_n = t_fwetabn.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = l_retfield value_org = 'C' TABLES value_tab = l_value_tab field_tab = l_field_tab return_tab = l_returntab EXCEPTIONS parameter_error = 1 * no_values_found = 2 OTHERS = 3.
FKK_FPE0_INIT CALL FUNCTION 'FKK_FPE0_INIT'.
FKK_FPE0_START_TRANSACTION CALL FUNCTION 'FKK_FPE0_START_TRANSACTION' EXPORTING tcode = 'FPE3' opbel = h_opbel i_calling_tcode = 'FPE3' i_call_transaction = 'X' EXCEPTIONS OTHERS = 1.
REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save IMPORTING e_exit = g_exit es_variant = gx_variant EXCEPTIONS not_found = 2.
FKK_FUNC_MODULE_DETERMINE CALL FUNCTION 'FKK_FUNC_MODULE_DETERMINE' EXPORTING i_applk = w_applk i_fbeve = '4700' TABLES t_fbstab = i_fbstab.
FKK_SAMPLE_4700 CALL FUNCTION 'FKK_SAMPLE_4700'.
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 RFKK_SECURITY_FOR_PARTNER or its description.
RFKK_SECURITY_FOR_PARTNER - Overview of Security Deposits RFKK_SECURITY_FOR_PARTNER - Overview of Security Deposits RFKK_SECURITY_FOR_GUARANTOR - Overview of Securities for a Guarantor RFKK_SECURITY_FOR_GUARANTOR - Overview of Securities for a Guarantor RFKK_SECURITY_DB_CONVERT - Program for Grouping Together the Security Deposits in Contracts RFKK_SECURITY_DB_CONVERT - Program for Grouping Together the Security Deposits in Contracts