SAP Reports / Programs | Cross-Application Components | Joint Venture und Production Sharing Accounting(CA-JVA) SAP CA

ARC04F01 SAP ABAP INCLUDE - Include with FORM Routines for RGUARCMM.







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


Text pool values


Title: Include with FORM Routines for RGUARCMM.


INCLUDES used within this REPORT ARC04F01

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:

ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING CALL_DELETE_JOB_IN_TEST_MODE = L_DELETE_IN_TEST CREATE_ARCHIVE_FILE = L_CREATE_FILE OBJECT = C_ARCHIVE_OBJECT IMPORTING ARCHIVE_HANDLE = FL_HANDLE.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = FV_HANDLE. "685157

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

G_ADMI_AUTHORITY_CHECK CALL FUNCTION 'G_ADMI_AUTHORITY_CHECK' EXPORTING ACTIVITY = '03' EXCEPTIONS NOT_AUTHORIZED = 01.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = FV_HANDLE RECORD_FLAGS = LV_RECORD_FLAG RECORD_STRUCTURE = FV_TABNAME TABLES TABLE = FT_TABLE_TO_PUT.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING ARCHIVE_HANDLE = FV_HANDLE IMPORTING ARCHIVE_DOCUMENT = FW_STATISTIC-DOCUMENT ARCHIVE_CREATION_RELEASE = FW_STATISTIC-AR_CR_REL ARCHIVE_CREATION_SYSTEM = FW_STATISTIC-AR_SYS OBJECT = FW_STATISTIC-OBJECT EXCEPTIONS OTHERS = 3.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING ARCHIVE_HANDLE = FV_HANDLE EXCEPTIONS INTERNAL_ERROR = 1 OTHERS = 2.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = FV_HANDLE.

POPUP_DISPLAY_TEXT_WITH_PARAMS CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' EXPORTING LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-P08 START_COLUMN = 10 START_ROW = 3 TEXT_OBJECT = LV_TEXT_OBJECT IMPORTING CANCELLED = LV_ANSWER TABLES PARAMETERS = LT_TEXT_PARAMS EXCEPTIONS ERROR_IN_TEXT = 1 TEXT_NOT_FOUND = 2 OTHERS = 3.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING ARCHIVE_HANDLE = FV_HANDLE RECORD_FLAGS = LV_RECORD_FLAG RECORD_STRUCTURE = FV_TABNAME RECORD = FW_STRUCTURE_TO_PUT.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = FV_HANDLE.

DB_COMMIT CALL FUNCTION 'DB_COMMIT' EXCEPTIONS OTHERS = 1.



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