S3VBRKRL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Archiving billing documents in SD: Reload program Program for reloading archived billing documents into the database...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter S3VBRKRL 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.
Selection Text: DD_VBELN = Document selection
Selection Text: TESTLAUF = Test run
Title: Archiving billing documents: Reload program
INCLUDE ARCHCOMO.
INCLUDE S3VBRKTB.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_MOVE CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING OBJECT = 'SD_VBRK' TEST_MODE = TESTLAUF IMPORTING ARCHIVE_READ_HANDLE = HANDLE_READ ARCHIVE_WRITE_HANDLE = HANDLE_WRITE.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE IMPORTING ADK_VERSION = ADK_VERSION ARCHIVE_CREATION_RELEASE = ARCHIVE_CREATION_RELEASE EXCEPTIONS INTERNAL_ERROR = 1 WRONG_ACCESS_TO_ARCHIVE = 2 OTHERS = 3.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE_READ IMPORTING OBJECT_ID = ARC_OBJECT_ID EXCEPTIONS END_OF_FILE = 01.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = HANDLE_READ IMPORTING RECORD = ARC_BUFFER-SEGMENT RECORD_FLAGS = ARC_BUFFER-FLAGS RECORD_STRUCTURE = ARC_BUFFER-RNAME EXCEPTIONS END_OF_OBJECT = 01.
ARCHIVE_RELOAD_OBJECT_DATA CALL FUNCTION 'ARCHIVE_RELOAD_OBJECT_DATA' EXPORTING ARCHIVE_HANDLE = HANDLE_READ.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE_WRITE.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = HANDLE_READ.
RV_BILLING_INDEX_ADD CALL FUNCTION 'RV_BILLING_INDEX_ADD' TABLES FXVBRK = XVBRK FXVBRP = XVBRP FXVBPA = XVBPA FXVBUK = XVBUK FXVBUP = XVBUP FYVBUK = YVBUK FYVBUP = YVBUP.
RV_INVOICE_LIST_INDEX_ADD CALL FUNCTION 'RV_INVOICE_LIST_INDEX_ADD' TABLES ZXVBPA = XVBPA ZXVBRK = XVBRK ZXVBRL = XVBRL ZXVBUK = XVBUK ZYVBUK = YVBUK.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
S3VBRKRL - Archiving billing documents: Reload program S3VBRKRL - Archiving billing documents: Reload program S3VBRKPTS - Archiving billing documents: Analysis S3VBRKPTS - Archiving billing documents: Analysis S3VBRKPT - Archiving billing documents: Analysis S3VBRKPT - Archiving billing documents: Analysis