FOIH2L01 is a standard ABAP INCLUDE 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 FOIH2L01 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.
Title: Forms for the lookup procedures for TDP-specific tables
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '006' I_VAR01 = co_oih01 I_VAR02 = l_hlptxt. "KH: former DISPLAY_OIH_STCT01.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '006' I_VAR01 = CO_OIH01 I_VAR02 = l_hlptxt.
IS_OIH01_SINGLE_READ CALL FUNCTION 'IS_OIH01_SINGLE_READ' EXPORTING I_BUKRS = OIH_STCT01-BUKRS I_WERKS = OIH_STCT01-WERKS I_TAXGRP = OIH_STCT01-TAXGRP I_HANTYP = OIH_STCT01-HANTYP I_DATUV = OIH_STCT01-DATUV i_datuv_option = 'GE' I_BYPASSING_BUFFER = space "try buffer / read DB + fill buffer ** I_PREFETCH_ALL = 'X' "1 prefetch if buffer empty IMPORTING E_OIH01 = OIH_STCTTP01 EXCEPTIONS OTHERS = 4. "RC used
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '007' I_VAR01 = CO_OIH2.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '007' I_VAR01 = co_OIH2T.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '029' I_VAR01 = co_OIH03.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '007' I_VAR01 = 'OIH4'.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '007' I_VAR01 = co_OIH4T.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '007' I_VAR01 = co_OIH5.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '007' I_VAR01 = co_OIH5T.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '006' I_VAR01 = co_OIH10 I_VAR02 = OIH_STCT10-BUKRS I_VAR03 = OIH_STCT10-WERKS I_VAR04 = OIH_STCT10-HANTYP.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '006' I_VAR01 = co_OIH11 I_VAR02 = OIH_STCT11-BUKRS I_VAR03 = OIH_STCT11-WERKS I_VAR04 = OIH_STCT11-AUART.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '007' I_VAR01 = co_OIH16.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '007' I_VAR01 = co_OI001.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'E' I_MSGNR = '007' I_VAR01 = co_OIH20T.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'I' I_MSGNR = '007' I_VAR01 = co_OIH6.
LFM1_SINGLE_READ CALL FUNCTION 'LFM1_SINGLE_READ' "use buffer function module EXPORTING I_LIFNR = LFM1_STCT-LIFNR I_EKORG = LFM1_STCT-EKORG IMPORTING O_LFM1 = lfm1 EXCEPTIONS OTHERS = 4. "RC used
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.