R_WrkAssgmtPaymentMethodTP_2

DDL: R_WRKASSGMTPAYMENTMETHODTP_2 Type: view_entity TRANSACTIONAL Package: ODATA_CA_BUM_WF

Work assignment Payment Method TP

R_WrkAssgmtPaymentMethodTP_2 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_BusinessPartnerSupplier, R_WorkAssignment_2, R_WrkAssgmtPaymentMethod) and exposes 8 fields with key fields WorkAssignmentBusinessPartner, CompanyCode, PaymentMethod. It has 2 associations to related views. Part of development package ODATA_CA_BUM_WF.

Data Sources (3)

SourceAliasJoin Type
I_BusinessPartnerSupplier _SupplierBP inner
R_WorkAssignment_2 _WorkAssignmentBasic from
R_WrkAssgmtPaymentMethod _WrkAssgmtPaymentMethod inner

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_PaymentMethodText _FinancePaymentMethodText _FinancePaymentMethodText.Country = $projection.CompanyCodeCountry and _FinancePaymentMethodText.PaymentMethod = $projection.PaymentMethod and _FinancePaymentMethodText.Language = $session.system_language
[1..1] R_WorkforcePersonTP_2 _WorkforcePerson $projection.BusinessPartner = _WorkforcePerson.BusinessPartner

Annotations (9)

NameValueLevelField
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
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY WorkAssignmentBusinessPartner R_WorkAssignment_2 WorkAssignmentBusinessPartner Busn. Partner
KEY CompanyCode R_WorkAssignment_2 CompanyCode Receiver Company Code
KEY PaymentMethod R_WrkAssgmtPaymentMethod PaymentMethod Pymt Meth.
CompanyCodeCountry R_WorkAssignment_2 CompanyCodeCountry Reporting Ctry/Reg.
BusinessPartner R_WorkAssignment_2 BusinessPartner Issuing Authority
_FinancePaymentMethodText _FinancePaymentMethodText
_WorkAssignment _WorkAssignment
_WorkforcePerson _WorkforcePerson

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 R_WrkAssgmtPaymentMethodTP_2.
-- 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.

CREATE VIEW R_WrkAssgmtPaymentMethodTP_2 AS
SELECT
  _WorkAssignmentBasic.WorkAssignmentBusinessPartner AS WorkAssignmentBusinessPartner,
  _WorkAssignmentBasic.CompanyCode AS CompanyCode,
  _WrkAssgmtPaymentMethod.PaymentMethod AS PaymentMethod,
  _WorkAssignmentBasic.CompanyCodeCountry AS CompanyCodeCountry,
  _WorkAssignmentBasic.BusinessPartner AS BusinessPartner
FROM R_WorkAssignment_2 AS _WorkAssignmentBasic
INNER JOIN I_BusinessPartnerSupplier AS _SupplierBP ON /* join condition not captured in parsed metadata */
INNER JOIN R_WrkAssgmtPaymentMethod AS _WrkAssgmtPaymentMethod ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PaymentMethodText AS _FinancePaymentMethodText ON _FinancePaymentMethodText.Country = CompanyCodeCountry AND _FinancePaymentMethodText.PaymentMethod = PaymentMethod AND _FinancePaymentMethodText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN R_WorkforcePersonTP_2 AS _WorkforcePerson ON BusinessPartner = _WorkforcePerson.BusinessPartner  -- association [1..1]
;