SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Basic Functions(FI-SL-SL) SAP FI

ARCSLF01S SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT ARCSLF01S

No INCLUDES are used within this REPORT code!


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:

G_ADMI_AUTHORITY_CHECK CALL FUNCTION 'G_ADMI_AUTHORITY_CHECK' EXPORTING activity = '03' EXCEPTIONS not_authorized = 01.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE'"zum übergebenen Buchungskreis EXPORTING "das heute (weil sy-datum i_budat = sy-datum "angegeben wird) aktuelle i_bukrs = lt_t001-bukrs "Geschäftsjahr holen IMPORTING e_gjahr = lv_valid_gjahr.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING fieldname = 'RACCT' table = lw_t881-tab EXCEPTIONS not_found = 1 OTHERS = 2.

ARCHIVE_PROTOCOL_INIT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT_APPL' EXPORTING i_detailprotocol = fp_prot.

PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_msgid = 'GX' i_msgno = '081' i_msgv1 = lv_records_read i_msgv2 = lw_arch_run_info-lines_archived i_output_immediately = gc_set.

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.

ARCHIVE_PROTOCOL_WRITE_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE_APPL'.

ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = lv_delete_in_test create_archive_file = lv_create_file object = gc_archive_object comments = fp_coment output_sel_screen_when_dialog = space IMPORTING archive_handle = fv_handle.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_object i_msgtype = 2 i_text = 'Zum Konto existieren noch Einzelposten. Archivieren Sie diese zuerst'(006).

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING fieldname = fv_fieldname table = fv_table EXCEPTIONS not_found = 1.

PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_msgid = 'GX' i_msgno = '081' i_msgv1 = lv_records_read i_msgv2 = fw_arch_run_info-lines_archived IMPORTING e_progress_sent = lv_progress_sent.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_msgid = 'GX' i_msgno = '081' i_msgv1 = lv_records_read i_msgv2 = fw_arch_run_info-lines_archived IMPORTING e_progress_sent = lv_progress_sent.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_msgid = 'GX' i_msgno = '081' i_msgv1 = lv_records_read i_msgv2 = fw_arch_run_info-lines_archived IMPORTING e_progress_sent = lv_progress_sent.

ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = lv_string i_msgtype = 2 i_text = 'Beleg nicht archiviert. &1 &2'(001)

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = fv_handle.

ARCHIVE_PUT_TABLE





CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = fv_handle record_structure = 'GLU1' TABLES table = lt_glu1.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = fv_handle record_flags = fv_record_flags record_structure = fw_table_info-table TABLES table = ft_data.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = fv_handle EXCEPTIONS termination_requested = 1.

ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = lv_string1 i_msgtype = 1 i_text = lv_string2.

RW_TAB_CKEY_GET CALL FUNCTION 'RW_TAB_CKEY_GET' EXPORTING i_tabname = fw_table_info-table i_client_in_ckey = lc_not_set TABLES t_ctable = lt_data_c "Achtung Änderungen möglich!..

TEXT_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_ARCHIVE_OBJECT' EXPORTING archive_handle = fv_handle id = '*' "ALL language = '*' "ALL name = lw_c_string_70 object = lc_object_glpltext.

G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING i_rldnr = fw_org_unit-rldnr "1) i_orgunit = lv_org_unit IMPORTING organizational_info = lw_org_info.



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