SAP Reports / Programs | Financial Accounting | Asset Accounting | Information System(FI-AA-IS) SAP FI

DBADAF20 SAP ABAP INCLUDE - Check routine for LDB ADA







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


Text pool values


Title: Check routine for LDB ADA


INCLUDES used within this REPORT DBADAF20

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:

AM_SUBSTITUTION_ANLB_ANLBZA CALL FUNCTION 'AM_SUBSTITUTION_ANLB_ANLBZA' EXPORTING i_substid = t090x-substid i_t090x = t090x IMPORTING l_anla_err = ld_anla_err TABLES u_anlb = lt_anlb u_anlbza = lt_anlbza t_subst = xsubst CHANGING u_anlav = ld_anlav.

CURRENCY_CONVERT CALL FUNCTION 'CURRENCY_CONVERT' EXPORTING i_value = u_fbtr i_afaber = v_afaber i_t091c = v_t091c i_t093b = v_t093b i_anlav = v_anlav i_date = v_datum IMPORTING E_VALUE = u_fbtr.

CONVERT_TO_FOREIGN_CURRENCY * CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' * EXPORTING * DATE = LD_UMRDAT * FOREIGN_CURRENCY = V_T091C-WAERS * LOCAL_AMOUNT = V_BTR * LOCAL_CURRENCY = V_T093B-WAERS * TYPE_OF_RATE = V_T091C-KURST * IMPORTING * FOREIGN_AMOUNT = U_FBTR * EXCEPTIONS * OTHERS = 08.

FI_DOCUMENT_NUMBER_GET CALL FUNCTION 'FI_DOCUMENT_NUMBER_GET' TABLES T_ACCDN = XACCDN.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'CA_WRITE_LOG' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

CA_USER_EXISTS CALL FUNCTION 'CA_USER_EXISTS' "#EC * EXPORTING i_user = ld_uname EXCEPTIONS OTHERS = 4.

CA_WRITE_LOG CALL FUNCTION 'CA_WRITE_LOG' "#EC * EXPORTING i_program = ld_progid EXCEPTIONS write_error = 1 OTHERS = 2.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'SCMA_JOB_STARTED_FROM_SCMA' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = ld_progid tables selection_table = lt_rsparams EXCEPTIONS NOT_FOUND = 1 NO_REPORT = 2 OTHERS = 3.

SCMA_JOB_STARTED_FROM_SCMA CALL FUNCTION 'SCMA_JOB_STARTED_FROM_SCMA' "#EC * EXPORTING BEFORE_INIT = 'X' WF_WITEM = GD_WF_WITEM "no 574107 IMPORTING E_SCMA = ld_scma.

RS_REFRESH_FROM_SELECTOPTIONS * CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' * EXPORTING * curr_report = ld_progid * tables * selection_table = lt_rsparams * EXCEPTIONS * NOT_FOUND = 1 * NO_REPORT = 2 * OTHERS = 3.

T093C_READ CALL FUNCTION 'T093C_READ' EXPORTING I_BUKRS = ls_t093c-bukrs F_T093C = ls_t093c IMPORTING F_T093C = ls_t093c EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = BERDATUM i_periv = ls_t093c-periv IMPORTING E_BUPER = ls_spec-from_p E_GJAHR = ls_spec-gjahr EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.

KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING ls_detail = ls_detail LS_WITEM = ls_witem ls_appl = ls_spec IMPORTING ls_key = ls_key TABLES lt_selkrit = lt_select.

KPEP_MONI_CLOSE_RECORD CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING ls_key = ls_key ls_message = ls_message "<0809226 ls_scma_event = l_scma_event CHANGING ld_aplstat = ld_aplstat EXCEPTIONS NO_ID_GIVEN = 1 OTHERS = 2.



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