RM06EEI1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This direct input program supplements the purchase orders created by the program RM06EEI0 with the purchase order history and the necessary accounting documents for the GR/IR clearing account...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 RM06EEI1 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
OMQ2 - Transfer of Purchase Order History
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: WEREK = GR/IR Clearing Account
Selection Text: WEGEK = Contra Account Goods Receipt
Selection Text: WEBLA = Document Type Goods Receipt
Selection Text: TESTLAUF = Without Database Update
Selection Text: REPRK = Contra Account Vendor Items
Selection Text: REBLA = Document Type Invoice Receipt
Selection Text: PROTOCOL = Log Without Error Messages
Selection Text: LDS_NAME = File Name
Selection Text: ECHTLAUF = With Database Update
Selection Text: DETAILPR = Log with Error Messages
Title: Transfer of Purchase Order History
Text Symbol: 111 = Status
Text Symbol: 038 = Purchase Order Not Updated - Restart
Text Symbol: 037 = Purchase Order Updated
Text Symbol: 036 = Purchase Order Faulty
Text Symbol: 035 = Program Completed:
Text Symbol: 034 = No. of POs Updated:
Text Symbol: 033 = No. of POs Read:
Text Symbol: 032 = No. of Records Read
Text Symbol: 031 = Start Program
Text Symbol: 030 = Test Run Without Database Update!
Text Symbol: 029 = Prog. Statistics
Text Symbol: 028 = Doc. No.
Text Symbol: 027 = Description
Text Symbol: 026 = Purchase Order Updated
Text Symbol: 025 = Purchase Order Faulty
Text Symbol: 024 = Purchase Order Not Updated - Restart
Text Symbol: 022 = Document Types
Text Symbol: 021 = G/L Accounts
Text Symbol: 003 = Scope of Log
Text Symbol: 002 = Update or Test Run
Text Symbol: 001 = Logical File
INCLUDE RM06EEDA.
No SAP DATABASE tables are accessed within this REPORT code!
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = lds_name IMPORTING file_name = phy_filename EXCEPTIONS file_not_found = 01.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_log IMPORTING e_log_handle = g_ps_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_green_light info = text-026 IMPORTING result = l_icon_green EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_red_light info = text-025 IMPORTING result = l_icon_yellow EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_yellow_light info = text-024 IMPORTING result = l_icon_red EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid i_callback_pf_status_set = 'ALV_SET_STATUS' i_callback_user_command = 'ALV_USER_COMMAND' i_callback_top_of_page = 'ALV_TOP_OF_PAGE' is_layout = wa_layout it_fieldcat = fields i_default = 'X' i_save = 'X' TABLES t_outtab = lt_ekko EXCEPTIONS program_error = 1 OTHERS = 2.
CONVERSION_EXIT_MATN1_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = mbepoi-ematn IMPORTING output = mbepoi-ematn.
CALCULATE_EXCHANGE_RATE CALL FUNCTION 'CALCULATE_EXCHANGE_RATE' EXPORTING date = sy-datum foreign_amount = zekbe-wrbtr foreign_currency = mbepoi-waers local_amount = zekbe-dmbtr local_currency = zt001-waers type_of_rate = 'M' IMPORTING exchange_rate = zkurs.
CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING foreign_currency = mbepoi-waers local_currency = zt001-waers local_amount = zekbe-arewr rate = zkurs date = sy-datum IMPORTING foreign_amount = arewf.
AC_DOCUMENT_DIRECT_INPUT CALL FUNCTION 'AC_DOCUMENT_DIRECT_INPUT' EXPORTING i_nodata = nodata IMPORTING e_bukrs = bukrs e_gjahr = gjahr e_belnr = belnr TABLES t_bbkpf = t_bbkpf t_bbseg = t_bbseg t_bbtax = t_bbtax EXCEPTIONS error_message = 01.
NAMETAB_GET CALL FUNCTION 'NAMETAB_GET' "#EC * EXPORTING langu = sy-langu tabname = tabname TABLES nametab = nametab EXCEPTIONS no_texts_found = 1.
CONVERSION_EXIT_MATN1_INPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT' EXPORTING input = mbepoi-ematn IMPORTING output = lv_matnr EXCEPTIONS length_error = 1 OTHERS = 2.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_top_of_page.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = g_ps_log_profile EXCEPTIONS OTHERS = 1.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = g_ps_log_handle i_s_msg = l_s_msg EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.
BAL_DSP_PROFILE_POPUP_GET CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET' IMPORTING e_s_display_profile = g_ps_log_profile EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.