SAP NOMINALBESTAND_ERMITTELN Function Module for Determine Position (Sorted by ID Number and Company Code) by Key Date









NOMINALBESTAND_ERMITTELN is a standard nominalbestand ermitteln SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determine Position (Sorted by ID Number and Company Code) by Key Date 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 nominalbestand ermitteln FM, simply by entering the name NOMINALBESTAND_ERMITTELN into the relevant SAP transaction such as SE37 or SE38.

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



Function NOMINALBESTAND_ERMITTELN 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 'NOMINALBESTAND_ERMITTELN'"Determine Position (Sorted by ID Number and Company Code) by Key Date
EXPORTING
I_DATUM = "Stichtag, zu dem Nominalbestand ermittelt wird

TABLES
DEPOT_BESTAND = "Depot_bestand je WP, Depot und Buchungskreis
IO_VWBEVI = "Flow records
I_ZUSATZ = "Zusatzdaten zum Buchungskreis
O_BESTAND = "Stock Table
.



IMPORTING Parameters details for NOMINALBESTAND_ERMITTELN

I_DATUM - Stichtag, zu dem Nominalbestand ermittelt wird

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

TABLES Parameters details for NOMINALBESTAND_ERMITTELN

DEPOT_BESTAND - Depot_bestand je WP, Depot und Buchungskreis

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

IO_VWBEVI - Flow records

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

I_ZUSATZ - Zusatzdaten zum Buchungskreis

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

O_BESTAND - Stock Table

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

Copy and paste ABAP code example for NOMINALBESTAND_ERMITTELN 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_datum  TYPE SY-DATUM, "   
lt_depot_bestand  TYPE STANDARD TABLE OF REVALB, "   
lt_io_vwbevi  TYPE STANDARD TABLE OF VWBEVI, "   
lt_i_zusatz  TYPE STANDARD TABLE OF RBUKRSDAT, "   
lt_o_bestand  TYPE STANDARD TABLE OF REVALD. "   

  CALL FUNCTION 'NOMINALBESTAND_ERMITTELN'  "Determine Position (Sorted by ID Number and Company Code) by Key Date
    EXPORTING
         I_DATUM = lv_i_datum
    TABLES
         DEPOT_BESTAND = lt_depot_bestand
         IO_VWBEVI = lt_io_vwbevi
         I_ZUSATZ = lt_i_zusatz
         O_BESTAND = lt_o_bestand
. " NOMINALBESTAND_ERMITTELN




ABAP code using 7.40 inline data declarations to call FM NOMINALBESTAND_ERMITTELN

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 DATUM FROM SY INTO @DATA(ld_i_datum).
 
 
 
 
 


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!