SAP Reports / Programs | Sales and Distribution | Master Data | Conditions(SD-MD-CM) SAP SD

SD_COND_ARCH_RELOAD SAP ABAP Report - ADK: Archiving Conditions: Delete Program







SD_COND_ARCH_RELOAD 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 SD_COND_ARCH_RELOAD 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 SD_COND_ARCH_RELOAD. "Basic submit
SUBMIT SD_COND_ARCH_RELOAD AND RETURN. "Return to original report after report execution complete
SUBMIT SD_COND_ARCH_RELOAD 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_DELPRD = D .
Selection Text: P_DELTST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Title: ADK: Archiving Conditions: Delete Program
Text Symbol: 001 = Document Reloaded
Text Symbol: 002 = &1 Documents Reloaded


INCLUDES used within this REPORT SD_COND_ARCH_RELOAD

INCLUDE ARCH_RELOAD_PRG_STANDARD2.


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

ARCHIVE_OPEN_FOR_MOVE CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING object = 'SD_COND' test_mode = p_reltst IMPORTING archive_read_handle = rhandle archive_write_handle = whandle EXCEPTIONS no_files_available = 01 open_error = 02.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = rhandle EXCEPTIONS end_of_file = 01.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = rhandle IMPORTING record_flags = l_flags record_structure = l_structure record_ref = l_record EXCEPTIONS end_of_object = 01.

ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = -knumh i_msgtype = '01' i_text = text-001.

ARCHIVE_RELOAD_OBJECT_DATA CALL FUNCTION 'ARCHIVE_RELOAD_OBJECT_DATA' EXPORTING archive_handle = rhandle EXCEPTIONS internal_error = 01 wrong_access_to_archive = 02.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = whandle.

PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_text = text-002 i_msgv1 = g_processed i_processed = g_processed i_output_immediately = 'X'.

ARCHIVE_PROTOCOL_WRITE_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE_APPL'.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = rhandle.

RV_TABLE_NAME_SET CALL FUNCTION 'RV_TABLE_NAME_SET' EXPORTING rt_kotabnr = gt_konh-kotabnr rt_kvewe = gt_konh-kvewe IMPORTING rt_kotab = l_kotab.

RV_TABLE_NAME_SET CALL FUNCTION 'RV_TABLE_NAME_SET' EXPORTING rt_kotabnr = gt_konh-kotabnr rt_kvewe = gt_konh-kvewe IMPORTING rt_kotab = l_kotab.

VAKEY_TABLE_CREATE CALL FUNCTION 'VAKEY_TABLE_CREATE' EXPORTING usage = gt_konh-kvewe table_number = gt_konh-kotabnr IMPORTING e_struc = lr_vakey_wa EXCEPTIONS OTHERS = 99.

VADAT_TABLE_CREATE CALL FUNCTION 'VADAT_TABLE_CREATE' EXPORTING usage = gt_konh-kvewe table_number = gt_konh-kotabnr IMPORTING e_struc = lr_vadat_wa e_not_charlike = lv_not_charlike EXCEPTIONS OTHERS = 99.

RV_TABLE_NAME_SET CALL FUNCTION 'RV_TABLE_NAME_SET' EXPORTING rt_kotabnr = gt_konh-kotabnr rt_kvewe = gt_konh-kvewe IMPORTING rt_kotab = l_kotab.

SD_SCALE_READ CALL FUNCTION 'SD_SCALE_READ' EXPORTING i_scaid = -scaid CHANGING c_scale = ls_scale EXCEPTIONS scale_not_found = 1 OTHERS = 2.

SD_MD_SCALE_BASE_PARAMETER_GET CALL FUNCTION 'SD_MD_SCALE_BASE_PARAMETER_GET' EXPORTING i_kappl = 'F' CHANGING c_scb_tab = lt_tvfscb.



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