SAP Reports / Programs

RLINV050 SAP ABAP Report - Carry Out Inventory Using the Cycle Counting Method







RLINV050 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With this report, you can create the proposed quants entered in the date interval for Cycle Counting Inventory, and a list of storage bins to be inventoried...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 RLINV050 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

LX26 - Inventory in WM via cycle counting


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 RLINV050. "Basic submit
SUBMIT RLINV050 AND RETURN. "Return to original report after report execution complete
SUBMIT RLINV050 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_UNAME = Name of counter
Selection Text: P_EDATU = Stock putaway as invent.date
Selection Text: PDATU = Count date
Selection Text: MATNR = Material
Selection Text: LIAKT = Activate inventory list
Selection Text: IRNUM = Group number
Selection Text: ANPLB = No. of bins per inv. record
Title: Carry Out Inventory Using the Cycle Counting Method
Text Symbol: 072 = Old PI Date
Text Symbol: 071 = New PI Date
Text Symbol: 067 = Several quants
Text Symbol: 066 = Later / block
Text Symbol: 065 = Quant Information:
Text Symbol: 064 = Empty bins
Text Symbol: 063 = Inventory active
Text Symbol: 062 = Bin Information:
Text Symbol: 061 = InventoryProposal
Text Symbol: 060 = Statistics
Text Symbol: 057 = List of selected storage types that are not set for CC
Text Symbol: 056 = Cat
Text Symbol: 055 = S
Text Symbol: 054 = New inven.
Text Symbol: 053 = Old inven.
Text Symbol: 052 = Comments
Text Symbol: 051 = Material
Text Symbol: 050 = Stor. bin
Text Symbol: 043 = overdue / blocked
Text Symbol: 042 = ready / blocked
Text Symbol: 041 = overdue
Text Symbol: 040 = scheduled
Text Symbol: 031 = to
Text Symbol: 030 = Inventory in period
Text Symbol: 010 = Program parameters
Text Symbol: 008 = Log
Text Symbol: 007 = Stor.type
Text Symbol: 006 = Whse number
Text Symbol: 005 = Bin blocked


INCLUDES used within this REPORT RLINV050

INCLUDE MLLVSKON.





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:

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.

L_MESSAGE_AUFBEREITEN CALL FUNCTION 'L_MESSAGE_AUFBEREITEN' EXPORTING i_mess = mess IMPORTING o_text = hlp_text.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = xv_log_handle i_msgty = mess-msgty i_text = hlp_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = xs_display_profile EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 0 no_authority = 4 OTHERS = 5.

BAL_LOG_MSG_DELETE_ALL CALL FUNCTION 'BAL_LOG_MSG_DELETE_ALL' EXPORTING i_log_handle = xv_log_handle EXCEPTIONS LOG_NOT_FOUND = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid i_grid_title = gv_title i_callback_pf_status_set = gc_set_pf_status is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save is_variant = gs_variant it_events = lt_events TABLES t_outtab = gt_output_invent EXCEPTIONS program_error = 1 OTHERS = 2.

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

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

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid i_grid_title = gv_title_log i_callback_pf_status_set = gc_set_pf_status_log i_callback_user_command = gc_at_user_command_log is_layout = ls_layout_log it_fieldcat = lt_fieldcat_log i_save = gc_save is_variant = gs_variant TABLES t_outtab = gt_output_log 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_t301t CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = xs_log IMPORTING e_log_handle = xv_log_handle EXCEPTIONS OTHERS = 1.

BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = xs_display_profile EXCEPTIONS OTHERS = 1.



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