OI_LJ1BR500 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 OI_LJ1BR500 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: Include OI_LJ1BR500
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
OIB_SD_GET_QUANTITY CALL FUNCTION 'OIB_SD_GET_QUANTITY' EXPORTING IF_VBTYP = 'J' IF_VBELN = GLOBAL_KOMP-VGBEL IF_POSNR = GLOBAL_KOMP-VGPOS IF_RQSUOM = P_UNIT IMPORTING EF_QNT_P = OIB2_QUANT EXCEPTIONS DOCUMENT_NOT_FOUND = 1 QUANTITY_NOT_AVAILABLE = 3 OTHERS = 5 .
OIH_J1B_IV_GET_REF_MSEG CALL FUNCTION 'OIH_J1B_IV_GET_REF_MSEG' EXPORTING BUZEI = BUZEI IMPORTING ES_ENHANCEMENT = LS_ISX_OIH_J1B_IV_GET_REF_MSEG EXCEPTIONS ISEXCEPTION_LINE_NOT_FOUND = 1 "IS2ERP OTHERS = 2.
OIB_MM_GET_QNT_FROM_MSEGO2_DB CALL FUNCTION 'OIB_MM_GET_QNT_FROM_MSEGO2_DB' EXPORTING I_MBLNR = OIH_MSEGO2-MBLNR I_MJAHR = OIH_MSEGO2-MJAHR I_MSEHI = P_UNIT I_ZEILE = OIH_MSEGO2-ZEILE IMPORTING E_QNT = M_QUANTITY EXCEPTIONS QUANTITY_NOT_FOUND = 4 OTHERS = 6.
OIB_SD_GET_QUANTITY CALL FUNCTION 'OIB_SD_GET_QUANTITY' EXPORTING If_VBTYP = 'J' If_VBELN = OIH_MSEG_LIPSO2-VBELN If_POSNR = OIH_MSEG_LIPSO2-POSNR If_RQSUOM = P_UNIT IMPORTING Ef_QNT_P = OIB2_QUANT EXCEPTIONS DOCUMENT_NOT_FOUND = 1 QUANTITY_NOT_AVAILABLE = 3 OTHERS = 5 .
OIH_J1B_CHECK_TXCOD_SH CALL FUNCTION 'OIH_J1B_CHECK_TXCOD_SH' EXPORTING I_LIKP = OIH_LIKP I_LIPS = OIH_LIPS I_KUWEV = OIH_KUWEV TABLES T_LIPS = OIH_XLIPS EXCEPTIONS NOT_VALID = 1 NO_PLANT = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.