C_NoCompanyCodeCustomer

DDL: C_NOCOMPANYCODECUSTOMER SQL: CGRCNOCOCODECUS Type: view CONSUMPTION

Customer with no company code assignment

C_NoCompanyCodeCustomer is a Consumption CDS View that provides data about "Customer with no company code assignment" in SAP S/4HANA. It reads from 1 data source (I_Customer) and exposes 27 fields with key field Customer.

Data Sources (1)

SourceAliasJoin Type
I_Customer _Customer from

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CGRCNOCOCODECUS view
EndUserText.label Customer with no company code assignment view
VDM.viewType #CONSUMPTION view
OData.publish true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #NOT_ALLOWED view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY Customer I_Customer Customer
CustomerName I_Customer CustomerName
CustomerAccountGroup I_Customer CustomerAccountGroup
CreatedByUser I_Customer CreatedByUser
CreationDate I_Customer CreationDate
IsOneTimeAccount I_Customer IsOneTimeAccount
DeliveryIsBlocked I_Customer DeliveryIsBlocked
PostingIsBlocked I_Customer PostingIsBlocked
BillingIsBlockedForCustomer I_Customer BillingIsBlockedForCustomer
OrderIsBlockedForCustomer I_Customer OrderIsBlockedForCustomer
IsBusinessPurposeCompleted _CustomerCompany IsBusinessPurposeCompleted
CityName I_Customer CityName
Country I_Customer Country
DeletionIndicator I_Customer DeletionIndicator
CompanyCode _CustomerCompany CompanyCode
AuthorizationGroup I_Customer AuthorizationGroup
DataControllerSet I_Customer DataControllerSet
DataController1 I_Customer DataController1
DataController2 I_Customer DataController2
DataController3 I_Customer DataController3
DataController4 I_Customer DataController4
DataController5 I_Customer DataController5
DataController6 I_Customer DataController6
DataController7 I_Customer DataController7
DataController8 I_Customer DataController8
DataController9 I_Customer DataController9
DataController10 I_Customer DataController10
@AbapCatalog.sqlViewName: 'CGRCNOCOCODECUS'
@EndUserText.label: 'Customer with no company code assignment'
@VDM.viewType: #CONSUMPTION
@OData.publish: true
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AbapCatalog.buffering.status: #NOT_ALLOWED
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@Metadata.allowExtensions:true
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MASTER
define view C_NoCompanyCodeCustomer as select from I_Customer as _Customer
left outer to many join I_CustomerCompany as _CustomerCompany on _Customer.Customer = _CustomerCompany.Customer
{
  @Consumption.valueHelpDefinition: [{ entity:{ name: 'I_Customer_VH', element:'Customer' } }]
  key _Customer.Customer as Customer,
  @Semantics.text: true
  _Customer.CustomerName as CustomerName,
  _Customer.CustomerAccountGroup as CustomerAccountGroup,
  @Semantics.user.createdBy: true
  _Customer.CreatedByUser as CreatedByUser,
  @Semantics.systemDate.createdAt: true
  _Customer.CreationDate as CreationDate,
  @Semantics.booleanIndicator: true
  _Customer.IsOneTimeAccount,
  _Customer.DeliveryIsBlocked,
  _Customer.PostingIsBlocked,
  _Customer.BillingIsBlockedForCustomer,
  _Customer.OrderIsBlockedForCustomer,
  @Semantics.booleanIndicator: true
  _CustomerCompany.IsBusinessPurposeCompleted,
  _Customer.CityName as CityName,
  _Customer.Country as Country,
  _Customer.DeletionIndicator as DeletionIndicator,
  _CustomerCompany.CompanyCode as CompanyCode,
  _Customer.AuthorizationGroup as AuthorizationGroup,  
    @UI.hidden: true
    @Consumption.filter.hidden: true      
  _Customer.DataControllerSet,
//added only for DCL check

    @UI.hidden: true
    @Consumption.filter.hidden: true      
  _Customer.DataController1,
//added only for DCL check

    @UI.hidden: true
    @Consumption.filter.hidden: true      
  _Customer.DataController2,
//added only for DCL check

    @UI.hidden: true
    @Consumption.filter.hidden: true      
  _Customer.DataController3,
//added only for DCL check

    @UI.hidden: true
    @Consumption.filter.hidden: true      
  _Customer.DataController4,
//added only for DCL check

    @UI.hidden: true
    @Consumption.filter.hidden: true      
  _Customer.DataController5,
//added only for DCL check

    @UI.hidden: true
    @Consumption.filter.hidden: true      
  _Customer.DataController6,
//added only for DCL check

    @UI.hidden: true
    @Consumption.filter.hidden: true      
  _Customer.DataController7,
//added only for DCL check

    @UI.hidden: true
    @Consumption.filter.hidden: true      
  _Customer.DataController8,
//added only for DCL check

    @UI.hidden: true
    @Consumption.filter.hidden: true      
  _Customer.DataController9,
//added only for DCL check

    @UI.hidden: true
    @Consumption.filter.hidden: true      
  _Customer.DataController10     
}
where _Customer.DeletionIndicator = ''
and _CustomerCompany.CompanyCode is null
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CUSTOMER",
"I_CUSTOMERCOMPANY"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/