R_WorkAgreementPaymentMethod

DDL: R_WORKAGREEMENTPAYMENTMETHOD SQL: R_WRKASSPAYMENT Type: view COMPOSITE Package: WFD_WORKER_FACTSHEET_BL

Work Assignment Payment Method

R_WorkAgreementPaymentMethod is a Composite CDS View that provides data about "Work Assignment Payment Method" in SAP S/4HANA. It reads from 3 data sources (I_Supplier_to_BusinessPartner, R_WorkAssignmentBasic, R_WrkAssgmtPaymentMethod) and exposes 9 fields with key fields WorkAssignmentUUID, CompanyCode, PaymentMethod, WorkAssignment. It has 2 associations to related views. Part of development package WFD_WORKER_FACTSHEET_BL.

Data Sources (3)

SourceAliasJoin Type
I_Supplier_to_BusinessPartner _SupplierBP from
R_WorkAssignmentBasic _WorkAssignmentBasic inner
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_WorkforcePersonFactSheet _WorkforcePerson $projection.PersonUUID = _WorkforcePerson.PersonUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName R_WRKASSPAYMENT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Work Assignment Payment Method view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE 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 (9)

KeyFieldSource TableSource FieldDescription
KEY WorkAssignmentUUID I_Supplier_to_BusinessPartner BusinessPartnerUUID UUID
KEY CompanyCode _CompanyCode CompanyCode Receiver Company Code
KEY PaymentMethod R_WrkAssgmtPaymentMethod PaymentMethod Pymt Meth.
KEY WorkAssignment R_WorkAssignmentBasic WorkAssignment WorkForce Assgmt ID
CompanyCodeCountry _CompanyCode Country Venue: Ctry/Reg
PersonUUID R_WorkAssignmentBasic PersonUUID BP GUID
_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_WorkAgreementPaymentMethod.
-- 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: R_WRKASSPAYMENT

CREATE VIEW R_WorkAgreementPaymentMethod AS
SELECT
  _SupplierBP.BusinessPartnerUUID AS WorkAssignmentUUID,
  _CompanyCode.CompanyCode AS CompanyCode,
  _WrkAssgmtPaymentMethod.PaymentMethod AS PaymentMethod,
  _WorkAssignmentBasic.WorkAssignment AS WorkAssignment,
  _CompanyCode.Country AS CompanyCodeCountry,
  _WorkAssignmentBasic.PersonUUID AS PersonUUID
FROM I_Supplier_to_BusinessPartner AS _SupplierBP
INNER JOIN R_WorkAssignmentBasic AS _WorkAssignmentBasic 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_WorkforcePersonFactSheet AS _WorkforcePerson ON PersonUUID = _WorkforcePerson.PersonUUID  -- association [1..1]
;