C_StoreStockAdjustmentTP

DDL: C_STORESTOCKADJUSTMENTTP Type: view_entity CONSUMPTION

Store Stock Adjustment

C_StoreStockAdjustmentTP is a Consumption CDS View that provides data about "Store Stock Adjustment" in SAP S/4HANA. It reads from 1 data source (R_StoreStockAdjustmentTP) and exposes 23 fields with key fields Store, StoreStockAdjustmentUUID.

Data Sources (1)

SourceAliasJoin Type
R_StoreStockAdjustmentTP R_StoreStockAdjustmentTP projection

Annotations (6)

NameValueLevelField
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Store Stock Adjustment view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY Store Store Plant
KEY StoreStockAdjustmentUUID StoreStockAdjustmentUUID Stock Adjust UUID
GoodsMovementType GoodsMovementType Movement Type
StockAdjustmentReason StockAdjustmentReason Adjustment Reason
StockAdjustmentReasonText _Reason RetailStoreBusTransTypeDesc
StorageLocation StorageLocation StorageLocation
GrossAmount GrossAmount Gross value
Currency Currency Valuation Crcy
NumberOfProducts NumberOfProducts
StockAdjustmentStatus StockAdjustmentStatus Stock Adjustment Status
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
StorageLocationName _StorageLoc StorageLocationName Storage Loc. Name
AssignedUser AssignedUser
Criticality Criticality Status Rating
CreationDate CreationDate Time Stamp
LastChangeDate LastChangeDate Time Stamp
CreatedByUserName _User UserDescription Full Name
GoodsMovementReasonCode GoodsMovementReasonCode Reason for Mvmt
_StorageLoc _StorageLoc
StockAdjustmentStatusText

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_StoreStockAdjustmentTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW C_StoreStockAdjustmentTP AS
SELECT
  Store,
  StoreStockAdjustmentUUID,
  GoodsMovementType,
  StockAdjustmentReason,
  _Reason.RetailStoreBusTransTypeDesc AS StockAdjustmentReasonText,
  StorageLocation,
  GrossAmount,
  Currency,
  NumberOfProducts,
  StockAdjustmentStatus,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  _StorageLoc.StorageLocationName AS StorageLocationName,
  AssignedUser,
  Criticality,
  CreationDate,
  LastChangeDate,
  _User.UserDescription AS CreatedByUserName,
  GoodsMovementReasonCode,
  _Status._Text[1: Language=$session.system_language].StockAdjustmentStatusText AS StockAdjustmentStatusText
FROM R_StoreStockAdjustmentTP
;