I_LglCntntMMainOrgType

DDL: I_LGLCNTNTMMAINORGTYPE SQL: ILCMMAINORGT Type: view BASIC

Main Organization Type

I_LglCntntMMainOrgType is a Basic CDS View that provides data about "Main Organization Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 3 fields with key field LglCntntMMainOrgType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_LglCntntMMainOrgTypeText _Text $projection.LglCntntMMainOrgType = _Text.LglCntntMMainOrgType

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ILCMMAINORGT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.representativeKey LglCntntMMainOrgType view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Main Organization Type view
Search.searchable true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMMainOrgType
DomainValue dd07l domvalue_l
_Text _Text
@AbapCatalog.sqlViewName: 'ILCMMAINORGT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType : #BASIC
@ObjectModel: {representativeKey: 'LglCntntMMainOrgType',
               usageType.dataClass: #MASTER,
               usageType.serviceQuality: #A,
               usageType.sizeCategory: #S }
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@EndUserText.label: 'Main Organization Type'
@Search.searchable: true
define view I_LglCntntMMainOrgType
  as select from dd07l
  association [0..*] to I_LglCntntMMainOrgTypeText as _Text on $projection.LglCntntMMainOrgType = _Text.LglCntntMMainOrgType
{

      @ObjectModel.text.association: '_Text'
  key cast ( domvalue_l as lcm_entitytec_type ) as LglCntntMMainOrgType,
      
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7  }
      @Consumption.hidden: true
      dd07l.domvalue_l                        as DomainValue,

      _Text

}
where
       domname    = 'LCM_ENTITYTEC_TYPE'
  and  as4local   = 'A'
  and(
       domvalue_l = '03'
    or domvalue_l = '04'
    or domvalue_l = '05'
  )
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_LGLCNTNTMMAINORGTYPETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/