SAP KL_FAZ_EVAL_TABLE Function Module for 4.62: ABE AllEr FAZ'en in allen geforderten EV.









KL_FAZ_EVAL_TABLE is a standard kl faz eval table SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for 4.62: ABE AllEr FAZ'en in allen geforderten EV. 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 kl faz eval table FM, simply by entering the name KL_FAZ_EVAL_TABLE into the relevant SAP transaction such as SE37 or SE38.

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



Function KL_FAZ_EVAL_TABLE 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 'KL_FAZ_EVAL_TABLE'"4.62:   ABE  AllEr  FAZ'en  in allen geforderten EV.
EXPORTING
I_STICHTAG = "Stichtag der ABE
I_CONTROL = "Steuergrößen für die Tagesendeverarbeitung
I_AUSWERTUNGSART = "Auswertungsart im Risk Management
I_EV_TAB = "Ermittlungsverfahren
I_FACILITY_TAB = "Verknüpfung Fazilität mit Ziehung Tabellentyp
* I_PROT_LEVEL = 1 "Protokollebene
* I_WA_REP_TAB = "Die REP/REPOSe der Ziehungen (als externe Geschäfte via EGP)

IMPORTING
E_FAZ_ANBETROUT_TAB = "FAZilitäten Anrechnungsbetragsermittlung Ausgabestruktur
E_EG_ANBETROUT_TAB = "Faz-Ziehungen Anrechnungsbetragsermittlung Ausgabestruktur
E_SI_ANBETROUT_TAB = "Sicherheiten (FAZ und EG) Anrechnungsbetragsermittlung Ausgabestruktur

TABLES
C_ERRORITAB = "OR: structure of error-handling
.



IMPORTING Parameters details for KL_FAZ_EVAL_TABLE

I_STICHTAG - Stichtag der ABE

Data type: SY-DATUM
Optional: No
Call by Reference: Yes

I_CONTROL - Steuergrößen für die Tagesendeverarbeitung

Data type: KLCONTROL
Optional: No
Call by Reference: Yes

I_AUSWERTUNGSART - Auswertungsart im Risk Management

Data type: ATSYC-AUSWT
Optional: No
Call by Reference: Yes

I_EV_TAB - Ermittlungsverfahren

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

I_FACILITY_TAB - Verknüpfung Fazilität mit Ziehung Tabellentyp

Data type: KLFACILITY_TAB
Optional: No
Call by Reference: Yes

I_PROT_LEVEL - Protokollebene

Data type: SPROT-LEVEL
Default: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WA_REP_TAB - Die REP/REPOSe der Ziehungen (als externe Geschäfte via EGP)

Data type: KL2_REP_OBJ_TAB
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for KL_FAZ_EVAL_TABLE

E_FAZ_ANBETROUT_TAB - FAZilitäten Anrechnungsbetragsermittlung Ausgabestruktur

Data type: KLANBETROUT_TAB
Optional: No
Call by Reference: Yes

E_EG_ANBETROUT_TAB - Faz-Ziehungen Anrechnungsbetragsermittlung Ausgabestruktur

Data type: KLANBETROUT_TAB
Optional: No
Call by Reference: Yes

E_SI_ANBETROUT_TAB - Sicherheiten (FAZ und EG) Anrechnungsbetragsermittlung Ausgabestruktur

Data type: KLANBETROUT_TAB
Optional: No
Call by Reference: Yes

TABLES Parameters details for KL_FAZ_EVAL_TABLE

C_ERRORITAB - OR: structure of error-handling

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

Copy and paste ABAP code example for KL_FAZ_EVAL_TABLE 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_stichtag  TYPE SY-DATUM, "   
lt_c_erroritab  TYPE STANDARD TABLE OF BAPIERR, "   
lv_e_faz_anbetrout_tab  TYPE KLANBETROUT_TAB, "   
lv_i_control  TYPE KLCONTROL, "   
lv_e_eg_anbetrout_tab  TYPE KLANBETROUT_TAB, "   
lv_i_auswertungsart  TYPE ATSYC-AUSWT, "   
lv_e_si_anbetrout_tab  TYPE KLANBETROUT_TAB, "   
lv_i_ev_tab  TYPE KL2_EV_TAB, "   
lv_i_facility_tab  TYPE KLFACILITY_TAB, "   
lv_i_prot_level  TYPE SPROT-LEVEL, "   1
lv_i_wa_rep_tab  TYPE KL2_REP_OBJ_TAB. "   

  CALL FUNCTION 'KL_FAZ_EVAL_TABLE'  "4.62: ABE AllEr FAZ'en in allen geforderten EV.
    EXPORTING
         I_STICHTAG = lv_i_stichtag
         I_CONTROL = lv_i_control
         I_AUSWERTUNGSART = lv_i_auswertungsart
         I_EV_TAB = lv_i_ev_tab
         I_FACILITY_TAB = lv_i_facility_tab
         I_PROT_LEVEL = lv_i_prot_level
         I_WA_REP_TAB = lv_i_wa_rep_tab
    IMPORTING
         E_FAZ_ANBETROUT_TAB = lv_e_faz_anbetrout_tab
         E_EG_ANBETROUT_TAB = lv_e_eg_anbetrout_tab
         E_SI_ANBETROUT_TAB = lv_e_si_anbetrout_tab
    TABLES
         C_ERRORITAB = lt_c_erroritab
. " KL_FAZ_EVAL_TABLE




ABAP code using 7.40 inline data declarations to call FM KL_FAZ_EVAL_TABLE

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_stichtag).
 
 
 
 
 
"SELECT single AUSWT FROM ATSYC INTO @DATA(ld_i_auswertungsart).
 
 
 
 
"SELECT single LEVEL FROM SPROT INTO @DATA(ld_i_prot_level).
DATA(ld_i_prot_level) = 1.
 
 


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!