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

DBADAPAI SAP ABAP INCLUDE - PAI routines ADA







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


Text pool values


Title: PAI routines ADA


INCLUDES used within this REPORT DBADAPAI

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_ASSETS_GET_FROM_AI CALL FUNCTION 'AM_ASSETS_GET_FROM_AI' EXPORTING wi_id = pa_ai_id TABLES t_assets = object_list EXCEPTIONS wi_id_not_found = 01 false_objects_in_ai = 02.

AREP_CHECK_SORTVARIANT CALL FUNCTION 'AREP_CHECK_SORTVARIANT' EXPORTING * i_xinvp = pa_xinvp "vw7 i_xinvp = l_xinvp "vw7 TABLES t_get_events = get_events CHANGING f_t086 = t086 EXCEPTIONS OTHERS = 4.

T093B_READ CALL FUNCTION 'T093B_READ' EXPORTING f_t093b = t093b IMPORTING f_t093b = t093b EXCEPTIONS OTHERS = 8.

T093B_READ CALL FUNCTION 'T093B_READ' EXPORTING f_t093b = t093b IMPORTING f_t093b = t093b EXCEPTIONS OTHERS = 8.

T093B_READ CALL FUNCTION 'T093B_READ' EXPORTING f_t093b = t093b IMPORTING f_t093b = t093b EXCEPTIONS OTHERS = 8.

LAST_DAY_IN_YEAR_GET CALL FUNCTION 'LAST_DAY_IN_YEAR_GET' EXPORTING i_date = berdatum i_periv = t001-periv IMPORTING e_date = hlp_datum EXCEPTIONS OTHERS = 1.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = berdatum i_periv = t001-periv IMPORTING e_gjahr = l_gjahr EXCEPTIONS OTHERS = 1.

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = l_gjahr i_periv = t001-periv i_poper = con_firstper IMPORTING e_date = hlp_first_day EXCEPTIONS OTHERS = 1.

AM_AFABE_F4 CALL FUNCTION 'AM_AFABE_F4' EXPORTING i_dyname = l_repid i_dynumb = l_dynnr i_fn_buk = 'BUKRS-LOW' i_fn_afabe = f_name IMPORTING e_afabe = l_afabe EXCEPTIONS OTHERS = 1.

FIAA_CHECK_REPORTING_DATE CALL FUNCTION 'FIAA_CHECK_REPORTING_DATE' EXPORTING i_date = berdatum i_xgbaf = *anla0-xgbaf i_bukrs = v_bukrs i_xhist = *anla0-xhist "> 968542 i_hana_posted = gd_hana_posted.

FIAA_CHECK_REPORTING_DATE CALL FUNCTION 'FIAA_CHECK_REPORTING_DATE' EXPORTING i_date = berdatum i_xgbaf = *anla0-xgbaf i_bukrs = v_bukrs i_afaber = v_afaber i_xhist = *anla0-xhist "> 968542 i_hana_posted = gd_hana_posted.

AM_ASSETS_GET_FROM_AI CALL FUNCTION 'AM_ASSETS_GET_FROM_AI' EXPORTING wi_id = pa_ai_id TABLES t_assets = object_list EXCEPTIONS wi_id_not_found = 01 false_objects_in_ai = 02.

T093B_READ CALL FUNCTION 'T093B_READ' EXPORTING f_t093b = t093b IMPORTING f_t093b = t093b EXCEPTIONS OTHERS = 8.

T093B_READ CALL FUNCTION 'T093B_READ' EXPORTING f_t093b = t093b IMPORTING f_t093b = t093b EXCEPTIONS OTHERS = 8.

T093B_READ CALL FUNCTION 'T093B_READ' EXPORTING f_t093b = t093b IMPORTING f_t093b = t093b EXCEPTIONS OTHERS = 8.

LAST_DAY_IN_YEAR_GET CALL FUNCTION 'LAST_DAY_IN_YEAR_GET' EXPORTING i_date = berdatum i_periv = t001-periv IMPORTING e_date = hlp_datum EXCEPTIONS OTHERS = 1.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = berdatum i_periv = t001-periv IMPORTING e_gjahr = l_gjahr EXCEPTIONS OTHERS = 1.

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = l_gjahr i_periv = t001-periv i_poper = con_firstper IMPORTING e_date = hlp_first_day 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 DBADAPAI or its description.