SAP Function Modules

READ_ACTUALS_ISPS_WITH_RANGES SAP Function module







READ_ACTUALS_ISPS_WITH_RANGES is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name READ_ACTUALS_ISPS_WITH_RANGES into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: FMRE
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM READ_ACTUALS_ISPS_WITH_RANGES - READ ACTUALS ISPS WITH RANGES





CALL FUNCTION 'READ_ACTUALS_ISPS_WITH_RANGES' "
  EXPORTING
    i_fikrs =                   " fm01-fikrs    Financial Management Area
  TABLES
*   t_fictr =                   " range_c16     Funds Center
*   t_fipex =                   " range_c24     Commitment Item
*   t_geber =                   " range_c10
*   t_gjahr =                   " range_n4      Fiscal Year
*   t_perio =                   " range_n3      Period
*   t_perio7 =                  " range_n7
*   t_wrttp =                   " rsn2range     Value Type
*   t_twaer =                   " range_cuky    Transaction Currency
*   t_btart =                   " range_c4      Company Code
*   t_rrcty =                   " range_c1      Record Type
*   t_bukrs =                   " range_c4      Company Code
*   t_rstat =                   " range_c1      Statistics Indicator
*   t_hkont =                   " range_c10     G/L Account
*   t_cflev =                   " range_c1      Carryforward Level
*   t_rgjhr =                   " range_n4
*   t_rvers =                   " range_c3
*   t_vrgng =                   " range_c4
*   t_farea =                   " range_c16
*   t_objnrz =                  " range_c22
*   t_rudim =                   " range_c10
    t_actuals =                 " fmfmit1
    .  "  READ_ACTUALS_ISPS_WITH_RANGES

ABAP code example for Function Module READ_ACTUALS_ISPS_WITH_RANGES





The ABAP code below is a full code listing to execute function module READ_ACTUALS_ISPS_WITH_RANGES including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
it_t_fictr  TYPE STANDARD TABLE OF RANGE_C16,"TABLES PARAM
wa_t_fictr  LIKE LINE OF it_t_fictr ,
it_t_fipex  TYPE STANDARD TABLE OF RANGE_C24,"TABLES PARAM
wa_t_fipex  LIKE LINE OF it_t_fipex ,
it_t_geber  TYPE STANDARD TABLE OF RANGE_C10,"TABLES PARAM
wa_t_geber  LIKE LINE OF it_t_geber ,
it_t_gjahr  TYPE STANDARD TABLE OF RANGE_N4,"TABLES PARAM
wa_t_gjahr  LIKE LINE OF it_t_gjahr ,
it_t_perio  TYPE STANDARD TABLE OF RANGE_N3,"TABLES PARAM
wa_t_perio  LIKE LINE OF it_t_perio ,
it_t_perio7  TYPE STANDARD TABLE OF RANGE_N7,"TABLES PARAM
wa_t_perio7  LIKE LINE OF it_t_perio7 ,
it_t_wrttp  TYPE STANDARD TABLE OF RSN2RANGE,"TABLES PARAM
wa_t_wrttp  LIKE LINE OF it_t_wrttp ,
it_t_twaer  TYPE STANDARD TABLE OF RANGE_CUKY,"TABLES PARAM
wa_t_twaer  LIKE LINE OF it_t_twaer ,
it_t_btart  TYPE STANDARD TABLE OF RANGE_C4,"TABLES PARAM
wa_t_btart  LIKE LINE OF it_t_btart ,
it_t_rrcty  TYPE STANDARD TABLE OF RANGE_C1,"TABLES PARAM
wa_t_rrcty  LIKE LINE OF it_t_rrcty ,
it_t_bukrs  TYPE STANDARD TABLE OF RANGE_C4,"TABLES PARAM
wa_t_bukrs  LIKE LINE OF it_t_bukrs ,
it_t_rstat  TYPE STANDARD TABLE OF RANGE_C1,"TABLES PARAM
wa_t_rstat  LIKE LINE OF it_t_rstat ,
it_t_hkont  TYPE STANDARD TABLE OF RANGE_C10,"TABLES PARAM
wa_t_hkont  LIKE LINE OF it_t_hkont ,
it_t_cflev  TYPE STANDARD TABLE OF RANGE_C1,"TABLES PARAM
wa_t_cflev  LIKE LINE OF it_t_cflev ,
it_t_rgjhr  TYPE STANDARD TABLE OF RANGE_N4,"TABLES PARAM
wa_t_rgjhr  LIKE LINE OF it_t_rgjhr ,
it_t_rvers  TYPE STANDARD TABLE OF RANGE_C3,"TABLES PARAM
wa_t_rvers  LIKE LINE OF it_t_rvers ,
it_t_vrgng  TYPE STANDARD TABLE OF RANGE_C4,"TABLES PARAM
wa_t_vrgng  LIKE LINE OF it_t_vrgng ,
it_t_farea  TYPE STANDARD TABLE OF RANGE_C16,"TABLES PARAM
wa_t_farea  LIKE LINE OF it_t_farea ,
it_t_objnrz  TYPE STANDARD TABLE OF RANGE_C22,"TABLES PARAM
wa_t_objnrz  LIKE LINE OF it_t_objnrz ,
it_t_rudim  TYPE STANDARD TABLE OF RANGE_C10,"TABLES PARAM
wa_t_rudim  LIKE LINE OF it_t_rudim ,
it_t_actuals  TYPE STANDARD TABLE OF FMFMIT1,"TABLES PARAM
wa_t_actuals  LIKE LINE OF it_t_actuals .


SELECT single FIKRS
FROM FM01
INTO @DATA(ld_i_fikrs).


"populate fields of struture and append to itab
append wa_t_fictr to it_t_fictr.

"populate fields of struture and append to itab
append wa_t_fipex to it_t_fipex.

"populate fields of struture and append to itab
append wa_t_geber to it_t_geber.

"populate fields of struture and append to itab
append wa_t_gjahr to it_t_gjahr.

"populate fields of struture and append to itab
append wa_t_perio to it_t_perio.

"populate fields of struture and append to itab
append wa_t_perio7 to it_t_perio7.

"populate fields of struture and append to itab
append wa_t_wrttp to it_t_wrttp.

"populate fields of struture and append to itab
append wa_t_twaer to it_t_twaer.

"populate fields of struture and append to itab
append wa_t_btart to it_t_btart.

"populate fields of struture and append to itab
append wa_t_rrcty to it_t_rrcty.

"populate fields of struture and append to itab
append wa_t_bukrs to it_t_bukrs.

"populate fields of struture and append to itab
append wa_t_rstat to it_t_rstat.

"populate fields of struture and append to itab
append wa_t_hkont to it_t_hkont.

"populate fields of struture and append to itab
append wa_t_cflev to it_t_cflev.

"populate fields of struture and append to itab
append wa_t_rgjhr to it_t_rgjhr.

"populate fields of struture and append to itab
append wa_t_rvers to it_t_rvers.

"populate fields of struture and append to itab
append wa_t_vrgng to it_t_vrgng.

"populate fields of struture and append to itab
append wa_t_farea to it_t_farea.

"populate fields of struture and append to itab
append wa_t_objnrz to it_t_objnrz.

"populate fields of struture and append to itab
append wa_t_rudim to it_t_rudim.

"populate fields of struture and append to itab
append wa_t_actuals to it_t_actuals. . CALL FUNCTION 'READ_ACTUALS_ISPS_WITH_RANGES' EXPORTING i_fikrs = ld_i_fikrs TABLES * t_fictr = it_t_fictr * t_fipex = it_t_fipex * t_geber = it_t_geber * t_gjahr = it_t_gjahr * t_perio = it_t_perio * t_perio7 = it_t_perio7 * t_wrttp = it_t_wrttp * t_twaer = it_t_twaer * t_btart = it_t_btart * t_rrcty = it_t_rrcty * t_bukrs = it_t_bukrs * t_rstat = it_t_rstat * t_hkont = it_t_hkont * t_cflev = it_t_cflev * t_rgjhr = it_t_rgjhr * t_rvers = it_t_rvers * t_vrgng = it_t_vrgng * t_farea = it_t_farea * t_objnrz = it_t_objnrz * t_rudim = it_t_rudim t_actuals = it_t_actuals . " READ_ACTUALS_ISPS_WITH_RANGES
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_i_fikrs  TYPE FM01-FIKRS ,
it_t_fictr  TYPE STANDARD TABLE OF RANGE_C16 ,
wa_t_fictr  LIKE LINE OF it_t_fictr,
it_t_fipex  TYPE STANDARD TABLE OF RANGE_C24 ,
wa_t_fipex  LIKE LINE OF it_t_fipex,
it_t_geber  TYPE STANDARD TABLE OF RANGE_C10 ,
wa_t_geber  LIKE LINE OF it_t_geber,
it_t_gjahr  TYPE STANDARD TABLE OF RANGE_N4 ,
wa_t_gjahr  LIKE LINE OF it_t_gjahr,
it_t_perio  TYPE STANDARD TABLE OF RANGE_N3 ,
wa_t_perio  LIKE LINE OF it_t_perio,
it_t_perio7  TYPE STANDARD TABLE OF RANGE_N7 ,
wa_t_perio7  LIKE LINE OF it_t_perio7,
it_t_wrttp  TYPE STANDARD TABLE OF RSN2RANGE ,
wa_t_wrttp  LIKE LINE OF it_t_wrttp,
it_t_twaer  TYPE STANDARD TABLE OF RANGE_CUKY ,
wa_t_twaer  LIKE LINE OF it_t_twaer,
it_t_btart  TYPE STANDARD TABLE OF RANGE_C4 ,
wa_t_btart  LIKE LINE OF it_t_btart,
it_t_rrcty  TYPE STANDARD TABLE OF RANGE_C1 ,
wa_t_rrcty  LIKE LINE OF it_t_rrcty,
it_t_bukrs  TYPE STANDARD TABLE OF RANGE_C4 ,
wa_t_bukrs  LIKE LINE OF it_t_bukrs,
it_t_rstat  TYPE STANDARD TABLE OF RANGE_C1 ,
wa_t_rstat  LIKE LINE OF it_t_rstat,
it_t_hkont  TYPE STANDARD TABLE OF RANGE_C10 ,
wa_t_hkont  LIKE LINE OF it_t_hkont,
it_t_cflev  TYPE STANDARD TABLE OF RANGE_C1 ,
wa_t_cflev  LIKE LINE OF it_t_cflev,
it_t_rgjhr  TYPE STANDARD TABLE OF RANGE_N4 ,
wa_t_rgjhr  LIKE LINE OF it_t_rgjhr,
it_t_rvers  TYPE STANDARD TABLE OF RANGE_C3 ,
wa_t_rvers  LIKE LINE OF it_t_rvers,
it_t_vrgng  TYPE STANDARD TABLE OF RANGE_C4 ,
wa_t_vrgng  LIKE LINE OF it_t_vrgng,
it_t_farea  TYPE STANDARD TABLE OF RANGE_C16 ,
wa_t_farea  LIKE LINE OF it_t_farea,
it_t_objnrz  TYPE STANDARD TABLE OF RANGE_C22 ,
wa_t_objnrz  LIKE LINE OF it_t_objnrz,
it_t_rudim  TYPE STANDARD TABLE OF RANGE_C10 ,
wa_t_rudim  LIKE LINE OF it_t_rudim,
it_t_actuals  TYPE STANDARD TABLE OF FMFMIT1 ,
wa_t_actuals  LIKE LINE OF it_t_actuals.


SELECT single FIKRS
FROM FM01
INTO ld_i_fikrs.


"populate fields of struture and append to itab
append wa_t_fictr to it_t_fictr.

"populate fields of struture and append to itab
append wa_t_fipex to it_t_fipex.

"populate fields of struture and append to itab
append wa_t_geber to it_t_geber.

"populate fields of struture and append to itab
append wa_t_gjahr to it_t_gjahr.

"populate fields of struture and append to itab
append wa_t_perio to it_t_perio.

"populate fields of struture and append to itab
append wa_t_perio7 to it_t_perio7.

"populate fields of struture and append to itab
append wa_t_wrttp to it_t_wrttp.

"populate fields of struture and append to itab
append wa_t_twaer to it_t_twaer.

"populate fields of struture and append to itab
append wa_t_btart to it_t_btart.

"populate fields of struture and append to itab
append wa_t_rrcty to it_t_rrcty.

"populate fields of struture and append to itab
append wa_t_bukrs to it_t_bukrs.

"populate fields of struture and append to itab
append wa_t_rstat to it_t_rstat.

"populate fields of struture and append to itab
append wa_t_hkont to it_t_hkont.

"populate fields of struture and append to itab
append wa_t_cflev to it_t_cflev.

"populate fields of struture and append to itab
append wa_t_rgjhr to it_t_rgjhr.

"populate fields of struture and append to itab
append wa_t_rvers to it_t_rvers.

"populate fields of struture and append to itab
append wa_t_vrgng to it_t_vrgng.

"populate fields of struture and append to itab
append wa_t_farea to it_t_farea.

"populate fields of struture and append to itab
append wa_t_objnrz to it_t_objnrz.

"populate fields of struture and append to itab
append wa_t_rudim to it_t_rudim.

"populate fields of struture and append to itab
append wa_t_actuals to it_t_actuals.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name READ_ACTUALS_ISPS_WITH_RANGES or its description.