SAP Reports / Programs | Financial Accounting | Asset Accounting | Basic Functions(FI-AA-AA) SAP FI

DBADAF12 SAP ABAP INCLUDE - Archiving access within the logical database







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


Text pool values


Title: Archiving access within the logical database


INCLUDES used within this REPORT DBADAF12

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:

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' "#EC FB_OLDED EXPORTING DEFAULTOPTION = 'Y' DIAGNOSETEXT1 = TEXT-200 DIAGNOSETEXT2 = TEXT-201 * diagnosetext3 = text-204 "no 372445 TEXTLINE1 = TEXT-202 TEXTLINE2 = ' ' TITEL = TEXT-203 IMPORTING ANSWER = HLP_ANSWER.

ARCHIVE_ADMIN_SELECT_SESSIONS CALL FUNCTION 'ARCHIVE_ADMIN_SELECT_SESSIONS' EXPORTING runs_without_files = ' ' incorrect = con_x incomplete = con_x complete = con_x being_reloaded = con_x to_be_archived = con_x IMPORTING archive_runs = lt_archive_runs TABLES object = lr_object_range document = lr_document_range EXCEPTIONS OTHERS = 1.

AS_API_READ CALL FUNCTION 'AS_API_READ' EXPORTING i_fieldcat = 'SAP_FIAA_ABRA' i_selections = lt_selections i_maxrows = '1' IMPORTING e_result = lt_result EXCEPTIONS OTHERS = 4.

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING ARCHIVE_DOCUMENT = L_RUN object = 'AM_ASSET' IMPORTING archive_handle = archive_handle EXCEPTIONS error_message = 0.

FIAA_ARCHIVE_READ_STEUER CALL FUNCTION 'FIAA_ARCHIVE_READ_STEUER' EXPORTING I_HANDLE_ST = ARCHIVE_HANDLE "> 421818 I_BUKRS = T093C-BUKRS I_PERIV = HLP_PERIV I_GJAHR = HLP_JAHRREQ EXCEPTIONS OTHERS = 1.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = archive_handle.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = archive_handle.

FIAA_ARCHIVE_RESET_STEUER CALL FUNCTION 'FIAA_ARCHIVE_RESET_STEUER' 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 DBADAF12 or its description.