SAP AIS_SVPL_CALCULATE_YIELDS1 Function Module for Calculate Yields for SVA Profit & Loss









AIS_SVPL_CALCULATE_YIELDS1 is a standard ais svpl calculate yields1 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Calculate Yields for SVA Profit & Loss 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 ais svpl calculate yields1 FM, simply by entering the name AIS_SVPL_CALCULATE_YIELDS1 into the relevant SAP transaction such as SE37 or SE38.

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



Function AIS_SVPL_CALCULATE_YIELDS1 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 'AIS_SVPL_CALCULATE_YIELDS1'"Calculate Yields for SVA Profit & Loss
EXPORTING
I_YIELD_DIETZ = "Checkbox im Reporting
* I_TAB_EODD_BEG = "
* I_STR_EVAL_METH_BEG = "
* I_TAB_FOB = "
I_YIELD_MODDIETZ = "Checkbox im Reporting
I_YIELD_TWRR = "Checkbox im Reporting
I_YIELD_MWRR = "Checkbox im Reporting
I_STR_SPARA_BEG = "
I_STR_SPARA_END = "
I_TAB_TRANSACTION = "
I_TAB_PLRESULTS_DISP = "
I_TAB_PLRESULTS = "

IMPORTING
E_TAB_PLRESULTS_EARL = "
.



IMPORTING Parameters details for AIS_SVPL_CALCULATE_YIELDS1

I_YIELD_DIETZ - Checkbox im Reporting

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

I_TAB_EODD_BEG -

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

I_STR_EVAL_METH_BEG -

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

I_TAB_FOB -

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

I_YIELD_MODDIETZ - Checkbox im Reporting

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

I_YIELD_TWRR - Checkbox im Reporting

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

I_YIELD_MWRR - Checkbox im Reporting

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

I_STR_SPARA_BEG -

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

I_STR_SPARA_END -

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

I_TAB_TRANSACTION -

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

I_TAB_PLRESULTS_DISP -

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

I_TAB_PLRESULTS -

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

EXPORTING Parameters details for AIS_SVPL_CALCULATE_YIELDS1

E_TAB_PLRESULTS_EARL -

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

Copy and paste ABAP code example for AIS_SVPL_CALCULATE_YIELDS1 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_i_yield_dietz  TYPE CHECKBOX, "   
lv_e_tab_plresults_earl  TYPE AISSV_RESULT_T, "   
lv_i_tab_eodd_beg  TYPE RMSVA_EODD_T, "   
lv_i_str_eval_meth_beg  TYPE RMR0_EVAL_METH, "   
lv_i_tab_fob  TYPE RMFOS_FOB_T, "   
lv_i_yield_moddietz  TYPE CHECKBOX, "   
lv_i_yield_twrr  TYPE CHECKBOX, "   
lv_i_yield_mwrr  TYPE CHECKBOX, "   
lv_i_str_spara_beg  TYPE RMSVA_SPARA, "   
lv_i_str_spara_end  TYPE RMSVA_SPARA, "   
lv_i_tab_transaction  TYPE AISSV_TRANSACTION_T, "   
lv_i_tab_plresults_disp  TYPE AISSV_RESULT_T, "   
lv_i_tab_plresults  TYPE AISSV_RESULT_T. "   

  CALL FUNCTION 'AIS_SVPL_CALCULATE_YIELDS1'  "Calculate Yields for SVA Profit & Loss
    EXPORTING
         I_YIELD_DIETZ = lv_i_yield_dietz
         I_TAB_EODD_BEG = lv_i_tab_eodd_beg
         I_STR_EVAL_METH_BEG = lv_i_str_eval_meth_beg
         I_TAB_FOB = lv_i_tab_fob
         I_YIELD_MODDIETZ = lv_i_yield_moddietz
         I_YIELD_TWRR = lv_i_yield_twrr
         I_YIELD_MWRR = lv_i_yield_mwrr
         I_STR_SPARA_BEG = lv_i_str_spara_beg
         I_STR_SPARA_END = lv_i_str_spara_end
         I_TAB_TRANSACTION = lv_i_tab_transaction
         I_TAB_PLRESULTS_DISP = lv_i_tab_plresults_disp
         I_TAB_PLRESULTS = lv_i_tab_plresults
    IMPORTING
         E_TAB_PLRESULTS_EARL = lv_e_tab_plresults_earl
. " AIS_SVPL_CALCULATE_YIELDS1




ABAP code using 7.40 inline data declarations to call FM AIS_SVPL_CALCULATE_YIELDS1

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.

 
 
 
 
 
 
 
 
 
 
 
 
 


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!