R_SlsSchedgAgrmtItemPartnerTP
Partner for Sls Sched Agr Item - TP
R_SlsSchedgAgrmtItemPartnerTP is a Transactional CDS View that provides data about "Partner for Sls Sched Agr Item - TP" in SAP S/4HANA. It reads from 2 data sources (I_SalesDocItemCompletePartner, I_SalesDocumentBasic) and exposes 29 fields with key fields SalesSchedulingAgreement, SalesSchedulingAgreementItem, PartnerFunction. It has 2 associations to related views. Part of development package RAP_SD_SLS_SCHEDGAGRMT.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocItemCompletePartner | ItemPartner | from |
| I_SalesDocumentBasic | SalesSchedulingAgreement | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_SalesSchedgAgrmtTP | _SalesSchedulingAgreement | $projection.SalesSchedulingAgreement = _SalesSchedulingAgreement.SalesSchedulingAgreement |
| [0..1] | I_PartnerFunction | _PartnerFunction | $projection.PartnerFunctionForEdit = _PartnerFunction.PartnerFunction |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Partner for Sls Sched Agr Item - TP | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesSchedulingAgreement | |||
| KEY | SalesSchedulingAgreementItem | |||
| KEY | PartnerFunction | |||
| PartnerFunctionForEdit | ||||
| Customer | I_SalesDocItemCompletePartner | Customer | Sold-to Party | |
| Supplier | I_SalesDocItemCompletePartner | Supplier | Supplier | |
| Personnel | I_SalesDocItemCompletePartner | Personnel | Personnel No. | |
| ContactPerson | I_SalesDocItemCompletePartner | ContactPerson | Contact Person Key | |
| Partner | I_SalesDocItemCompletePartner | Partner | With Partner | |
| FullName | I_SalesDocItemCompletePartner | FullName | Name | |
| SDDocumentPartnerType | _PartnerFunction | SDDocumentPartnerType | Partner Type | |
| PartnerIsSpecificForSDDocItem | I_SalesDocItemCompletePartner | PartnerIsSpecificForSDDocItem | ||
| ReferenceBusinessPartner | I_SalesDocItemCompletePartner | ReferenceBusinessPartner | Busn. Partner | |
| AddressID | I_SalesDocItemCompletePartner | AddressID | Ship-to address | |
| AddressPersonID | I_SalesDocItemCompletePartner | AddressPersonID | Person Number | |
| AddressObjectType | I_SalesDocItemCompletePartner | AddressObjectType | Address Type | |
| SDDocPartnerAddressRefType | I_SalesDocItemCompletePartner | SDDocPartnerAddressRefType | Adress ind. | |
| BPAddrDeterminationTransaction | I_SalesDocItemCompletePartner | BPAddrDeterminationTransaction | Address Detn | |
| BPRefAddressIDForDocSpcfcAddr | I_SalesDocItemCompletePartner | BPRefAddressIDForDocSpcfcAddr | BP Ref. Address Num. | |
| SalesSchedgAgrmtType | _SalesSchedulingAgreement | SalesSchedgAgrmtType | ||
| SalesOrganization | _SalesSchedulingAgreement | SalesOrganization | Sales Organization | |
| DistributionChannel | _SalesSchedulingAgreement | DistributionChannel | RefDistCh-Cust/Mat. | |
| OrganizationDivision | _SalesSchedulingAgreement | OrganizationDivision | Org. Division | |
| _Item | _Item | |||
| _SalesSchedulingAgreement | _SalesSchedulingAgreement | |||
| _PartnerFunction | _PartnerFunction | |||
| _DfltAddrRprstn | I_SalesDocItemCompletePartner | _DfltAddrRprstn | ||
| _BusinessPartnerAddress | I_SalesDocItemCompletePartner | _BusinessPartnerAddress | ||
| _BPRefAddressForDocSpcfcAddr | I_SalesDocItemCompletePartner | _BPRefAddressForDocSpcfcAddr |
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_SlsSchedgAgrmtItemPartnerTP.
-- 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_SlsSchedgAgrmtItemPartnerTP AS
SELECT
cast(ItemPartner.SalesDocument as vdm_sales_schedg_agrmt preserving type) AS SalesSchedulingAgreement,
cast(ItemPartner.SalesDocumentItem as vdm_sales_schedg_agrmt_item preserving type) AS SalesSchedulingAgreementItem,
cast(ItemPartner.PartnerFunction as parvw_unv preserving type ) AS PartnerFunction,
cast(ItemPartner.PartnerFunction as parvw_unv preserving type ) AS PartnerFunctionForEdit,
ItemPartner.Customer AS Customer,
ItemPartner.Supplier AS Supplier,
ItemPartner.Personnel AS Personnel,
ItemPartner.ContactPerson AS ContactPerson,
ItemPartner.Partner AS Partner,
ItemPartner.FullName AS FullName,
_PartnerFunction.SDDocumentPartnerType AS SDDocumentPartnerType,
ItemPartner.PartnerIsSpecificForSDDocItem AS PartnerIsSpecificForSDDocItem,
ItemPartner.ReferenceBusinessPartner AS ReferenceBusinessPartner,
ItemPartner.AddressID AS AddressID,
ItemPartner.AddressPersonID AS AddressPersonID,
ItemPartner.AddressObjectType AS AddressObjectType,
ItemPartner.SDDocPartnerAddressRefType AS SDDocPartnerAddressRefType,
ItemPartner.BPAddrDeterminationTransaction AS BPAddrDeterminationTransaction,
ItemPartner.BPRefAddressIDForDocSpcfcAddr AS BPRefAddressIDForDocSpcfcAddr,
_SalesSchedulingAgreement.SalesSchedgAgrmtType AS SalesSchedgAgrmtType,
_SalesSchedulingAgreement.SalesOrganization AS SalesOrganization,
_SalesSchedulingAgreement.DistributionChannel AS DistributionChannel,
_SalesSchedulingAgreement.OrganizationDivision AS OrganizationDivision,
ItemPartner._DfltAddrRprstn AS _DfltAddrRprstn,
ItemPartner._BusinessPartnerAddress AS _BusinessPartnerAddress,
ItemPartner._BPRefAddressForDocSpcfcAddr AS _BPRefAddressForDocSpcfcAddr
FROM I_SalesDocItemCompletePartner AS ItemPartner
INNER JOIN I_SalesDocumentBasic AS SalesSchedulingAgreement ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_SalesSchedgAgrmtTP AS _SalesSchedulingAgreement ON SalesSchedulingAgreement = _SalesSchedulingAgreement.SalesSchedulingAgreement -- association [1..1]
LEFT OUTER JOIN I_PartnerFunction AS _PartnerFunction ON PartnerFunctionForEdit = _PartnerFunction.PartnerFunction -- association [0..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