C_Quotation_SubsequentDocType

DDL: C_QUOTATION_SUBSEQUENTDOCTYPE SQL: CQUOTSUBDOCTYPE Type: view CONSUMPTION

Subsequent Doc Types for Quotation

C_Quotation_SubsequentDocType is a Consumption CDS View that provides data about "Subsequent Doc Types for Quotation" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentCopyControl) and exposes 3 fields with key fields SourceSalesDocumentType, TargetSalesDocumentType.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocumentCopyControl _SalesDocumentCopyControl from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CQUOTSUBDOCTYPE view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Subsequent Doc Types for Quotation view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY SourceSalesDocumentType SourceSalesDocumentType
KEY TargetSalesDocumentType TargetSalesDocumentType
_TargetSalesDocumentType _TargetSalesDocumentType
@AbapCatalog.sqlViewName: 'CQUOTSUBDOCTYPE'
@ClientHandling.algorithm: #SESSION_VARIABLE 
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED

@VDM.viewType: #CONSUMPTION

@ObjectModel.usageType.dataClass: #CUSTOMIZING 
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S


@EndUserText.label: 'Subsequent Doc Types for Quotation'
define view C_Quotation_SubsequentDocType
  as select from I_SalesDocumentCopyControl as _SalesDocumentCopyControl
{
    
  key SourceSalesDocumentType,
  key TargetSalesDocumentType,
    _TargetSalesDocumentType
} where _SourceSalesDocumentType.SDDocumentCategory             = 'B'  and  // Consider source only Quotes

        _TargetSalesDocumentType.SDDocumentCategory             = 'C'  and  // Consider target only sales orders

        _TargetSalesDocumentType.SalesDocumentProcessingType    <> 'P' and     // Ignore PBS orders

        _SalesDocumentCopyControl.SourceBillingDocumentType     = '' and
        _SalesDocumentCopyControl.ReferenceScheduleLineCategory = '' and
        _SalesDocumentCopyControl.ReferenceItemCategory         = ''
        
        
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SALESDOCUMENTCOPYCONTROL",
"I_SALESDOCUMENTTYPE"
],
"ASSOCIATED":
[
"I_SALESDOCUMENTTYPE"
],
"BASE":
[
"I_SALESDOCUMENTCOPYCONTROL"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/