SAP ISU_PROFILE_VAL_UPD_PREP_DAY Function Module for Prepare Database Comparison for Profile Values Day, Month, Year
ISU_PROFILE_VAL_UPD_PREP_DAY is a standard isu profile val upd prep day SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Prepare Database Comparison for Profile Values Day, Month, Year processing and below is the pattern details for this FM, 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 profile val upd prep day FM, simply by entering the name ISU_PROFILE_VAL_UPD_PREP_DAY into the relevant SAP transaction such as SE37 or SE38.
Function Group: EEDM_PROFILE_MISC
Program Name: SAPLEEDM_PROFILE_MISC
Main Program: SAPLEEDM_PROFILE_MISC
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_PROFILE_VAL_UPD_PREP_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 'ISU_PROFILE_VAL_UPD_PREP_DAY'"Prepare Database Comparison for Profile Values Day, Month, Year.
EXPORTING
X_PROFILENR = "Number of EDM Profile
X_OFFSET = "Profile value offset
X_DECIMALS = "
X_DAY_OFFSET = "Day Offset
X_PROFILE_TIMEZONE = "
* X_DAY_PROF_TIME_MODE = '2' "
X_DAY_PROF_DAY_TIME = "Events for Prof. Values for Day Value Prof. Depend on Mode
X_TEPROFVALUES = "Table of Profile Values of Profile (Sorted)
X_REF_TO_DB_DATA = "
X_DATEFROM = "Day of Profile Values
X_TIMEFROM = "
X_DATETO = "Day of Profile Values
X_TIMETO = "
X_TIMEZONE = "Time Zone
X_INTSIZEID = "Identification of Interval Size
IMPORTING
Y_REF_DATA_UPDATE = "
Y_REF_DATA_INSERT = "
Y_REF_DATA_DELETE = "
IMPORTING Parameters details for ISU_PROFILE_VAL_UPD_PREP_DAY
X_PROFILENR - Number of EDM Profile
Data type: E_PROFILEOptional: No
Call by Reference: Yes
X_OFFSET - Profile value offset
Data type: PROFOFFSETOptional: No
Call by Reference: Yes
X_DECIMALS -
Data type: PROFDECIMALSOptional: No
Call by Reference: Yes
X_DAY_OFFSET - Day Offset
Data type: EDM_DAY_OFFSETOptional: No
Call by Reference: Yes
X_PROFILE_TIMEZONE -
Data type: SYSTZONLOOptional: No
Call by Reference: Yes
X_DAY_PROF_TIME_MODE -
Data type: CHAR1Default: '2'
Optional: Yes
Call by Reference: Yes
X_DAY_PROF_DAY_TIME - Events for Prof. Values for Day Value Prof. Depend on Mode
Data type: EPROF_DAYMODE_DAY_TIMEOptional: No
Call by Reference: Yes
X_TEPROFVALUES - Table of Profile Values of Profile (Sorted)
Data type: TEPROFVALUES_SORTEDOptional: No
Call by Reference: Yes
X_REF_TO_DB_DATA -
Data type: DATAOptional: No
Call by Reference: Yes
X_DATEFROM - Day of Profile Values
Data type: PROFVALDAYOptional: No
Call by Reference: Yes
X_TIMEFROM -
Data type: PROFTIMEFROMOptional: No
Call by Reference: Yes
X_DATETO - Day of Profile Values
Data type: PROFVALDAYOptional: No
Call by Reference: Yes
X_TIMETO -
Data type: PROFTIMETOOptional: No
Call by Reference: Yes
X_TIMEZONE - Time Zone
Data type: TIMEZONEOptional: No
Call by Reference: Yes
X_INTSIZEID - Identification of Interval Size
Data type: INTSIZEIDOptional: No
Call by Reference: Yes
EXPORTING Parameters details for ISU_PROFILE_VAL_UPD_PREP_DAY
Y_REF_DATA_UPDATE -
Data type: DATAOptional: No
Call by Reference: Yes
Y_REF_DATA_INSERT -
Data type: DATAOptional: No
Call by Reference: Yes
Y_REF_DATA_DELETE -
Data type: DATAOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_PROFILE_VAL_UPD_PREP_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: | ||||
| lv_x_profilenr | TYPE E_PROFILE, " | |||
| lv_y_ref_data_update | TYPE DATA, " | |||
| lv_x_offset | TYPE PROFOFFSET, " | |||
| lv_x_decimals | TYPE PROFDECIMALS, " | |||
| lv_x_day_offset | TYPE EDM_DAY_OFFSET, " | |||
| lv_x_profile_timezone | TYPE SYSTZONLO, " | |||
| lv_x_day_prof_time_mode | TYPE CHAR1, " '2' | |||
| lv_x_day_prof_day_time | TYPE EPROF_DAYMODE_DAY_TIME, " | |||
| lv_x_teprofvalues | TYPE TEPROFVALUES_SORTED, " | |||
| lv_y_ref_data_insert | TYPE DATA, " | |||
| lv_x_ref_to_db_data | TYPE DATA, " | |||
| lv_y_ref_data_delete | TYPE DATA, " | |||
| lv_x_datefrom | TYPE PROFVALDAY, " | |||
| lv_x_timefrom | TYPE PROFTIMEFROM, " | |||
| lv_x_dateto | TYPE PROFVALDAY, " | |||
| lv_x_timeto | TYPE PROFTIMETO, " | |||
| lv_x_timezone | TYPE TIMEZONE, " | |||
| lv_x_intsizeid | TYPE INTSIZEID. " |
|   CALL FUNCTION 'ISU_PROFILE_VAL_UPD_PREP_DAY' "Prepare Database Comparison for Profile Values Day, Month, Year |
| EXPORTING | ||
| X_PROFILENR | = lv_x_profilenr | |
| X_OFFSET | = lv_x_offset | |
| X_DECIMALS | = lv_x_decimals | |
| X_DAY_OFFSET | = lv_x_day_offset | |
| X_PROFILE_TIMEZONE | = lv_x_profile_timezone | |
| X_DAY_PROF_TIME_MODE | = lv_x_day_prof_time_mode | |
| X_DAY_PROF_DAY_TIME | = lv_x_day_prof_day_time | |
| X_TEPROFVALUES | = lv_x_teprofvalues | |
| X_REF_TO_DB_DATA | = lv_x_ref_to_db_data | |
| X_DATEFROM | = lv_x_datefrom | |
| X_TIMEFROM | = lv_x_timefrom | |
| X_DATETO | = lv_x_dateto | |
| X_TIMETO | = lv_x_timeto | |
| X_TIMEZONE | = lv_x_timezone | |
| X_INTSIZEID | = lv_x_intsizeid | |
| IMPORTING | ||
| Y_REF_DATA_UPDATE | = lv_y_ref_data_update | |
| Y_REF_DATA_INSERT | = lv_y_ref_data_insert | |
| Y_REF_DATA_DELETE | = lv_y_ref_data_delete | |
| . " ISU_PROFILE_VAL_UPD_PREP_DAY | ||
ABAP code using 7.40 inline data declarations to call FM ISU_PROFILE_VAL_UPD_PREP_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.| DATA(ld_x_day_prof_time_mode) | = '2'. | |||
Search for further information about these or an SAP related objects