/SAPSLL/PRPREF_ARCHIVE_FOR is a standard ABAP INCLUDE 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/PRPREF_ARCHIVE_FOR 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
/SAPSLL/AUTH_CHECK_LRG_SGL CALL FUNCTION '/SAPSLL/AUTH_CHECK_LRG_SGL' EXPORTING iv_autho = gc_authobj_pref iv_lgreg = ' ' iv_actvt = gc_activity * it_ac_actvt = * IV_LANGU = ' ' * IMPORTING * EV_AUTH_CHECK_OK = EXCEPTIONS no_activity_provided = 1 no_authority = 2 wrong_authority_object = 3 OTHERS = 4.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = iv_handle record = ls_pntpr * RECORD_FLAGS = ' ' record_structure = gc_archive_tabname-pntpr EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = iv_handle record = ls_prt * RECORD_FLAGS = ' ' record_structure = gc_archive_tabname-prt EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING * MODE_RSTABLE = 'E' tabname = iv_tabname * VARKEY = * X_TABNAME = ' ' * X_VARKEY = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
FIMA_DATE_CREATE CALL FUNCTION 'FIMA_DATE_CREATE' EXPORTING i_date = sy-datlo i_years = -1 i_days = -1 IMPORTING e_date = ev_date_arch.
/SAPSLL/TCOGVA_DB_RNG_READ CALL FUNCTION '/SAPSLL/TCOGVA_DB_RNG_READ' EXPORTING * IS_CRIT = * IV_FLAG_FILL_BUFFER = 'X' is_debug = gs_debug IMPORTING et_result = lt_tcogva EXCEPTIONS no_data = 1 open_sql_error = 2.
FIMA_DATE_CREATE CALL FUNCTION 'FIMA_DATE_CREATE' EXPORTING i_date = sy-datlo * I_FLG_END_OF_MONTH = ' ' i_years = -1 * I_MONTHS = 0 i_days = -1 * I_CALENDAR_DAYS = 0 * I_SET_LAST_DAY_OF_MONTH = ' ' IMPORTING e_date = lv_date * E_FLG_END_OF_MONTH = * E_DAYS_OF_I_DATE = .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/SAPSLL/PRPREF_ARCHIVE_FOR - /SAPSLL/PRPREFARCHIVEFOR /SAPSLL/PRPREF_ARCHIVE_DEL_PRG - /SAPSLL/PRPREFARCHIVEDELPRG /SAPSLL/PRPREF_ARCHIVE_DEL_PAR - /SAPSLL/PRPREFARCHIVEDELPAR /SAPSLL/PRPREF_ARCHIVE_DEL_INI - /SAPSLL/PRPREFARCHIVEDELINI /SAPSLL/PRPREF_ARCHIVE_DEL_FOR - /SAPSLL/PRPREFARCHIVEDELFOR /SAPSLL/PRPREF_ARCHIVE_DEL_ASS - /SAPSLL/PRPREFARCHIVEDELASS