RP_HRCGB_NINFT_WRI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this program for the destruction of data using the archiving object
If you would like to execute this report or see the full code listing simply enter RP_HRCGB_NINFT_WRI into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: PROTOCOL = D .
Selection Text: P_COMENT = Comment/Note
Selection Text: P_RUNDES = Description
Selection Text: P_RUNID = ID Session of Preproc.Program
Selection Text: TESTRUN = D .
Title: Destroy: Write Program for GB Non-Infotype Table (HRCGBNINFT)
INCLUDE RP_DATA_DECLARE_GB_NINFT_WRI.
INCLUDE RP_PA_WRI_DATA.
INCLUDE HCMDP_PARC_RUNID.
INCLUDE HCMDP_ARCH_WRITE_PRG_STD.
INCLUDE RP_HCMDP_WRI_PROG_EVENTS.
INCLUDE HCMDP_PARCH_SEL_SCREEN_MOD.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = p_deltst create_archive_file = p_wriprd object = gc_arcobj comments = p_coment do_not_delete_data = lv_not_delete destroy = lv_destroy IMPORTING archive_handle = lv_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 archiving_standard_violation = 5 OTHERS = 6.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = lv_handle.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = lv_handle.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RP_HRCGB_NINFT_WRI - Destroy: Write Program for GB Non-Infotype Table (HRCGBNINFT) RP_HRCGB_NINFT_WRI - Destroy: Write Program for GB Non-Infotype Table (HRCGBNINFT) RP_HRCGB_NINFT_PRE - Destroy: Preprocessing Program for GB Non-Infotype Table (HRCGBNINFT) RP_HRCGB_NINFT_PRE - Destroy: Preprocessing Program for GB Non-Infotype Table (HRCGBNINFT) RP_HRCGB_NINFT_DEL - Destroy: Delete Program for GB Non-Infotype Table (HRCGBNINFT) RP_HRCGB_NINFT_DEL - Destroy: Delete Program for GB Non-Infotype Table (HRCGBNINFT)