C_PermitToWorkPartnerValueHelp

DDL: C_PERMITTOWORKPARTNERVALUEHELP SQL: CPERMITPARTNERVH Type: view CONSUMPTION

PTW Profile specific BusinessPartnerData

C_PermitToWorkPartnerValueHelp is a Consumption CDS View that provides data about "PTW Profile specific BusinessPartnerData" in SAP S/4HANA. It reads from 3 data sources (I_Customer, I_PartFuncByPartDetnProced, I_PermitToWorkProfile) and exposes 11 fields with key fields PartnerDeterminationProcedure, PartnerFunction, MaintenancePlanningPlant, Partner. It has 1 association to related views.

Data Sources (3)

SourceAliasJoin Type
I_Customer _Customer inner
I_PartFuncByPartDetnProced _PartnerDetProced from
I_PermitToWorkProfile _PermitProfileDetails inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_PartnerFunction _PartnerFunc _PartnerFunc.PartnerFunction = $projection.PartnerFunction

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CPERMITPARTNERVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label PTW Profile specific BusinessPartnerData view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey MaintenancePlanningPlant view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY PartnerDeterminationProcedure I_PartFuncByPartDetnProced PartnerDeterminationProcedure Partner Det.Prc
KEY PartnerFunction I_PartFuncByPartDetnProced PartnerFunction Partner Functn
KEY MaintenancePlanningPlant I_PermitToWorkProfile MaintenancePlanningPlant Planning Plant
KEY Partner I_Customer Customer Sold-to Party
PartnerFullName I_Customer CustomerFullName Customer Name
PartnerFunctionName
Country I_Customer Country Venue: Ctry/Reg
CityName I_Customer CityName Name
PostalCode I_Customer PostalCode Postal Code
StreetName I_Customer StreetName Text
_PartnerFunc _PartnerFunc

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_PermitToWorkPartnerValueHelp.
-- 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: CPERMITPARTNERVH

CREATE VIEW C_PermitToWorkPartnerValueHelp AS
SELECT
  _PartnerDetProced.PartnerDeterminationProcedure AS PartnerDeterminationProcedure,
  _PartnerDetProced.PartnerFunction AS PartnerFunction,
  _PermitProfileDetails.MaintenancePlanningPlant AS MaintenancePlanningPlant,
  _Customer.Customer AS Partner,
  _Customer.CustomerFullName AS PartnerFullName,
  _PartnerFunc._Text[ 1: Language = $session.system_language ].PartnerFunctionName AS PartnerFunctionName,
  _Customer.Country AS Country,
  _Customer.CityName AS CityName,
  _Customer.PostalCode AS PostalCode,
  _Customer.StreetName AS StreetName
FROM I_PartFuncByPartDetnProced AS _PartnerDetProced
INNER JOIN I_PermitToWorkProfile AS _PermitProfileDetails ON /* join condition not captured in parsed metadata */
INNER JOIN I_Customer AS _Customer ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PartnerFunction AS _PartnerFunc ON _PartnerFunc.PartnerFunction = PartnerFunction  -- association [1..1]
;