Ansicht
Dokumentation

ISU_EDM_REP_METH_PROFILE_COPY - Replacement Values Copied from Reference Profile

ISU_EDM_REP_METH_PROFILE_COPY - Replacement Values Copied from Reference Profile

Vendor Master (General Section)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Use this function module to replace missing values with values from a reference profile. There are several ways to determine this profile:

  • You have first entered the profile number of the reference profile in the replacement value procedure in Customizing.
  • You have entered the profile role in the replacement value procedure in Customizing.

This function module requires no historical values from the profile with the missing values.

Example

The following values were imported:

Date,,Time,,Value
01/01/2001,,12:00,,21,54
01/01/2001,,12:15,,23,44
01/01/2001,,12:30,,24,53
01/01/2001,,12:45
01/01/2001,,13:00
01/01/2001,,13:15
01/01/2001,,13:30,,28,43
01/01/2001,,13:45,,29,31
01/01/2001,,14:00,,30,02

The values for 01/01/2001 at 12:45, 13:00 and 13:15 are missing. You have entered profile role 0003 (template) in the replacement value procedure in Customizing. The missing values are replaced by replacement values from the profiles with role 0003.

The replacement values are determined as follows:

  1. First the system searches for the registers that are allocated to the profile with the missing values. You cannot allocate just one register to this profile in one period, because it is a measured profile. If you do, then the replacement value procedure is canceled with error code 06.
Profile,,Day from,,,,Time from,,,,Day to,,,,Time to,,,,Register
4711,,01/01/2000,,00:00:00,,01/01/2001,,12:59:59,,1000012111
4711,,01/01/2000,,13:00:00,,31/12/9999,,23:59:59,,1004322354
  1. The profiles that are allocated to the registers determined in step 1 with role 0003, are determined for the replacement value procedure.
Register,,,,Role,,Day from,,,,Time from,,,,Day to,,,,Time to bis,,,,Profile
1000012111,,0003,,01/01/2000,,00:00:00,,31/12/9999,,23:59:59,,4712
1004322354,,0003,,01/01/2000,,00:00:00,,31/12/9999,,23:59:59,,4713
  1. The replacement values are read from the reference profile for the replacement period.
  • Profile 4712

Date,,,,Time,,Value
01/01/2001,,12:45 ,, 26,21
  • Profile 4713

Date,,,,Time,,Value
01/01/2001,,13:00,,26,43
01/01/2001,,13:15,,27,12
  1. The replacement values for the replacement period are inserted into the profile.
Date,,,,Time,,Value
01/01/2001,,12:00,,21,54
01/01/2001,,12:15,,23,44
01/01/2001,,12:30,,24,53
01/01/2001,,12:45,,26,21
01/01/2001,,13:00,,26,43
01/01/2001,,13:15,,27,12
01/01/2001,,13:30,,28,43
01/01/2001,,13:45,,29,31
01/01/2001,,14:00,,30,02

Notes

Further information





Parameters

XT_EPROFSTATUS
XT_EPROFSTATUS_HIST
XT_EPROFVALUES
XT_EPROFVALUES_HIST
XYT_EPROFVALUES_REP
XYT_REPLACE_INDEX
X_CONTROL_DATA
X_EPROFHEAD_DATA
X_EPROFVALUES_TIMESLICE
X_NUM_INTERVALS
X_PROFILE_NUMBER
X_REFPERIOD
X_REPLACE
X_REPLACEGRP
X_REPLACE_INDEX
X_REPLACE_TIMESLICE
Y_ERRORCODE
Y_REPLACEMETHOD

Exceptions

SYSTEM_ERROR

Function Group

EEDM_REPLACE_METHOD

BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4033 Date: 20240523 Time: 141701     sap01-206 ( 51 ms )