Ansicht
Dokumentation

ISU_EDM_REP_METH_PROFHIST_COPY - Replacement Values Copied from Historical Values of Same Profile

ISU_EDM_REP_METH_PROFHIST_COPY - Replacement Values Copied from Historical Values of Same Profile

RFUMSV00 - Advance Return for Tax on Sales/Purchases   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Use this function module to replace missing values with historical values of the same profile.

In Customizing for the replacement value procedure, you must select the Replacement Period field, and enter a reference period. This means that the system reads the values that must be inserted as replacement values instead of the missing values, for a specified reference period in historical value tables XT_PROFVALUES_HIST and XT_PROFSTATUS_HIST.

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 are missing for 01/01/2001 at 12:45, 13:00 and 13:15. You must replace them with the values for the same period in the previous year.

The replacement values are determined as follows:

  1. The following values for the specified reference period (01/01/2000 12:45, 13:00 and 13:15) are read from parameter XT_EPROFVALUES_HIST:
Date,,Time,,Value
01/01/2000,,12:45 26,21
01/01/2000,,13:00 26,43
01/01/2000,,13:15 27,12
  1. The replacement values determined in 1 are inserted in the profile for the replacement period.
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

General Data in Customer Master   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2633 Date: 20240523 Time: 145809     sap01-206 ( 42 ms )