SAP Reports / Programs

/SAPSLL/TSHD_ARCHIVE_WRITE SAP ABAP Report - Write Program for Tax Statement







/SAPSLL/TSHD_ARCHIVE_WRITE 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 /SAPSLL/TSHD_ARCHIVE_WRITE 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 /SAPSLL/TSHD_ARCHIVE_WRITE. "Basic submit
SUBMIT /SAPSLL/TSHD_ARCHIVE_WRITE AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/TSHD_ARCHIVE_WRITE 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_WRITST = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_SNAP = D .
Selection Text: P_PROT_O = D .
Selection Text: P_PROT = D .
Selection Text: P_DEST = D .
Selection Text: P_DELTST = D .
Selection Text: P_COMENT = D .
Selection Text: P_AR_ILM = D .
Selection Text: S_TSYEAR = Year
Selection Text: S_TSNMBR = Document Number
Selection Text: S_ERNAM = Created by
Selection Text: S_ERDAT = Created on
Selection Text: S_AENAM = Changed by
Selection Text: S_AEDAT = Changed on
Selection Text: P_DELETE = Simulation mode
Selection Text: P_ARCHIV = Create Archive
Selection Text: P_APPLOG = Save Application Log
Title: Write Program for Tax Statement
Text Symbol: T03 = Control Data of Application Log
Text Symbol: T02 = Control Data for Archiving Run
Text Symbol: T01 = Tax Statement Data GTS


INCLUDES used within this REPORT /SAPSLL/TSHD_ARCHIVE_WRITE

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_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = gv_archive_handle * STATISTICS_ONLY_PER_RUN = ' ' * STATISTICS_ONLY_PER_FILE = ' ' EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.

ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.

PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_output_immediately = gc_true.



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 /SAPSLL/TSHD_ARCHIVE_WRITE or its description.