C_PermitToWorkPartnerValueHelp
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)
| Source | Alias | Join Type |
|---|---|---|
| I_Customer | _Customer | inner |
| I_PartFuncByPartDetnProced | _PartnerDetProced | from |
| I_PermitToWorkProfile | _PermitProfileDetails | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PartnerFunction | _PartnerFunc | _PartnerFunc.PartnerFunction = $projection.PartnerFunction |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA