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

VACWRF01 SAP ABAP INCLUDE - Form Routines for RGJVACWR







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


Text pool values


Title: Form Routines for RGJVACWR


INCLUDES used within this REPORT VACWRF01

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 = L_ARCH_OBJ IMPORTING ARCHIVE_HANDLE = FL_HANDLE.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = FV_HANDLE OBJECT_ID = FV_OLD_OBJECT_ID.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = FV_HANDLE OBJECT_ID = LV_CURRENT_OBJECT_ID.

GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING LANGU = SY-LANGU TABNAME = LV_JVKONV TABLES FIELDTAB = LT_DFIES EXCEPTIONS INTERNAL_ERROR = 1 NO_TEXTS_FOUND = 2 TABLE_HAS_NO_FIELDS = 3 TABLE_NOT_ACTIV = 4 OTHERS = 5.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING ARCHIVE_HANDLE = FV_HANDLE RECORD = FW_JVACPR_OBJECT RECORD_FLAGS = LV_RECORD_FLAG RECORD_STRUCTURE = LV_STRCUTURE_JVACPR_OBJECT.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = FV_HANDLE RECORD_FLAGS = LV_RECORD_FLAG RECORD_STRUCTURE = FV_TABLENAME TABLES TABLE = FLT_JVKONV.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = FV_HANDLE.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING ARCHIVE_HANDLE = FV_HANDLE IMPORTING 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.

JV_AUTHORITY_CHECK_PROCESS CALL FUNCTION 'JV_AUTHORITY_CHECK_PROCESS' EXPORTING PROCESS_CODE = 'ARCHIVE' ACTIVITY = '16' BUKRS = '0000' EXCEPTIONS NO_AUTHORITY = 1 PROCESS_NOT_EXIST = 2 OTHERS = 3 .

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = FV_HANDLE OBJECT_ID = FLT_BKPF_KEY_SPLIT.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = FV_HANDLE OBJECT_ID = FV_OLD_OBJECT_ID.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = FV_HANDLE OBJECT_ID = LV_CURRENT_OBJECT_ID.

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.



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