R_WrkAssgmtPaymentMethodTP
Work assignment Payment Method TP
R_WrkAssgmtPaymentMethodTP is a Transactional CDS View that provides data about "Work assignment Payment Method TP" in SAP S/4HANA. It reads from 3 data sources (I_Supplier_to_BusinessPartner, R_WorkAssignmentBasic, R_WrkAssgmtPaymentMethod) and exposes 8 fields with key fields WorkAssignmentUUID, CompanyCode, PaymentMethod. It has 2 associations to related views. Part of development package ODATA_CA_BUM_WF.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_Supplier_to_BusinessPartner | _SupplierBP | from |
| R_WorkAssignmentBasic | _WorkAssignmentBasic | inner |
| R_WrkAssgmtPaymentMethod | _WrkAssgmtPaymentMethod | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PaymentMethodText | _FinancePaymentMethodText | _FinancePaymentMethodText.Country = $projection.CompanyCodeCountry and _FinancePaymentMethodText.PaymentMethod = $projection.PaymentMethod and _FinancePaymentMethodText.Language = $session.system_language |
| [1..1] | R_WorkforcePersonTP | _WorkforcePerson | $projection.PersonUUID = _WorkforcePerson.PersonUUID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Work assignment Payment Method TP | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkAssignmentUUID | I_Supplier_to_BusinessPartner | BusinessPartnerUUID | |
| KEY | CompanyCode | _CompanyCode | CompanyCode | |
| KEY | PaymentMethod | R_WrkAssgmtPaymentMethod | PaymentMethod | |
| CompanyCodeCountry | _CompanyCode | Country | ||
| PersonUUID | R_WorkAssignmentBasic | PersonUUID | ||
| _FinancePaymentMethodText | _FinancePaymentMethodText | |||
| _WorkAssignment | _WorkAssignment | |||
| _WorkforcePerson | _WorkforcePerson |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Work assignment Payment Method TP'
@Metadata.ignorePropagatedAnnotations: true
@VDM: {
viewType: #TRANSACTIONAL,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #XL,
dataClass: #MASTER
}
@Consumption.dbHints: [ '&PREFER_JOIN_WITH_FDA 0&', 'USE_HEX_PLAN' ]
define view entity R_WrkAssgmtPaymentMethodTP
as select from I_Supplier_to_BusinessPartner as _SupplierBP
inner join R_WorkAssignmentBasic as _WorkAssignmentBasic on _WorkAssignmentBasic.WorkAssignmentUUID = _SupplierBP.BusinessPartnerUUID
inner join R_WrkAssgmtPaymentMethod as _WrkAssgmtPaymentMethod on _WrkAssgmtPaymentMethod.Supplier = _SupplierBP.Supplier
and _WrkAssgmtPaymentMethod.CompanyCode = _WorkAssignmentBasic.CompanyCode
//Get Company Code Country
left outer to one join I_CompanyCode as _CompanyCode on _CompanyCode.CompanyCode = _WorkAssignmentBasic.CompanyCode
//FI Payment Method Text
association [1..1] to I_PaymentMethodText as _FinancePaymentMethodText on _FinancePaymentMethodText.Country = $projection.CompanyCodeCountry
and _FinancePaymentMethodText.PaymentMethod = $projection.PaymentMethod
and _FinancePaymentMethodText.Language = $session.system_language
//Below associations for handling DCL
association [1..1] to R_WorkforcePersonTP as _WorkforcePerson on $projection.PersonUUID = _WorkforcePerson.PersonUUID
association to parent R_WorkAssignmentTP as _WorkAssignment on $projection.WorkAssignmentUUID = _WorkAssignment.WorkAssignmentUUID
{
key _SupplierBP.BusinessPartnerUUID as WorkAssignmentUUID,
key _CompanyCode.CompanyCode as CompanyCode,
key _WrkAssgmtPaymentMethod.PaymentMethod as PaymentMethod,
_CompanyCode.Country as CompanyCodeCountry,
_WorkAssignmentBasic.PersonUUID as PersonUUID,
_FinancePaymentMethodText,
_WorkAssignment,
_WorkforcePerson
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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