RAIMSELM 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 RAIMSELM into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
IM53 - Display budget distribution
IM52 - Process budget distribution
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: PA_GJAHR = Approval year
Selection Text: PA_NACH = Supplements
Selection Text: PA_NEWMS = Select current-year measures
Selection Text: PA_OLDMS = Select carried-fwd measures
Selection Text: PA_ORG = Original
Selection Text: PA_POSID = Position ID
Selection Text: PA_PRNAM = Investment program
Selection Text: PA_RUECK = Returns
Selection Text: PA_STSEL = Status selection profile
Selection Text: PA_WAERS = D Currency
Selection Text: PA_XIQ = Measures for app. requests
Selection Text: PA_XOR = Orders
Selection Text: PA_XPR = WBS elements
Selection Text: SO_AUFNR = ... orders only
Selection Text: SO_POSNR = ... for app. requests only
Selection Text: SO_PSPHI = ... from projects only
Selection Text: SO_PSPNR = ... WBS elements only
Title: Budget distribution
Text Symbol: 005 = Process transactions
Text Symbol: 004 = Display transaction
Text Symbol: 002 = Selection of measures/approp.requests
Text Symbol: 001 = Measures in Approval Period
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
AIPP_GET_SELOP_RESTRICTIONS CALL FUNCTION 'AIPP_GET_SELOP_RESTRICTIONS' IMPORTING e_restrict = restrict TABLES it_selop_name = t_selop_name.
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = restrict EXCEPTIONS OTHERS = 1.
AIPA_CHOOSE_TOP_POSID CALL FUNCTION 'AIPA_CHOOSE_TOP_POSID' EXPORTING i_prnam = pa_prnam i_gjahr = pa_gjahr IMPORTING e_ok_code = hlp_ok_code e_flg_only_one_toppos = hlp_flg_only_one_toppos e_posid = hlp_posid.
AIPA_CHECK_SUBTREE_INVPROG CALL FUNCTION 'AIPA_CHECK_SUBTREE_INVPROG' EXPORTING i_flg_pos_required = hlp_flg_pos_required i_prnam = pa_prnam i_posid = pa_posid i_gjahr = pa_gjahr.
STATUS_SELSCHEM_EXIST CALL FUNCTION 'STATUS_SELSCHEM_EXIST' EXPORTING selid = pa_stsel EXCEPTIONS not_found = 1 OTHERS = 2.
AIPA_F4_PROGRAM CALL FUNCTION 'AIPA_F4_PROGRAM' EXPORTING i_program = hlp_program i_dynnr = hlp_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 = hlp_program i_dynnr = hlp_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'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.