I_LstMiRouteVisitToSDInvoice

DDL: I_LSTMIROUTEVISITTOSDINVOICE SQL: ILSTMIVSTOINV Type: view COMPOSITE

Last Mile Distribution Map Invc to Visit

I_LstMiRouteVisitToSDInvoice is a Composite CDS View that provides data about "Last Mile Distribution Map Invc to Visit" in SAP S/4HANA. It reads from 1 data source (I_SDDocumentProcessFlow) and exposes 3 fields with key fields LastMileRouteVisitUUID, Invoice.

Data Sources (1)

SourceAliasJoin Type
I_SDDocumentProcessFlow I_SDDocumentProcessFlow inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ILSTMIVSTOINV view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Last Mile Distribution Map Invc to Visit view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY LastMileRouteVisitUUID LastMileRouteVisitUUID
KEY Invoice SubsequentDocument
LastMileRouteUUID LastMileRouteUUID
@AbapCatalog.sqlViewName: 'ILSTMIVSTOINV'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@VDM.viewType: #COMPOSITE
@ObjectModel:   {   usageType:          { serviceQuality: #C,
                                          sizeCategory:   #XL,
                                          dataClass:      #TRANSACTIONAL}
                }
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Last Mile Distribution Map Invc to Visit'
define view I_LstMiRouteVisitToSDInvoice
  as select distinct from I_LstMiRouteOutboundDelivery
    inner join            I_SDDocumentProcessFlow on  SubsequentDocumentCategory = #vbtypl.'M'
                                                  and PrecedingDocumentCategory  = #vbtypl.'J'
                                                  and PrecedingDocument          = I_LstMiRouteOutboundDelivery.OutboundDelivery
{
  key  LastMileRouteVisitUUID,
  key  SubsequentDocument     as Invoice,
       LastMileRouteUUID
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_LSTMIROUTEOUTBOUNDDELIVERY",
"I_SDDOCUMENTPROCESSFLOW"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/