SAP Function Modules

EXIT_SAPLEEWA_CLEAN_005 SAP Function module - Customer-specific Checks on Property Item Data







EXIT_SAPLEEWA_CLEAN_005 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 EXIT_SAPLEEWA_CLEAN_005 into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM EXIT_SAPLEEWA_CLEAN_005 - EXIT SAPLEEWA CLEAN 005





CALL FUNCTION 'EXIT_SAPLEEWA_CLEAN_005' "Customer-specific Checks on Property Item Data
  EXPORTING
    x_rob =                     " eewa_rob      Cleaning Object
    x_obj =                     " isuwa_prop
    x_value =                   " any
    x_row_id =                  " int4          Natural Number
    x_fieldname =               " lvc_fname     ALV Control: Field Name of Internal Table Field
  IMPORTING
    y_rc =                      " sy-subrc      Return Value, Return Value After ABAP Statements
    .  "  EXIT_SAPLEEWA_CLEAN_005

ABAP code example for Function Module EXIT_SAPLEEWA_CLEAN_005





The ABAP code below is a full code listing to execute function module EXIT_SAPLEEWA_CLEAN_005 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_y_rc  TYPE SY-SUBRC .

DATA(ld_x_rob) = 'Check type of data required'.
DATA(ld_x_obj) = 'Check type of data required'.
DATA(ld_x_value) = 'Check type of data required'.
DATA(ld_x_row_id) = 'Check type of data required'.
DATA(ld_x_fieldname) = 'Check type of data required'. . CALL FUNCTION 'EXIT_SAPLEEWA_CLEAN_005' EXPORTING x_rob = ld_x_rob x_obj = ld_x_obj x_value = ld_x_value x_row_id = ld_x_row_id x_fieldname = ld_x_fieldname IMPORTING y_rc = ld_y_rc . " EXIT_SAPLEEWA_CLEAN_005
IF SY-SUBRC EQ 0. "All OK 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_y_rc  TYPE SY-SUBRC ,
ld_x_rob  TYPE EEWA_ROB ,
ld_x_obj  TYPE ISUWA_PROP ,
ld_x_value  TYPE ANY ,
ld_x_row_id  TYPE INT4 ,
ld_x_fieldname  TYPE LVC_FNAME .

ld_x_rob = 'Check type of data required'.
ld_x_obj = 'Check type of data required'.
ld_x_value = 'Check type of data required'.
ld_x_row_id = 'Check type of data required'.
ld_x_fieldname = 'Check type of data required'.

SAP Documentation for FM EXIT_SAPLEEWA_CLEAN_005


The EXIT_SAPLEEWA_CLEAN_005 function module is part of the EWAPRP01, and checks customer-specific fields for property (at item level). ...See here for full SAP fm documentation

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 EXIT_SAPLEEWA_CLEAN_005 or its description.