Ansicht
Dokumentation
OIJU_RD_OUTPUT - Gives the (projected) inventory for a time period
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
This function module is used to calculate the projected inventory for a day in the past or future. The parameter I_DATE contains the day of the projected inventory. If I_RECALC is set to 'X' then the system calculates the Stock Projection Worksheet (SPW) for the SPW objects. If I_VAL_REQ is set to 'X' then the SPW objects are validated. If I_VAL_REQ is initial then the parameter I_RD_OBJECT should be passed.( This contains the type of SPW object , ie. LOC or PLANLOC or TSYST).
This function module returns 2 parameters.
a) E_ROIJBRD which has the planned and base inventories.
b) E_UOM which contains the unit of measure of these inventories.,,
Note: This function module will automatically generate SPW entries by running the engine if header records are not found for the SPW object.
Example
Notes
Further information
In the current version this function module supports only SPTYPE = "BASIC" . Also tanks are NOT supported in the current version. This also does not work planning locations for days in the past
Parameters
ET_ROIJBRDE_UOM
I_END_DATE
I_FROM_DATE
I_LGORT
I_PLANT
I_RD_OBJECT
I_RECALC
I_ROIJBRDH
I_TNKNR
I_VAL_REQ
RETURN
T_OIJBRDIB_TAB
T_OIJBRDRB_TAB
T_OIJRDHTPSET_TAB
T_OIJTHPUTFC
T_OIJTHPUTFCAVG
T_OIJTHPUTFCEST
T_OIJ_REPORT_QUAN_TAB
T_OIJ_SIM_SCHED_RD_TAB
T_ROIJRDNOMV
T_ROIJRDNOMV_ALL_TAB
Exceptions
ERROR_IN_FM_OIJU_RD_GET_OIJRDNERROR_IN_GETTING_LDSCHED_DATA
ERR_IN_FILLING_RUNDOWN_HEADER
ERR_IN_FILLING_RUNDOWN_TABLE
ERR_IN_INV_CALC
ERR_IN_RD_GENERATION
ERR_IN_RD_GET_OIJRDNOM
ERR_IN_READ_TABLE_OIJBRDIB
ERR_IN_READ_TABLE_OIJBRDRB
ERR_IN_READ_TABLE_OIJRDIB
ERR_IN_READ_TABLE_OIJRDRB
INVALID_BATCH
INVALID_INPUT
INVALID_LOCATION
INVALID_MATERIAL
INVALID_TANK
INVALID_TRANSPORT_SYSTEM
INVALID_VALUATION_TYPE
MATERIAL_NOT_ACT_FOR_TANK
NO_RUNDOWN_ENTRIES
OIJX_NOT_MAINTAINED
RAISEERROR_IN_GETTING_LDSCHED
RAISEINVALID_TANK
Function Group
OIJUABAP Short Reference BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 2429 Date: 20240605 Time: 233303 sap01-206 ( 99 ms )