@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":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
C_NoCompanyCodeCustomer view