I_SrvcDocInternalOrderVH
Internal Order Search Help
I_SrvcDocInternalOrderVH is a Basic CDS View that provides data about "Internal Order Search Help" in SAP S/4HANA. It reads from 1 data source (aufk) and exposes 13 fields with key field InternalOrder. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| aufk | au | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_InternalOrderSystemStatus | _SystemStatus | $projection.ControllingObject = _SystemStatus.ControllingObject |
| [0..1] | I_InternalOrderType | _InternalOrderType | $projection.OrderType = _InternalOrderType.OrderType |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISRVCDOCINTORDVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Internal Order Search Help | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | InternalOrder | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InternalOrder | |||
| InternalOrderDescription | aufk | ktext | ||
| CompanyCode | aufk | bukrs | ||
| ControllingArea | aufk | kokrs | ||
| OrderType | aufk | auart | ||
| SoldToParty | ex | kunnr | ||
| ServiceOrganization | ||||
| ServiceDocument | ex | object_id | ||
| TransactionType | ||||
| ServiceDocumentDescription | ex | process_descript | ||
| ControllingObject | aufk | objnr | ||
| ControllingObjectStatus | _SystemStatus | ControllingObjectStatus | ||
| StatusIsInactive | _SystemStatus | StatusIsInactive |
@AbapCatalog.sqlViewName: 'ISRVCDOCINTORDVH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@ClientHandling.algorithm : #SESSION_VARIABLE
@EndUserText.label: 'Internal Order Search Help'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.dataCategory:#VALUE_HELP
@ObjectModel.representativeKey: 'InternalOrder'
@VDM.viewType: #BASIC
@Metadata.ignorePropagatedAnnotations: true
define view I_SrvcDocInternalOrderVH
as select from aufk as au
left outer to many join iaom_assignments as ag on ag.object_no = au.objnr
left outer to many join iaom_crmsrv_exat as ex on ex.ext_object_id = ag.ext_object_id
left outer to many join iaom_ext_obj_inf as ob on ob.ext_object_id = ag.ext_object_id
and ob.bus_scenario_id = ag.bus_scenario_id
left outer to many join kna1 as ka on ka.kunnr = ex.kunnr
association [0..1] to I_InternalOrderSystemStatus as _SystemStatus on $projection.ControllingObject = _SystemStatus.ControllingObject
association [0..1] to I_InternalOrderType as _InternalOrderType on $projection.OrderType = _InternalOrderType.OrderType
{
key ltrim(au.aufnr, '0') as InternalOrder,
au.ktext as InternalOrderDescription,
au.bukrs as CompanyCode,
au.kokrs as ControllingArea,
au.auart as OrderType,
ex.kunnr as SoldToParty,
cast ( ex.service_org as char14 preserving type ) as ServiceOrganization,
ex.object_id as ServiceDocument,
cast ( ex.process_type as /pf1/dte_bpe_trnstype ) as TransactionType,
ex.process_descript as ServiceDocumentDescription,
au.objnr as ControllingObject,
_SystemStatus.ControllingObjectStatus as ControllingObjectStatus,
@Semantics.booleanIndicator: true
_SystemStatus.StatusIsInactive as StatusIsInactive
}
where
(
au.autyp = '01'
or au.autyp = '02'
or au.autyp = '03'
)
and au.cckey = '2'
and _InternalOrderType.RevenuePostingIsAllowed = 'X'
and _SystemStatus.StatusIsInactive = ' '
and _SystemStatus.ControllingObjectStatus = 'I0002';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_INTERNALORDERSYSTEMSTATUS",
"I_INTERNALORDERTYPE",
"AUFK",
"IAOM_ASSIGNMENTS",
"IAOM_CRMSRV_EXAT",
"IAOM_EXT_OBJ_INF",
"KNA1"
],
"ASSOCIATED":
[
"I_INTERNALORDERSYSTEMSTATUS",
"I_INTERNALORDERTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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