I_ChmlSuplrMatlImprtRespyTP

DDL: I_CHMLSUPLRMATLIMPRTRESPYTP Type: view TRANSACTIONAL Package: EHFND_BO_CSM

Supplier Material Import Responsibility - TP

I_ChmlSuplrMatlImprtRespyTP is a Transactional CDS View that provides data about "Supplier Material Import Responsibility - TP" in SAP S/4HANA. It reads from 1 data source (I_ChmlSuplrMatlImprtRespy) and exposes 17 fields. It has 2 associations to related views. Part of development package EHFND_BO_CSM.

Data Sources (1)

SourceAliasJoin Type
I_ChmlSuplrMatlImprtRespy ImportResponsibility from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ChmlSuplrMatlTP _ChmlSuplrMatl $projection.ChmlSuplrMatlUUID = _ChmlSuplrMatl.ChmlSuplrMatlUUID
[1..1] I_ProdCmplncPlantVH _PlantName $projection.ImprtRespyRcvgPlant = _PlantName.Plant and $projection.ImprtRespyBuyingCompanyCode = _PlantName.CompanyCode

Annotations (17)

NameValueLevelField
EndUserText.label Supplier Material Import Responsibility - TP view
AbapCatalog.sqlViewName ICSMIRESP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.modelCategory #BUSINESS_OBJECT view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.writeDraftPersistence EHFNDW_CSM_IRESP view
ObjectModel.writeActivePersistence EHFNDD_CSM_IRESP view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view

Fields (17)

KeyFieldSource TableSource FieldDescription
DateTimeofcreationCreationUTCDateTime
CreatedbyCreatedByUser
DateTimeofchangeLastChangeUTCDateTime
ChangedbyLastChangedByUser
UUIDofSupplierMaterialChmlSuplrMatlUUID
ReceivingPlantImprtRespyRcvgPlant
ValidfromdateofsettingValidityStartDate
ValidtodateofsettingValidityEndDate
RemarkImprtRespyRemarkText
_ChmlSuplrMatl _ChmlSuplrMatl
_ResponsibleImporter _ResponsibleImporter
_ResponsibleImporterTxt _ResponsibleImporterTxt
_ReceivingPlantDetails _ReceivingPlantDetails
_BuyingCompany _BuyingCompany
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_PlantName _PlantName
@EndUserText.label: 'Supplier Material Import Responsibility - TP'

@AbapCatalog:
{
  sqlViewName: 'ICSMIRESP',
  compiler.compareFilter: true
}

@AccessControl:
{
  authorizationCheck: #MANDATORY,
  privilegedAssociations: ['_CreatedByUser','_LastChangedByUser']
}

--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE

@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type:#SAP_INTERNAL_API

@ObjectModel:
{
  --Transactional Annotations for the generated BO
  modelCategory: #BUSINESS_OBJECT,
  transactionalProcessingEnabled: true,
  createEnabled: true,
  updateEnabled: true,
  deleteEnabled: 'EXTERNAL_CALCULATION',
  writeDraftPersistence: 'EHFNDW_CSM_IRESP',
  writeActivePersistence: 'EHFNDD_CSM_IRESP',
  semanticKey:  [ 'ImprtRespyBuyingCompanyCode',
                  'ImprtRespyRcvgPlant' ],
  usageType:
  {
    dataClass: #MASTER,
    sizeCategory: #XL,
    serviceQuality: #C
  }
}
define view I_ChmlSuplrMatlImprtRespyTP
  --Select data from basic view 'Import Responsibility'
  as select from I_ChmlSuplrMatlImprtRespy as ImportResponsibility

  --Nodes/Detaildata;
  -- Supplier Material
  association [1..1] to I_ChmlSuplrMatlTP     as _ChmlSuplrMatl   on $projection.ChmlSuplrMatlUUID = _ChmlSuplrMatl.ChmlSuplrMatlUUID
  association [1..1] to I_ProdCmplncPlantVH   as _PlantName       on  $projection.ImprtRespyRcvgPlant         = _PlantName.Plant
                                                                  and $projection.ImprtRespyBuyingCompanyCode = _PlantName.CompanyCode
{
      --UUID of Import Responsibility
  key ChmlSuplrMatlImprtRespyUUID,

      --Date/Time of creation
      @ObjectModel.readOnly: true
      CreationUTCDateTime,

      --Created by
      @ObjectModel.readOnly: true
      CreatedByUser,

      --Date/Time of change
      @ObjectModel.readOnly: true
      LastChangeUTCDateTime,

      --Changed by
      @ObjectModel.readOnly: true
      LastChangedByUser,

      --UUID of Supplier Material
      ChmlSuplrMatlUUID,

      --Buying Comapny Code
      @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
      @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
      ImprtRespyBuyingCompanyCode,

      --Receiving Plant
      @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
      ImprtRespyRcvgPlant,

      --Responsible Importer
      @ObjectModel.mandatory: true
      ImprtRespyRespImporter,

      -- Valid from date of setting
      @ObjectModel.mandatory: true
      ValidityStartDate,

      --Valid to date of setting
      @ObjectModel.mandatory: true
      ValidityEndDate,

      --Remark
      ImprtRespyRemarkText,

      /* Associations */
      @ObjectModel.association.type:  [ #TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT ]
      _ChmlSuplrMatl,
      _ResponsibleImporter,
      _ResponsibleImporterTxt,
      _ReceivingPlantDetails,
      _BuyingCompany,
      _CreatedByUser,
      _LastChangedByUser,
      _PlantName
}