SAP ETH_HEAT_DAY Function Module for









ETH_HEAT_DAY is a standard eth heat day 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 eth heat day FM, simply by entering the name ETH_HEAT_DAY into the relevant SAP transaction such as SE37 or SE38.

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



Function ETH_HEAT_DAY 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 'ETH_HEAT_DAY'"
EXPORTING
IABRVAR = "
IDGULTAB = "
IMIETR = "
INKSL = "
IVONDATUM = "
IBISDATUM = "

TABLES
TABRGR = "
XKOSTEN = "
YKOSTEN = "
.



IMPORTING Parameters details for ETH_HEAT_DAY

IABRVAR -

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

IDGULTAB -

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

IMIETR -

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

INKSL -

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

IVONDATUM -

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

IBISDATUM -

Data type: VIAK25-DPEREND
Optional: No
Call by Reference: Yes

TABLES Parameters details for ETH_HEAT_DAY

TABRGR -

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

XKOSTEN -

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

YKOSTEN -

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

Copy and paste ABAP code example for ETH_HEAT_DAY 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:
lt_tabrgr  TYPE STANDARD TABLE OF IABRGR, "   
lv_iabrvar  TYPE VIAK04-ABRVAR, "   
lt_xkosten  TYPE STANDARD TABLE OF IKOSTEN, "   
lv_idgultab  TYPE VIAK04-DGULTAB, "   
lv_imietr  TYPE VIOB01-SMIETR, "   
lt_ykosten  TYPE STANDARD TABLE OF IKOSTEN, "   
lv_inksl  TYPE VIAK04-SNKSL, "   
lv_ivondatum  TYPE VIAK04-DGULTAB, "   
lv_ibisdatum  TYPE VIAK25-DPEREND. "   

  CALL FUNCTION 'ETH_HEAT_DAY'  "
    EXPORTING
         IABRVAR = lv_iabrvar
         IDGULTAB = lv_idgultab
         IMIETR = lv_imietr
         INKSL = lv_inksl
         IVONDATUM = lv_ivondatum
         IBISDATUM = lv_ibisdatum
    TABLES
         TABRGR = lt_tabrgr
         XKOSTEN = lt_xkosten
         YKOSTEN = lt_ykosten
. " ETH_HEAT_DAY




ABAP code using 7.40 inline data declarations to call FM ETH_HEAT_DAY

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 ABRVAR FROM VIAK04 INTO @DATA(ld_iabrvar).
 
 
"SELECT single DGULTAB FROM VIAK04 INTO @DATA(ld_idgultab).
 
"SELECT single SMIETR FROM VIOB01 INTO @DATA(ld_imietr).
 
 
"SELECT single SNKSL FROM VIAK04 INTO @DATA(ld_inksl).
 
"SELECT single DGULTAB FROM VIAK04 INTO @DATA(ld_ivondatum).
 
"SELECT single DPEREND FROM VIAK25 INTO @DATA(ld_ibisdatum).
 


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!