SAP ISU_PROFILE_GETVALUES Function Module for Determine Profile Values









ISU_PROFILE_GETVALUES is a standard isu profile getvalues SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determine Profile Values 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 getvalues FM, simply by entering the name ISU_PROFILE_GETVALUES 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_GETVALUES 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_GETVALUES'"Determine Profile Values
EXPORTING
X_PROFILENR = "Number of EDM Profile
* X_READ_ARCH_DATA = ' ' "
* X_ARCH_DATETO = "Structure for To-Date
* X_READ_TMP_PROFILE = ' ' "
* X_DAY_OFFSET = "Day Offset
* X_PROFILE_TIMEZONE = "
* X_OPENING_TIMEZONE = "
* X_DAY_PROF_TIME_MODE = '2' "
* X_PROFHEAD = "Structure with Header Data of Profile (Without Key)
X_DATEFROM = "
X_TIMEFROM = "
X_DATETO = "
X_TIMETO = "
X_INTSIZEID = "
X_OFFSET = "
X_DECIMALS = "
* X_READ_ONLY = ' ' "

IMPORTING
Y_VALUES = "
Y_REF_TO_DB_DATA = "
Y_DAY_PROF_DAY_TIME = "Events for Prof. Values for Day Value Prof. Depend on Mode
Y_REF_TO_AMI_PROFILE_MANAGER = "

CHANGING
XY_REF_TO_ARCH_DATA = "

EXCEPTIONS
NOT_FOUND = 1 NOT_CUSTOMIZED = 2 ARCHIVING_ERROR = 3
.



IMPORTING Parameters details for ISU_PROFILE_GETVALUES

X_PROFILENR - Number of EDM Profile

Data type: E_PROFILE
Optional: No
Call by Reference: Yes

X_READ_ARCH_DATA -

Data type: KENNZX
Default: SPACE
Optional: Yes
Call by Reference: Yes

X_ARCH_DATETO - Structure for To-Date

Data type: EEDMDATETO
Optional: Yes
Call by Reference: Yes

X_READ_TMP_PROFILE -

Data type: KENNZX
Default: SPACE
Optional: Yes
Call by Reference: Yes

X_DAY_OFFSET - Day Offset

Data type: EDM_DAY_OFFSET
Optional: Yes
Call by Reference: Yes

X_PROFILE_TIMEZONE -

Data type: SYSTZONLO
Optional: Yes
Call by Reference: Yes

X_OPENING_TIMEZONE -

Data type: SYSTZONLO
Optional: Yes
Call by Reference: Yes

X_DAY_PROF_TIME_MODE -

Data type: C
Default: '2'
Optional: Yes
Call by Reference: Yes

X_PROFHEAD - Structure with Header Data of Profile (Without Key)

Data type: EPROFHEAD_MAIN
Optional: Yes
Call by Reference: Yes

X_DATEFROM -

Data type: PROFVALDAY
Optional: No
Call by Reference: Yes

X_TIMEFROM -

Data type: PROFTIMEFROM
Optional: No
Call by Reference: Yes

X_DATETO -

Data type: PROFVALDAY
Optional: No
Call by Reference: Yes

X_TIMETO -

Data type: PROFTIMETO
Optional: No
Call by Reference: Yes

X_INTSIZEID -

Data type: INTSIZEID
Optional: No
Call by Reference: Yes

X_OFFSET -

Data type: PROFOFFSET
Optional: No
Call by Reference: Yes

X_DECIMALS -

Data type: PROFDECIMALS
Optional: No
Call by Reference: Yes

X_READ_ONLY -

Data type: KENNZX
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISU_PROFILE_GETVALUES

Y_VALUES -

Data type: TEPROFVALUES_SORTED
Optional: No
Call by Reference: Yes

Y_REF_TO_DB_DATA -

Data type: DATA
Optional: No
Call by Reference: Yes

Y_DAY_PROF_DAY_TIME - Events for Prof. Values for Day Value Prof. Depend on Mode

Data type: EPROF_DAYMODE_DAY_TIME
Optional: No
Call by Reference: Yes

Y_REF_TO_AMI_PROFILE_MANAGER -

Data type: CL_ISU_AMI_PROFILE_MANAGER
Optional: No
Call by Reference: Yes

CHANGING Parameters details for ISU_PROFILE_GETVALUES

XY_REF_TO_ARCH_DATA -

Data type: DATA
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NOT_FOUND - No values found

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

NOT_CUSTOMIZED - Error in customizing

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

ARCHIVING_ERROR - Error Accessing Archive

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_PROFILE_GETVALUES 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_y_values  TYPE TEPROFVALUES_SORTED, "   
lv_not_found  TYPE TEPROFVALUES_SORTED, "   
lv_x_profilenr  TYPE E_PROFILE, "   
lv_xy_ref_to_arch_data  TYPE DATA, "   
lv_x_read_arch_data  TYPE KENNZX, "   SPACE
lv_x_arch_dateto  TYPE EEDMDATETO, "   
lv_x_read_tmp_profile  TYPE KENNZX, "   SPACE
lv_x_day_offset  TYPE EDM_DAY_OFFSET, "   
lv_x_profile_timezone  TYPE SYSTZONLO, "   
lv_x_opening_timezone  TYPE SYSTZONLO, "   
lv_x_day_prof_time_mode  TYPE C, "   '2'
lv_x_profhead  TYPE EPROFHEAD_MAIN, "   
lv_x_datefrom  TYPE PROFVALDAY, "   
lv_not_customized  TYPE PROFVALDAY, "   
lv_y_ref_to_db_data  TYPE DATA, "   
lv_x_timefrom  TYPE PROFTIMEFROM, "   
lv_archiving_error  TYPE PROFTIMEFROM, "   
lv_y_day_prof_day_time  TYPE EPROF_DAYMODE_DAY_TIME, "   
lv_x_dateto  TYPE PROFVALDAY, "   
lv_y_ref_to_ami_profile_manager  TYPE CL_ISU_AMI_PROFILE_MANAGER, "   
lv_x_timeto  TYPE PROFTIMETO, "   
lv_x_intsizeid  TYPE INTSIZEID, "   
lv_x_offset  TYPE PROFOFFSET, "   
lv_x_decimals  TYPE PROFDECIMALS, "   
lv_x_read_only  TYPE KENNZX. "   SPACE

  CALL FUNCTION 'ISU_PROFILE_GETVALUES'  "Determine Profile Values
    EXPORTING
         X_PROFILENR = lv_x_profilenr
         X_READ_ARCH_DATA = lv_x_read_arch_data
         X_ARCH_DATETO = lv_x_arch_dateto
         X_READ_TMP_PROFILE = lv_x_read_tmp_profile
         X_DAY_OFFSET = lv_x_day_offset
         X_PROFILE_TIMEZONE = lv_x_profile_timezone
         X_OPENING_TIMEZONE = lv_x_opening_timezone
         X_DAY_PROF_TIME_MODE = lv_x_day_prof_time_mode
         X_PROFHEAD = lv_x_profhead
         X_DATEFROM = lv_x_datefrom
         X_TIMEFROM = lv_x_timefrom
         X_DATETO = lv_x_dateto
         X_TIMETO = lv_x_timeto
         X_INTSIZEID = lv_x_intsizeid
         X_OFFSET = lv_x_offset
         X_DECIMALS = lv_x_decimals
         X_READ_ONLY = lv_x_read_only
    IMPORTING
         Y_VALUES = lv_y_values
         Y_REF_TO_DB_DATA = lv_y_ref_to_db_data
         Y_DAY_PROF_DAY_TIME = lv_y_day_prof_day_time
         Y_REF_TO_AMI_PROFILE_MANAGER = lv_y_ref_to_ami_profile_manager
    CHANGING
         XY_REF_TO_ARCH_DATA = lv_xy_ref_to_arch_data
    EXCEPTIONS
        NOT_FOUND = 1
        NOT_CUSTOMIZED = 2
        ARCHIVING_ERROR = 3
. " ISU_PROFILE_GETVALUES




ABAP code using 7.40 inline data declarations to call FM ISU_PROFILE_GETVALUES

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_read_arch_data) = ' '.
 
 
DATA(ld_x_read_tmp_profile) = ' '.
 
 
 
 
DATA(ld_x_day_prof_time_mode) = '2'.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_x_read_only) = ' '.
 


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!