C_MngEnvrmtCmplRqVers

DDL: C_MNGENVRMTCMPLRQVERS SQL: CMNGENVCMPLREQ Type: view CONSUMPTION

Manage Env. Mgmt Compliance Requirements

C_MngEnvrmtCmplRqVers is a Consumption CDS View that provides data about "Manage Env. Mgmt Compliance Requirements" in SAP S/4HANA. It reads from 1 data source (I_CmplRqVersEnhanced) and exposes 37 fields with key field CmplRqVersUUID. It has 4 associations to related views. It is used in 1 Fiori application: Manage Compliance Requirements.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqVersEnhanced I_CmplRqVersEnhanced from

Associations (4)

CardinalityTargetAliasCondition
[1..1] E_CmplRqVers _Extension $projection.CmplRqVersUUID = _Extension.CmplRqVersUUID
[1..1] C_EHSBusinessUserValueHelp _EHSBusinessUserValueHelp $projection.LastChangedByUser = _EHSBusinessUserValueHelp.UserID
[0..1] I_WasteStreamChnlPermitType _PermitType $projection.CmplRqPermitType = _PermitType.WasteStreamChnlPermitType
[1..1] P_CmplRqVersFallbackText _CmplRqVersFallbackText $projection.CmplRqVersUUID = _CmplRqVersFallbackText.CmplRqVersUUID

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CMNGENVCMPLREQ view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Manage Env. Mgmt Compliance Requirements view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey CmplRqVersUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
Metadata.allowExtensions true view
Search.searchable true view
OData.publish true view

Fiori Apps (1)

App IDApp NameTypeDescription
F5038 Manage Compliance Requirements Transactional

Manage Compliance Requirements

Business Role: Environmental Manager

With this feature, you can view a list of available compliance requirements in environment management. You can use various filters to search for specific compliance requirements and maintain their data. Additionally, you can use the Manage Compliance Requirements - Regulations, Permits, Policies app to navigate to other apps where you can create new compliance requirements of policy, regulation, or permit type. You can use the created compliance requirements in further business processes, such as Emission Inventory or Waste Management, to ensure environmental compliance.The existing Manage Compliance Requirement Web Dynpro app has been replaced by the new Manage Compliance Requirements - Regulations, Permits, Policies Fiori app (F5038).

Fields (37)

KeyFieldSource TableSource FieldDescription
KEY CmplRqVersUUID CmplRqVersUUID NodeID
CmplRqVers CmplRqVers Compliance Requirement
CmplRqUUID CmplRqUUID Compl Req.
ComplianceRequirement ComplianceRequirement Compliance Requirement
CmplRqVersMaintStatus CmplRqVersMaintStatus Status
CmplRqType CmplRqType Type
IssuingOrganization IssuingOrganization Obsolete
IssgOrganizationFreeSearchName IssgOrganizationFreeSearchName
CmplRqContentProvider Content Provider
CmplRqContentProviderName
EffectiveDate EffectiveDate Effective Date
CmplRqVersValidFromDate EffectiveDate Effective Date
CmplRqVersValidToDate CmplRqVersValidToDate Expiration Date
CmplRqVersNameendasCmplRqVersName
CmplRqVersNameInCurLang CmplRqVersNameInCurLang Compliance Requirement Name
CmplRqVersEnglishName CmplRqVersEnglishName Compliance Requirement Name
Country
Region
CmplRqVersAppltyAreaString Validity Area
CmplRqVersExpiryDaysValue CmplRqVersExpiryDaysValue
CmplRqDomain CmplRqDomain Requirement Domain
CmplRqVersPermitNumber CmplRqVersPermitNumber Permit Number
CmplRqDescription _CompReqDesc CmplRqDescription Description
CmplRqPermitType CmplRqPermitType Permit Type
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
PersonFullName _EHSBusinessUserValueHelp PersonFullName Full Name
_EHSBusinessUserValueHelp _EHSBusinessUserValueHelp
_CmplRqVersAppltyArea _CmplRqVersAppltyArea
_CmplRqVersCrTypeText _CmplRqVersCrTypeText
_CmplRqVersText _CmplRqVersText
_CmplRqVersTextInCurrentLang _CmplRqVersTextInCurrentLang
_CompReqDesc _CompReqDesc
_CmplncRqmtStatus _CmplncRqmtStatus
_CmplncRqmtType _CmplncRqmtType
_CmplRqDomain _CmplRqDomain
_PermitType _PermitType

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_MngEnvrmtCmplRqVers.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CMNGENVCMPLREQ

CREATE VIEW C_MngEnvrmtCmplRqVers AS
SELECT
  CmplRqVersUUID,
  CmplRqVers,
  CmplRqUUID,
  ComplianceRequirement,
  CmplRqVersMaintStatus,
  CmplRqType,
  IssuingOrganization,
  IssgOrganizationFreeSearchName,
  cast(ContentProvider as abap.char(30)) AS CmplRqContentProvider,
  cast ('' as abap.char(100)) AS CmplRqContentProviderName,
  EffectiveDate,
  EffectiveDate AS CmplRqVersValidFromDate,
  CmplRqVersValidToDate,
  case when CmplRqVersNameInCurLang is not null and CmplRqVersNameInCurLang is not initial then CmplRqVersNameInCurLang when CmplRqVersEnglishName is not null and CmplRqVersEnglishName is not initial then CmplRqVersEnglishName else _CmplRqVersFallbackText.CmplRqVersName end as CmplRqVersName AS CmplRqVersNameendasCmplRqVersName,
  CmplRqVersNameInCurLang,
  CmplRqVersEnglishName,
  cast('' as ehfnd_country_id) AS Country,
  cast('' as ehfnd_region_id) AS Region,
  cast('' as abap.char(1000)) AS CmplRqVersAppltyAreaString,
  CmplRqVersExpiryDaysValue,
  CmplRqDomain,
  CmplRqVersPermitNumber,
  _CompReqDesc.CmplRqDescription AS CmplRqDescription,
  CmplRqPermitType,
  LastChangeDateTime,
  LastChangedByUser,
  _EHSBusinessUserValueHelp.PersonFullName AS PersonFullName
FROM I_CmplRqVersEnhanced
LEFT OUTER JOIN E_CmplRqVers AS _Extension ON CmplRqVersUUID = _Extension.CmplRqVersUUID  -- association [1..1]
LEFT OUTER JOIN C_EHSBusinessUserValueHelp AS _EHSBusinessUserValueHelp ON LastChangedByUser = _EHSBusinessUserValueHelp.UserID  -- association [1..1]
LEFT OUTER JOIN I_WasteStreamChnlPermitType AS _PermitType ON CmplRqPermitType = _PermitType.WasteStreamChnlPermitType  -- association [0..1]
LEFT OUTER JOIN P_CmplRqVersFallbackText AS _CmplRqVersFallbackText ON CmplRqVersUUID = _CmplRqVersFallbackText.CmplRqVersUUID  -- association [1..1]
;