I_PurContrHdrExtReference

DDL: I_PURCONTRHDREXTREFERENCE SQL: IPCHDREXTLINKS Type: view COMPOSITE Package: ODATA_MM_CTR_MAINTAIN

External References of Pur Contract Hdr

I_PurContrHdrExtReference is a Composite CDS View that provides data about "External References of Pur Contract Hdr" in SAP S/4HANA. Part of development package ODATA_MM_CTR_MAINTAIN.

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPCHDREXTLINKS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label External References of Pur Contract Hdr view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurchaseContract PurchaseContract
KEY LinkType LinkType
PurgDocExternalReference PurgDocExternalReference
PurgDocExternalSystem PurgDocExternalSystem
PurgDocExtReferenceNodeType PurgDocExtReferenceNodeType
@AbapCatalog.sqlViewName: 'IPCHDREXTLINKS'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'External References of Pur Contract Hdr'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_PurContrHdrExtReference
  as select distinct from I_PurContrItemExtReference
{

  key PurchaseContract,
  key LinkType,
      PurgDocExternalReference,
      cast(case
      when PurgDocExternalReference is not initial
      then
        case
          when PurgDocExternalSystem is not initial
          then
            concat('External (', concat(PurgDocExternalSystem, ')'))
          else
            'External'
        end
      else
        case
          when PurgDocExternalReference is not initial
          then 'Internal'
          else ''
        end
      end         as mmpur_ext_system) as PurgOutlineAgrmtExtSystID,
      PurgDocExternalSystem,
      PurgDocExtReferenceNodeType

}