I_ChmlCustMatlImprtRespy

DDL: I_CHMLCUSTMATLIMPRTRESPY Type: view_entity BASIC Package: EHFND_RAP_CCM

CCM Import Responsibility

I_ChmlCustMatlImprtRespy is a Basic CDS View that provides data about "CCM Import Responsibility" in SAP S/4HANA. It reads from 1 data source (ehfndd_ccm_iresp) and exposes 18 fields. It has 8 associations to related views. Part of development package EHFND_RAP_CCM.

Data Sources (1)

SourceAliasJoin Type
ehfndd_ccm_iresp ehfndd_ccm_iresp from

Associations (8)

CardinalityTargetAliasCondition
[1..1] I_ChemicalCustomerMaterial _ChemicalCustomerMaterial $projection.ChemicalCustomerMaterialUUID = _ChemicalCustomerMaterial.ChemicalCustomerMaterialUUID -- Responsible Importer
[1..1] I_ImprtRespyRespImporter _ResponsibleImporter $projection.ImprtRespyRespImporter = _ResponsibleImporter.ImprtRespyRespImporter
[0..*] I_ImprtRespyRespImporterTxt _ResponsibleImporterTxt $projection.ImprtRespyRespImporter = _ResponsibleImporterTxt.ImprtRespyRespImporter -- Plant
[1..1] I_Plant _DeliveringPlant $projection.ImprtRespyDlvgPlant = _DeliveringPlant.Plant -- Company Code
[1..1] I_CompanyCode _SellingCompany $projection.ImprtRespySellingCompanyCode = _SellingCompany.CompanyCode -- Admin fields
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[0..1] I_OTRText _PlantNameAny _PlantNameAny.OnlnTxtRpstryConceptID = '0894EF4587211EDC9FE9372D9FC3DEB1' and _PlantNameAny.OnlnTxtObjectID = '' and _PlantNameAny.Language = $session.system_language

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label CCM Import Responsibility view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view

Fields (18)

KeyFieldSource TableSource FieldDescription
CreatedByUser createdbyuser User Name
LastChangeUTCDateTime lastchangeutcdatetime Time Stamp
LastChangedByUser lastchangedbyuser User Name
ChemicalCustomerMaterialUUID ccm_uuid Customer Material
ImprtRespySellingCompanyCode selling_company_code
ImprtRespyDlvgPlant delivering_plant
ImprtRespyRespImporter responsible_importer Responsible Importer
ValidityStartDate valid_from Validity Start Time
ValidityEndDate valid_to Validity End Time
ImprtRespyRemarkText remark Status Description
Associations_ChemicalCustomerMaterial
_ResponsibleImporter _ResponsibleImporter
_ResponsibleImporterTxt _ResponsibleImporterTxt
_DeliveringPlant _DeliveringPlant
_SellingCompany _SellingCompany
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_PlantNameAny _PlantNameAny

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 I_ChmlCustMatlImprtRespy.
-- 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.

CREATE VIEW I_ChmlCustMatlImprtRespy AS
SELECT
  CreatedByUser,
  LastChangeUTCDateTime,
  LastChangedByUser,
  ccm_uuid AS ChemicalCustomerMaterialUUID,
  selling_company_code AS ImprtRespySellingCompanyCode,
  delivering_plant AS ImprtRespyDlvgPlant,
  responsible_importer AS ImprtRespyRespImporter,
  valid_from AS ValidityStartDate,
  valid_to AS ValidityEndDate,
  remark AS ImprtRespyRemarkText
FROM ehfndd_ccm_iresp
LEFT OUTER JOIN I_ChemicalCustomerMaterial AS _ChemicalCustomerMaterial ON ChemicalCustomerMaterialUUID = _ChemicalCustomerMaterial.ChemicalCustomerMaterialUUID  -- association [1..1]
LEFT OUTER JOIN I_ImprtRespyRespImporter AS _ResponsibleImporter ON ImprtRespyRespImporter = _ResponsibleImporter.ImprtRespyRespImporter  -- association [1..1]
LEFT OUTER JOIN I_ImprtRespyRespImporterTxt AS _ResponsibleImporterTxt ON ImprtRespyRespImporter = _ResponsibleImporterTxt.ImprtRespyRespImporter  -- association [0..*]
LEFT OUTER JOIN I_Plant AS _DeliveringPlant ON ImprtRespyDlvgPlant = _DeliveringPlant.Plant  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _SellingCompany ON ImprtRespySellingCompanyCode = _SellingCompany.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_OTRText AS _PlantNameAny ON _PlantNameAny.OnlnTxtRpstryConceptID = '0894EF4587211EDC9FE9372D9FC3DEB1' AND _PlantNameAny.OnlnTxtObjectID = '' AND _PlantNameAny.Language = $session.system_language  -- association [0..1]
;