P_StorePOSMovementTypes_F4674

DDL: P_STOREPOSMOVEMENTTYPES_F4674 SQL: PPOSMVTTYSTF4674 Type: view COMPOSITE

P_StorePOSMovementTypes_F4674 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_RetailStoreUserAssignment, I_Site) and exposes 5 fields with key field Store.

Data Sources (2)

SourceAliasJoin Type
I_RetailStoreUserAssignment I_RetailStoreUserAssignment from
I_Site Site inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PPOSMVTTYSTF4674 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Store Store
AggrgdSlsSalesGdsMvtType
AggrgdSlsReturnsGdsMvtType
SlsAsPerRcptsSalesGdsMvtType
SlsAsPerRcptsReturnsGdsMvtType
@AbapCatalog.sqlViewName: 'PPOSMVTTYSTF4674'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view P_StorePOSMovementTypes_F4674
  as select from I_RetailStoreUserAssignment
    inner join   I_Site as Site on  Site.Site         = I_RetailStoreUserAssignment.Store
                                and Site.SiteCategory = 'A'
{
  key Store,

      _SitePointOfSale._PointOfSaleInboundProfile._AggregatedSalesSettings.SalesGoodsMovementType      as AggrgdSlsSalesGdsMvtType,
      _SitePointOfSale._PointOfSaleInboundProfile._AggregatedSalesSettings.ReturnsGoodsMovementType    as AggrgdSlsReturnsGdsMvtType,

      _SitePointOfSale._PointOfSaleInboundProfile._SalesAsPerReceiptsSettings.SalesGoodsMovementType   as SlsAsPerRcptsSalesGdsMvtType,
      _SitePointOfSale._PointOfSaleInboundProfile._SalesAsPerReceiptsSettings.ReturnsGoodsMovementType as SlsAsPerRcptsReturnsGdsMvtType
}
where
  AssignedUser = $session.user
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_POINTOFSALEINBOUNDPROFILE",
"I_POSINBAGGRGDSALESSETTINGS",
"I_POSINBSLSASPERRCPTSSETTINGS",
"I_RETAILSTOREUSERASSIGNMENT",
"I_SITE",
"I_SITEPOINTOFSALE"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/