SAP Function Modules

AIS_HSSPAR_FILL_FOR_SVA SAP Function module - CFA: Filling of Evaluation Parameters in Single Value Analysis







AIS_HSSPAR_FILL_FOR_SVA 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 AIS_HSSPAR_FILL_FOR_SVA into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM AIS_HSSPAR_FILL_FOR_SVA - AIS HSSPAR FILL FOR SVA





CALL FUNCTION 'AIS_HSSPAR_FILL_FOR_SVA' "CFA: Filling of Evaluation Parameters in Single Value Analysis
  EXPORTING
    i_analysis_type =           " rmsva_antype
*   i_col_mode =                " rmsva_colmode
*   i_eval =                    " rmsva_spara-auswertung
*   i_datastr =                 " rmsva_spara-rmbid
*   i_view =                    " rmsva_spara-sichtid
*   i_phid =                    " rmsva_spara-phid
*   i_phnode =                  " rmsva_spara-pknoten
*   i_curr =                    " rmsva_spara-waers
*   i_date =                    " rmsva_spara-datum
*   i_hori =                    " rmsva_spara-horizont
*   i_scen =                    " rmsva_spara-szenari
*   i_val_area =                " tpm_val_area  Valuation Area
  IMPORTING
    e_spara =                   " rmsva_spara
    .  "  AIS_HSSPAR_FILL_FOR_SVA

ABAP code example for Function Module AIS_HSSPAR_FILL_FOR_SVA





The ABAP code below is a full code listing to execute function module AIS_HSSPAR_FILL_FOR_SVA 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:
ld_e_spara  TYPE RMSVA_SPARA .

DATA(ld_i_analysis_type) = 'Check type of data required'.
DATA(ld_i_col_mode) = 'Check type of data required'.

DATA(ld_i_eval) = some text here

DATA(ld_i_datastr) = some text here

DATA(ld_i_view) = some text here

DATA(ld_i_phid) = some text here

DATA(ld_i_phnode) = some text here

DATA(ld_i_curr) = some text here

DATA(ld_i_date) = some text here

DATA(ld_i_hori) = some text here

DATA(ld_i_scen) = some text here
DATA(ld_i_val_area) = 'Check type of data required'. . CALL FUNCTION 'AIS_HSSPAR_FILL_FOR_SVA' EXPORTING i_analysis_type = ld_i_analysis_type * i_col_mode = ld_i_col_mode * i_eval = ld_i_eval * i_datastr = ld_i_datastr * i_view = ld_i_view * i_phid = ld_i_phid * i_phnode = ld_i_phnode * i_curr = ld_i_curr * i_date = ld_i_date * i_hori = ld_i_hori * i_scen = ld_i_scen * i_val_area = ld_i_val_area IMPORTING e_spara = ld_e_spara . " AIS_HSSPAR_FILL_FOR_SVA
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_e_spara  TYPE RMSVA_SPARA ,
ld_i_analysis_type  TYPE RMSVA_ANTYPE ,
ld_i_col_mode  TYPE RMSVA_COLMODE ,
ld_i_eval  TYPE RMSVA_SPARA-AUSWERTUNG ,
ld_i_datastr  TYPE RMSVA_SPARA-RMBID ,
ld_i_view  TYPE RMSVA_SPARA-SICHTID ,
ld_i_phid  TYPE RMSVA_SPARA-PHID ,
ld_i_phnode  TYPE RMSVA_SPARA-PKNOTEN ,
ld_i_curr  TYPE RMSVA_SPARA-WAERS ,
ld_i_date  TYPE RMSVA_SPARA-DATUM ,
ld_i_hori  TYPE RMSVA_SPARA-HORIZONT ,
ld_i_scen  TYPE RMSVA_SPARA-SZENARI ,
ld_i_val_area  TYPE TPM_VAL_AREA .

ld_i_analysis_type = 'Check type of data required'.
ld_i_col_mode = 'Check type of data required'.

ld_i_eval = some text here

ld_i_datastr = some text here

ld_i_view = some text here

ld_i_phid = some text here

ld_i_phnode = some text here

ld_i_curr = some text here

ld_i_date = some text here

ld_i_hori = some text here

ld_i_scen = some text here
ld_i_val_area = 'Check type of data required'.

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