SAP Reports / Programs | Investment Management | Capital Investments | Investment Programs(IM-FA-IP) SAP IM

RAIMCOPY SAP ABAP Report - Log







RAIMCOPY 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 RAIMCOPY into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

IM44 - Determining Default Budget Value IM
IM54 - Investment Program Reorganization
IM64 - Transfer from Old Investment Program
IM34 - Determining Default Plan Value IM
IM28 - Copy investment program
IM27_REPEAT - IM: Open New Approv. Yr- Repeat Run
IM27_CLOSE - IM: Close old approval year
IM27 - IM: Open new approval year


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 RAIMCOPY. "Basic submit
SUBMIT RAIMCOPY AND RETURN. "Return to original report after report execution complete
SUBMIT RAIMCOPY 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: PA_XPR = WBS Elements
Selection Text: P_CLONLY = D Only Closed Measures/App.Req.
Selection Text: P_GJAHR = Approval year
Selection Text: P_POSID = Position ID
Selection Text: P_PRNAM = Investment program
Selection Text: P_PTRUP = Rollup only to pt. of entry
Selection Text: P_STSEL = Status selection profile
Selection Text: P_UPALL = D Old meas./app.req. too
Selection Text: P_XCFBU = Carry forward budget values
Selection Text: P_XCFMR = Carry fwd. meas./app.req.
Selection Text: P_XCFPL = Carry forward plan values ...
Selection Text: P_XCFPO = Copy program structure
Selection Text: P_XTOBU = D Adopt budget values
Selection Text: P_XTOPL = D Adopt plan values
Selection Text: P_XVADD = Add
Selection Text: P_XVOVR = Overwrite
Selection Text: SO_AUFNR = ... orders only
Selection Text: SO_POSNR = ... app.requests only
Selection Text: SO_PSPHI = ... from projects only
Selection Text: SO_PSPNR = ... WBS elements only
Selection Text: SO_VERSN = ...Target version(s)
Selection Text: PA_XOR = Orders
Selection Text: PA_XIQ = Approp. Requests
Selection Text: PA_SPLIT = Budget Adjustments as Return
Selection Text: PA_SGTXT = D Line Item Text
Selection Text: PA_REOPL = D Adjust Plan
Selection Text: PA_REOBU = D Adjust Budget
Selection Text: PA_PRNAM = Investment Program
Selection Text: PA_POSID = Position ID
Selection Text: PA_GJAHR = Approval year
Selection Text: PA_CFNRL = Non-released measures/app.req.
Selection Text: PA_CFALL = All meas./app.req.
Title: Log
Text Symbol: 005 = Selection of measures/approp.requests for transfer to current approved values
Text Symbol: 004 = Selection of measures/approp.requests for carryforward
Text Symbol: 003 = Existing values
Text Symbol: 002 = Selection of measures/approp.requests
Text Symbol: 200 = &1 was copied to &2.





Text Symbol: 502 = Do you want to continue?
Text Symbol: 501 = Existing budget will be lost!
Text Symbol: 500 = Existing plan will be lost!
Text Symbol: 263 = Budget values transferred from &1 to &2
Text Symbol: 262 = Plan values transferred from &1 to &2
Text Symbol: 261 = Plan values not transferred from &1 to &2 for plan version &3, since version is locked
Text Symbol: 260 = Plan values not transferred from &1 to &2, since plan versions not yet defined
Text Symbol: 252 = Inconsistencies possible, since overall budget reduced more than annual budget for position(s).
Text Symbol: 251 = Budget values were adjusted for &2
Text Symbol: 250 = Rollup of budget values for &2 was carried out.
Text Symbol: 240 = Budget values were carried forward from &1 to &2.
Text Symbol: 210 = Measures/approp. requests were copied from &1 to &2.
Text Symbol: 220 = Plan values were not carried forward from &1 to &2, since no plan version is defined yet.
Text Symbol: 221 = Plan values were not transferred from &1 to &2 for plan version &3, since version is locked.
Text Symbol: 222 = Plan values were transferred from &1 to &2.
Text Symbol: 230 = Rollup of plan values for &2 was not carried out, since no plan version is defined yet.
Text Symbol: 231 = Rollup of plan values for &2 was not carried out for plan version &3, since version is locked.
Text Symbol: 232 = Rollup of plan values for &2 was carried out.
Text Symbol: 233 = Plan values not adjusted for &2, since plan versions not yet defined
Text Symbol: 234 = Plan values not adjusted for &2, plan version &3 was not performed, since version is locked
Text Symbol: 235 = Plan values were adjusted for &2
Text Symbol: 006 = Default for version(s)
Text Symbol: F01 = Target investment program
Text Symbol: F02 = Settings
Text Symbol: UE1 = Copy Investment Program
Text Symbol: UE2 = Open new approval year
Text Symbol: UE3 = Rollup of plan values
Text Symbol: UE4 = Rollup of budget values
Text Symbol: UE5 = Close old approval year - Transfer to current approved values in new approval year
Text Symbol: UE6 = Open new approval year - repeat run
Text Symbol: UE7 = Investment Program Reorganization
Text Symbol: UE8 = Transfer of Plan/Budget from Old Investment Program
Text Symbol: 078 = Carry Forward Budget Values
Text Symbol: 077 = Carry Forward Plan Values
Text Symbol: 076 = Adjust Plan Values
Text Symbol: 075 = Adjust Budget Values
Text Symbol: 074 = Carryforward of budget values
Text Symbol: 073 = Carryforward of plan values
Text Symbol: 071 = Rollup of plan values





Text Symbol: 070 = Rollup of budget values
Text Symbol: 023 = Caution: &1 and &2 have different currencies
Text Symbol: 022 = "Budget distrib." indicator is set in position &2, but not in position &1
Text Symbol: 021 = Measures starting at &1 were not copied.
Text Symbol: 020 = Caution: Position & is no longer an end node.
Text Symbol: 010 = Carry Forward Budget/Plan Values of Fiscal Year to Next Fiscal Year
Text Symbol: 009 = Carry Fwd for Version(s)
Text Symbol: 008 = Adjust Plan for Versions
Text Symbol: 007 = ... to version(s)


INCLUDES used within this REPORT RAIMCOPY

INCLUDE LKBPPEQU.


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:

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.

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

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

AIPA_CHECK_SUBTREE_INVPROG CALL FUNCTION 'AIPA_CHECK_SUBTREE_INVPROG' EXPORTING i_prnam = p_prnam i_posid = p_posid i_gjahr = p_gjahr.

AIPA_CHECK_SUBTREE_INVPROG CALL FUNCTION 'AIPA_CHECK_SUBTREE_INVPROG' EXPORTING i_prnam = p_prnam i_posid = p_posid i_gjahr = p_gjahr.

AIPA_GET_PLAN_VERSIONS CALL FUNCTION 'AIPA_GET_PLAN_VERSIONS' EXPORTING i_prnam = pa_prnam i_gjahr = pa_gjahr IMPORTING e_prart = hlp_prart e_flg_no_versions_used = flg_no_versions_used TABLES it_range_version = so_versn et_taif2 = xtaif2 et_taif7 = xtaif7.

AIPA_CHECK_PLAN_VERSION CALL FUNCTION 'AIPA_CHECK_PLAN_VERSION' EXPORTING i_versn = xtaif2-versi i_gjahr = pa_gjahr i_prart = hlp_prart EXCEPTIONS " VERSION_NOT_FOUND = 1 version_blocked = 2.

AIPA_GET_PLAN_VERSIONS CALL FUNCTION 'AIPA_GET_PLAN_VERSIONS' EXPORTING i_prnam = pa_prnam i_gjahr = pa_gjahr IMPORTING e_prart = hlp_prart e_flg_no_versions_used = flg_no_versions_used TABLES " IT_RANGE_VERSION = et_taif2 = xtaif2 et_taif7 = xtaif7.

AIPA_GET_PLAN_VERSIONS CALL FUNCTION 'AIPA_GET_PLAN_VERSIONS' EXPORTING i_prart = hlp_prart i_gjahr = p_gjahr IMPORTING e_prart = hlp_prart e_flg_no_versions_used = flg_no_versions_used TABLES it_range_version = so_versn et_taif2 = xtaif2 et_taif7 = xtaif7.

AIPA_CHECK_PLAN_VERSION CALL FUNCTION 'AIPA_CHECK_PLAN_VERSION' EXPORTING i_versn = xtaif2-versi i_gjahr = p_gjahr i_prart = hlp_prart EXCEPTIONS " VERSION_NOT_FOUND = 1 version_blocked = 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 = flg_takeover_allowed.

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 = flg_takeover_allowed.

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 = 'P_POSID' i_fn_gjahr = 'PA_GJAHR' i_takeover_allowed = flg_takeover_allowed.

AIPA_F4_PLAN_VERSION CALL FUNCTION 'AIPA_F4_PLAN_VERSION' EXPORTING i_program = hlp_program i_dynnr = hlp_dynnr i_fn_gjahr_proposal = 'PA_GJAHR' i_fn_prnam_proposal = 'PA_PRNAM' i_fn_versn = 'SO_VERSN-LOW' i_takeover_allowed = 'X'.

AIPA_F4_PLAN_VERSION CALL FUNCTION 'AIPA_F4_PLAN_VERSION' EXPORTING i_program = hlp_program i_dynnr = hlp_dynnr i_fn_gjahr_proposal = 'PA_GJAHR' i_fn_prnam_proposal = 'PA_PRNAM' i_fn_versn = 'SO_VERSN-HIGH' i_takeover_allowed = 'X'.

AIP1_CREATE_SEL_OBJNR CALL FUNCTION 'AIP1_CREATE_SEL_OBJNR' EXPORTING i_obarts = im_obarts TABLES it_sel_aufnr = so_aufnr it_sel_psphi = so_psphi it_sel_pspnr = so_pspnr it_sel_posnr = so_posnr et_sel_objnr = sel_objnr.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

AIPA_GET_SUBTREE_INVPROG CALL FUNCTION 'AIPA_GET_SUBTREE_INVPROG' EXPORTING i_prnam = p_prnam i_entry_posid = p_posid i_gjahr = p_gjahr IMPORTING e_entry_impr = l_impr TABLES et_impr = new_impr EXCEPTIONS OTHERS = 1.

AIPA_RECALC_DIST_VALUES CALL FUNCTION 'AIPA_RECALC_DIST_VALUES' EXPORTING i_prnam = p_prnam i_posid = p_posid i_gjahr = p_gjahr.

AIPA_GET_PLAN_VERSIONS CALL FUNCTION 'AIPA_GET_PLAN_VERSIONS' EXPORTING i_prnam = pa_prnam i_gjahr = pa_gjahr TABLES " IT_RANGE_VERSION = et_taif2 = t_taif2 et_taif7 = t_taif7 EXCEPTIONS " PROGRAM_NOT_FOUND = 1 no_version_found = 2.

AIPA_GET_PLAN_VERSIONS CALL FUNCTION 'AIPA_GET_PLAN_VERSIONS' EXPORTING i_prnam = p_prnam i_gjahr = p_gjahr TABLES it_range_version = so_versn et_taif2 = t_taif2 et_taif7 = t_taif7 EXCEPTIONS " PROGRAM_NOT_FOUND = 1 no_version_found = 2.

AIPA_READ_VALUES_BUDG_AND_PLAN CALL FUNCTION 'AIPA_READ_VALUES_BUDG_AND_PLAN' EXPORTING i_obart = 'IP' i_flg_ledger_all = 'X' i_kokrs = impr-kokrs i_objnr = impr-objnr i_flg_versn_all = 'X' TABLES et_bpge = t_bpge et_bpja = t_bpja EXCEPTIONS obart_not_found = 1 OTHERS = 2.

AIPA_GET_SUBTREE_INVPROG CALL FUNCTION 'AIPA_GET_SUBTREE_INVPROG' EXPORTING i_prnam = p_prnam i_entry_posid = p_posid i_gjahr = p_gjahr IMPORTING e_entry_impr = l_impr TABLES et_impr = t_ziel_impr_subtree.

AIP1_GET_INVPROG CALL FUNCTION 'AIP1_GET_INVPROG' EXPORTING i_prnam = pa_prnam i_gjahr = pa_gjahr i_aktyp = 'A' i_langu = sy-langu i_xtransaction = ' ' i_put_measures_too = ' ' i_put_requests_only = ' ' i_obarts = im_obarts i_consider_rej_measures = ' ' i_consider_old_measures = 'X' i_consider_dec_requests = ' ' * i_consider_fin_measures = ' ' " del " n. 1872959

AIPA_GET_SUBTREE_INVPROG * CALL FUNCTION 'AIPA_GET_SUBTREE_INVPROG' * EXPORTING * I_PRNAM = P_PRNAM * I_ENTRY_POSID = P_POSID * I_GJAHR = P_GJAHR * IMPORTING * E_ENTRY_IMPR = L_IMPR * TABLES * ET_IMPR = T_ZIEL_IMPR_SUBTREE.

AIPA_GET_LOCKED_POSITIONS CALL FUNCTION 'AIPA_GET_LOCKED_POSITIONS' EXPORTING i_vorga = l_vplan i_flg_leafs_only = 'X' TABLES it_impr = t_ziel_impr_subtree et_obj_stat_locked = t_obj_stat_locked.

AIPA_GET_LOCKED_POSITIONS CALL FUNCTION 'AIPA_GET_LOCKED_POSITIONS' EXPORTING i_vorga = l_vbud i_flg_leafs_only = 'X' TABLES it_impr = t_ziel_impr_subtree et_obj_stat_locked = t_obj_stat_locked.

AIP1_GET_PRPOS_SINGLE CALL FUNCTION 'AIP1_GET_PRPOS_SINGLE' EXPORTING i_index = l_index IMPORTING e_impr = l_impr e_flg_leaf = l_flg_leaf EXCEPTIONS not_found = 1 OTHERS = 2.

AIP1_GET_VALUES_SINGLE CALL FUNCTION 'AIP1_GET_VALUES_SINGLE' EXPORTING i_index = l_index TABLES t_bpge = t_bpge t_bpja = t_bpja EXCEPTIONS not_found = 1 OTHERS = 2.

AIPA_GET_SET_TO_ENTRY_ELEMENT CALL FUNCTION 'AIPA_GET_SET_TO_ENTRY_ELEMENT' EXPORTING i_posnr = t_top_impr-posnr TABLES t_impr = t_ziel_impr_tmp.

AIPA_LINE_ITEM_TEXT_ENRICH CALL FUNCTION 'AIPA_LINE_ITEM_TEXT_ENRICH' EXPORTING i_activity = con_carry_over_plan i_sgtext = l_sgtxt(40) IMPORTING e_sgtext = l_sgtxt.

AIPA_BUDGPROC_INPUT_CREATE CALL FUNCTION 'AIPA_BUDGPROC_INPUT_CREATE' EXPORTING i_imtp = l_top_imtp i_vorga = l_vplan i_trgkz_from_1 = l_node i_trgkz_to = l_trgkz_to i_wrttp_from_1 = l_wplan i_wrttp_from_2 = l_wqplan i_wrttp_to = l_wiplan i_posit_from = t_tai08-bpposit i_posit_to = t_tai08-bpposit i_versn_from = l_app_versn i_versn_to = t_taif2-versi it_quelle_covob = t_quelle_covob[] i_flg_rollup = 'X' i_rollupcorr_covob = l_rollupcorr_covob i_flg_add = l_flg_add i_flg_recalc_dist = 'X' i_flg_dist_on_leafs = ' ' IMPORTING et_ziel_covob = t_ziel_covob[] TABLES it_ziel_impr = t_ziel_impr_tmp.

AIPA_BUDGPROC_INPUT_POST CALL FUNCTION 'AIPA_BUDGPROC_INPUT_POST' EXPORTING it_covob = t_ziel_covob[] i_vorga = l_vplan i_wrttp = l_wiplan i_trgkz = l_trgkz_to i_versn = t_taif2-versi i_posit = t_tai08-bpposit i_sgtxt = l_sgtxt.

AIPA_LINE_ITEM_TEXT_ENRICH CALL FUNCTION 'AIPA_LINE_ITEM_TEXT_ENRICH' EXPORTING i_activity = con_carry_over_budg i_sgtext = l_sgtxt(40) IMPORTING e_sgtext = l_sgtxt.

AIPA_BUDGPROC_INPUT_CREATE CALL FUNCTION 'AIPA_BUDGPROC_INPUT_CREATE' EXPORTING i_imtp = l_top_imtp i_vorga = l_vbud i_trgkz_from_1 = l_node i_trgkz_to = l_trgkz_to i_wrttp_from_1 = l_wbudget i_wrttp_to = l_wibudget i_posit_from = t_tai08-bpposit i_posit_to = t_tai08-bpposit it_quelle_covob = t_quelle_covob[] i_rollupcorr_covob = l_rollupcorr_covob i_flg_rollup = 'X' i_flg_add = l_flg_add i_flg_recalc_dist = 'X' i_flg_dist_on_leafs = l_flg_dist_on_leafs IMPORTING et_ziel_covob = t_ziel_covob[] TABLES it_ziel_impr = t_ziel_impr_tmp.

AIPA_BUDGPROC_INPUT_POST CALL FUNCTION 'AIPA_BUDGPROC_INPUT_POST' EXPORTING it_covob = t_ziel_covob[] i_vorga = l_vbud i_wrttp = l_wibudget i_trgkz = l_trgkz_to i_posit = t_tai08-bpposit i_sgtxt = l_sgtxt.

AIPA_GET_PLAN_VERSIONS CALL FUNCTION 'AIPA_GET_PLAN_VERSIONS' EXPORTING i_prnam = p_prnam i_gjahr = p_gjahr TABLES it_range_version = so_versn et_taif2 = t_taif2 et_taif7 = t_taif7 EXCEPTIONS " PROGRAM_NOT_FOUND = 1 no_version_found = 2.

AIPA_GET_SUBTREE_INVPROG CALL FUNCTION 'AIPA_GET_SUBTREE_INVPROG' EXPORTING i_prnam = p_prnam i_entry_posid = p_posid i_gjahr = p_gjahr IMPORTING e_entry_impr = l_impr TABLES et_impr = t_ziel_impr_subtree.

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_put_measures_too = ' ' i_flg_ledger_all = 'X' i_versn = ' ' i_flg_versn_all = 'X' IMPORTING e_imtp = l_top_imtp EXCEPTIONS not_found = 1 OTHERS = 2.

AIPA_GET_LOCKED_POSITIONS CALL FUNCTION 'AIPA_GET_LOCKED_POSITIONS' EXPORTING i_vorga = l_vplan i_flg_leafs_only = ' ' TABLES it_impr = t_ziel_impr_subtree et_obj_stat_locked = t_obj_stat_locked.

AIPA_GET_LOCKED_POSITIONS CALL FUNCTION 'AIPA_GET_LOCKED_POSITIONS' EXPORTING i_vorga = l_vbud i_flg_leafs_only = ' ' TABLES it_impr = t_ziel_impr_subtree et_obj_stat_locked = t_obj_stat_locked.

AIP1_GET_PRPOS_SINGLE CALL FUNCTION 'AIP1_GET_PRPOS_SINGLE' EXPORTING i_index = l_index IMPORTING e_impr = l_impr EXCEPTIONS not_found = 1 OTHERS = 2.

AIP1_GET_VALUES_SINGLE CALL FUNCTION 'AIP1_GET_VALUES_SINGLE' EXPORTING i_index = l_index TABLES t_bpge = t_bpge t_bpja = t_bpja EXCEPTIONS not_found = 1 OTHERS = 2.

AIPA_GET_SET_TO_ENTRY_ELEMENT CALL FUNCTION 'AIPA_GET_SET_TO_ENTRY_ELEMENT' EXPORTING i_posnr = t_top_impr-posnr TABLES t_impr = t_ziel_impr_tmp.

AIPA_LINE_ITEM_TEXT_ENRICH CALL FUNCTION 'AIPA_LINE_ITEM_TEXT_ENRICH' EXPORTING i_activity = con_take_over_plan i_sgtext = l_sgtxt(40) IMPORTING e_sgtext = l_sgtxt.

AIPA_BUDGPROC_INPUT_CREATE CALL FUNCTION 'AIPA_BUDGPROC_INPUT_CREATE' EXPORTING i_imtp = l_top_imtp i_vorga = l_vplan i_trgkz_from_1 = l_node i_trgkz_to = l_node i_wrttp_from_1 = l_wiplan i_wrttp_to = l_wiplan i_posit_from = t_tai08-bpposit i_posit_to = t_tai08-bpposit i_versn_from = t_taif2-versi i_versn_to = t_taif2-versi it_quelle_covob = t_quelle_covob[] i_flg_rollup = ' ' i_flg_add = ' ' IMPORTING et_ziel_covob = t_ziel_covob[] TABLES it_ziel_impr = t_ziel_impr_tmp.

AIPA_BUDGPROC_INPUT_POST CALL FUNCTION 'AIPA_BUDGPROC_INPUT_POST' EXPORTING it_covob = t_ziel_covob[] i_vorga = l_vplan i_wrttp = l_wiplan i_trgkz = l_node i_versn = t_taif2-versi i_posit = t_tai08-bpposit i_sgtxt = l_sgtxt.

AIPA_LINE_ITEM_TEXT_ENRICH CALL FUNCTION 'AIPA_LINE_ITEM_TEXT_ENRICH' EXPORTING i_activity = con_take_over_budg i_sgtext = l_sgtxt(40) IMPORTING e_sgtext = l_sgtxt.

AIPA_BUDGPROC_INPUT_CREATE CALL FUNCTION 'AIPA_BUDGPROC_INPUT_CREATE' EXPORTING i_imtp = l_top_imtp i_vorga = l_vbud i_trgkz_from_1 = l_node i_trgkz_to = l_node i_wrttp_from_1 = l_wibudget i_wrttp_to = l_wibudget i_posit_from = t_tai08-bpposit i_posit_to = t_tai08-bpposit it_quelle_covob = t_quelle_covob[] IMPORTING et_ziel_covob = t_ziel_covob[] TABLES it_ziel_impr = t_ziel_impr_tmp.

AIPA_BUDGPROC_INPUT_POST CALL FUNCTION 'AIPA_BUDGPROC_INPUT_POST' EXPORTING it_covob = t_ziel_covob[] i_vorga = l_vbud i_wrttp = l_wibudget i_trgkz = l_node i_posit = t_tai08-bpposit i_sgtxt = l_sgtxt.

AIPA_RECALC_DIST_VALUES CALL FUNCTION 'AIPA_RECALC_DIST_VALUES' EXPORTING i_prnam = p_prnam i_posid = p_posid i_gjahr = p_gjahr i_flg_no_leafs = l_flg_no_leafs i_but_calc = ' ' i_flg_read_impr_from_db = 'X' i_flg_db_update = 'X'.

AIPA_GET_PLAN_VERSIONS CALL FUNCTION 'AIPA_GET_PLAN_VERSIONS' EXPORTING i_prnam = p_prnam i_gjahr = p_gjahr TABLES it_range_version = so_versn et_taif2 = t_taif2 et_taif7 = t_taif7 EXCEPTIONS " PROGRAM_NOT_FOUND = 1 no_version_found = 2.

AIPA_READ_VALUES_BUDG_AND_PLAN CALL FUNCTION 'AIPA_READ_VALUES_BUDG_AND_PLAN' EXPORTING i_obart = 'IP' i_flg_ledger_all = 'X' i_kokrs = impr-kokrs i_objnr = impr-objnr i_flg_versn_all = 'X' TABLES et_bpge = t_bpge et_bpja = t_bpja EXCEPTIONS obart_not_found = 1 OTHERS = 2.

AIP1_GET_INVPROG CALL FUNCTION 'AIP1_GET_INVPROG' EXPORTING i_prnam = p_prnam i_posid = p_posid i_gjahr = p_gjahr i_aktyp = 'A' i_langu = sy-langu i_xtransaction = ' ' i_put_measures_too = l_put_measures_too i_put_requests_only = ' ' i_obarts = im_obarts i_consider_rej_measures = 'X' * i_consider_old_measures = ' ' "upall i_consider_old_measures = l_consider_old_measures "upall i_consider_dec_requests = ' ' i_consider_fin_measures = 'X' i_consider_fin_measures_only = p_clonly i_consider_fut_measures = ' ' i_statsel = p_stsel i_flg_ledger_all = 'X' i_flg_mr_pl_bu_in_pos_curr = 'X' i_flg_versn_all = 'X' i_plget = p_plget i_read_budgets_too = p_xppbu i_rollup_budgets = p_xppbu i_read_plans_too = p_xpppl i_rollup_plans = p_xpppl i_read_costs_too = ' ' i_rollup_costs = ' ' i_create_streenode_too = ' ' IMPORTING e_imtp = l_top_imtp TABLES it_sel_aufnr = so_aufnr it_sel_psphi = so_psphi it_sel_pspnr = so_pspnr it_sel_posnr = so_posnr EXCEPTIONS not_found = 1 OTHERS = 2.

AIP1_GET_IMPR CALL FUNCTION 'AIP1_GET_IMPR' TABLES t_impr = t_ziel_impr_subtree.

AIPA_GET_LOCKED_POSITIONS CALL FUNCTION 'AIPA_GET_LOCKED_POSITIONS' EXPORTING i_vorga = l_vplan i_flg_leafs_only = 'X' TABLES it_impr = t_ziel_impr_subtree et_obj_stat_locked = t_obj_stat_locked.

AIPA_GET_LOCKED_POSITIONS CALL FUNCTION 'AIPA_GET_LOCKED_POSITIONS' EXPORTING i_vorga = l_vbud i_flg_leafs_only = 'X' TABLES it_impr = t_ziel_impr_subtree et_obj_stat_locked = t_obj_stat_locked.

AIP1_GET_PRPOS_SINGLE CALL FUNCTION 'AIP1_GET_PRPOS_SINGLE' EXPORTING i_index = l_index IMPORTING e_obart = l_obart e_impr = l_impr e_flg_leaf = l_flg_leaf e_flg_realmeas = l_flg_realmeas TABLES et_imzo = t_imzo EXCEPTIONS not_found = 1 OTHERS = 2.

AIP1_GET_VALUES_SINGLE CALL FUNCTION 'AIP1_GET_VALUES_SINGLE' EXPORTING i_index = l_index TABLES t_bpge = t_bpge t_bpja = t_bpja EXCEPTIONS not_found = 1 OTHERS = 2.

AIPR_READ_LEDNR CALL FUNCTION 'AIPR_READ_LEDNR' EXPORTING i_waers = l_impr-owaers i_periv = l_top_imtp-periv IMPORTING e_lednr = l_lednr_def.

AIPR_READ_LEDNR CALL FUNCTION 'AIPR_READ_LEDNR' EXPORTING i_waers = l_top_imtp-waers i_periv = l_top_imtp-periv IMPORTING e_lednr = l_lednr_def.

AIPA_GET_SET_TO_ENTRY_ELEMENT CALL FUNCTION 'AIPA_GET_SET_TO_ENTRY_ELEMENT' EXPORTING i_posnr = t_top_impr-posnr TABLES t_impr = t_ziel_impr_tmp.

AIPA_LINE_ITEM_TEXT_ENRICH CALL FUNCTION 'AIPA_LINE_ITEM_TEXT_ENRICH' EXPORTING i_activity = l_activity i_sgtext = l_sgtxt(40) IMPORTING e_sgtext = l_sgtxt.

AIPA_BUDGPROC_INPUT_CREATE CALL FUNCTION 'AIPA_BUDGPROC_INPUT_CREATE' EXPORTING i_imtp = l_top_imtp i_vorga = l_vplan i_trgkz_from_1 = l_node i_trgkz_to = l_node i_wrttp_from_1 = l_wplan i_wrttp_from_2 = l_wqplan i_wrttp_to = l_wiplan i_posit_from = t_tai08-bpposit i_posit_to = t_tai08-bpposit i_versn_from = t_taif2-versi i_versn_to = t_taif2-versi it_quelle_covob = t_quelle_covob[] i_flg_rollup = 'X' i_rollupcorr_covob = l_rollupcorr_covob
i_flg_add = p_xvadd i_flg_add_on_locked_leafs = l_flg_add_on_locked_leafs i_flg_recalc_dist = 'X' i_flg_dist_on_leafs = ' ' IMPORTING et_ziel_covob = t_ziel_covob[] TABLES it_ziel_impr = t_ziel_impr_tmp.

AIPA_BUDGPROC_INPUT_POST CALL FUNCTION 'AIPA_BUDGPROC_INPUT_POST' EXPORTING it_covob = t_ziel_covob[] i_vorga = l_vplan i_wrttp = l_wiplan i_trgkz = l_node i_versn = t_taif2-versi i_posit = t_tai08-bpposit i_sgtxt = l_sgtxt.

AIPA_LINE_ITEM_TEXT_ENRICH CALL FUNCTION 'AIPA_LINE_ITEM_TEXT_ENRICH' EXPORTING i_activity = l_activity i_sgtext = l_sgtxt(40) IMPORTING e_sgtext = l_sgtxt.

AIPA_BUDGPROC_INPUT_CREATE CALL FUNCTION 'AIPA_BUDGPROC_INPUT_CREATE' EXPORTING i_imtp = l_top_imtp i_vorga = l_vorga i_trgkz_from_1 = l_node i_trgkz_to = l_node i_wrttp_from_1 = l_wbudget i_wrttp_to = l_wibudget i_posit_from = t_tai08-bpposit i_posit_to = t_tai08-bpposit it_quelle_covob = t_quelle_covob[] i_flg_rollup = 'X' i_rollupcorr_covob = l_rollupcorr_covob i_flg_add = p_xvadd i_flg_add_on_locked_leafs = l_flg_add_on_locked_leafs i_flg_recalc_dist = 'X' i_flg_dist_on_leafs = l_flg_dist_on_leafs IMPORTING et_ziel_covob = t_ziel_covob[] TABLES it_ziel_impr = t_ziel_impr_tmp.

AIPA_BUDGPROC_INPUT_POST CALL FUNCTION 'AIPA_BUDGPROC_INPUT_POST' EXPORTING it_covob = t_ziel_covob[] i_vorga = l_vorga i_wrttp = l_wibudget i_trgkz = l_node i_posit = t_tai08-bpposit i_sgtxt = l_sgtxt.

AIPA_RECALC_DIST_VALUES CALL FUNCTION 'AIPA_RECALC_DIST_VALUES' EXPORTING i_prnam = p_prnam i_posid = p_posid i_gjahr = p_gjahr EXCEPTIONS abend_occured = 1 OTHERS = 2.

KBPD_DELETE_DATA CALL FUNCTION 'KBPD_DELETE_DATA' EXPORTING delete_mode = 'X' " Echtlauf.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'IM_POSNR' quantity = l_quantity " Anzahl neue Nummern.

AIP9_STATUS_INIT CALL FUNCTION 'AIP9_STATUS_INIT' EXPORTING i_prart = new_imtp-prart IMPORTING e_objnr_tmp = t_upd_impr-objnr_tmp.

AIP5_COPY_CLASS CALL FUNCTION 'AIP5_COPY_CLASS' EXPORTING i_impr_from = old_impr i_impr_to = new_impr.

AIP4_COPY_LGTXT CALL FUNCTION 'AIP4_COPY_LGTXT' EXPORTING i_langu = new_impu-spras i_flg_imtp = ' ' i_flg_impr = 'X' i_impr_from = old_impr i_impr_to = new_impr IMPORTING e_flg_copied = new_impu-xlgtx.

AIPU_PROGRAM_PREPARE_UPDATE CALL FUNCTION 'AIPU_PROGRAM_PREPARE_UPDATE' TABLES t_upd_imtp = t_upd_imtp t_upd_imtt = t_upd_imtt.

AIPU_PROGRAM_UPDATE CALL FUNCTION 'AIPU_PROGRAM_UPDATE' TABLES t_upd_imtp = t_upd_imtp t_upd_imtt = t_upd_imtt.

AIPU_POSITION_PREPARE_UPDATE CALL FUNCTION 'AIPU_POSITION_PREPARE_UPDATE' TABLES t_upd_impr = t_upd_impr t_upd_impu = t_upd_impu t_upd_imps = t_upd_imps.

AIPU_POSITION_UPDATE CALL FUNCTION 'AIPU_POSITION_UPDATE' EXPORTING i_callmode = hlp_callmode TABLES t_upd_impr = t_upd_impr t_upd_impu = t_upd_impu t_upd_imps = t_upd_imps.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = lc_tabname TABLES dd03p_tab = lt_dd03p EXCEPTIONS illegal_input = 1 OTHERS = 2.

AIPU_POSITION_PREPARE_UPDATE CALL FUNCTION 'AIPU_POSITION_PREPARE_UPDATE' TABLES t_upd_imzo = t_upd_imzo.

AIPU_POSITION_UPDATE CALL FUNCTION 'AIPU_POSITION_UPDATE' EXPORTING i_flg_clean_up_logdl = ' ' i_callmode = hlp_callmode TABLES t_upd_imzo = t_upd_imzo.

AIPU_POSITION_PREPARE_UPDATE CALL FUNCTION 'AIPU_POSITION_PREPARE_UPDATE' TABLES t_upd_imzo = t_upd_imzo.

AIPU_POSITION_UPDATE CALL FUNCTION 'AIPU_POSITION_UPDATE' EXPORTING i_flg_clean_up_logdl = ' ' i_callmode = hlp_callmode TABLES t_upd_imzo = t_upd_imzo.

AIPU_POSITION_PREPARE_UPDATE CALL FUNCTION 'AIPU_POSITION_PREPARE_UPDATE' TABLES t_upd_imzo = t_upd_imzo.

AIPU_POSITION_UPDATE CALL FUNCTION 'AIPU_POSITION_UPDATE' EXPORTING i_flg_clean_up_logdl = ' ' i_callmode = hlp_callmode TABLES t_upd_imzo = t_upd_imzo.

OBJECT_NUMBER_TYPE_GET CALL FUNCTION 'OBJECT_NUMBER_TYPE_GET' EXPORTING objnr = new_imzo-objnr IMPORTING obart = l_obart.

AIPU_POSITION_PREPARE_UPDATE CALL FUNCTION 'AIPU_POSITION_PREPARE_UPDATE' TABLES t_upd_imzo = t_upd_imzo.

AIPU_POSITION_UPDATE CALL FUNCTION 'AIPU_POSITION_UPDATE' EXPORTING i_flg_clean_up_logdl = ' ' i_callmode = hlp_callmode TABLES t_upd_imzo = t_upd_imzo.

AIPU_POSITION_PREPARE_UPDATE CALL FUNCTION 'AIPU_POSITION_PREPARE_UPDATE' TABLES t_upd_imzo = t_upd_imzo.

AIPU_POSITION_UPDATE CALL FUNCTION 'AIPU_POSITION_UPDATE' EXPORTING i_callmode = hlp_callmode TABLES t_upd_imzo = t_upd_imzo.

CONVERSION_EXIT_GJAHR_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING INPUT = l_gjahr IMPORTING OUTPUT = l_gjahr_char.

CONVERSION_EXIT_GJAHR_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING INPUT = l_gjahr IMPORTING OUTPUT = l_gjahr_char.

OBJECT_NUMBER_TYPE_GET CALL FUNCTION 'OBJECT_NUMBER_TYPE_GET' EXPORTING objnr = f_objnr IMPORTING obart = l_obart.

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING " BYPASS_BUFFER = ' ' " CLIENT = SY-MANDT objnr = f_objnr status = con_status_abgs EXCEPTIONS object_not_found = 1 status_not_active = 2 OTHERS = 3.

STATUS_CHECK_EXTENDED_MULTI CALL FUNCTION 'STATUS_CHECK_EXTENDED_MULTI' TABLES objnr_stat = t_chk.

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING " BYPASS_BUFFER = ' ' " CLIENT = SY-MANDT objnr = f_objnr status = con_status_abgl EXCEPTIONS object_not_found = 1 status_not_active = 2 OTHERS = 3.

STATUS_CHECK_BY_SELSCHEM CALL FUNCTION 'STATUS_CHECK_BY_SELSCHEM' EXPORTING objnr = f_objnr selid = p_stsel IMPORTING fullfill = l_fullfill.

STATUS_BUFFER_REFRESH CALL FUNCTION 'STATUS_BUFFER_REFRESH'.

STATUS_PRE_READ CALL FUNCTION 'STATUS_PRE_READ' TABLES jsto_pre_tab = t_obj.

AIPA_AUTHORITY_CHECK_IP CALL FUNCTION 'AIPA_AUTHORITY_CHECK_IP' EXPORTING i_obtyp = 'PROG' " Programmdefinition.

AIPA_AUTHORITY_CHECK_IP CALL FUNCTION 'AIPA_AUTHORITY_CHECK_IP' EXPORTING i_obtyp = 'POS ' " Programmposition.

AIPA_AUTHORITY_CHECK_IP CALL FUNCTION 'AIPA_AUTHORITY_CHECK_IP' EXPORTING i_obtyp = 'PROG' I_AUTH_OBJECT = 'A_IMPR_APS' I_IMTP = f_imtp i_actvt = f_actvt I_APPST = t_taif2-appst I_MESSAGE = 'A'.

AIPA_AUTHORITY_CHECK_IP CALL FUNCTION 'AIPA_AUTHORITY_CHECK_IP' EXPORTING i_obtyp = 'POS ' " Programmposition.

AIPE_ENQUEUE_INVPROG CALL FUNCTION 'AIPE_ENQUEUE_INVPROG' EXPORTING i_prnam = t_imtp-prnam i_posid = l_posid_enqueue " n. 725574

OBJECT_NUMBER_TYPE_GET CALL FUNCTION 'OBJECT_NUMBER_TYPE_GET' EXPORTING objnr = new_imzo-objnr IMPORTING obart = l_obart.

KBPD_DELETE_DATA CALL FUNCTION 'KBPD_DELETE_DATA' EXPORTING delete_mode = 'X' " Production run.

AIPR_READ_LEDNR CALL FUNCTION 'AIPR_READ_LEDNR' EXPORTING i_waers = l_imtp-waers i_periv = l_imtp-periv IMPORTING e_lednr = l_lednr.

OBJECT_NUMBER_TYPE_GET CALL FUNCTION 'OBJECT_NUMBER_TYPE_GET' EXPORTING objnr = i_objnr_mr IMPORTING obart = l_obart.

OBJECT_NUMBER_TYPE_GET CALL FUNCTION 'OBJECT_NUMBER_TYPE_GET' EXPORTING objnr = ct_obj-objnr IMPORTING obart = l_obart.

OBJECT_KEY_GET_IP CALL FUNCTION 'OBJECT_KEY_GET_IP' EXPORTING objnr = l_objnr IMPORTING im_posnr = t_geb-posnr.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'N' TEXTLINE1 = TEXT-500 TEXTLINE2 = TEXT-502 TITEL = TEXT-UE3 IMPORTING ANSWER = L_ANSWER.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'N' TEXTLINE1 = TEXT-501 TEXTLINE2 = TEXT-502 TITEL = TEXT-UE4 IMPORTING ANSWER = L_ANSWER.

AIPA_RECALC_DIST_VALUES CALL FUNCTION 'AIPA_RECALC_DIST_VALUES' EXPORTING i_prnam = p_prnam I_posid = par_posid_recalc_dist i_gjahr = p_gjahr i_up_to_level = '01' i_flg_no_leafs = 'X'.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING I_S_LOG = gs_log IMPORTING E_LOG_HANDLE = g_log_handle EXCEPTIONS LOG_HEADER_INCONSISTENT = 1 OTHERS = 2.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING I_LOG_HANDLE = G_LOG_HANDLE I_MSGTY = LC_MSGTY I_TEXT = GV_TEXT EXCEPTIONS LOG_NOT_FOUND = 1 MSG_INCONSISTENT = 2 LOG_IS_FULL = 3 OTHERS = 4.

BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING E_S_DISPLAY_PROFILE = IS_DISPLAY_PROFILE EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING I_S_DISPLAY_PROFILE = IS_DISPLAY_PROFILE I_T_LOG_HANDLE = gt_log_handle EXCEPTIONS PROFILE_INCONSISTENT = 1 INTERNAL_ERROR = 2 NO_DATA_AVAILABLE = 3 NO_AUTHORITY = 4 OTHERS = 5.

BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING I_S_DISPLAY_PROFILE = IS_DISPLAY_PROFILE I_T_LOG_HANDLE = GT_LOG_HANDLE EXCEPTIONS PROFILE_INCONSISTENT = 1 INTERNAL_ERROR = 2 NO_DATA_AVAILABLE = 3 NO_AUTHORITY = 4 OTHERS = 5.



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