I_SALESGROUPORGUNIT
Sales Group Organization Unit
I_SALESGROUPORGUNIT is a CDS View in S/4HANA. Sales Group Organization Unit. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_SalesGroupOrgUnitVH | view | from | CONSUMPTION | Sales Office specific Sales Group |
@AbapCatalog.sqlViewName: 'ISLSGRPORGUNT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #BASIC
@ObjectModel.usageType.dataClass: #ORGANIZATIONAL
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #S
@EndUserText.label: 'Sales Group Organization Unit'
define view I_SalesGroupOrgUnit
as select distinct from hrp1000 as _hrp1000
inner join hrp1001 as _hrp1001 on _hrp1000.objid = _hrp1001.objid
and _hrp1000.otype = _hrp1001.otype
and _hrp1000.istat = _hrp1001.istat
association to hrv1222a as _hrv1222a on _hrp1000.objid = _hrv1222a.objid
and _hrp1000.otype = _hrv1222a.otype
and _hrp1000.istat = _hrv1222a.istat
association [0..*] to I_SalesOrganizationUnitText as _Text on $projection.SalesGroupOrgUnitID = _Text.OrganizationalUnit
{
key _hrp1001.sobid as SalesOfficeOrgUnitID,
@ObjectModel.text.association: '_Text'
key _hrp1000.objid as SalesGroupOrgUnitID,
_hrp1000.begda as StartDate,
_hrp1000.endda as EndDate,
_Text
}
where
_hrp1000.otype = 'O'
and _hrp1000.istat = '1'
and _hrv1222a.attrib = 'IS_SA_GRP'
and _hrv1222a.low = 'X'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"HRP1000",
"HRP1001",
"HRV1222A"
],
"ASSOCIATED":
[
"I_SALESORGANIZATIONUNITTEXT",
"HRV1222A"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/