UKM_TRANSFER_VECTOR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for trados = misc -> fi -> cm The report determines payment behavior summaries and creates XI messages for updating payment behavior summaries from Accounts Receivable Accounting (FI-AR) in
If you would like to execute this report or see the full code listing simply enter UKM_TRANSFER_VECTOR into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
UKM_TRANSFER_VECTOR - Update FI Summaries
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_DETAIL = Output Details
Selection Text: P_NR = No. of Docs per XI Message
Selection Text: P_TEST = Test Run - No Send
Selection Text: REBUILD = Start Rebuild
Selection Text: P_CLEAR = D .
Selection Text: P_VARI = D .
Selection Text: P_WITHNO = D .
Selection Text: ST_BUKRS = D .
Selection Text: ST_KUNNR = D .
Selection Text: S_BUKRS = D .
Selection Text: S_KKBER = D .
Selection Text: S_KUNNR = D .
Title: Send Payment Behavior Summary
Text Symbol: 001 = Details
Text Symbol: 002 = Messages
Text Symbol: 003 = A selection parameter contains too many single values. You need to reduce them
Text Symbol: 050 = XI Message
Text Symbol: 100 = List of XI Messages Created
Text Symbol: 200 = Rebuild Collective Table from Open Items with Credit Control Area
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BUKRS_AUTHORITY_CHECK CALL FUNCTION 'BUKRS_AUTHORITY_CHECK' EXPORTING xdatabase = 'B' TABLES xbukreis = s_bukrs.
OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = l_logsys.
UKM_KKBER2SGMNT CALL FUNCTION 'UKM_KKBER2SGMNT' EXPORTING i_kkber = ls_transfer-kkber IMPORTING e_segment = ls_xi_key-credit_sgmnt EXCEPTIONS not_found = 1 OTHERS = 2.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = ls_transfer-bukrs IMPORTING e_t001 = ls_t001 EXCEPTIONS system_error = 4.
UKM_KKBER2SGMNT CALL FUNCTION 'UKM_KKBER2SGMNT' EXPORTING i_kkber = ls_t001-kkber IMPORTING e_segment = ls_xi_key-credit_sgmnt EXCEPTIONS not_found = 0 OTHERS = 0.
FI_CREDIT_CONTROL_AREA_DATA Call function 'FI_CREDIT_CONTROL_AREA_DATA' "n1468097 exporting I_kkber = Is_tr-Kkber "n1468097 importing E_waers = Es_xi-Idx_curr "n1468097 exceptions Credit_control_area = 0. "n1468097
UKM_GET_IDX_FIGURES Call function 'UKM_GET_IDX_FIGURES' exporting I_kunnr = Is_tr-Kunnr I_bukrs = Is_tr-Bukrs changing Cs_idx = Ls_idx.
CONVERT_TO_LOCAL_CURRENCY Call function 'CONVERT_TO_LOCAL_CURRENCY' exporting Date = sy-datum Foreign_amount = Id_value Foreign_currency = Id_curr Local_currency = Cd_curr importing Local_amount = Id_value.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save i_display_via_grid = 'X' * it_default_fieldcat = IMPORTING e_exit = g_exit es_variant = gx_variant EXCEPTIONS not_found = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = e03_lt_events.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_pagea.
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.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_user_command = g_formname_user_commanda i_callback_pf_status_set = g_formname_pf_statusa i_callback_top_of_page = 'ALV_TOP_OF_PAGEA' * I_GRID_SETTINGS = GS_GRID_SETTINGS i_structure_name = 'ukm_pi_vector_msg' is_layout = gs_layout it_fieldcat = gt_fieldcat[] * IT_EXCLUDING = it_special_groups = gt_sp_group[] it_sort = gt_sort[] i_save = g_save is_variant = g_variant it_events = gt_events[] * IT_EVENT_EXIT = is_print = gs_print TABLES t_outtab = gt_report_alv.
BAL_LOG_MSG_CUMULATE CALL FUNCTION 'BAL_LOG_MSG_CUMULATE' EXPORTING i_s_msg = l_s_msg * I_LOG_HANDLE = * importing * E_MSG_WAS_LOGGED = G_E_MSG EXCEPTIONS log_not_found = 0 OTHERS = 1.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log * IMPORTING * E_LOG_HANDLE = g_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
BAL_DSP_PROFILE_STANDARD_GET CALL FUNCTION 'BAL_DSP_PROFILE_STANDARD_GET' IMPORTING e_s_display_profile = l_display_profile.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_T_LOG_HANDLE = * I_T_MSG_HANDLE = i_s_display_profile = l_display_profile * I_AMODAL = ' ' EXCEPTIONS OTHERS = 0.
CALL FUNCTION 'UKM_KKBER2SGMNT' EXPORTING I_KKBER = ls_knb1_sgmnt-kkber IMPORTING E_SEGMENT = ls_knb1_sgmnt-sgmnt EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING I_BUKRS = ls_knb1_sgmnt-bukrs IMPORTING E_T001 = ls_t001 EXCEPTIONS SYSTEM_ERROR = 1 OTHERS = 2.
UKM_KKBER2SGMNT CALL FUNCTION 'UKM_KKBER2SGMNT' EXPORTING I_KKBER = ls_t001-kkber IMPORTING E_SEGMENT = ls_knb1_sgmnt-sgmnt EXCEPTIONS NOT_FOUND = 0 OTHERS = 0.
UKM_GET_AR_OLDEST_ITEM CALL FUNCTION 'UKM_GET_AR_OLDEST_ITEM' EXPORTING i_bukrs = ibukrs i_kunnr = ikunnr IMPORTING et_item = lt_item EXCEPTIONS no_bukrs = 1 no_items = 2 OTHERS = 3.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = ibukrs IMPORTING e_t001 = ls_t001 EXCEPTIONS system_error = 4.
UKM_GET_AR_DUNNING_DATA CALL FUNCTION 'UKM_GET_AR_DUNNING_DATA' EXPORTING i_bukrs = ibukrs i_kunnr = ikunnr x_open_item = 'X' IMPORTING et_dunn_item = lt_dunning EXCEPTIONS no_bukrs = 1 no_items = 2 OTHERS = 3.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = ibukrs IMPORTING e_t001 = ls_t001 EXCEPTIONS system_error = 0.
UKM_GET_AR_LAST_PAYMENT CALL FUNCTION 'UKM_GET_AR_LAST_PAYMENT' EXPORTING i_bukrs = ibukrs i_kunnr = ikunnr IMPORTING e_belnr = ls_bsid-belnr * E_BUZEI = e_gjahr = ls_bsid-gjahr e_waers = ls_bsid-waers e_wrbtr = ls_bsid-wrbtr e_date = ls_bsid-zfbdt * e_kkber = ls_bsid-kkber EXCEPTIONS not_found = 1 OTHERS = 2 .
UKM_GET_AR_DSO CALL FUNCTION 'UKM_GET_AR_DSO' EXPORTING i_bukrs = ibukrs i_kunnr = ikunnr * I_ANZBUPER = '003' IMPORTING e_dsoin = l_dso.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = ibukrs IMPORTING e_t001 = ls_t001 EXCEPTIONS system_error = 0.
DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'UKM_DATA_TYPE' TABLES dd07v_tab = lt_dd07v.
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING mode_rstable = 'E' tabname = lt_tabname varkey = l_varkey EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING mode_rstable = 'E' tabname = lt_tabname varkey = l_varkey x_tabname = ' ' x_varkey = ' ' _scope = '3'.
UKM_KKBER2SGMNT Call function 'UKM_KKBER2SGMNT' exporting I_kkber = Ls_transfer-Kkber importing E_segment = Ld_segment exceptions Not_found = 1.
FI_COMPANY_CODE_DATA Call function 'FI_COMPANY_CODE_DATA' exporting I_bukrs = Ls_transfer-Bukrs importing E_t001 = Ls_t001 exceptions System_error = 1.
UKM_KKBER2SGMNT Call function 'UKM_KKBER2SGMNT' exporting I_kkber = Ls_t001-Kkber importing E_segment = Ld_segment exceptions Not_found = 0 others = 0.
FI_CM_GET_COMP_CODES Call function 'FI_CM_GET_COMP_CODES' exporting I_kkber = Ls_segment-Kkber tables T_buktab = Lt_t001cm.
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 UKM_TRANSFER_VECTOR or its description.
UKM_TRANSFER_VECTOR - Send Payment Behavior Summary UKM_TRANSFER_VECTOR - Send Payment Behavior Summary UKM_TRANSFER_ITEMS - Create XI Messages for Credit Exposure Update in Credit Management UKM_TRANSFER_ITEMS - Create XI Messages for Credit Exposure Update in Credit Management UKM_TEST_MONITOR_NOTIFICATION - Test of UKM_MONITOR_NOTIFICATION UKM_TEST_MONITOR_NOTIFICATION - Test of UKM_MONITOR_NOTIFICATION