I_FldLogsDeliveryDocItem

DDL: I_FLDLOGSDELIVERYDOCITEM SQL: IFLDLVITM Type: view BASIC

Delivery Items for FL

I_FldLogsDeliveryDocItem is a Basic CDS View that provides data about "Delivery Items for FL" in SAP S/4HANA. It reads from 2 data sources (likp, lips) and exposes 30 fields with key fields DeliveryDocument, DeliveryDocumentItem. It has 3 associations to related views.

Data Sources (2)

SourceAliasJoin Type
likp _DeliveryDoc inner
lips _DeliveryDocItem from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Customer _SoldToParty $projection.SoldToParty = _SoldToParty.Customer
[0..1] I_Customer _ShipToParty $projection.ShipToParty = _ShipToParty.Customer
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IFLDLVITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Delivery Items for FL view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY DeliveryDocument lips vbeln
KEY DeliveryDocumentItem lips posnr
ReferenceSDDocument lips vgbel
ReferenceSDDocumentItem lips vgpos
PurchasingDocumentItem
StorageLocation lips lgort
ActualDeliveryQuantity lips lfimg
DeliveryQuantityUnit lips vrkme
GoodsMovementStatus lips wbsta
GoodsMovementType lips bwart
InventoryValuationType lips bwtar
FldLogsStatus lips flpkz
Batch lips charg
DeliveryDocumentUUID lips handle
DeliveryDate likp lfdat
SDDocumentCategory likp vbtyp
DistrStatusByDecentralizedWrhs likp vlstk
DeliveryDocumentBySupplier likp lifex
DeliveryBlockReason likp lifsk
LoadingPoint likp lstel
UnloadingPointName likp ablad
PickingStatus lips kosta
DeliveryDocumentType likp lfart
Supplier
SoldToParty likp kunag
ShipToParty likp kunnr
_ShipToParty _ShipToParty
_SoldToParty _SoldToParty
_Supplier _Supplier
EWMRefDeliveryDocumentItem
@AbapCatalog.sqlViewName: 'IFLDLVITM'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl:
{
 authorizationCheck: #CHECK,
  personalData.blocking: #BLOCKED_DATA_EXCLUDED
}
@VDM.viewType: #BASIC
@ObjectModel.usageType: {serviceQuality: #C,
                         dataClass: #TRANSACTIONAL,
                         sizeCategory: #L}
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Delivery Items for FL'
define view I_FldLogsDeliveryDocItem
  as select from lips as _DeliveryDocItem
    inner join   likp as _DeliveryDoc on _DeliveryDocItem.vbeln = _DeliveryDoc.vbeln
  association [0..1] to I_Customer as _SoldToParty on $projection.SoldToParty = _SoldToParty.Customer
  association [0..1] to I_Customer as _ShipToParty on $projection.ShipToParty = _ShipToParty.Customer
  association [0..1] to I_Supplier as _Supplier    on $projection.Supplier = _Supplier.Supplier
{
  key _DeliveryDocItem.vbeln                                            as DeliveryDocument,
  key _DeliveryDocItem.posnr                                            as DeliveryDocumentItem,
      _DeliveryDocItem.vgbel                                            as ReferenceSDDocument,
      _DeliveryDocItem.vgpos                                            as ReferenceSDDocumentItem,
      cast(substring(_DeliveryDocItem.vgpos, 2, 5) as ebelp)            as PurchasingDocumentItem,
      _DeliveryDocItem.lgort                                            as StorageLocation,
      @Semantics.quantity.unitOfMeasure: 'DeliveryQuantityUnit'
      _DeliveryDocItem.lfimg                                            as ActualDeliveryQuantity,
      @Semantics.unitOfMeasure: true
      _DeliveryDocItem.vrkme                                            as DeliveryQuantityUnit,
      _DeliveryDocItem.wbsta                                            as GoodsMovementStatus,
      _DeliveryDocItem.bwart                                            as GoodsMovementType,
      _DeliveryDocItem.bwtar                                            as InventoryValuationType,
      _DeliveryDocItem.flpkz                                            as FldLogsStatus,
      _DeliveryDocItem.charg                                            as Batch,
      _DeliveryDocItem.handle                                           as DeliveryDocumentUUID,
      _DeliveryDoc.lfdat                                                as DeliveryDate,
      _DeliveryDoc.vbtyp                                                as SDDocumentCategory,
      _DeliveryDoc.vlstk                                                as DistrStatusByDecentralizedWrhs,
      _DeliveryDoc.lifex                                                as DeliveryDocumentBySupplier,
      _DeliveryDoc.lifsk                                                as DeliveryBlockReason,

      _DeliveryDoc.lstel                                                as LoadingPoint,
      _DeliveryDoc.ablad                                                as UnloadingPointName,
      _DeliveryDocItem.kosta                                            as PickingStatus,
      _DeliveryDoc.lfart                                                as DeliveryDocumentType,


      cast(_DeliveryDoc.lifnr as lifnr preserving type )                as Supplier,

      _DeliveryDoc.kunag                                                as SoldToParty,

      _DeliveryDoc.kunnr                                                as ShipToParty,
      _ShipToParty,
      _SoldToParty,
      _Supplier,

      //EWM Reference Document Number Item

      cast(lpad(_DeliveryDocItem.posnr, 10, '0') as /scdl/dl_refitemno) as EWMRefDeliveryDocumentItem
}
where
  _DeliveryDocItem.lfimg is not initial
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"LIKP",
"LIPS"
],
"ASSOCIATED":
[
"I_CUSTOMER",
"I_SUPPLIER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/