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
KEY PartnerFunction I_PartFuncByPartDetnProced PartnerFunction
KEY MaintenancePlanningPlant I_PermitToWorkProfile MaintenancePlanningPlant
KEY Partner I_Customer Customer
PartnerFullName I_Customer CustomerFullName
PartnerFunctionName
Country I_Customer Country
CityName I_Customer CityName
PostalCode I_Customer PostalCode
StreetName I_Customer StreetName
_PartnerFunc _PartnerFunc
@AbapCatalog.sqlViewName: 'CPERMITPARTNERVH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #D, sizeCategory: #S, dataClass: #META}
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'PTW Profile specific BusinessPartnerData'
@ObjectModel.dataCategory:#VALUE_HELP
@ObjectModel.representativeKey: 'MaintenancePlanningPlant'
define view C_PermitToWorkPartnerValueHelp
  as select from           I_PartFuncByPartDetnProced as _PartnerDetProced
    inner join             I_PermitToWorkProfile      as _PermitProfileDetails on _PartnerDetProced.PartnerDeterminationProcedure = _PermitProfileDetails.PartnerDeterminationProcedure
    left outer to one join I_BusinessPartnerPartFunc  as _PartnerFunction      on _PartnerDetProced.PartnerFunction = _PartnerFunction.PartnerFunction
    inner join             I_Customer                 as _Customer             on _PartnerFunction.Customer = _Customer.Customer
  association [1..1] to I_PartnerFunction as _PartnerFunc on _PartnerFunc.PartnerFunction = $projection.PartnerFunction
{
      @UI.hidden:true
  key _PartnerDetProced.PartnerDeterminationProcedure,
  key _PartnerDetProced.PartnerFunction,
      @UI.hidden:true
  key _PermitProfileDetails.MaintenancePlanningPlant,
  key _Customer.Customer        as Partner,
      _Customer.CustomerFullName as PartnerFullName,
      _PartnerFunc._Text[ 1: Language = $session.system_language ].PartnerFunctionName,
      _Customer.Country,
      _Customer.CityName,
      _Customer.PostalCode,
      _Customer.StreetName,
      _PartnerFunc
}
where
  _PartnerDetProced.PartnerDeterminationProcedure != ''
  and _Customer.Customer not like '$%'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSINESSPARTNERPARTFUNC",
"I_CUSTOMER",
"I_PARTFUNCBYPARTDETNPROCED",
"I_PARTNERFUNCTION",
"I_PARTNERFUNCTIONTEXT",
"I_PERMITTOWORKPROFILE"
],
"ASSOCIATED":
[
"I_PARTNERFUNCTION"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/