SAP Reports / Programs

RLINV060 SAP ABAP Report - Execute Inventory with Cycle-Counting Method and by Quants







RLINV060 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 generate an inventory document for these...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 RLINV060 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

LICC - Cycle Counting per Quant


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 RLINV060. "Basic submit
SUBMIT RLINV060 AND RETURN. "Return to original report after report execution complete
SUBMIT RLINV060 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: SOBKZ = D Special Stock
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: LSONR = D Special Stock Number
Selection Text: LIAKT = Activate Inventory List
Selection Text: IRNUM = Reference Number
Selection Text: ANPLB = No. of Bins per Inv. Record
Title: Execute Inventory with Cycle-Counting Method and by Quants
Text Symbol: 077 = List of Selected Storage Types for Which CC Is Not Intended
Text Symbol: 076 = New Physical Inventory Date
Text Symbol: 075 = Old Physical Inventory Date
Text Symbol: 073 = Bin Information:
Text Symbol: 072 = :List Sorted By Material
Text Symbol: 070 = Physical Inventory After Cycle Counting in Warehouse Number
Text Symbol: 068 = Log: Create Quant Inventory Using CC Method
Text Symbol: 066 = Later / Block
Text Symbol: 065 = Quant Information:
Text Symbol: 064 = Empty Bins
Text Symbol: 063 = Inventory Active
Text Symbol: 062 = Total No. Bins
Text Symbol: 061 = InventoryProposal
Text Symbol: 058 = that are not planned for CC
Text Symbol: 057 = List of Selected Storage Types in the Warehouse:
Text Symbol: 056 = Cat
Text Symbol: 055 = Z
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: 020 = Inventory Data Will Be Read
Text Symbol: 010 = Program Parameter
Text Symbol: 008 = Log
Text Symbol: 006 = Whse Number


INCLUDES used within this REPORT RLINV060

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:

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = 0 text = text-020.

L_PLATZ_POSITION_MISCHEN call function 'L_PLATZ_POSITION_MISCHEN' exporting lgpla = lqua-lgpla plpos = lqua-plpos importing o_lgpla = tab-lgpla.

L_APP_LOG_CREATE call function 'L_APP_LOG_CREATE' exporting iv_extnr = lv_title iv_alusr = sy-uname "#EC DOM_EQUAL iv_alprg = lv_repid importing ev_hndle = lv_hndle.

L_PLATZ_POSITION_TRENNEN call function 'L_PLATZ_POSITION_TRENNEN' exporting lgnum = austab-lgnum lgtyp = austab-lgtyp lgpla = austab-lgpla importing o_lgpla = lt_lagp-lgpla o_plpos = lv_plpos exceptions not_found = 1 overflow = 2 others = 3.

BAL_DSP_LOG_DISPLAY call function 'BAL_DSP_LOG_DISPLAY' exceptions others = 1.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING I_LOG_HANDLE = lv_hndle.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.

L_INV_DOC_CREATE call function 'L_INV_DOC_CREATE' exporting iv_lgnum = iv_lgnum iv_lgtyp = iv_lgtyp iv_kzinv = kzinv_cc iv_irnum = irnum iv_liakt = liakt iv_uname = p_uname iv_pdatu = pdatu " note 640080 iv_anplb = anplb iv_hndle = iv_hndle tables it_lagp = ct_lagp it_lqua = ct_lqua et_linv = lt_linv.

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

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gc_struc i_inclname = g_repid 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 = g_repid i_callback_pf_status_set = gc_pf_status i_callback_user_command = gc_user_command i_grid_title = lv_title is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_eventtab TABLES t_outtab = austab EXCEPTIONS program_error = 1 OTHERS = 2.

L_PLATZ_POSITION_TRENNEN CALL FUNCTION 'L_PLATZ_POSITION_TRENNEN' EXPORTING lgnum = s1_lgnum lgtyp = austab-lgtyp lgpla = austab-lgpla IMPORTING o_lgpla = lv_lgpla o_plpos = lv_plpos EXCEPTIONS not_found = 1 overflow = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = gc_pf_status_2 i_callback_top_of_page = 'TOP_OF_PAGE2' i_grid_title = lv_title is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save TABLES t_outtab = gt_out_tab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gc_struc1 i_inclname = g_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3 .

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page2.



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