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

ROIJATKNW SAP ABAP Report - Program ROIJATKNW







ROIJATKNW 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 ROIJATKNW into the relevant SAP transactions such as SE38 or SE80


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 ROIJATKNW. "Basic submit
SUBMIT ROIJATKNW AND RETURN. "Return to original report after report execution complete
SUBMIT ROIJATKNW 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: P_VERS = Ticket Version
Selection Text: P_TKTNR = Ticket Number
Selection Text: P_TESTMO = Delete in test mode
Selection Text: P_PURP = Ticket Purpose
Selection Text: P_NOMNR = Nomination no.
Selection Text: P_LOCID = Location ID
Selection Text: P_CREATE = Generate archive file
Selection Text: P_COMM = Text
Title: Program ROIJATKNW
Text Symbol: 026 = Create archive
Text Symbol: 025 = Testmode
Text Symbol: 024 = Nomination No
Text Symbol: 023 = Ticket Purpose
Text Symbol: 022 = Ticket Version
Text Symbol: 021 = Location ID
Text Symbol: 020 = Ticket Number
Text Symbol: 019 = Selection Parameters
Text Symbol: 018 = & ticket(s) could not be archived
Text Symbol: 017 = Ticket & not archived(customer add-in)
Text Symbol: 016 = Retention time not specified for tickets in customizing
Text Symbol: 015 = Ticket & retention time not reached
Text Symbol: 014 = Ticket & not processed completely
Text Symbol: 013 = Ticket & not archived because of errors in previous tickets
Text Symbol: 012 = Nomination(s) are open for ticket &, no archiving possible
Text Symbol: 011 = No tickets found for archiving
Text Symbol: 010 = Archiving Options
Text Symbol: 009 = Ticket Delete Indicator
Text Symbol: 008 = Ticket Blocking Indicator
Text Symbol: 007 = Ticket Status
Text Symbol: 006 = Transport System
Text Symbol: 005 = Date & time to
Text Symbol: 004 = Date & time from
Text Symbol: 003 = Material Movements
Text Symbol: 002 = Partner Data
Text Symbol: 001 = Nomination Details


INCLUDES used within this REPORT ROIJATKNW

INCLUDE: ROIJAALI,
ROIJATKI.


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:

ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = p_testmo create_archive_file = p_create comments = p_comm object = g_object IMPORTING archive_handle = g_archive_handle.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = g_archive_handle object_id = tkt_obj_key.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = g_archive_handle record = gs_el_ticket_h record_structure = c_oij_el_ticket_h.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = g_archive_handle.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = g_archive_handle.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = g_archive_handle.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = g_archive_handle record_structure = pis_struc TABLES table = pt_itab.

OIJNOMH_SINGLE_READ CALL FUNCTION 'OIJNOMH_SINGLE_READ' EXPORTING iv_nomtk = gs_el_ticket_i-nomtk IMPORTING es_oijnomh = ls_oijnomh EXCEPTIONS record_not_found = 0 OTHERS = 0.

OIJ_GET_TEXTID CALL FUNCTION 'OIJ_GET_TEXTID' EXPORTING iv_tdobject = C_TKT_H_TEXT TABLES t_ttxit = lt_ttxit.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING client = sy-mandt language = '*' "sy-langu TABLES selections = lt_text_header t_object = lt_tdobject t_name = lt_name t_id = lt_tdid EXCEPTIONS wrong_access_to_archive = 0 OTHERS = 0.

TEXT_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_ARCHIVE_OBJECT' EXPORTING archive_handle = g_archive_handle id = ls_text_header-tdid language = ls_text_header-tdspras name = ls_text_header-tdname object = ls_text_header-tdobject object_delete_flag = 'X'.

OIJ_GET_TEXTID CALL FUNCTION 'OIJ_GET_TEXTID' EXPORTING iv_tdobject = c_tkt_text TABLES t_ttxit = lt_ttxit.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING client = sy-mandt language = sy-langu TABLES selections = lt_text_header t_object = lt_tdobject t_name = lt_name t_id = lt_tdid EXCEPTIONS wrong_access_to_archive = 0 OTHERS = 0.

TEXT_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_ARCHIVE_OBJECT' EXPORTING archive_handle = g_archive_handle id = ls_text_header-tdid language = ls_text_header-tdspras name = ls_text_header-tdname object = ls_text_header-tdobject object_delete_flag = 'X'.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING client = sy-mandt language = sy-langu TABLES selections = lt_text_header t_object = lt_tdobject t_name = lt_name t_id = lt_tdid EXCEPTIONS wrong_access_to_archive = 0 OTHERS = 0.

TEXT_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_ARCHIVE_OBJECT' EXPORTING archive_handle = g_archive_handle id = ls_text_header-tdid language = ls_text_header-tdspras name = ls_text_header-tdname object = ls_text_header-tdobject object_delete_flag = 'X'.



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