C_NotInCoCodeCntrySupplier
Supplier not registered in CountryRegion
C_NotInCoCodeCntrySupplier is a Consumption CDS View that provides data about "Supplier not registered in CountryRegion" in SAP S/4HANA. It reads from 1 data source (I_SupplierCompany) and exposes 26 fields with key fields Supplier, CompanyCode. Part of development package FINS_FIS_GRC_APPS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupplierCompany | I_SupplierCompany | from |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CGRCSUPCNTRY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| OData.publish | true | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Supplier not registered in CountryRegion | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Supplier | Supplier | ||
| KEY | CompanyCode | CompanyCode | ||
| SupplierName | _Supplier | SupplierName | ||
| CompanyCodeName | CompanyCodeName | |||
| SupplierCountry | ||||
| CompanyCodeCountry | ||||
| PostingIsBlocked | _Supplier | PostingIsBlocked | ||
| SupplierAccountGroup | _Supplier | SupplierAccountGroup | ||
| CreatedByUser | _Supplier | CreatedByUser | ||
| CreationDate | _Supplier | CreationDate | ||
| IsOneTimeAccount | _Supplier | IsOneTimeAccount | ||
| VATRegistration | _Supplier | VATRegistration | ||
| Customer | _Supplier | Customer | ||
| AddressID | _Supplier | AddressID | ||
| Region | _Supplier | Region | ||
| OrganizationBPName1 | _Supplier | OrganizationBPName1 | ||
| OrganizationBPName2 | _Supplier | OrganizationBPName2 | ||
| CityName | _Supplier | CityName | ||
| PostalCode | _Supplier | PostalCode | ||
| StreetName | _Supplier | StreetName | ||
| DeletionIndicator | _Supplier | DeletionIndicator | ||
| AuthorizationGroup | AuthorizationGroup | |||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | |||
| _Supplier | _Supplier | |||
| _CompanyCode | _CompanyCode | |||
| _Country | _CompanyCode | _Country |
@AbapCatalog.sqlViewName: 'CGRCSUPCNTRY'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #CONSUMPTION
@OData.publish: true
@AbapCatalog.buffering.status: #NOT_ALLOWED
@AccessControl.personalData.blocking: #REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MIXED
@EndUserText.label: 'Supplier not registered in CountryRegion'
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
define view C_NotInCoCodeCntrySupplier
as select from I_SupplierCompany
{
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_Supplier_VH',
element: 'Supplier' }
}]
@ObjectModel.foreignKey.association: '_Supplier'
key Supplier,
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_CompanyCodeStdVH',
element: 'CompanyCode' }
}]
@ObjectModel.foreignKey.association: '_CompanyCode'
key CompanyCode,
_Supplier.SupplierName,
@Consumption.hidden: true
CompanyCodeName,
// @EndUserText.label: 'Supplier CountryRegion'
cast(_Supplier.Country as fis_supplier_country preserving type ) as SupplierCountry,
// @EndUserText.label: 'Company Code CountryRegion'
cast(_CompanyCode.Country as fis_company_code_country preserving type ) as CompanyCodeCountry,
_Supplier.PostingIsBlocked,
_Supplier.SupplierAccountGroup,
_Supplier.CreatedByUser,
_Supplier.CreationDate,
_Supplier.IsOneTimeAccount,
_Supplier.VATRegistration,
_Supplier.Customer,
_Supplier.AddressID,
_Supplier.Region,
_Supplier.OrganizationBPName1,
_Supplier.OrganizationBPName2,
_Supplier.CityName,
_Supplier.PostalCode,
_Supplier.StreetName,
_Supplier.DeletionIndicator,
AuthorizationGroup,
IsBusinessPurposeCompleted,
_Supplier,
_CompanyCode,
_CompanyCode._Country
}
where
_Supplier.Country <> _CompanyCode.Country
Learn More
- 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 Annotations — A Complete Guide
- 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