SAP Reports / Programs | Trader's and Scheduler's Workbench | Industry Solution Oil | Trader's and Scheduler's Workbench(IS-OIL-DS-TSW) SAP IS

ROIJPL SAP ABAP Report - TSW: Requirements Planning Engine







ROIJPL 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 ROIJPL 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

O4TN - OIL-TSW: Planning engine


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 ROIJPL. "Basic submit
SUBMIT ROIJPL AND RETURN. "Return to original report after report execution complete
SUBMIT ROIJPL 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: S_TSYST = Transport system
Selection Text: S_MATNR = Material
Selection Text: S_LOCID = Location
Selection Text: G_TSTRUN = Safety Stock Calculation
Selection Text: G_TGTRUN = Target Stock Calculation
Title: TSW: Requirements Planning Engine
Text Symbol: 042 = Matnr
Text Symbol: 043 = Bommat
Text Symbol: 044 = Demand
Text Symbol: 045 = Source
Text Symbol: 046 = Supply Chain will be generated new
Text Symbol: 047 = Reading the supply chain...
Text Symbol: 048 = Planning ended for:
Text Symbol: 049 = Maximum inventory planning
Text Symbol: 050 = Target inventory planning
Text Symbol: 051 = Replacement inventory planning
Text Symbol: 052 = No planning
Text Symbol: 053 = Calendar active
Text Symbol: 054 = Calendar inactive
Text Symbol: 055 = Planning routine used:
Text Symbol: 056 = C A U T I O N
Text Symbol: 057 = Foreign lock for SPW object
Text Symbol: 058 = System failure while locking SPW object
Text Symbol: 059 = Planning proposals below may be wrong
Text Symbol: 060 = System failure while unlocking SPW object
Text Symbol: 062 = by user
Text Symbol: 063 = Changes of product version detected
Text Symbol: 064 = Calculated safety stock
Text Symbol: 065 = Calculated target stock
Text Symbol: 066 = Safety stock routine used
Text Symbol: 067 = Target stock routine used
Text Symbol: 068 = Planning Type
Text Symbol: 069 = Calendar Flag
Text Symbol: 070 = Error Message
Text Symbol: 071 = Safety Stock Calculation:
Text Symbol: 072 = Target Stock Calculation:
Text Symbol: 099 = Unknown error occured while calling
Text Symbol: 001 = Planning objects





Text Symbol: 002 = Read of DB-Table OIJX failed - Control record not found
Text Symbol: 003 = OIJ_GET_CONTROL_RECORD
Text Symbol: 004 = No entries found in OIJLOCMAT and OIJTSMAT
Text Symbol: 005 = OIJP_INIT_SUPPL_CHAIN_TABLE
Text Symbol: 006 = No entries found for Planning Sequence table
Text Symbol: 007 = Circle detected in planning sequence
Text Symbol: 008 = OIJP_BUILD_SUPPL_CHAIN
Text Symbol: 009 = Insert in table OIJPLSEQ failed
Text Symbol: 010 = Delete of table OIJPLSEQ failed
Text Symbol: 011 = OIJP_UPDATE_OIJPLSEQ
Text Symbol: 012 = Update of Table OIJX failed
Text Symbol: 013 = OIJP_UPDATE_OIJX_PLANNING_FLAG
Text Symbol: 014 = Table OIJPLSEQ (Planning Sequence) is empty
Text Symbol: 015 = OIJP_BUFFER_OIJPLSEQ
Text Symbol: 016 = Planning table is empty for given selection
Text Symbol: 017 = No location demand object found for planning
Text Symbol: 018 = OIJP_BUFFER_OIJLOCMAT_PLAN_USD
Text Symbol: 019 = No transport system demand object found for planning
Text Symbol: 020 = OIJP_BUFFER_OIJTSMAT_PLAN_USD
Text Symbol: 021 = Determination of planning function to be called failed
Text Symbol: 022 = OIJP_DETERMINE_PLANNING_FUNC
Text Symbol: 023 = Determination of necessary planning calendar failed
Text Symbol: 024 = OIJP_GET_PLANNING_CALENDAR
Text Symbol: 025 = No additional calendar entries have been calculated
Text Symbol: 026 = OIJP_CALC_ADDITIONAL_CALENTR
Text Symbol: 027 = Update of table OIJPLCAL failed
Text Symbol: 028 = Table with new Calendar entries is empty
Text Symbol: 029 = OIJP_UPDATE_OIJPLCAL
Text Symbol: 030 = OIJP_FILL_PLANNING_TABLE
Text Symbol: 031 = Processing options
Text Symbol: 032 = OIJP_UPDATE_SOURCE
Text Symbol: 033 = OIJP_UPDATE_RUNDOWN
Text Symbol: 035 = Unable to calculate / update safety stock
Text Symbol: 036 = Unable to calculate / update target stock
Text Symbol: 040 = Planning run was successful
Text Symbol: 041 = Planning started for:


INCLUDES used within this REPORT ROIJPL

INCLUDE OIJRAUDD.
INCLUDE ROIJPL_F01_ALV.


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_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = SY-REPID I_CALLBACK_USER_COMMAND = 'USER_COMMAND' IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = LT_FIELDCAT IT_EVENTS = LT_EVENTS IS_PRINT = LS_PRINT TABLES T_OUTTAB = GT_OUTTAB_SAFETY EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = SY-REPID I_STRUCTURE_NAME = IC_STRUC I_INCLNAME = SY-REPID 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 = CT_EVENTS.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = SY-REPID I_CALLBACK_USER_COMMAND = 'USER_COMMAND' IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = LT_FIELDCAT IT_EVENTS = LT_EVENTS IS_PRINT = LS_PRINT TABLES T_OUTTAB = GT_OUTTAB_TARGET EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = CT_EVENTS.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = SY-REPID I_CALLBACK_USER_COMMAND = 'USER_COMMAND' IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = LT_FIELDCAT IT_EVENTS = LT_EVENTS IS_PRINT = LS_PRINT I_SUPPRESS_EMPTY_DATA = GC_X TABLES T_OUTTAB = GT_OUTTAB EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = SY-REPID I_STRUCTURE_NAME = IC_STRUC CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.



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