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

ROIJATKV SAP ABAP Report - TSW Archiving of tickets - Display







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

O4TJ - Display archived tickets


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 ROIJATKV. "Basic submit
SUBMIT ROIJATKV AND RETURN. "Return to original report after report execution complete
SUBMIT ROIJATKV 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: SO_TKYR = Ticket year
Selection Text: SO_TKNUM = Ticket number
Selection Text: SO_TKMON = Ticket month
Selection Text: SO_NOMNR = Nomination number
Selection Text: SO_LOCID = Location ID
Selection Text: SO_CRNAM = Created by
Selection Text: SO_CRDAT = Created on
Selection Text: SO_CHNAM = Changed by
Selection Text: SO_CHDAT = Changed on
Title: TSW Archiving of tickets - Display
Text Symbol: 051 = Doc.cat.
Text Symbol: 050 = Item no.
Text Symbol: 049 = Doc.no.
Text Symbol: 048 = TCode
Text Symbol: 047 = MV Step
Text Symbol: 046 = MV Scenario
Text Symbol: 045 = Document flow
Text Symbol: 044 = Created on
Text Symbol: 043 = Created by
Text Symbol: 042 = Changed on
Text Symbol: 041 = Changed by
Text Symbol: 040 = NO TICKETS SELECTED ! Check selection criteria.
Text Symbol: 039 = Last saved RC
Text Symbol: 052 = Return code
Text Symbol: 053 = Delivery
Text Symbol: 054 = Reservation
Text Symbol: 055 = Shipping notification
Text Symbol: 056 = Purchase order
Text Symbol: 057 = Bulk Shipment
Text Symbol: 058 = Doc.name
Text Symbol: 059 = Processed
Text Symbol: 060 = Complete
Text Symbol: 061 = Ticket Actualization Process Completed
Text Symbol: 062 = Load Confirm,GR
Text Symbol: 063 = Load Conf.,Trnsfr
Text Symbol: 064 = Return/Rebrand
Text Symbol: 067 = Archive key
Text Symbol: 001 = Ticket





Text Symbol: 002 = Ticket No.
Text Symbol: 003 = Bulk Shipment Type
Text Symbol: 004 = Transport system
Text Symbol: 005 = Transport PlanPt
Text Symbol: 006 = Location
Text Symbol: 007 = Nomination
Text Symbol: 008 = Material
Text Symbol: 009 = Nom. Item
Text Symbol: 010 = Ticket Mon Yr Location Nomination Item MVS Carrier Material Qty Uom Enddate
Text Symbol: 011 = Ext.Ticket no.
Text Symbol: 012 = Nom. ItemType
Text Symbol: 013 = Plant parameters
Text Symbol: 014 = Plant
Text Symbol: 015 = Sloc
Text Symbol: 016 = Batch
Text Symbol: 017 = Origin
Text Symbol: 018 = Destination
Text Symbol: 019 = Movement Partners
Text Symbol: 020 = Carrier
Text Symbol: 021 = Shipper
Text Symbol: 022 = Tankage
Text Symbol: 023 = Supplier
Text Symbol: 024 = Receiver
Text Symbol: 025 = Consignee
Text Symbol: 027 = Movement details
Text Symbol: 028 = Net Qty
Text Symbol: 029 = Gross Qty
Text Symbol: 030 = UOM
Text Symbol: 031 = Obs. gravity
Text Symbol: 032 = Obs. Temp.
Text Symbol: 033 = mTemp
Text Symbol: 034 = Start date
Text Symbol: 035 = End date
Text Symbol: 036 = Control
Text Symbol: 037 = Last saved status
Text Symbol: 038 = Last saved substatus


INCLUDES used within this REPORT ROIJATKV

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_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING OBJECT = G_OBJECT IMPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE EXCEPTIONS FILE_ALREADY_OPEN = 1 FILE_IO_ERROR = 2 INTERNAL_ERROR = 3 NO_FILES_AVAILABLE = 4 OBJECT_NOT_FOUND = 5 OPEN_ERROR = 6 NOT_AUTHORIZED = 7 OTHERS = 8.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE IMPORTING OBJECT_ID = G_OBJECT_ID ARCHIVE_NAME = G_ARKEY EXCEPTIONS END_OF_FILE = 1 FILE_IO_ERROR = 2 INTERNAL_ERROR = 3 OPEN_ERROR = 4 WRONG_ACCESS_TO_ARCHIVE = 5 OTHERS = 6.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE IMPORTING RECORD = ARC_BUFFER-SEGMENT RECORD_STRUCTURE = ARC_BUFFER-RNAME EXCEPTIONS END_OF_OBJECT = 1 INTERNAL_ERROR = 2 WRONG_ACCESS_TO_ARCHIVE = 3 OTHERS = 4.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE IMPORTING RECORD = ARC_BUFFER-SEGMENT RECORD_STRUCTURE = ARC_BUFFER-RNAME EXCEPTIONS END_OF_OBJECT = 1 INTERNAL_ERROR = 2 WRONG_ACCESS_TO_ARCHIVE = 3 OTHERS = 4.

TEXT_SELECT_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_SELECT_ARCHIVE_OBJECT' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE TABLES SELECTIONS = G_HEADER_TAB.

TEXT_READ_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_READ_ARCHIVE_OBJECT' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE ID = G_HEADER_TAB-TDID LANGUAGE = G_HEADER_TAB-TDSPRAS NAME = G_HEADER_TAB-TDNAME OBJECT = G_HEADER_TAB-TDOBJECT TABLES LINES = G_LINES_TAB.

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING * ARCHIVE_DOCUMENT = P_DOCU ARCHIVE_NAME = G_ARKEY_TAB-ARKEY OBJECT = G_OBJECT IMPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE EXCEPTIONS FILE_ALREADY_OPEN = 1 FILE_IO_ERROR = 2 INTERNAL_ERROR = 3 NO_FILES_AVAILABLE = 4 OBJECT_NOT_FOUND = 5 OPEN_ERROR = 6 NOT_AUTHORIZED = 7 OTHERS = 8.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE IMPORTING OBJECT_ID = G_OBJECT_ID EXCEPTIONS END_OF_FILE = 1 FILE_IO_ERROR = 2 INTERNAL_ERROR = 3 OPEN_ERROR = 4 WRONG_ACCESS_TO_ARCHIVE = 5 OTHERS = 6.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE.



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