RWTYARCH04 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 RWTYARCH04 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
WTY_ARCHIV - Display Archived Warranty Claim
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.
Archived Warranty Claims
Selection Text: CLMNO = Claim
Selection Text: REFNO = D External Number
Selection Text: RELOBEXT = D External Object Number
Selection Text: RELTY = D Object Type
Selection Text: SERNO = D Serial Number
Title: Display Archived Warranty Claims
Text Symbol: 001 = Text in Language:
INCLUDE WTYARCHTOP.
No SAP DATABASE tables are accessed within this REPORT code!
CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = clmno IMPORTING output = clmno.
CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = relobext IMPORTING output = lv_equnr.
ARCHIVE_READ_OBJECT CALL FUNCTION 'ARCHIVE_READ_OBJECT' EXPORTING object = 'WTY_CLAIM' * object_id = ls_arch_idx-obj_id archivkey = ls_arch_idx-archivekey offset = ls_arch_idx-obj_offset IMPORTING archive_handle = handle EXCEPTIONS no_record_found = 1 OTHERS = 2.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = handle IMPORTING record_structure = record_type record_ref = buffer_ref " Unicode EXCEPTIONS end_of_object = 01 OTHERS = 02.
TEXT_ARCHIVE_GET_TABLE CALL FUNCTION 'TEXT_ARCHIVE_GET_TABLE' EXPORTING archive_handle = handle record_structure = 'THEAD' TABLES t_data = lt_head EXCEPTIONS invalid_structure = 1 OTHERS = 2.
TEXT_READ_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_READ_ARCHIVE_OBJECT' EXPORTING archive_handle = handle id = 'PNH' language = ls_head-tdspras name = lv_txname object = 'WTY' client = sy-mandt IMPORTING header = gs_txt_header TABLES lines = gt_txt_lines EXCEPTIONS not_found = 1 wrong_access_to_archive = 2 OTHERS = 3.
CHANGEDOCU_READ_ARCHIVE_OBJECT CALL FUNCTION 'CHANGEDOCU_READ_ARCHIVE_OBJECT' EXPORTING archive_handle = handle client = sy-mandt TABLES icdhdr = gt_cdhdr icdpos = gt_cdpos EXCEPTIONS wrong_access_to_archive = 1 OTHERS = 2.
TEXT_READ_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_READ_ARCHIVE_OBJECT' EXPORTING archive_handle = handle id = 'PV' language = ls_head-tdspras name = lv_txname object = 'WTY' client = sy-mandt IMPORTING header = gs_txt_header TABLES lines = gt_txt_lines EXCEPTIONS not_found = 1 wrong_access_to_archive = 2 OTHERS = 3.
TEXT_READ_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_READ_ARCHIVE_OBJECT' EXPORTING archive_handle = handle id = 'PNV' language = ls_head-tdspras name = lv_txname object = 'WTY' client = sy-mandt IMPORTING header = gs_txt_header TABLES lines = gt_txt_lines EXCEPTIONS not_found = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle.
WTY22_SHOW_ARCH_CLAIM CALL FUNCTION 'WTY22_SHOW_ARCH_CLAIM' EXPORTING it_text = gt_text it_partner = gt_partner[] TABLES it_pnwtyh_arch = gt_pnwtyh_arch it_pnwtyv_arch = gt_pnwtyv_arch it_pvwty_arch = gt_pvwty_arch it_konv = gt_konv it_nast = gt_nast it_rclobj = gt_rclobj it_rclhst = gt_rclhst it_cdhdr = gt_cdhdr it_cdpos = gt_cdpos it_imrg = gt_imrg.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RWTYARCH04 - Display Archived Warranty Claims RWTYARCH04 - Display Archived Warranty Claims RWTYARCH03 - Program for Reading Archives for Warranty Claims (Technical Display) RWTYARCH03 - Program for Reading Archives for Warranty Claims (Technical Display) RWTYARCH02 - Program for Deleting Warranty Claims with Index Structure Using ADK RWTYARCH02 - Program for Deleting Warranty Claims with Index Structure Using ADK