SAP Reports / Programs

SAPDBIMA SAP ABAP Report - documentation and ABAP source code







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


Text pool values


Selection Text: SO_ALLGJ = ?...(SO_ALLGJ)
Selection Text: PA_WPLAN = ?...(PA_WPLAN)
Selection Text: PA_WIST = ?...(PA_WIST)
Selection Text: PA_WBUDG = ?...(PA_WBUDG)
Selection Text: PA_SELSC = ?...(PA_SELSC)
Selection Text: PA_RPLAN = ?...(PA_RPLAN)
Selection Text: PA_RIST = ?...(PA_RIST)
Selection Text: PA_REPCU = D .
Selection Text: PA_RBUDG = ?...(PA_RBUDG)
Selection Text: PA_JHRWT = ?...(PA_JHRWT)
Selection Text: PA_JHR = ?...(PA_JHR)
Selection Text: PA_GESWT = ?...(PA_GESWT)
Selection Text: PA_ALLWT = ?...(PA_ALLWT)
Selection Text: SO_IPPOS = Budget category
Selection Text: PA_STSEL = Selection profile (meas./req.)
Selection Text: PA_PRNAM = Investment program
Selection Text: PA_POSRQ = Only positions & app.requests
Selection Text: PA_POSRM = All
Selection Text: PA_POSIT = Positions only
Selection Text: PA_POSID = From position
Selection Text: PA_GJAHR = Approval year
Selection Text: PA_FUTMS = Future values also
Text Symbol: V05 = Version for RAIMCAOV
Text Symbol: V04 = Version for RAIMHERCHK
Text Symbol: V03 = Version for RAIMDOLD
Text Symbol: V02 = Version for RAIMINFO
Text Symbol: V01 = Version for EIS
Text Symbol: T02 = Selection
Text Symbol: T01 = Settings
Text Symbol: P11 = Fiscal Year
Text Symbol: P10 = Program positions only
Text Symbol: P09 = Only program positions and appropriation requests
Text Symbol: P08 = Program positions, appropriation requests and measures
Text Symbol: P07 = Future values also
Text Symbol: P06 = To
Text Symbol: P05 = Act. values from periods from
Text Symbol: P04 = Annual Values
Text Symbol: P03 = Overall values





Text Symbol: P02 = Old values and meas./req. also
Text Symbol: P01 = Program positions only


INCLUDES used within this REPORT SAPDBIMA

INCLUDE: LKBPPEQU,
RAIMEQU.


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:

K_VERSN_ACTIVATE_VALUTYP_5 CALL FUNCTION 'K_VERSN_ACTIVATE_VALUTYP_5'. " n. 1733784

AIP1_GET_INVPROG CALL FUNCTION 'AIP1_GET_INVPROG' EXPORTING i_prnam = pa_prnam i_gjahr = pa_gjahr i_posid = pa_posid i_aktyp = 'A' i_langu = sy-langu i_xtransaction = ' ' i_put_measures_too = l_put_measures_too i_put_requests_only = l_put_requests_only i_consider_old_measures = pa_oldms i_consider_fut_measures = pa_futms * I_CONSIDER_REJ_MEASURES = ' ' " del " n. 511627

AIP1_GET_STREENODE * CALL FUNCTION 'AIP1_GET_STREENODE' "mass * TABLES "mass * T_STREENODE = XSTREENODE. "mass

G_GET_USER_PARAMETER CALL FUNCTION 'G_GET_USER_PARAMETER' EXPORTING PARAMETER_ID = 'REPCURR' "H752032 IMPORTING PARAMETER_VALUE = l_parameter_value.

AIPA_CHECK_SUBTREE_INVPROG CALL FUNCTION 'AIPA_CHECK_SUBTREE_INVPROG' EXPORTING i_prnam = pa_prnam i_posid = pa_posid i_gjahr = pa_gjahr.

AIPJ_GLOBAL_ADD_SEL_PUT CALL FUNCTION 'AIPJ_GLOBAL_ADD_SEL_PUT' EXPORTING is_add_sel = ls_add_sel.

STATUS_SELSCHEM_EXIST CALL FUNCTION 'STATUS_SELSCHEM_EXIST' EXPORTING selid = pa_stsel EXCEPTIONS not_found = 1 OTHERS = 2.

G_SET_USER_PARAMETER * CALL FUNCTION 'G_SET_USER_PARAMETER' * EXPORTING * parameter_id = 'REPCUR' * parameter_value = l_parameter_id.

AIP1_GET_PRPOS_SINGLE CALL FUNCTION 'AIP1_GET_PRPOS_SINGLE' EXPORTING * I_INDEX = HLP_INDEX "n.151186

AIPA_F4_PROGRAM CALL FUNCTION 'AIPA_F4_PROGRAM' EXPORTING i_program = l_program i_dynnr = l_dynnr i_fn_prnam = 'PA_PRNAM' i_fn_gjahr = 'PA_GJAHR' i_takeover_allowed = 'X'.

AIPA_F4_POSITION CALL FUNCTION 'AIPA_F4_POSITION' EXPORTING i_program = l_program i_dynnr = l_dynnr i_fn_prnam_proposal = 'PA_PRNAM' i_fn_gjahr_proposal = 'PA_GJAHR' i_fn_prnam = 'PA_PRNAM' i_fn_posid = 'PA_POSID' i_fn_gjahr = 'PA_GJAHR' i_takeover_allowed = 'X'.

AIP1_GET_VALUES_SINGLE CALL FUNCTION 'AIP1_GET_VALUES_SINGLE' EXPORTING * I_INDEX = HLP_INDEX "n.151186

EXIT_SAPDBIMA_002 * CALL FUNCTION 'EXIT_SAPDBIMA_002' CALL CUSTOMER-FUNCTION '002' EXPORTING i_imtp = ximtp i_impr = ximpr i_aufkv = l_aufkv i_prps = l_prps i_proj = l_proj i_imak = ximak i_obart = hlp_obart i_flag_meas_of_req = flg_realmeas TABLES i_rimakpges = xrimakpges i_bpge = xbpge i_bpja = xbpja i_raimact = xraimact e_ripasw = yripasw EXCEPTIONS OTHERS = 1.

AIPA_READ_VALUES_BUDG_AND_PLAN CALL FUNCTION 'AIPA_READ_VALUES_BUDG_AND_PLAN' EXPORTING i_obart = i_obart i_kokrs = i_kokrs i_flg_read_values = ' ' i_authflg = authflg i_authmsg = l_authmsg i_flg_raise_exception = ' ' i_imak = i_imak i_aufkv = i_aufkv i_prps = i_prps IMPORTING e_authrc = l_authrc TABLES "ins n.204784

AIPA_READ_VALUES_IST CALL FUNCTION 'AIPA_READ_VALUES_IST' EXPORTING i_obart = i_obart i_kokrs = i_kokrs i_flg_read_values = ' ' i_authflg = authflg i_authmsg = l_authmsg i_flg_raise_exception = ' ' i_aufkv = i_aufkv i_prps = i_prps IMPORTING e_authrc = l_authrc EXCEPTIONS missing_authority = 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 SAPDBIMA or its description.