A_SupplierPurchasingOrgText

DDL: A_SUPPLIERPURCHASINGORGTEXT Type: view COMPOSITE

Purchasing Organization Text

A_SupplierPurchasingOrgText is a Composite CDS View that provides data about "Purchasing Organization Text" in SAP S/4HANA. It reads from 1 data source (P_SupplierPurchasingOrgText) and exposes 6 fields with key fields Supplier, PurchasingOrganization, Language, LongTextID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_SupplierPurchasingOrgText SupplierPurchasingOrgText from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_SupplierPurchasingOrg _SupplierPurchasingOrg $projection.Supplier = _SupplierPurchasingOrg.Supplier and $projection.PurchasingOrganization = _SupplierPurchasingOrg.PurchasingOrganization

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Purchasing Organization Text view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ASUPPPURGTEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Supplier P_SupplierPurchasingOrgText Supplier
KEY PurchasingOrganization PurchasingOrganization
KEY Language P_SupplierPurchasingOrgText Language
KEY LongTextID LongTextID
LongText LongText
_SupplierPurchasingOrg _SupplierPurchasingOrg
@ClientHandling.algorithm:#SESSION_VARIABLE
@EndUserText.label: 'Purchasing Organization Text'
@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AbapCatalog: {
  sqlViewName: 'ASUPPPURGTEXT',
  compiler.compareFilter: true,
  preserveKey:true
}
@AccessControl: {
  authorizationCheck: #MANDATORY,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
   createEnabled: true,
   updateEnabled: true,
   deleteEnabled: true,
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #C,
     sizeCategory:   #L
   }
}
@Metadata.ignorePropagatedAnnotations: true

define view A_SupplierPurchasingOrgText as select from P_SupplierPurchasingOrgText as SupplierPurchasingOrgText

  association [1..1] to A_SupplierPurchasingOrg as _SupplierPurchasingOrg on  $projection.Supplier = _SupplierPurchasingOrg.Supplier
                                                                          and $projection.PurchasingOrganization = _SupplierPurchasingOrg.PurchasingOrganization
                                                                          
{
  key SupplierPurchasingOrgText.Supplier,
  key PurchasingOrganization,
  key SupplierPurchasingOrgText.Language,
  key LongTextID,
      @ObjectModel.readOnly: true
      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_BP_S4H_STXL_READ'
      LongText,
      _SupplierPurchasingOrg
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_SUPPLIERPURCHASINGORGTEXT"
],
"ASSOCIATED":
[
"A_SUPPLIERPURCHASINGORG"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/