SAP Function Modules

ISU_CLEAR_STATISTIC_FIELDS SAP Function module







ISU_CLEAR_STATISTIC_FIELDS is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name ISU_CLEAR_STATISTIC_FIELDS into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: E70T
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ISU_CLEAR_STATISTIC_FIELDS - ISU CLEAR STATISTIC FIELDS





CALL FUNCTION 'ISU_CLEAR_STATISTIC_FIELDS' "
  EXPORTING
    x_tabname =                 " dd03l-tabname
* CHANGING
*   xy_emdst01 =                " emdstat01
*   xy_emdst02 =                " emdstat02
*   xy_emdst03 =                " emdstat03
*   xy_emdst04 =                " emdstat04
*   xy_emdst05 =                " emdstat05
*   xy_emdst06 =                " emdstat06
*   xy_emdst07 =                " emdstat07
*   xy_emdst08 =                " emdstat08
*   xy_emdst09 =                " emdstat09
*   xy_emdst10 =                " emdstat10
*   xy_emdst11 =                " emdstat11
*   xy_emdst12 =                " emdstat12
*   xy_emdst13 =                " emdstat13
*   xy_emdst50 =                " emdstat14
  EXCEPTIONS
    NO_KRITERIA = 1             "
    .  "  ISU_CLEAR_STATISTIC_FIELDS

ABAP code example for Function Module ISU_CLEAR_STATISTIC_FIELDS





The ABAP code below is a full code listing to execute function module ISU_CLEAR_STATISTIC_FIELDS including all data declarations. The code uses 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 original method of declaring data variables up front. 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).


DATA(ld_xy_emdst01) = 'Check type of data required'.
DATA(ld_xy_emdst02) = 'Check type of data required'.
DATA(ld_xy_emdst03) = 'Check type of data required'.
DATA(ld_xy_emdst04) = 'Check type of data required'.
DATA(ld_xy_emdst05) = 'Check type of data required'.
DATA(ld_xy_emdst06) = 'Check type of data required'.
DATA(ld_xy_emdst07) = 'Check type of data required'.
DATA(ld_xy_emdst08) = 'Check type of data required'.
DATA(ld_xy_emdst09) = 'Check type of data required'.
DATA(ld_xy_emdst10) = 'Check type of data required'.
DATA(ld_xy_emdst11) = 'Check type of data required'.
DATA(ld_xy_emdst12) = 'Check type of data required'.
DATA(ld_xy_emdst13) = 'Check type of data required'.
DATA(ld_xy_emdst50) = 'Check type of data required'.

SELECT single TABNAME
FROM DD03L
INTO @DATA(ld_x_tabname).
. CALL FUNCTION 'ISU_CLEAR_STATISTIC_FIELDS' EXPORTING x_tabname = ld_x_tabname * CHANGING * xy_emdst01 = ld_xy_emdst01 * xy_emdst02 = ld_xy_emdst02 * xy_emdst03 = ld_xy_emdst03 * xy_emdst04 = ld_xy_emdst04 * xy_emdst05 = ld_xy_emdst05 * xy_emdst06 = ld_xy_emdst06 * xy_emdst07 = ld_xy_emdst07 * xy_emdst08 = ld_xy_emdst08 * xy_emdst09 = ld_xy_emdst09 * xy_emdst10 = ld_xy_emdst10 * xy_emdst11 = ld_xy_emdst11 * xy_emdst12 = ld_xy_emdst12 * xy_emdst13 = ld_xy_emdst13 * xy_emdst50 = ld_xy_emdst50 EXCEPTIONS NO_KRITERIA = 1 . " ISU_CLEAR_STATISTIC_FIELDS
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_xy_emdst01  TYPE EMDSTAT01 ,
ld_x_tabname  TYPE DD03L-TABNAME ,
ld_xy_emdst02  TYPE EMDSTAT02 ,
ld_xy_emdst03  TYPE EMDSTAT03 ,
ld_xy_emdst04  TYPE EMDSTAT04 ,
ld_xy_emdst05  TYPE EMDSTAT05 ,
ld_xy_emdst06  TYPE EMDSTAT06 ,
ld_xy_emdst07  TYPE EMDSTAT07 ,
ld_xy_emdst08  TYPE EMDSTAT08 ,
ld_xy_emdst09  TYPE EMDSTAT09 ,
ld_xy_emdst10  TYPE EMDSTAT10 ,
ld_xy_emdst11  TYPE EMDSTAT11 ,
ld_xy_emdst12  TYPE EMDSTAT12 ,
ld_xy_emdst13  TYPE EMDSTAT13 ,
ld_xy_emdst50  TYPE EMDSTAT14 .

ld_xy_emdst01 = 'Check type of data required'.

SELECT single TABNAME
FROM DD03L
INTO ld_x_tabname.

ld_xy_emdst02 = 'Check type of data required'.
ld_xy_emdst03 = 'Check type of data required'.
ld_xy_emdst04 = 'Check type of data required'.
ld_xy_emdst05 = 'Check type of data required'.
ld_xy_emdst06 = 'Check type of data required'.
ld_xy_emdst07 = 'Check type of data required'.
ld_xy_emdst08 = 'Check type of data required'.
ld_xy_emdst09 = 'Check type of data required'.
ld_xy_emdst10 = 'Check type of data required'.
ld_xy_emdst11 = 'Check type of data required'.
ld_xy_emdst12 = 'Check type of data required'.
ld_xy_emdst13 = 'Check type of data required'.
ld_xy_emdst50 = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISU_CLEAR_STATISTIC_FIELDS or its description.