C_RetsRefDocCategoryValueHelp

DDL: C_RETSREFDOCCATEGORYVALUEHELP SQL: CRETREFDOCCATVH Type: view CONSUMPTION Package: ODATA_SD_RETURN_V2

Return Referrence Document Category

C_RetsRefDocCategoryValueHelp is a Consumption CDS View that provides data about "Return Referrence Document Category" in SAP S/4HANA. It reads from 2 data sources (I_CustRetCpyCtrlSrceDocType, I_CustRetCpyCtrlSrceDocType) and exposes 3 fields with key field SDDocumentCategory. It has 1 association to related views. Part of development package ODATA_SD_RETURN_V2.

Data Sources (2)

SourceAliasJoin Type
I_CustRetCpyCtrlSrceDocType CustRetCpyCtrlSrceDocTyp from
I_CustRetCpyCtrlSrceDocType CustRetCpyCtrlSrceDocTyp union

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_SDDocumentCategoryText _Text $projection.sddocumentcategory = _Text.SDDocumentCategory

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CRETREFDOCCATVH view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Return Referrence Document Category view
ObjectModel.resultSet.sizeCategory #XS view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY SDDocumentCategory _SourceSalesDocumentType SDDocumentCategory
SDDocumentCategory
_Text _Text
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'CRETREFDOCCATVH'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@EndUserText.label: 'Return Referrence Document Category'
@ObjectModel.resultSet.sizeCategory: #XS
@Consumption.dbHints:['USE_HEX_PLAN']
define view C_RetsRefDocCategoryValueHelp
  as select from  I_CustRetCpyCtrlSrceDocType as CustRetCpyCtrlSrceDocTyp
      association [0..*] to I_SDDocumentCategoryText as _Text on $projection.sddocumentcategory = _Text.SDDocumentCategory
{
 @ObjectModel.text.association: '_Text'
  key _SourceSalesDocumentType.SDDocumentCategory,
  _Text
}                                                                                                                                                                             
where CustRetCpyCtrlSrceDocTyp.SourceSalesDocumentType <> ''
union
 select from I_CustRetCpyCtrlSrceDocType        as CustRetCpyCtrlSrceDocTyp
    association [0..*] to I_SDDocumentCategoryText as _Text on $projection.sddocumentcategory = _Text.SDDocumentCategory
{
  key _SourceBillingDocumentType.SDDocumentCategory,
  _Text
}                                                                                                                                                                             
where CustRetCpyCtrlSrceDocTyp.SourceBillingDocumentType <> ''