SAP VERMOEGENSWERTE_BERECHNEN Function Module for









VERMOEGENSWERTE_BERECHNEN is a standard vermoegenswerte berechnen SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 vermoegenswerte berechnen FM, simply by entering the name VERMOEGENSWERTE_BERECHNEN into the relevant SAP transaction such as SE37 or SE38.

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



Function VERMOEGENSWERTE_BERECHNEN 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 'VERMOEGENSWERTE_BERECHNEN'"
EXPORTING
F_ANLAV = "ANLAV from GET ANLAV
F_ANLB = "ANLB form GET ANLB for asset list
F_ANLCV = "ANLCV of GET ANLCV for asset list
* I_DATUM = SY-DATLO "Report date BERDATUM
I_GJAHR = "Fiscal year for the report date (o

IMPORTING
E_AHPROZ = "Cut-off percentage rate
E_AHWRT = "Cut-off value
E_BCHWRT = "Book value (from value transfer ar
E_KANSW = "Acquisition value (net worth tax a
E_VERMW = "Asset value
E_VRMBER = "Net worth tax area
E_WRTBER = "Value transfer area
.



IMPORTING Parameters details for VERMOEGENSWERTE_BERECHNEN

F_ANLAV - ANLAV from GET ANLAV

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

F_ANLB - ANLB form GET ANLB for asset list

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

F_ANLCV - ANLCV of GET ANLCV for asset list

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

I_DATUM - Report date BERDATUM

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

I_GJAHR - Fiscal year for the report date (o

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

EXPORTING Parameters details for VERMOEGENSWERTE_BERECHNEN

E_AHPROZ - Cut-off percentage rate

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

E_AHWRT - Cut-off value

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

E_BCHWRT - Book value (from value transfer ar

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

E_KANSW - Acquisition value (net worth tax a

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

E_VERMW - Asset value

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

E_VRMBER - Net worth tax area

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

E_WRTBER - Value transfer area

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

Copy and paste ABAP code example for VERMOEGENSWERTE_BERECHNEN 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_f_anlav  TYPE ANLAV, "   
lv_e_ahproz  TYPE T091P-AHPROZ, "   
lv_f_anlb  TYPE ANLB, "   
lv_e_ahwrt  TYPE ANLCV-ANSW_GJE, "   
lv_f_anlcv  TYPE ANLCV, "   
lv_e_bchwrt  TYPE ANLCV-BCHWRT_GJE, "   
lv_e_kansw  TYPE ANLCV-ANSW_GJE, "   
lv_i_datum  TYPE SY-DATUM, "   SY-DATLO
lv_e_vermw  TYPE ANLA-WRTMA, "   
lv_i_gjahr  TYPE ANLC-GJAHR, "   
lv_e_vrmber  TYPE ANLB-AFABE, "   
lv_e_wrtber  TYPE ANLB-AFABE. "   

  CALL FUNCTION 'VERMOEGENSWERTE_BERECHNEN'  "
    EXPORTING
         F_ANLAV = lv_f_anlav
         F_ANLB = lv_f_anlb
         F_ANLCV = lv_f_anlcv
         I_DATUM = lv_i_datum
         I_GJAHR = lv_i_gjahr
    IMPORTING
         E_AHPROZ = lv_e_ahproz
         E_AHWRT = lv_e_ahwrt
         E_BCHWRT = lv_e_bchwrt
         E_KANSW = lv_e_kansw
         E_VERMW = lv_e_vermw
         E_VRMBER = lv_e_vrmber
         E_WRTBER = lv_e_wrtber
. " VERMOEGENSWERTE_BERECHNEN




ABAP code using 7.40 inline data declarations to call FM VERMOEGENSWERTE_BERECHNEN

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 AHPROZ FROM T091P INTO @DATA(ld_e_ahproz).
 
 
"SELECT single ANSW_GJE FROM ANLCV INTO @DATA(ld_e_ahwrt).
 
 
"SELECT single BCHWRT_GJE FROM ANLCV INTO @DATA(ld_e_bchwrt).
 
"SELECT single ANSW_GJE FROM ANLCV INTO @DATA(ld_e_kansw).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_datum).
DATA(ld_i_datum) = SY-DATLO.
 
"SELECT single WRTMA FROM ANLA INTO @DATA(ld_e_vermw).
 
"SELECT single GJAHR FROM ANLC INTO @DATA(ld_i_gjahr).
 
"SELECT single AFABE FROM ANLB INTO @DATA(ld_e_vrmber).
 
"SELECT single AFABE FROM ANLB INTO @DATA(ld_e_wrtber).
 


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!