C_HandlingUnitReservationDoc

DDL: C_HANDLINGUNITRESERVATIONDOC SQL: CHURESDOC Type: view CONSUMPTION

Handling Unit Reservation Document

C_HandlingUnitReservationDoc is a Consumption CDS View that provides data about "Handling Unit Reservation Document" in SAP S/4HANA. It reads from 1 data source (I_HandlingUnitHeader) and exposes 4 fields with key fields ReservationObjectNumber, ReservationObjectType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_HandlingUnitHeader _HandlingUnitHeader inner

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_HandlingUnitResDocTypeText _HandlingUnitResDocTypeText $projection.ReservationObjectType = _HandlingUnitResDocTypeText.ReservationObjectType

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CHURESDOC view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Handling Unit Reservation Document view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ReservationObjectNumber _HandlingUnitItemReservation ReservationObjectNumber
KEY ReservationObjectType _HandlingUnitItemReservation ReservationObjectType
Plant I_HandlingUnitHeader Plant Valuation Area
_HandlingUnitResDocTypeText _HandlingUnitResDocTypeText

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_HandlingUnitReservationDoc.
-- 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.
-- SQL view name: CHURESDOC

CREATE VIEW C_HandlingUnitReservationDoc AS
SELECT
  _HandlingUnitItemReservation.ReservationObjectNumber AS ReservationObjectNumber,
  _HandlingUnitItemReservation.ReservationObjectType AS ReservationObjectType,
  _HandlingUnitHeader.Plant AS Plant
INNER JOIN I_HandlingUnitHeader AS _HandlingUnitHeader ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_HandlingUnitResDocTypeText AS _HandlingUnitResDocTypeText ON ReservationObjectType = _HandlingUnitResDocTypeText.ReservationObjectType  -- association [0..*]
;