C_RO_SAFTCompanyCode
Company Code data for RO SAFT
C_RO_SAFTCompanyCode is a Consumption CDS View that provides data about "Company Code data for RO SAFT" in SAP S/4HANA. It reads from 1 data source (I_CompanyCode) and exposes 9 fields with key field CompanyCode.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | CompanyCode | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CROSAFTCOCODE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Company Code data for RO SAFT | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_CompanyCode | CompanyCode | |
| EmbeddedSwVersionStatusDesc | Version | EmbeddedSwVersionStatusDesc | ||
| ObjectName | Version | ObjectName | ||
| Version | Version | Version | ||
| VATRegistration | I_CompanyCode | VATRegistration | ||
| CompanyCodeName | I_CompanyCode | CompanyCodeName | ||
| CityName | Address | CityName | ||
| Country | Address | Country | ||
| CreationDate |
@AbapCatalog.sqlViewName: 'CROSAFTCOCODE'
@AbapCatalog.compiler.compareFilter: true
//@AbapCatalog.preserveKey: true
@VDM.viewType: #CONSUMPTION
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #BLOCKED_DATA_INCLUDED
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Company Code data for RO SAFT'
define view C_RO_SAFTCompanyCode
as select from I_CompanyCode as CompanyCode
left outer to one join I_Address_2 as Address on CompanyCode.AddressID = Address.AddressID
and Address.AddressRepresentationCode is initial
and Address.AddressPersonID is initial
join I_SAFTProductVersion as Version on Version.ObjectName is not initial
and EmbeddedSwVersionDescription is initial
{
key CompanyCode.CompanyCode as CompanyCode,
Version.EmbeddedSwVersionStatusDesc as EmbeddedSwVersionStatusDesc,
Version.ObjectName as ObjectName,
Version.Version as Version,
CompanyCode.VATRegistration as VATRegistration,
case
when CompanyCode.VATRegistration <> '' then
concat('00', substring(CompanyCode.VATRegistration, 3, 18 ) )
end as ReportingVATRegistration,
CompanyCode.CompanyCodeName as CompanyCodeName,
Address.CityName as CityName,
Address.Country as Country,
//CompanyCode._Address._DefaultPhoneNumber.PhoneNumber as PhoneNumber,
$session.system_date as CreationDate
}
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