UKM_TRANSFER_ITEMS 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 selects open items and creates XI messages for the liability update 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_ITEMS 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_ITEMS - Liability Update
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_VARI = D .
Selection Text: ST_BUKRS = D .
Selection Text: ST_KUNNR = D .
Selection Text: S_BUKRS = D .
Selection Text: S_HKONT = D .
Selection Text: S_KKBER = D .
Selection Text: S_KUNNR = D .
Selection Text: S_UMSKZ = D .
Title: Create XI Messages for Credit Exposure Update in Credit Management
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
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.
DB_COMMIT Call function 'DB_COMMIT'. "1517459
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
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_commts_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.
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.
READ_BKPF CALL FUNCTION 'READ_BKPF' EXPORTING xbelnr = lkey-belnr xbukrs = lkey-bukrs xgjahr = lkey-gjahr IMPORTING xbkpf = ls_bkpf EXCEPTIONS OTHERS = 4.
UKM_TRANSFER2XI CALL FUNCTION 'UKM_TRANSFER2XI' EXPORTING is_bkpf = ls_bkpf is_bseg = ls_bseg IMPORTING es_commitment = gs_report EXCEPTIONS OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
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 UKM_TEST_CMA_CHG_NOTIFICATION - Test of UKM_CMA_CHG_NOTIFICATION UKM_TEST_CMA_CHG_NOTIFICATION - Test of UKM_CMA_CHG_NOTIFICATION