C_SupplierVATRegistration
Supplier without VAT Registration
C_SupplierVATRegistration is a Consumption CDS View that provides data about "Supplier without VAT Registration" in SAP S/4HANA. It reads from 1 data source (I_Supplier) and exposes 32 fields with key field Supplier. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Supplier | I_Supplier | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| Country | land1_gp | |
| Region | regio |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_DocNumberPerSupplier | _DocNumberPerSupplier | $projection.Supplier = _DocNumberPerSupplier.Supplier |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #CONSUMPTION | view | |
| OData.publish | true | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Supplier without VAT Registration | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Supplier | Supplier | ||
| SupplierName | SupplierName | |||
| NumberOfDocuments | _DocNumberPerSupplier | NumberOfDocuments | ||
| PostingIsBlocked | PostingIsBlocked | |||
| SupplierAccountGroup | SupplierAccountGroup | |||
| CreatedByUser | CreatedByUser | |||
| CreationDate | CreationDate | |||
| IsOneTimeAccount | IsOneTimeAccount | |||
| VATRegistration | VATRegistration | |||
| Customer | Customer | |||
| AddressID | AddressID | |||
| Region | Region | |||
| Country | Country | |||
| OrganizationBPName1 | OrganizationBPName1 | |||
| OrganizationBPName2 | OrganizationBPName2 | |||
| CityName | CityName | |||
| PostalCode | PostalCode | |||
| StreetName | StreetName | |||
| DeletionIndicator | DeletionIndicator | |||
| AuthorizationGroup | AuthorizationGroup | |||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | |||
| DataControllerSet | DataControllerSet | |||
| DataController1 | DataController1 | |||
| DataController2 | DataController2 | |||
| DataController3 | DataController3 | |||
| DataController4 | DataController4 | |||
| DataController5 | DataController5 | |||
| DataController6 | DataController6 | |||
| DataController7 | DataController7 | |||
| DataController8 | DataController8 | |||
| DataController9 | DataController9 | |||
| DataController10 | DataController10 |
@AccessControl.authorizationCheck: #MANDATORY
@VDM.viewType: #CONSUMPTION
@OData.publish: true
@AccessControl.personalData.blocking: #REQUIRED
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MIXED
@EndUserText.label: 'Supplier without VAT Registration'
define view entity C_SupplierVATRegistration
--with parameters
--Country:land1_gp,
--Region:regio
as select from I_Supplier
association [0..1] to P_DocNumberPerSupplier as _DocNumberPerSupplier on $projection.Supplier = _DocNumberPerSupplier.Supplier
{
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_Supplier_VH',
element: 'Supplier' }
}]
key Supplier,
SupplierName,
_DocNumberPerSupplier.NumberOfDocuments,
PostingIsBlocked,
SupplierAccountGroup,
CreatedByUser,
CreationDate,
IsOneTimeAccount,
VATRegistration,
Customer,
AddressID,
Region,
Country,
OrganizationBPName1,
OrganizationBPName2,
CityName,
PostalCode,
StreetName,
DeletionIndicator,
AuthorizationGroup,
IsBusinessPurposeCompleted,
@UI.hidden: true
@Consumption.filter.hidden: true
DataControllerSet,
//added only for DCL check
@UI.hidden: true
@Consumption.filter.hidden: true
DataController1,
//added only for DCL check
@UI.hidden: true
@Consumption.filter.hidden: true
DataController2,
//added only for DCL check
@UI.hidden: true
@Consumption.filter.hidden: true
DataController3,
//added only for DCL check
@UI.hidden: true
@Consumption.filter.hidden: true
DataController4,
//added only for DCL check
@UI.hidden: true
@Consumption.filter.hidden: true
DataController5,
//added only for DCL check
@UI.hidden: true
@Consumption.filter.hidden: true
DataController6,
//added only for DCL check
@UI.hidden: true
@Consumption.filter.hidden: true
DataController7,
//added only for DCL check
@UI.hidden: true
@Consumption.filter.hidden: true
DataController8,
//added only for DCL check
@UI.hidden: true
@Consumption.filter.hidden: true
DataController9,
//added only for DCL check
@UI.hidden: true
@Consumption.filter.hidden: true
DataController10
}
where
VATRegistration = ''
--and Region=$parameters.Region
--and Country=$parameters.Country
and _DocNumberPerSupplier.NumberOfDocuments is not null
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