SAP Reports / Programs

UKM_TRANSFER_ITEMS SAP ABAP Report - Create XI Messages for Credit Exposure Update in Credit Management







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 SAP Credit Management...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 UKM_TRANSFER_ITEMS 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

UKM_TRANSFER_ITEMS - Liability Update


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 UKM_TRANSFER_ITEMS. "Basic submit
SUBMIT UKM_TRANSFER_ITEMS AND RETURN. "Return to original report after report execution complete
SUBMIT UKM_TRANSFER_ITEMS 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_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


INCLUDES used within this REPORT UKM_TRANSFER_ITEMS

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:

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.



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