I_CustomerReturnPartner
Returns Order Partner
I_CustomerReturnPartner is a Composite CDS View that provides data about "Returns Order Partner" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentPartner) and exposes 35 fields with key fields CustomerReturn, PartnerFunction.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentPartner | Partner | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Returns Order Partner | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | ISDCUSTRETPART | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.representativeKey | PartnerFunction | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomerReturn | SD Document | ||
| KEY | PartnerFunction | PartnerFunction | Partner Functn | |
| Customer | Customer | Sold-to Party | ||
| Supplier | Supplier | Supplier | ||
| Personnel | Personnel | Personnel No. | ||
| ContactPerson | ContactPerson | Contact Person Key | ||
| Partner | Partner | With Partner | ||
| FullName | FullName | Name | ||
| ReferenceBusinessPartner | ReferenceBusinessPartner | Busn. Partner | ||
| AddressID | AddressID | Ship-to address | ||
| AddressPersonID | AddressPersonID | Person Number | ||
| AddressObjectType | AddressObjectType | Address Type | ||
| SDDocPartnerAddressRefType | SDDocPartnerAddressRefType | Adress ind. | ||
| BPAddrDeterminationTransaction | BPAddrDeterminationTransaction | Address Detn | ||
| BPRefAddressIDForDocSpcfcAddr | BPRefAddressIDForDocSpcfcAddr | BP Ref. Address Num. | ||
| SDDocPartnerAddrIsDocSpecific | SDDocPartnerAddrIsDocSpecific | |||
| VATRegistration | VATRegistration | VAT Registration No. | ||
| UnloadingPointName | UnloadingPointName | Unloading Point Name | ||
| CorrespondenceLanguage | CorrespondenceLanguage | Language | ||
| FormOfAddress | FormOfAddress | Title Key | ||
| InternationalPhoneNumber | InternationalPhoneNumber | Telephone no. | ||
| InternationalMobilePhoneNumber | InternationalMobilePhoneNumber | |||
| InternationalFaxNumber | InternationalFaxNumber | Fax Number | ||
| EmailAddress | EmailAddress | E-Mail Address | ||
| _CustomerReturn | _CustomerReturn | |||
| _PartnerFunction | _PartnerFunction | |||
| _ContactPerson | _ContactPerson | |||
| _Address | _Address | |||
| _DfltAddrRprstn | _DfltAddrRprstn | |||
| _BusinessPartnerAddress | _BusinessPartnerAddress | |||
| _BPRefAddressForDocSpcfcAddr | _BPRefAddressForDocSpcfcAddr | |||
| _PersonAddress | _PersonAddress | |||
| _PersonName | _PersonName | |||
| _OrganizationAddress | _OrganizationAddress | |||
| _OrgNamePostalAddress | _OrgNamePostalAddress |
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 I_CustomerReturnPartner.
-- 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 I_CustomerReturnPartner AS
SELECT
cast(SalesDocument as vdm_customer_return preserving type) AS CustomerReturn,
PartnerFunction,
Customer,
Supplier,
Personnel,
ContactPerson,
Partner,
FullName,
ReferenceBusinessPartner,
AddressID,
AddressPersonID,
AddressObjectType,
SDDocPartnerAddressRefType,
BPAddrDeterminationTransaction,
BPRefAddressIDForDocSpcfcAddr,
SDDocPartnerAddrIsDocSpecific,
VATRegistration,
UnloadingPointName,
CorrespondenceLanguage,
FormOfAddress,
InternationalPhoneNumber,
InternationalMobilePhoneNumber,
InternationalFaxNumber,
EmailAddress
FROM I_SalesDocumentPartner AS Partner
;
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