ROIJNP01 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 ROIJNP01 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: IS-OIL TSW: Print program for TSW Nomination SAPscripts
INCLUDE LOIJGTP1.
No SAP DATABASE tables are accessed within this REPORT code!
DOCUMENT_PRINT_ACTNOM * 1) Call function module 'IDOC_OUTPUT_ACTNOM' to create the IDoc * * 'OILNOM01' from the data of the nomination * * 2) Call function module 'DOCUMENT_PRINT_ACTNOM' to access the IDOC * * and print the data using the SAPScript-form OIJ_ACTION_NOMINATION * *----------------------------------------------------------------------*
REPORT ROIJNP01 MESSAGE-ID OD LINE-SIZE 85 NO STANDARD PAGE HEADING.IDOC_OUTPUT_ACTNOM CALL FUNCTION 'IDOC_OUTPUT_ACTNOM' EXPORTING OBJECT = NAST CONTROL_RECORD_IN = CONTROL_RECORD_IN IMPORTING CONTROL_RECORD_OUT = CONTROL_RECORD_OUT OBJECT_TYPE = OBJECT_TYPE TABLES INT_EDIDD = IDOC_DATA EXCEPTIONS ERROR_MESSAGE_RECEIVED = 04.
IDOC_OUTPUT_ACTNOM_PRINT * CALL FUNCTION 'IDOC_OUTPUT_ACTNOM_PRINT' * EXPORTING * OBJECT = NAST * CONTROL_RECORD_IN = CONTROL_RECORD_IN * IMPORTING * CONTROL_RECORD_OUT = CONTROL_RECORD_OUT * OBJECT_TYPE = OBJECT_TYPE * TABLES * INT_EDIDD = IDOC_DATA * EXCEPTIONS * ERROR_MESSAGE_RECEIVED = 04.
DOCUMENT_PRINT_ACTNOM CALL FUNCTION 'DOCUMENT_PRINT_ACTNOM' EXPORTING IDOC_CONTROL = CONTROL_RECORD_OUT PRINT_OPTIONS = ITCPO PROGRAM = TNAPR MSG_STATUS = NAST TABLES IDOC_DATA = IDOC_DATA EXCEPTIONS FORM_UNKNOWN = 01 FORM_ERROR = 02.
FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING IE_OUTPUTPARAMS = LV_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 = LV_PDFFNAME IMPORTING E_FUNCNAME = GS_FMNAME.
FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS USAGE_ERROR = 1 SYSTEM_ERROR = 2 INTERNAL_ERROR = 3 OTHERS = 4 .
ISO_TO_SAP_COUNTRY_CODE CALL FUNCTION 'ISO_TO_SAP_COUNTRY_CODE' EXPORTING ISO_CODE = ISO_COUNTRY_CODE IMPORTING SAP_CODE = SAP_LAND EXCEPTIONS NOT_FOUND = 1.
ISO_TO_SAP_COUNTRY_CODE CALL FUNCTION 'ISO_TO_SAP_COUNTRY_CODE' EXPORTING ISO_CODE = ISO_COUNTRY_CODE IMPORTING SAP_CODE = SAP_LAND EXCEPTIONS NOT_FOUND = 1.
IDOC_TO_TSW_LINE_ITEM_TYPE CALL FUNCTION 'IDOC_TO_TSW_LINE_ITEM_TYPE' EXPORTING IDOC_LINE_ITEM_TYPE = EDI_ITYP IMPORTING TSW_LINE_ITEM_TYPE = TSW_ITYPE EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
OIJ_TO_SAP_MEASURE_UNIT_CODE CALL FUNCTION 'OIJ_TO_SAP_MEASURE_UNIT_CODE' EXPORTING ISO_CODE = ISO_CODE IMPORTING SAP_CODE = SAP_CODE * unique = 0 EXCEPTIONS NOT_FOUND = 1.
OIJ_TO_SAP_MEASURE_UNIT_CODE CALL FUNCTION 'OIJ_TO_SAP_MEASURE_UNIT_CODE' EXPORTING ISO_CODE = ISO_CODE IMPORTING SAP_CODE = SAP_CODE EXCEPTIONS NOT_FOUND = 1.
CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = NOM_DATA-INT_NOM_NUM IMPORTING OUTPUT = NOM_DATA-INT_NOM_NUM.
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 ROIJNP01 or its description.
ROIJNP01 - IS-OIL TSW: Print program for TSW Nomination SAPscripts ROIJNP01 - IS-OIL TSW: Print program for TSW Nomination SAPscripts ROIJLOC_TREE - Planning location hierarchy tree ROIJLOC_TREE - Planning location hierarchy tree ROIJLOC_LISTTOP - Include ROIJLOC_LISTTOP ROIJLOC_LISTO01 - Include ROIJLOC_LISTO01