SAP AIP1_GET_INVPROG Function Module for Retrieve investment program









AIP1_GET_INVPROG is a standard aip1 get invprog SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Retrieve investment program processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for aip1 get invprog FM, simply by entering the name AIP1_GET_INVPROG into the relevant SAP transaction such as SE37 or SE38.

Function Group: AIP1
Program Name: SAPLAIP1
Main Program: SAPLAIP1
Appliation area: A
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function AIP1_GET_INVPROG pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'AIP1_GET_INVPROG'"Retrieve investment program
EXPORTING
I_PRNAM = "Investment program
* I_XPLAN = ' ' "T - Ind: 'Planning transaction'
* I_INTERN = ' ' "T - Ind: 'Budget distribution'
* I_OBARTS = 'ORPRIQ ' "
* I_OLDMEAS = ' ' "T - Ind: 'Old measures during budget distribution'
* I_TRGKZ = 'N' "T - Approval time period = object indicator
* I_PUT_MEASURES_TOO = 'X' "R - Ind: 'Display measures also'
* I_PUT_REQUESTS_ONLY = ' ' "
* I_CONSIDER_REJ_MEASURES = 'X' "
* I_CONSIDER_OLD_MEASURES = ' ' "R - Ind: 'Consider old measures/values'
* I_CONSIDER_FUT_MEASURES = 'X' "R - Ind: 'Consider future values'
I_GJAHR = "Approval year
* I_CONSIDER_DEC_REQUESTS = 'X' "
* I_CONSIDER_FIN_MEASURES = 'X' "R - Ind: 'Consider closed measures'
* I_CONSIDER_FIN_MEASURES_ONLY = ' ' "
* I_CONSIDER_REL_MEASURES = 'X' "
* I_PUT_MAIN_STATUS = ' ' "
* I_STATSEL = ' ' "R - Status selection profile of measures
* I_FLG_LEDGER_ALL = ' ' "
* I_REP_CURR = ' ' "
* I_FLG_MR_PL_BU_IN_POS_CURR = ' ' "
* I_VERSN = '000' "
* I_POSID = ' ' "Point of entry ID
* I_FLG_VERSN_ALL = ' ' "
* I_VALUTYP = '0' "
* I_FLG_VALUTYP_ALL = ' ' "
* I_PLGET = '3' "
* I_GNJHR_IQ = '0000' "
* I_FLG_GNJHR_IQ_DERIVE = 'X' "
* I_READ_BUDGETS_TOO = ' ' "R - Ind: 'Read budget of measures'
* I_ROLLUP_BUDGETS = ' ' "R - Ind: 'Roll up budget of measures'
* I_READ_RELBUDGETS_TOO = ' ' "
* I_ROLLUP_RELBUDGETS = ' ' "
* I_POSNR = 00000000 "Internal number of point of entry
* I_READ_PLANS_TOO = ' ' "R - Ind: 'Read plan values of measures'
* I_ROLLUP_PLANS = ' ' "R - Ind: 'Roll up plan values of measures'
* I_READ_COSTS_TOO = ' ' "R - Ind: ' Read actual values of measures'
* I_ROLLUP_COSTS = ' ' "R - Ind: 'Roll up actual values of measures'
* I_READ_PROFIT_DATA_TOO = ' ' "
* I_COSTS_FROMYEAR = '0000' "R - Selection of actual values: From fiscal year
* I_COSTS_FROMPER = '000' "R - Selection of actual values: From period
* I_COSTS_TOYEAR = '0000' "R - Selection of actual values: To fiscal year
* I_COSTS_TOPER = '000' "R - Selection of actual values: To period
* I_CREATE_STREENODE_TOO = ' ' "R - Ind: 'Create STREENODE'
* I_UP_TO_LEVEL = '00' "
* I_FLG_WITH_PATH = ' ' "
* I_AKTYP = 'V' "Action category (A=display, V=change)
* I_LANGU = SY-LANGU "Language
* I_XTRANSACTION = ' ' "T - Ind: 'Budget transaction/planning transaction'

IMPORTING
E_IMTP = "IMTP record
E_IMTT = "IMTT record

TABLES
* IT_SEL_AUFNR = "
* IT_SEL_PSPHI = "
* IT_SEL_PSPNR = "
* IT_SEL_POSNR = "

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for AIP1_GET_INVPROG

I_PRNAM - Investment program

Data type: IMTP-PRNAM
Optional: No
Call by Reference: No ( called with pass by value option)

I_XPLAN - T - Ind: 'Planning transaction'

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_INTERN - T - Ind: 'Budget distribution'

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OBARTS -

Data type: C
Default: 'ORPRIQ '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OLDMEAS - T - Ind: 'Old measures during budget distribution'

Data type: RAIP1-OLDMS
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TRGKZ - T - Approval time period = object indicator

Data type: BPGE-TRGKZ
Default: 'N'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PUT_MEASURES_TOO - R - Ind: 'Display measures also'

Data type:
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PUT_REQUESTS_ONLY -

Data type: C
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CONSIDER_REJ_MEASURES -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CONSIDER_OLD_MEASURES - R - Ind: 'Consider old measures/values'

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CONSIDER_FUT_MEASURES - R - Ind: 'Consider future values'

Data type:
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GJAHR - Approval year

Data type: IMPR-GJAHR
Optional: No
Call by Reference: No ( called with pass by value option)

I_CONSIDER_DEC_REQUESTS -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CONSIDER_FIN_MEASURES - R - Ind: 'Consider closed measures'

Data type:
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CONSIDER_FIN_MEASURES_ONLY -

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CONSIDER_REL_MEASURES -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PUT_MAIN_STATUS -

Data type: C
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_STATSEL - R - Status selection profile of measures

Data type: TJ48-SELID
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_LEDGER_ALL -

Data type: C
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_REP_CURR -

Data type: WAERS
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_MR_PL_BU_IN_POS_CURR -

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VERSN -

Data type: RAIP3-VERSN
Default: '000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_POSID - Point of entry ID

Data type: IMPR-POSID
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_VERSN_ALL -

Data type: C
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VALUTYP -

Data type: TKA09-VALUTYP
Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_VALUTYP_ALL -

Data type: C
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PLGET -

Data type:
Default: '3'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GNJHR_IQ -

Data type: IMAK-GJAHR
Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_GNJHR_IQ_DERIVE -

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_READ_BUDGETS_TOO - R - Ind: 'Read budget of measures'

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ROLLUP_BUDGETS - R - Ind: 'Roll up budget of measures'

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_READ_RELBUDGETS_TOO -

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ROLLUP_RELBUDGETS -

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_POSNR - Internal number of point of entry

Data type: IMPR-POSNR
Default: 00000000
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_READ_PLANS_TOO - R - Ind: 'Read plan values of measures'

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ROLLUP_PLANS - R - Ind: 'Roll up plan values of measures'

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_READ_COSTS_TOO - R - Ind: ' Read actual values of measures'

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ROLLUP_COSTS - R - Ind: 'Roll up actual values of measures'

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_READ_PROFIT_DATA_TOO -

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COSTS_FROMYEAR - R - Selection of actual values: From fiscal year

Data type: COSP-GJAHR
Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COSTS_FROMPER - R - Selection of actual values: From period

Data type: T009-ANZBP
Default: '000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COSTS_TOYEAR - R - Selection of actual values: To fiscal year

Data type: COSP-GJAHR
Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COSTS_TOPER - R - Selection of actual values: To period

Data type: T009-ANZBP
Default: '000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CREATE_STREENODE_TOO - R - Ind: 'Create STREENODE'

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_UP_TO_LEVEL -

Data type: RAIP_DYNP-TLEVEL
Default: '00'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_WITH_PATH -

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_AKTYP - Action category (A=display, V=change)

Data type: T020-AKTYP
Default: 'V'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LANGU - Language

Data type: SY-LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XTRANSACTION - T - Ind: 'Budget transaction/planning transaction'

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for AIP1_GET_INVPROG

E_IMTP - IMTP record

Data type: IMTP
Optional: No
Call by Reference: No ( called with pass by value option)

E_IMTT - IMTT record

Data type: IMTT
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for AIP1_GET_INVPROG

IT_SEL_AUFNR -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SEL_PSPHI -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SEL_PSPNR -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SEL_POSNR -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NOT_FOUND - Invalid entry or nothing found

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for AIP1_GET_INVPROG Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_e_imtp  TYPE IMTP, "   
lv_i_prnam  TYPE IMTP-PRNAM, "   
lv_not_found  TYPE IMTP, "   
lt_it_sel_aufnr  TYPE STANDARD TABLE OF IMTP, "   
lv_i_xplan  TYPE IMTP, "   ' '
lv_i_intern  TYPE IMTP, "   ' '
lv_i_obarts  TYPE C, "   'ORPRIQ '
lv_i_oldmeas  TYPE RAIP1-OLDMS, "   ' '
lv_i_trgkz  TYPE BPGE-TRGKZ, "   'N'
lv_i_put_measures_too  TYPE BPGE, "   'X'
lv_i_put_requests_only  TYPE C, "   ' '
lv_i_consider_rej_measures  TYPE C, "   'X'
lv_i_consider_old_measures  TYPE C, "   ' '
lv_i_consider_fut_measures  TYPE C, "   'X'
lv_e_imtt  TYPE IMTT, "   
lv_i_gjahr  TYPE IMPR-GJAHR, "   
lt_it_sel_psphi  TYPE STANDARD TABLE OF IMPR, "   
lv_i_consider_dec_requests  TYPE C, "   'X'
lv_i_consider_fin_measures  TYPE C, "   'X'
lv_i_consider_fin_measures_only  TYPE C, "   ' '
lv_i_consider_rel_measures  TYPE C, "   'X'
lv_i_put_main_status  TYPE C, "   ' '
lv_i_statsel  TYPE TJ48-SELID, "   ' '
lv_i_flg_ledger_all  TYPE C, "   ' '
lv_i_rep_curr  TYPE WAERS, "   ' '
lv_i_flg_mr_pl_bu_in_pos_curr  TYPE XFELD, "   ' '
lv_i_versn  TYPE RAIP3-VERSN, "   '000'
lv_i_posid  TYPE IMPR-POSID, "   ' '
lt_it_sel_pspnr  TYPE STANDARD TABLE OF IMPR, "   
lv_i_flg_versn_all  TYPE C, "   ' '
lv_i_valutyp  TYPE TKA09-VALUTYP, "   '0'
lv_i_flg_valutyp_all  TYPE C, "   ' '
lv_i_plget  TYPE C, "   '3'
lv_i_gnjhr_iq  TYPE IMAK-GJAHR, "   '0000'
lv_i_flg_gnjhr_iq_derive  TYPE XFELD, "   'X'
lv_i_read_budgets_too  TYPE XFELD, "   ' '
lv_i_rollup_budgets  TYPE XFELD, "   ' '
lv_i_read_relbudgets_too  TYPE XFELD, "   ' '
lv_i_rollup_relbudgets  TYPE XFELD, "   ' '
lv_i_posnr  TYPE IMPR-POSNR, "   00000000
lt_it_sel_posnr  TYPE STANDARD TABLE OF IMPR, "   
lv_i_read_plans_too  TYPE IMPR, "   ' '
lv_i_rollup_plans  TYPE IMPR, "   ' '
lv_i_read_costs_too  TYPE IMPR, "   ' '
lv_i_rollup_costs  TYPE IMPR, "   ' '
lv_i_read_profit_data_too  TYPE IMPR, "   ' '
lv_i_costs_fromyear  TYPE COSP-GJAHR, "   '0000'
lv_i_costs_fromper  TYPE T009-ANZBP, "   '000'
lv_i_costs_toyear  TYPE COSP-GJAHR, "   '0000'
lv_i_costs_toper  TYPE T009-ANZBP, "   '000'
lv_i_create_streenode_too  TYPE T009, "   ' '
lv_i_up_to_level  TYPE RAIP_DYNP-TLEVEL, "   '00'
lv_i_flg_with_path  TYPE XFELD, "   ' '
lv_i_aktyp  TYPE T020-AKTYP, "   'V'
lv_i_langu  TYPE SY-LANGU, "   SY-LANGU
lv_i_xtransaction  TYPE SY. "   ' '

  CALL FUNCTION 'AIP1_GET_INVPROG'  "Retrieve investment program
    EXPORTING
         I_PRNAM = lv_i_prnam
         I_XPLAN = lv_i_xplan
         I_INTERN = lv_i_intern
         I_OBARTS = lv_i_obarts
         I_OLDMEAS = lv_i_oldmeas
         I_TRGKZ = lv_i_trgkz
         I_PUT_MEASURES_TOO = lv_i_put_measures_too
         I_PUT_REQUESTS_ONLY = lv_i_put_requests_only
         I_CONSIDER_REJ_MEASURES = lv_i_consider_rej_measures
         I_CONSIDER_OLD_MEASURES = lv_i_consider_old_measures
         I_CONSIDER_FUT_MEASURES = lv_i_consider_fut_measures
         I_GJAHR = lv_i_gjahr
         I_CONSIDER_DEC_REQUESTS = lv_i_consider_dec_requests
         I_CONSIDER_FIN_MEASURES = lv_i_consider_fin_measures
         I_CONSIDER_FIN_MEASURES_ONLY = lv_i_consider_fin_measures_only
         I_CONSIDER_REL_MEASURES = lv_i_consider_rel_measures
         I_PUT_MAIN_STATUS = lv_i_put_main_status
         I_STATSEL = lv_i_statsel
         I_FLG_LEDGER_ALL = lv_i_flg_ledger_all
         I_REP_CURR = lv_i_rep_curr
         I_FLG_MR_PL_BU_IN_POS_CURR = lv_i_flg_mr_pl_bu_in_pos_curr
         I_VERSN = lv_i_versn
         I_POSID = lv_i_posid
         I_FLG_VERSN_ALL = lv_i_flg_versn_all
         I_VALUTYP = lv_i_valutyp
         I_FLG_VALUTYP_ALL = lv_i_flg_valutyp_all
         I_PLGET = lv_i_plget
         I_GNJHR_IQ = lv_i_gnjhr_iq
         I_FLG_GNJHR_IQ_DERIVE = lv_i_flg_gnjhr_iq_derive
         I_READ_BUDGETS_TOO = lv_i_read_budgets_too
         I_ROLLUP_BUDGETS = lv_i_rollup_budgets
         I_READ_RELBUDGETS_TOO = lv_i_read_relbudgets_too
         I_ROLLUP_RELBUDGETS = lv_i_rollup_relbudgets
         I_POSNR = lv_i_posnr
         I_READ_PLANS_TOO = lv_i_read_plans_too
         I_ROLLUP_PLANS = lv_i_rollup_plans
         I_READ_COSTS_TOO = lv_i_read_costs_too
         I_ROLLUP_COSTS = lv_i_rollup_costs
         I_READ_PROFIT_DATA_TOO = lv_i_read_profit_data_too
         I_COSTS_FROMYEAR = lv_i_costs_fromyear
         I_COSTS_FROMPER = lv_i_costs_fromper
         I_COSTS_TOYEAR = lv_i_costs_toyear
         I_COSTS_TOPER = lv_i_costs_toper
         I_CREATE_STREENODE_TOO = lv_i_create_streenode_too
         I_UP_TO_LEVEL = lv_i_up_to_level
         I_FLG_WITH_PATH = lv_i_flg_with_path
         I_AKTYP = lv_i_aktyp
         I_LANGU = lv_i_langu
         I_XTRANSACTION = lv_i_xtransaction
    IMPORTING
         E_IMTP = lv_e_imtp
         E_IMTT = lv_e_imtt
    TABLES
         IT_SEL_AUFNR = lt_it_sel_aufnr
         IT_SEL_PSPHI = lt_it_sel_psphi
         IT_SEL_PSPNR = lt_it_sel_pspnr
         IT_SEL_POSNR = lt_it_sel_posnr
    EXCEPTIONS
        NOT_FOUND = 1
. " AIP1_GET_INVPROG




ABAP code using 7.40 inline data declarations to call FM AIP1_GET_INVPROG

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single PRNAM FROM IMTP INTO @DATA(ld_i_prnam).
 
 
 
DATA(ld_i_xplan) = ' '.
 
DATA(ld_i_intern) = ' '.
 
DATA(ld_i_obarts) = 'ORPRIQ '.
 
"SELECT single OLDMS FROM RAIP1 INTO @DATA(ld_i_oldmeas).
DATA(ld_i_oldmeas) = ' '.
 
"SELECT single TRGKZ FROM BPGE INTO @DATA(ld_i_trgkz).
DATA(ld_i_trgkz) = 'N'.
 
DATA(ld_i_put_measures_too) = 'X'.
 
DATA(ld_i_put_requests_only) = ' '.
 
DATA(ld_i_consider_rej_measures) = 'X'.
 
DATA(ld_i_consider_old_measures) = ' '.
 
DATA(ld_i_consider_fut_measures) = 'X'.
 
 
"SELECT single GJAHR FROM IMPR INTO @DATA(ld_i_gjahr).
 
 
DATA(ld_i_consider_dec_requests) = 'X'.
 
DATA(ld_i_consider_fin_measures) = 'X'.
 
DATA(ld_i_consider_fin_measures_only) = ' '.
 
DATA(ld_i_consider_rel_measures) = 'X'.
 
DATA(ld_i_put_main_status) = ' '.
 
"SELECT single SELID FROM TJ48 INTO @DATA(ld_i_statsel).
DATA(ld_i_statsel) = ' '.
 
DATA(ld_i_flg_ledger_all) = ' '.
 
DATA(ld_i_rep_curr) = ' '.
 
DATA(ld_i_flg_mr_pl_bu_in_pos_curr) = ' '.
 
"SELECT single VERSN FROM RAIP3 INTO @DATA(ld_i_versn).
DATA(ld_i_versn) = '000'.
 
"SELECT single POSID FROM IMPR INTO @DATA(ld_i_posid).
DATA(ld_i_posid) = ' '.
 
 
DATA(ld_i_flg_versn_all) = ' '.
 
"SELECT single VALUTYP FROM TKA09 INTO @DATA(ld_i_valutyp).
DATA(ld_i_valutyp) = '0'.
 
DATA(ld_i_flg_valutyp_all) = ' '.
 
DATA(ld_i_plget) = '3'.
 
"SELECT single GJAHR FROM IMAK INTO @DATA(ld_i_gnjhr_iq).
DATA(ld_i_gnjhr_iq) = '0000'.
 
DATA(ld_i_flg_gnjhr_iq_derive) = 'X'.
 
DATA(ld_i_read_budgets_too) = ' '.
 
DATA(ld_i_rollup_budgets) = ' '.
 
DATA(ld_i_read_relbudgets_too) = ' '.
 
DATA(ld_i_rollup_relbudgets) = ' '.
 
"SELECT single POSNR FROM IMPR INTO @DATA(ld_i_posnr).
DATA(ld_i_posnr) = 00000000.
 
 
DATA(ld_i_read_plans_too) = ' '.
 
DATA(ld_i_rollup_plans) = ' '.
 
DATA(ld_i_read_costs_too) = ' '.
 
DATA(ld_i_rollup_costs) = ' '.
 
DATA(ld_i_read_profit_data_too) = ' '.
 
"SELECT single GJAHR FROM COSP INTO @DATA(ld_i_costs_fromyear).
DATA(ld_i_costs_fromyear) = '0000'.
 
"SELECT single ANZBP FROM T009 INTO @DATA(ld_i_costs_fromper).
DATA(ld_i_costs_fromper) = '000'.
 
"SELECT single GJAHR FROM COSP INTO @DATA(ld_i_costs_toyear).
DATA(ld_i_costs_toyear) = '0000'.
 
"SELECT single ANZBP FROM T009 INTO @DATA(ld_i_costs_toper).
DATA(ld_i_costs_toper) = '000'.
 
DATA(ld_i_create_streenode_too) = ' '.
 
"SELECT single TLEVEL FROM RAIP_DYNP INTO @DATA(ld_i_up_to_level).
DATA(ld_i_up_to_level) = '00'.
 
DATA(ld_i_flg_with_path) = ' '.
 
"SELECT single AKTYP FROM T020 INTO @DATA(ld_i_aktyp).
DATA(ld_i_aktyp) = 'V'.
 
"SELECT single LANGU FROM SY INTO @DATA(ld_i_langu).
DATA(ld_i_langu) = SY-LANGU.
 
DATA(ld_i_xtransaction) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!