C_InvgCsMStaffUnitVH

DDL: C_INVGCSMSTAFFUNITVH SQL: CINVGCSMSTFUNTVH Type: view CONSUMPTION

Consumption view for External Person

C_InvgCsMStaffUnitVH is a Consumption CDS View that provides data about "Consumption view for External Person" in SAP S/4HANA. It reads from 1 data source (I_InvgCsMStaffUnitVH) and exposes 6 fields with key fields BusinessPartner, Type. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_InvgCsMStaffUnitVH I_InvgCsMStaffUnitVH from

Associations (2)

CardinalityTargetAliasCondition
[0..*] C_InvgCsMPartnerFunctionVH _partnerfunction $projection.Type = _partnerfunction.PartnerFunction
[0..*] C_InvgCsMPartFunctionText _partnerfunctiontxt $projection.Type = _partnerfunctiontxt.PartnerFunction

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CINVGCSMSTFUNTVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consumption view for External Person view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey BusinessPartner view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner BusinessPartner ID
KEY Type Type Relationship
PartnerFunctionName _partnerfunctiontxt PartnerFunctionName Relationship Text
BusinessPartnerFullName BusinessPartnerFullName Name
AuthorizationGroup AuthorizationGroup AuthorizGroup
IsBusinessPurposeCompleted IsBusinessPurposeCompleted Purpose Completed

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_InvgCsMStaffUnitVH.
-- 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: CINVGCSMSTFUNTVH

CREATE VIEW C_InvgCsMStaffUnitVH AS
SELECT
  BusinessPartner,
  Type,
  _partnerfunctiontxt.PartnerFunctionName AS PartnerFunctionName,
  BusinessPartnerFullName,
  AuthorizationGroup,
  IsBusinessPurposeCompleted
FROM I_InvgCsMStaffUnitVH
LEFT OUTER JOIN C_InvgCsMPartnerFunctionVH AS _partnerfunction ON Type = _partnerfunction.PartnerFunction  -- association [0..*]
LEFT OUTER JOIN C_InvgCsMPartFunctionText AS _partnerfunctiontxt ON Type = _partnerfunctiontxt.PartnerFunction  -- association [0..*]
;