SAP ISU_TRANSACTION_STATS_WRITE Function Module for









ISU_TRANSACTION_STATS_WRITE is a standard isu transaction stats write 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 isu transaction stats write FM, simply by entering the name ISU_TRANSACTION_STATS_WRITE into the relevant SAP transaction such as SE37 or SE38.

Function Group: ESTV
Program Name: SAPLESTV
Main Program: SAPLESTV
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 2



Function ISU_TRANSACTION_STATS_WRITE 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 'ISU_TRANSACTION_STATS_WRITE'"
EXPORTING
X_DATA = "
* X_HAUS = "
* X_VSTELLE = "
* X_DEVLOC = "
* X_ANLAGE = "
* X_EKUN_EXT = "
* X_EHAU = "
* X_EVBS = "
* X_EGPL = "
* X_EANL = "
* X_AMOUNT = 1 "
X_ACTIVITY_TYPE = "
* X_KZ_FORDERUNG = "
* X_KZ_AUSSTEUERUNG = "
* X_TASK = "
* X_SEARCH_DATE = SY-DATUM "
* X_ADDRESS_TYPE = "
* X_PARTNER = "

TABLES
* XT_CONT = "
.



IMPORTING Parameters details for ISU_TRANSACTION_STATS_WRITE

X_DATA -

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

X_HAUS -

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

X_VSTELLE -

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

X_DEVLOC -

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

X_ANLAGE -

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

X_EKUN_EXT -

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

X_EHAU -

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

X_EVBS -

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

X_EGPL -

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

X_EANL -

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

X_AMOUNT -

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

X_ACTIVITY_TYPE -

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

X_KZ_FORDERUNG -

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

X_KZ_AUSSTEUERUNG -

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

X_TASK -

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

X_SEARCH_DATE -

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

X_ADDRESS_TYPE -

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

X_PARTNER -

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

TABLES Parameters details for ISU_TRANSACTION_STATS_WRITE

XT_CONT -

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

Copy and paste ABAP code example for ISU_TRANSACTION_STATS_WRITE 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_x_data  TYPE EACTSTAT, "   
lt_xt_cont  TYPE STANDARD TABLE OF SWCONT, "   
lv_x_haus  TYPE EHAU-HAUS, "   
lv_x_vstelle  TYPE EVBS-VSTELLE, "   
lv_x_devloc  TYPE EGPL-DEVLOC, "   
lv_x_anlage  TYPE V_EANL-ANLAGE, "   
lv_x_ekun_ext  TYPE EKUN_EXT, "   
lv_x_ehau  TYPE EHAU, "   
lv_x_evbs  TYPE EVBS, "   
lv_x_egpl  TYPE EGPL, "   
lv_x_eanl  TYPE EANL, "   
lv_x_amount  TYPE EMDSTAT01-STATANZ, "   1
lv_x_activity_type  TYPE TE789-ACT_TYPE, "   
lv_x_kz_forderung  TYPE REGEN-KENNZX, "   
lv_x_kz_aussteuerung  TYPE REGEN-KENNZX, "   
lv_x_task  TYPE RHOBJECTS-OBJECT, "   
lv_x_search_date  TYPE SY-DATUM, "   SY-DATUM
lv_x_address_type  TYPE EADRGEN-ADDR_TYPE, "   
lv_x_partner  TYPE BUT000-PARTNER. "   

  CALL FUNCTION 'ISU_TRANSACTION_STATS_WRITE'  "
    EXPORTING
         X_DATA = lv_x_data
         X_HAUS = lv_x_haus
         X_VSTELLE = lv_x_vstelle
         X_DEVLOC = lv_x_devloc
         X_ANLAGE = lv_x_anlage
         X_EKUN_EXT = lv_x_ekun_ext
         X_EHAU = lv_x_ehau
         X_EVBS = lv_x_evbs
         X_EGPL = lv_x_egpl
         X_EANL = lv_x_eanl
         X_AMOUNT = lv_x_amount
         X_ACTIVITY_TYPE = lv_x_activity_type
         X_KZ_FORDERUNG = lv_x_kz_forderung
         X_KZ_AUSSTEUERUNG = lv_x_kz_aussteuerung
         X_TASK = lv_x_task
         X_SEARCH_DATE = lv_x_search_date
         X_ADDRESS_TYPE = lv_x_address_type
         X_PARTNER = lv_x_partner
    TABLES
         XT_CONT = lt_xt_cont
. " ISU_TRANSACTION_STATS_WRITE




ABAP code using 7.40 inline data declarations to call FM ISU_TRANSACTION_STATS_WRITE

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 HAUS FROM EHAU INTO @DATA(ld_x_haus).
 
"SELECT single VSTELLE FROM EVBS INTO @DATA(ld_x_vstelle).
 
"SELECT single DEVLOC FROM EGPL INTO @DATA(ld_x_devloc).
 
"SELECT single ANLAGE FROM V_EANL INTO @DATA(ld_x_anlage).
 
 
 
 
 
 
"SELECT single STATANZ FROM EMDSTAT01 INTO @DATA(ld_x_amount).
DATA(ld_x_amount) = 1.
 
"SELECT single ACT_TYPE FROM TE789 INTO @DATA(ld_x_activity_type).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_kz_forderung).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_kz_aussteuerung).
 
"SELECT single OBJECT FROM RHOBJECTS INTO @DATA(ld_x_task).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_x_search_date).
DATA(ld_x_search_date) = SY-DATUM.
 
"SELECT single ADDR_TYPE FROM EADRGEN INTO @DATA(ld_x_address_type).
 
"SELECT single PARTNER FROM BUT000 INTO @DATA(ld_x_partner).
 


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!