SAP Reports / Programs

J_1ITDSW SAP ABAP Report - Archiving of TDS Documents







J_1ITDSW 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 J_1ITDSW 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 J_1ITDSW. "Basic submit
SUBMIT J_1ITDSW AND RETURN. "Return to original report after report execution complete
SUBMIT J_1ITDSW 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_BUDAT = Posting date for Other TDS Txn
Selection Text: P_COMMEN = Comments
Selection Text: P_COMP = Company Code
Selection Text: P_CREATE = Create
Selection Text: P_PACKAG = Package
Selection Text: P_TESTMO = Delete in Testmode
Selection Text: P_TODT = Period of Certificates:
Title: Archiving of TDS Documents


INCLUDES used within this REPORT J_1ITDSW

No INCLUDES are used within this REPORT code!


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 OBJECT = G_OBJECT COMMENTS = P_COMMEN * DO_NOT_DELETE_DATA = ' ' IMPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE EXCEPTIONS INTERNAL_ERROR = 1 OBJECT_NOT_FOUND = 2 OPEN_ERROR = 3 NOT_AUTHORIZED = 4 OTHERS = 5.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE OBJECT_ID = OBJECTID.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE RECORD = J_1ICERTIF_TAB RECORD_STRUCTURE = 'J_1ICERTIF'.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'J_1ITDS' RECORD = J_1ITDS_TAB EXCEPTIONS INTERNAL_ERROR = 01.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE OBJECT_ID = OBJECTID.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE RECORD = J_1ITDS_OTHRTAB RECORD_STRUCTURE = 'J_1ITDS'.

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.



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