SHSM_FAR_CUSTOMER_COMPANY
Value-Help for Customers in Company Code
SHSM_FAR_CUSTOMER_COMPANY is a CDS View that provides data about "Value-Help for Customers in Company Code" in SAP S/4HANA. It reads from 2 data sources (kna1, knb1) and exposes 21 fields with key fields kunnr, bukrs.
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Value-Help for Customers in Company Code | view | |
| AbapCatalog.sqlViewName | SHSMFARCUSTCC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | kunnr | kna1 | kunnr | Stock customer |
| KEY | bukrs | bukrs | Value | |
| sortl | sortl | Sort Term | ||
| land1 | land1 | Trip Ctry/Reg | ||
| pstlz | pstlz | Postal Code | ||
| mcod3 | mcod3 | City | ||
| mcod1 | mcod1 | Search Term | ||
| ktokd | ktokd | DefCusAcctGr | ||
| begru | knb1 | begru | AuthorizGroup | |
| kna1_begru | kna1 | begru | AuthorizGroup | |
| DataControllerSet | kna1 | xdcset | Data Ctrlr. Set | |
| DataController1 | kna1 | data_ctrlr1 | Data Controller | |
| DataController2 | kna1 | data_ctrlr2 | Data Controller | |
| DataController3 | kna1 | data_ctrlr3 | Data Controller | |
| DataController4 | kna1 | data_ctrlr4 | Data Controller | |
| DataController5 | kna1 | data_ctrlr5 | Data Controller | |
| DataController6 | kna1 | data_ctrlr6 | Data Controller | |
| DataController7 | kna1 | data_ctrlr7 | Data Controller | |
| DataController8 | kna1 | data_ctrlr8 | Data Controller | |
| DataController9 | kna1 | data_ctrlr9 | Data Controller | |
| DataController10 | kna1 | data_ctrlr10 | Data Controller |
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 SHSM_FAR_CUSTOMER_COMPANY.
-- 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: SHSMFARCUSTCC
CREATE VIEW SHSM_FAR_CUSTOMER_COMPANY AS
SELECT
kna1.kunnr AS kunnr,
bukrs,
sortl,
land1,
pstlz,
mcod3,
mcod1,
ktokd,
knb1.begru AS begru,
kna1.begru AS kna1_begru,
kna1.xdcset AS DataControllerSet,
kna1.data_ctrlr1 AS DataController1,
kna1.data_ctrlr2 AS DataController2,
kna1.data_ctrlr3 AS DataController3,
kna1.data_ctrlr4 AS DataController4,
kna1.data_ctrlr5 AS DataController5,
kna1.data_ctrlr6 AS DataController6,
kna1.data_ctrlr7 AS DataController7,
kna1.data_ctrlr8 AS DataController8,
kna1.data_ctrlr9 AS DataController9,
kna1.data_ctrlr10 AS DataController10
FROM kna1
LEFT OUTER JOIN knb1 ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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