C_SupplierReturnToAddressVH
Supplier Return-To Address
C_SupplierReturnToAddressVH is a Consumption CDS View that provides data about "Supplier Return-To Address" in SAP S/4HANA. It reads from 2 data sources (P_SuplrReturnToPartnerFunction, I_Supplier) and exposes 34 fields with key fields Supplier, SalesOrganization, DistributionChannel, Division, ReturnToAddressPartnerFunction. Part of development package ODATA_SD_RETURN_V2.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_SuplrReturnToPartnerFunction | PartnerFunction | inner |
| I_Supplier | Supplier | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | CSUPLRRETTOADRVH | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| EndUserText.label | Supplier Return-To Address | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Supplier | I_Supplier | Supplier | Supplier |
| KEY | SalesOrganization | P_SuplrReturnToPartnerFunction | SalesOrganization | Sales Organization |
| KEY | DistributionChannel | P_SuplrReturnToPartnerFunction | DistributionChannel | RefDistCh-Cust/Mat. |
| KEY | Division | P_SuplrReturnToPartnerFunction | Division | Internal Division ID |
| KEY | ReturnToAddressPartnerFunction | P_SuplrReturnToPartnerFunction | PartnerFunction | Partner Functn |
| KEY | PartnerCounter | P_SuplrReturnToPartnerFunction | PartnerCounter | Partner counter |
| BPCustomerNumber | P_SuplrReturnToPartnerFunction | BPCustomerNumber | Customer | |
| DefaultPartner | P_SuplrReturnToPartnerFunction | DefaultPartner | Default Partner | |
| AddressID | ShipToCustomer | AddressID | Ship-to address | |
| CustomerName | ShipToCustomer | CustomerName | Name of Customer | |
| StreetName | ||||
| HouseNumber | ||||
| CityName | ||||
| PostalCode | ||||
| Region | ||||
| RegionName | ||||
| Country | ||||
| CountryName | ||||
| CityName111asSupplierAddress | ||||
| AuthorizationGroup | I_Supplier | AuthorizationGroup | AuthorizGroup | |
| SupplierAccountGroup | I_Supplier | SupplierAccountGroup | Account group | |
| IsBusinessPurposeCompleted | I_Supplier | IsBusinessPurposeCompleted | Purpose Completed | |
| DataControllerSet | I_Supplier | DataControllerSet | Data Ctrlr. Set | |
| DataController1 | I_Supplier | DataController1 | Data Controller | |
| DataController2 | I_Supplier | DataController2 | Data Controller | |
| DataController3 | I_Supplier | DataController3 | Data Controller | |
| DataController4 | I_Supplier | DataController4 | Data Controller | |
| DataController5 | I_Supplier | DataController5 | Data Controller | |
| DataController6 | I_Supplier | DataController6 | Data Controller | |
| DataController7 | I_Supplier | DataController7 | Data Controller | |
| DataController8 | I_Supplier | DataController8 | Data Controller | |
| DataController9 | I_Supplier | DataController9 | Data Controller | |
| DataController10 | I_Supplier | DataController10 | Data Controller | |
| _AddressRepresentation | ShipToCustomer | _AddressRepresentation |
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 C_SupplierReturnToAddressVH.
-- 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: CSUPLRRETTOADRVH
CREATE VIEW C_SupplierReturnToAddressVH AS
SELECT
Supplier.Supplier AS Supplier,
PartnerFunction.SalesOrganization AS SalesOrganization,
PartnerFunction.DistributionChannel AS DistributionChannel,
PartnerFunction.Division AS Division,
PartnerFunction.PartnerFunction AS ReturnToAddressPartnerFunction,
PartnerFunction.PartnerCounter AS PartnerCounter,
PartnerFunction.BPCustomerNumber AS BPCustomerNumber,
PartnerFunction.DefaultPartner AS DefaultPartner,
ShipToCustomer.AddressID AS AddressID,
ShipToCustomer.CustomerName AS CustomerName,
ShipToCustomer._AddressRepresentation.StreetName AS StreetName,
ShipToCustomer._AddressRepresentation.HouseNumber AS HouseNumber,
ShipToCustomer._AddressRepresentation.CityName AS CityName,
ShipToCustomer._AddressRepresentation.PostalCode AS PostalCode,
ShipToCustomer._AddressRepresentation.Region AS Region,
ShipToCustomer._AddressRepresentation._Region._RegionText[1: Language=$session.system_language].RegionName AS RegionName,
ShipToCustomer._AddressRepresentation.Country AS Country,
ShipToCustomer._AddressRepresentation._Country._Text[1: Language=$session.system_language].CountryName AS CountryName,
concat(ShipToCustomer.CustomerName, concat_with_space( ',', concat_with_space(ShipToCustomer._AddressRepresentation.StreetName, concat(ShipToCustomer._AddressRepresentation.HouseNumber, concat_with_space( ',', ShipToCustomer._AddressRepresentation.CityName, 1)), 1), 1)) as SupplierAddress AS CityName111asSupplierAddress,
Supplier.AuthorizationGroup AS AuthorizationGroup,
Supplier.SupplierAccountGroup AS SupplierAccountGroup,
Supplier.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
Supplier.DataControllerSet AS DataControllerSet,
Supplier.DataController1 AS DataController1,
Supplier.DataController2 AS DataController2,
Supplier.DataController3 AS DataController3,
Supplier.DataController4 AS DataController4,
Supplier.DataController5 AS DataController5,
Supplier.DataController6 AS DataController6,
Supplier.DataController7 AS DataController7,
Supplier.DataController8 AS DataController8,
Supplier.DataController9 AS DataController9,
Supplier.DataController10 AS DataController10,
ShipToCustomer._AddressRepresentation AS _AddressRepresentation
FROM I_Supplier AS Supplier
INNER JOIN P_SuplrReturnToPartnerFunction AS PartnerFunction ON /* join condition not captured in parsed metadata */
;
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