RIINV00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for If the physical inventory data of a serial number, which was defined in the inventory, deviate from the system inventory data of the serial number (for example, different storage location or different plant), then inventory differences cannot be posted (see also Example)...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 RIINV00 into the relevant SAP transactions such as SE38 or SE80
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: SO_CHARG = D Batch
Selection Text: SO_IBLNR = D Physical Inventory Document
Selection Text: SO_INVNU = D Physical Inventory Number
Selection Text: SO_LGORT = D Storage Location
Selection Text: SO_MATNR = D Material
Selection Text: SO_SOBKZ = D Special Stock
Selection Text: SO_WERKS = D Plant
Title: INVENTORY_PROBLEM_RECOGNIZE
Text Symbol: 001 = Selections
Text Symbol: 002 = Stock Type
INCLUDE RIINV00_TOP.
No SAP DATABASE tables are accessed within this REPORT code!
SERIAL_PROFILE_READ CALL FUNCTION 'SERIAL_PROFILE_READ' EXPORTING profile_r = wa_marc-sernp operation_r = 'MMSL' IMPORTING t_377p = wa_t377p t_377 = wa_t377
EXCEPTIONS no_t377p_entry = 1 no_t377_entry = 2 OTHERS = 3.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = ls_mara_schluessel TABLES seqmat01 = lt_xcharg.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = ito0c_table-t156c TABLES dfies_tab = lt_l_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING is_layout = gt_itab_layout it_fieldcat = lt_fieldcat i_tabname_header = 'GT_YISEG2' i_tabname_item = 'gt_ikpf_equi_eqbs' is_keyinfo = ls_keyinfo TABLES t_outtab_header = gt_yiseg2 t_outtab_item = gt_ikpf_equi_eqbs EXCEPTIONS program_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.