SAP Function Modules

ISU_PROFILE_VAL_UPD_PREP_DT SAP Function module - Prepare Database Comparison for Profile Values Day, Month, Year







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

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


Pattern for FM ISU_PROFILE_VAL_UPD_PREP_DT - ISU PROFILE VAL UPD PREP DT





CALL FUNCTION 'ISU_PROFILE_VAL_UPD_PREP_DT' "Prepare Database Comparison for Profile Values Day, Month, Year
  EXPORTING
    x_profilenr =               " e_profile     Number of EDM Profile
    x_teprofvalues =            " teprofvalues_sorted  Table of Profile Values of Profile (Sorted)
    x_ref_to_db_data =          " data
    x_datefrom =                " profvalday    Day of Profile Values
    x_timefrom =                " proftimefrom
    x_dateto =                  " profvalday    Day of Profile Values
    x_timeto =                  " proftimeto
    x_timezone =                " timezone      Time Zone
    x_intsizeid =               " intsizeid     Identification of Interval Size
    x_offset =                  " profoffset    Profile value offset
    x_decimals =                " profdecimals
  IMPORTING
    y_ref_data_update =         " data
    y_ref_data_insert =         " data
    y_ref_data_delete =         " data
    .  "  ISU_PROFILE_VAL_UPD_PREP_DT

ABAP code example for Function Module ISU_PROFILE_VAL_UPD_PREP_DT





The ABAP code below is a full code listing to execute function module ISU_PROFILE_VAL_UPD_PREP_DT 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_ref_data_update  TYPE DATA ,
ld_y_ref_data_insert  TYPE DATA ,
ld_y_ref_data_delete  TYPE DATA .

DATA(ld_x_profilenr) = 'Check type of data required'.
DATA(ld_x_teprofvalues) = 'Check type of data required'.
DATA(ld_x_ref_to_db_data) = 'Check type of data required'.
DATA(ld_x_datefrom) = 'Check type of data required'.
DATA(ld_x_timefrom) = 'Check type of data required'.
DATA(ld_x_dateto) = 'Check type of data required'.
DATA(ld_x_timeto) = 'Check type of data required'.
DATA(ld_x_timezone) = 'Check type of data required'.
DATA(ld_x_intsizeid) = 'Check type of data required'.
DATA(ld_x_offset) = 'Check type of data required'.
DATA(ld_x_decimals) = 'Check type of data required'. . CALL FUNCTION 'ISU_PROFILE_VAL_UPD_PREP_DT' EXPORTING x_profilenr = ld_x_profilenr x_teprofvalues = ld_x_teprofvalues x_ref_to_db_data = ld_x_ref_to_db_data x_datefrom = ld_x_datefrom x_timefrom = ld_x_timefrom x_dateto = ld_x_dateto x_timeto = ld_x_timeto x_timezone = ld_x_timezone x_intsizeid = ld_x_intsizeid x_offset = ld_x_offset x_decimals = ld_x_decimals IMPORTING y_ref_data_update = ld_y_ref_data_update y_ref_data_insert = ld_y_ref_data_insert y_ref_data_delete = ld_y_ref_data_delete . " ISU_PROFILE_VAL_UPD_PREP_DT
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_ref_data_update  TYPE DATA ,
ld_x_profilenr  TYPE E_PROFILE ,
ld_y_ref_data_insert  TYPE DATA ,
ld_x_teprofvalues  TYPE TEPROFVALUES_SORTED ,
ld_y_ref_data_delete  TYPE DATA ,
ld_x_ref_to_db_data  TYPE DATA ,
ld_x_datefrom  TYPE PROFVALDAY ,
ld_x_timefrom  TYPE PROFTIMEFROM ,
ld_x_dateto  TYPE PROFVALDAY ,
ld_x_timeto  TYPE PROFTIMETO ,
ld_x_timezone  TYPE TIMEZONE ,
ld_x_intsizeid  TYPE INTSIZEID ,
ld_x_offset  TYPE PROFOFFSET ,
ld_x_decimals  TYPE PROFDECIMALS .

ld_x_profilenr = 'Check type of data required'.
ld_x_teprofvalues = 'Check type of data required'.
ld_x_ref_to_db_data = 'Check type of data required'.
ld_x_datefrom = 'Check type of data required'.
ld_x_timefrom = 'Check type of data required'.
ld_x_dateto = 'Check type of data required'.
ld_x_timeto = 'Check type of data required'.
ld_x_timezone = 'Check type of data required'.
ld_x_intsizeid = 'Check type of data required'.
ld_x_offset = 'Check type of data required'.
ld_x_decimals = '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_PROFILE_VAL_UPD_PREP_DT or its description.