J_2ILAYO 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 J_2ILAYO 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 J_2ILAYO
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING * APPLICATION = 'TX' * ARCHIVE_INDEX = ' ' * ARCHIVE_PARAMS = ' ' DEVICE = 'PRINTER' DIALOG = P_DIALOG FORM = P_FORM LANGUAGE = SY-LANGU OPTIONS = ITCPO * importing * language = * new_archive_params = * result = EXCEPTIONS CANCELED = 1 DEVICE = 2 FORM = 3 OPTIONS = 4 UNCLOSED = 5 OTHERS = 6.
WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = P_ELEMENT FUNCTION = P_FUNCTION TYPE = P_TYP WINDOW = P_WINDOW EXCEPTIONS ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 OTHERS = 7.
CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' IMPORTING RESULT = ITCPP EXCEPTIONS UNOPENED = 1 OTHERS = 2.
GET_PLANT_DETAILS CALL FUNCTION 'GET_PLANT_DETAILS' EXPORTING I_WERKS = P_WERKS I_GET_ADDRESS = ON IMPORTING E_NAME = T001W-NAME1 E_ADDR1 = T001W-STRAS E_ADDR2 = J_2ICOMP-ADDRESS E_ADDR3 = T005U-BEZEI E_ADDR4 = T005T-LANDX EXCEPTIONS NOT_FOUND = 1 PARAMETER_ERROR = 2 OTHERS = 3.
GET_EXCISE_DETAILS CALL FUNCTION 'GET_EXCISE_DETAILS' EXPORTING I_WERKS = P_WERKS IMPORTING E_REGSET = J_1IREGSET EXCEPTIONS NOT_FOUND = 1 PARAMETER_ERROR = 2 OTHERS = 3.
END_FORM CALL FUNCTION 'END_FORM' * importing * result = EXCEPTIONS UNOPENED = 1 OTHERS = 2.
START_FORM CALL FUNCTION 'START_FORM' EXPORTING * ARCHIVE_INDEX = ' ' FORM = P_FORM * LANGUAGE = ' ' * STARTPAGE = ' ' * PROGRAM = ' ' * importing * language = EXCEPTIONS FORM = 1 FORMAT = 2 UNENDED = 3 UNOPENED = 4 UNUSED = 5 OTHERS = 6.
FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = gs_fp_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5.
FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = gv_fpname IMPORTING e_funcname = gv_fm_name.
FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.