/SAPSLL/PRODUCT_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/PRODUCT_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!
ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = &2 * RECORD_FLAGS = ' ' record_structure = gc_archive_tabname-&1 tables table = lt_&1 * RECORD_FLAGS_TABLE = exceptions internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 others = 4.
/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.
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 = .
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = iv_deltst create_archive_file = iv_wriprd object = gc_archobj_product comments = iv_coment output_sel_screen_when_dialog = ' ' IMPORTING archive_handle = cv_archive_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 OTHERS = 5.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-a03 i_processed = lv_count i_total = gv_total i_output_immediately = gc_true.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = iv_archive_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_object_id i_msgtype = 1 i_msgid = '/SAPSLL/CORE_PRODUCT' i_msgno = '664' i_msgv1 = ls_pntpr-prvsy i_msgv2 = ls_pntpr-grvsy EXCEPTIONS protocol_not_yet_initialized = 1 OTHERS = 2.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = iv_archive_handle EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 OTHERS = 6.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = iv_archive_handle record = is_pntpr record_structure = gc_archive_tabname-pntpr EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = iv_archive_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = iv_archive_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = iv_archive_handle * RECORD_FLAGS = ' ' record_structure = gc_archive_tabname-corsta TABLES table = lt_corsta EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = iv_archive_handle * RECORD_FLAGS = ' ' record_structure = gc_archive_tabname-corctz TABLES table = lt_corctz EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
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/PRODUCT_ARCHIVE_FOR - /SAPSLL/PRODUCTARCHIVEFOR /SAPSLL/PRODUCT_ARCHIVE_DISPL - Display Archived Products /SAPSLL/PRODUCT_ARCHIVE_DISPL - Display Archived Products /SAPSLL/PRODUCT_ARCHIVE_DELETE - Archive Valuation Part of Product Master: Delete Program /SAPSLL/PRODUCT_ARCHIVE_DELETE - Archive Valuation Part of Product Master: Delete Program /SAPSLL/PRODUCT_ARCHIVE_COM - /SAPSLL/PRODUCTARCHIVECOM