Ansicht
Dokumentation

EXIT_REEDM_ARCH_PROFVALS_001 - User Exit for Archiving EDM Profile Values

EXIT_REEDM_ARCH_PROFVALS_001 - User Exit for Archiving EDM Profile Values

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this user exit to store separate routines for checking the archivability of EDM profile values.

The header data of the profile is available in table XT_EPROFHEAD_ARCHIVE, along with the date up until when the values for this profile may be archived. This date is determined from report REEDM_ARCH_PROFVALS (because of the retention period, or executed billings, for example, in Customizing).

If you want to exclude EDM profile values from archiving or from a period, because of your own checks, enter the date up until when the values of this profile may be archived, in table YT_EPROFILE_DATE.

Example

The values for all profiles that were measured in 5 minute intervals should not be archived.

* Data definition
DATA: wa_eprofhead_archive    LIKE eprofhead_archive,
      wa_profile_date         TYPE eprofile_date.

  LOOP AT xyt_eprofhead_archive INTO wa_eprofhead_archive.

*   Profile measured in 5 minute intervals?
    IF wa_eprofhead_archive-intsizeid = co_intsize_5.
*     Archiving date set for profile DATEFROM, no values will be
*     archived.
      wa_profile_date-profile = wa_eprofhead_archive-profile.
      wa_profile_date-valueday = wa_eprofhead_archive-datefrom
      INSERT wa_profile_date INTO yt_profile_date.
    ENDIF.
  ENDLOOP.

Notes

Save your own coding in the include file ZXE26AU06.

Further information





Parameters

XT_EPROFHEAD_ARCHIVE
YT_EPROFILE_DATE

Exceptions

Function Group

XE26A

CL_GUI_FRONTEND_SERVICES - Frontend Services   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2125 Date: 20240603 Time: 233434     sap01-206 ( 29 ms )