I_SuplrContactCard
Supplier Contact Card
I_SuplrContactCard is a Basic CDS View that provides data about "Supplier Contact Card" in SAP S/4HANA. It reads from 1 data source (lfa1) and exposes 28 fields with key field ContactCardID. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| lfa1 | _Supplier | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | adr2 | _DefaultPhoneNumber | _DefaultPhoneNumber.addrnumber = $projection.AddressID and _DefaultPhoneNumber.persnumber = ' ' and _DefaultPhoneNumber.r3_user = '1' |
| [0..1] | adr2 | _DefaultMobilePhoneNumber | _DefaultMobilePhoneNumber.addrnumber = $projection.AddressID and _DefaultMobilePhoneNumber.persnumber = ' ' and _DefaultMobilePhoneNumber.r3_user = '3' |
| [0..1] | adr6 | _DefaultEmailAddress | _DefaultEmailAddress.addrnumber = $projection.AddressID and _DefaultEmailAddress.persnumber = ' ' and _DefaultEmailAddress.flgdefault = 'X' |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISUPLRCC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Supplier Contact Card | view | |
| ObjectModel.representativeKey | ContactCardID | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ContactCardID | lfa1 | lifnr | Vendor no. |
| ContactCardRole | ||||
| ContactCardType | ||||
| FullName | lfa1 | name1 | PA text | |
| AddressID | lfa1 | adrnr | Sold-To Address | |
| PhoneNumber | ||||
| MobilePhoneNumber | ||||
| EmailAddress | ||||
| ContactCardNavLinkSemanticObj | ||||
| ContactCardNavLinkQueryPart | ||||
| SupplierAccountGroup | lfa1 | ktokk | Vendor Group | |
| AuthorizationGroup | lfa1 | begru | AuthorizGroup | |
| IsBusinessPurposeCompleted | lfa1 | cvp_xblck | Purpose Completed | |
| CityName | lfa1 | ort01 | Province | |
| PostalCode | lfa1 | pstlz | Postal Code | |
| StreetName | lfa1 | stras | Street/House | |
| Country | lfa1 | land1 | Trip Ctry/Reg | |
| DataController1 | lfa1 | data_ctrlr1 | Data Controller | |
| DataController2 | lfa1 | data_ctrlr2 | Data Controller | |
| DataController3 | lfa1 | data_ctrlr3 | Data Controller | |
| DataController4 | lfa1 | data_ctrlr4 | Data Controller | |
| DataController5 | lfa1 | data_ctrlr5 | Data Controller | |
| DataController6 | lfa1 | data_ctrlr6 | Data Controller | |
| DataController7 | lfa1 | data_ctrlr7 | Data Controller | |
| DataController8 | lfa1 | data_ctrlr8 | Data Controller | |
| DataController9 | lfa1 | data_ctrlr9 | Data Controller | |
| DataController10 | lfa1 | data_ctrlr10 | Data Controller | |
| DataControllerSet | lfa1 | xdcset | Data Ctrlr. Set |
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_SuplrContactCard.
-- 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: ISUPLRCC
CREATE VIEW I_SuplrContactCard AS
SELECT
_Supplier.lifnr AS ContactCardID,
'Supplier' AS ContactCardRole,
'Supplier' AS ContactCardType,
_Supplier.name1 AS FullName,
_Supplier.adrnr AS AddressID,
cast(_DefaultPhoneNumber.telnr_long as contactcardphonenumber) AS PhoneNumber,
cast(_DefaultMobilePhoneNumber.telnr_long as contactcardmobilephonenumber) AS MobilePhoneNumber,
cast(_DefaultEmailAddress.smtp_addr as contactcardemailaddress) AS EmailAddress,
'Supplier' AS ContactCardNavLinkSemanticObj,
concat('Supplier=', _Supplier.lifnr) AS ContactCardNavLinkQueryPart,
_Supplier.ktokk AS SupplierAccountGroup,
_Supplier.begru AS AuthorizationGroup,
_Supplier.cvp_xblck AS IsBusinessPurposeCompleted,
_Supplier.ort01 AS CityName,
_Supplier.pstlz AS PostalCode,
_Supplier.stras AS StreetName,
_Supplier.land1 AS Country,
_Supplier.data_ctrlr1 AS DataController1,
_Supplier.data_ctrlr2 AS DataController2,
_Supplier.data_ctrlr3 AS DataController3,
_Supplier.data_ctrlr4 AS DataController4,
_Supplier.data_ctrlr5 AS DataController5,
_Supplier.data_ctrlr6 AS DataController6,
_Supplier.data_ctrlr7 AS DataController7,
_Supplier.data_ctrlr8 AS DataController8,
_Supplier.data_ctrlr9 AS DataController9,
_Supplier.data_ctrlr10 AS DataController10,
_Supplier.xdcset AS DataControllerSet
FROM lfa1 AS _Supplier
LEFT OUTER JOIN adr2 AS _DefaultPhoneNumber ON _DefaultPhoneNumber.addrnumber = AddressID AND _DefaultPhoneNumber.persnumber = ' ' AND _DefaultPhoneNumber.r3_user = '1' -- association [0..1]
LEFT OUTER JOIN adr2 AS _DefaultMobilePhoneNumber ON _DefaultMobilePhoneNumber.addrnumber = AddressID AND _DefaultMobilePhoneNumber.persnumber = ' ' AND _DefaultMobilePhoneNumber.r3_user = '3' -- association [0..1]
LEFT OUTER JOIN adr6 AS _DefaultEmailAddress ON _DefaultEmailAddress.addrnumber = AddressID AND _DefaultEmailAddress.persnumber = ' ' AND _DefaultEmailAddress.flgdefault = 'X' -- 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