SAP Reports / Programs

RWTYARCH04 SAP ABAP Report - Display Archived Warranty Claims







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


Transaction Code(s):

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

WTY_ARCHIV - Display Archived Warranty Claim


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 RWTYARCH04. "Basic submit
SUBMIT RWTYARCH04 AND RETURN. "Return to original report after report execution complete
SUBMIT RWTYARCH04 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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:


INCLUDES used within this REPORT RWTYARCH04

INCLUDE WTYARCHTOP.


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:

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.



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