SAP Reports / Programs | Materials Management | Inventory Management | Balance Sheet Valuation Procedures(MM-IM-VP) SAP MM

RMLIFO39 SAP ABAP Report - Display Change Documents







RMLIFO39 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RMLIFO39 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

MR39 - Display Documents (LIFO)


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 RMLIFO39. "Basic submit
SUBMIT RMLIFO39 AND RETURN. "Return to original report after report execution complete
SUBMIT RMLIFO39 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_UDATE = Date From
Selection Text: P_UTIME = Time From
Selection Text: P_EBENE = D .
Selection Text: P_MYML = D .
Selection Text: P_MYMLM = D .
Selection Text: P_MYMP = D .
Selection Text: P_MYMP1 = D .
Selection Text: P_MYMPLV = D .
Selection Text: P_MYPL = D .
Selection Text: P_MYPLM = D .
Selection Text: P_MYVER = D .
Selection Text: S_GJAHR = D .
Selection Text: S_MATNR = D .
Selection Text: S_PERIOD = D .
Selection Text: S_POOLN = D .
Title: Display Change Documents
Text Symbol: YER = Year
Text Symbol: VAV = V
Text Symbol: VAL = VaAr
Text Symbol: USR = User
Text Symbol: TTL = Display Change Documents: Document Details
Text Symbol: TIM = Time
Text Symbol: TDE = Tran
Text Symbol: POL = Pool
Text Symbol: PER = PI
Text Symbol: 001 = No items found
Text Symbol: 002 = Error reading data
Text Symbol: 005 = Old Value
Text Symbol: 006 = New Value
Text Symbol: 007 = Period:
Text Symbol: 009 = New record added
Text Symbol: 011 = Field
Text Symbol: 015 = Record deleted
Text Symbol: 016 = Meth/Dat:
Text Symbol: 017 = Mat. Doc:
Text Symbol: 051 = Monthly Receipts
Text Symbol: 052 = Mat. Annual Layer
Text Symbol: 053 = Pool Annual Layer





Text Symbol: 054 = Mat. Monthly Layer
Text Symbol: 056 = Single Receipts
Text Symbol: 057 = Pool Monthly Layer
Text Symbol: 070 = Valuation Area
Text Symbol: 071 = Company Code
Text Symbol: 083 = Restriction of Selection
Text Symbol: 200 = Type of Data
Text Symbol: CCD = CoCd
Text Symbol: DAT = Date
Text Symbol: DOC = Doc. No.
Text Symbol: MAT = Material No.
Text Symbol: MET = Method


INCLUDES used within this REPORT RMLIFO39

INCLUDE MRYTAB01.
INCLUDE MRYTAB03.
INCLUDE MRYDAT01.
INCLUDE MRYDAT03.
INCLUDE MRYDAT04.
INCLUDE MRYDAT06.


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:

MY_VALUATION_LEVEL_GET CALL FUNCTION 'MY_VALUATION_LEVEL_GET' EXPORTING i_myxxfo = p_myxxfo IMPORTING e_val_level = level e_mymp_level = mymp_level.

MY_VALUATION_LEVEL_GET CALL FUNCTION 'MY_VALUATION_LEVEL_GET' EXPORTING i_myxxfo = p_myxxfo IMPORTING e_val_level = level e_mymp_level = mymp_level.

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING objectclass = klasse objectid = tabkey time_of_change = p_utime date_of_change = p_udate username = dummy_name TABLES i_cdhdr = kopf EXCEPTIONS no_position_found = 4 OTHERS = 8.

RS_DS_INT_FIELD_INFO CALL FUNCTION 'RS_DS_INT_FIELD_INFO' EXPORTING p_tablename = positionen-tabname p_fieldname = positionen-fname p_language = sy-langu IMPORTING p_fieldtext = positionen-ftext.

CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING changenumber = nummer IMPORTING header = cdhdr TABLES editpos = positionen EXCEPTIONS no_position_found = 4 OTHERS = 8.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_alv_top_of_list[].

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = slis_ev_pf_status_set i_callback_user_command = slis_ev_user_command is_layout = ls_layout it_fieldcat = lt_fieldcat it_events = lt_eventtab TABLES t_outtab = gt_output_table EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure1_name CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab.

REUSE_ALV_LIST_DISPLAY





CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_formname_pf_status_set1 i_callback_user_command = gc_formname_user_command1 is_layout = ls_layout it_fieldcat = lt_fieldcat it_events = lt_eventtab i_screen_start_column = 10 i_screen_start_line = 20 i_screen_end_column = 80 i_screen_end_line = 25 TABLES t_outtab = gt_details_table EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure2_name CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = gs_output_struct-changenr IMPORTING output = lv_changenr.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = xs_log IMPORTING e_log_handle = xs_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = gs_log_handle i_msgty = ic_info i_probclass = gc_probclass i_text = iv_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_PROFILE_STANDARD_GET CALL FUNCTION 'BAL_DSP_PROFILE_STANDARD_GET' IMPORTING e_s_display_profile = is_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = is_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_list_append = gc_x i_s_display_profile = is_display_profile.



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