R_WrkAssignmentBankAccountTP_2
TP View for Bank Accounts for Workforce Person
R_WrkAssignmentBankAccountTP_2 is a Transactional CDS View that provides data about "TP View for Bank Accounts for Workforce Person" in SAP S/4HANA. It reads from 2 data sources (R_WorkAssignmentBP, I_BusinessPartnerBank_2) and exposes 20 fields with key fields WorkAssignmentBusinessPartner, BankIdentification. It has 2 associations to related views. Part of development package ODATA_CA_BUM_WF.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| R_WorkAssignmentBP | _BuPaIdentification | inner |
| I_BusinessPartnerBank_2 | _BusinessPartnerBank | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CountryText | _CountryText | $projection.BankCountryKey = _CountryText.Country and _CountryText.Language = $session.system_language |
| [1..1] | R_WorkforcePersonTP_2 | _WorkforcePerson | $projection.BusinessPartner = _WorkforcePerson.BusinessPartner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | TP View for Bank Accounts for Workforce Person | 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 | #MIXED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkAssignmentBusinessPartner | I_BusinessPartnerBank_2 | BusinessPartner | Issuing Authority |
| KEY | BankIdentification | I_BusinessPartnerBank_2 | BankIdentification | Bank Details |
| WorkforceAssignment | R_WorkAssignmentBP | WorkforceAssignment | WorkForce Assgmt ID | |
| BankAccountHolderName | I_BusinessPartnerBank_2 | BankAccountHolderName | Account Holder | |
| BankAccountName | I_BusinessPartnerBank_2 | BankAccountName | Account Name | |
| BankControlKey | I_BusinessPartnerBank_2 | BankControlKey | Control Key | |
| BankCountryKey | I_BusinessPartnerBank_2 | BankCountryKey | Bank Ctry/Reg. | |
| Bank | I_BusinessPartnerBank_2 | BankNumber | Bank Key | |
| BankName | I_BusinessPartnerBank_2 | BankName | Bank Name | |
| BankAccount | I_BusinessPartnerBank_2 | BankAccount | Bank acct | |
| IBAN | I_BusinessPartnerBank_2 | IBAN | IBAN House Bank | |
| SWIFTCode | I_BusinessPartnerBank_2 | SWIFTCode | SWIFT/BIC | |
| datsendasValidityStartDate | ||||
| datsendasValidityEndDate | ||||
| BankReference | ||||
| BusinessPartner | R_WorkAssignmentBP | BusinessPartner | Issuing Authority | |
| BPBankIsProtected | I_BusinessPartnerBank_2 | BPBankIsProtected | Sensitivity | |
| _WorkAssignment | _WorkAssignment | |||
| _WorkforcePerson | _WorkforcePerson | |||
| _CountryText | _CountryText |
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_WrkAssignmentBankAccountTP_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_WrkAssignmentBankAccountTP_2 AS
SELECT
_BusinessPartnerBank.BusinessPartner AS WorkAssignmentBusinessPartner,
_BusinessPartnerBank.BankIdentification AS BankIdentification,
_BuPaIdentification.WorkforceAssignment AS WorkforceAssignment,
_BusinessPartnerBank.BankAccountHolderName AS BankAccountHolderName,
_BusinessPartnerBank.BankAccountName AS BankAccountName,
_BusinessPartnerBank.BankControlKey AS BankControlKey,
_BusinessPartnerBank.BankCountryKey AS BankCountryKey,
_BusinessPartnerBank.BankNumber AS Bank,
_BusinessPartnerBank.BankName AS BankName,
_BusinessPartnerBank.BankAccount AS BankAccount,
_BusinessPartnerBank.IBAN AS IBAN,
_BusinessPartnerBank.SWIFTCode AS SWIFTCode,
case when _BusinessPartnerBank.ValidityStartDate != 00010101000000 then tstmp_to_dats(_BusinessPartnerBank.ValidityStartDate,'UTC', $session.client, 'NULL') else cast ( '00010101' as abap.dats ) end as ValidityStartDate AS datsendasValidityStartDate,
case when _BusinessPartnerBank.ValidityEndDate != 00010101000000 then tstmp_to_dats(_BusinessPartnerBank.ValidityEndDate,'UTC', $session.client, 'NULL') else cast ( '99991231' as abap.dats) end as ValidityEndDate AS datsendasValidityEndDate,
cast(_BusinessPartnerBank.BankAccountReferenceText as refbk) AS BankReference,
_BuPaIdentification.BusinessPartner AS BusinessPartner,
_BusinessPartnerBank.BPBankIsProtected AS BPBankIsProtected
FROM I_BusinessPartnerBank_2 AS _BusinessPartnerBank
INNER JOIN R_WorkAssignmentBP AS _BuPaIdentification ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CountryText AS _CountryText ON BankCountryKey = _CountryText.Country AND _CountryText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN R_WorkforcePersonTP_2 AS _WorkforcePerson ON BusinessPartner = _WorkforcePerson.BusinessPartner -- 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