I_JITOutbCallHeader

DDL: I_JITOUTBCALLHEADER SQL: IJITOUTBHDR Type: view BASIC

JustIn Time header basic view

I_JITOutbCallHeader is a Basic CDS View (Dimension) that provides data about "JustIn Time header basic view" in SAP S/4HANA. It reads from 1 data source (njit_call_d_hdr) and exposes 41 fields with key fields JITHeaderUUID, InternalJITCallNumber. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
njit_call_d_hdr njit_call_d_hdr from

Associations (8)

CardinalityTargetAliasCondition
[1..*] I_JITOutbCallCompGrp _JITOutbCallCompGroup $projection.JITHeaderUUID = _JITOutbCallCompGroup.ParentDraftKey and $projection.InternalJITCallNumber = _JITOutbCallCompGroup.InternalJITCallNumber
[0..1] I_JITLifecycleStatus _JITLifecycleStatus $projection.JITLifecycleStatus = _JITLifecycleStatus.JITLifecycleStatus
[0..1] I_JITCallType _JITCallType $projection.JITCallType = _JITCallType.JITCallType
[0..1] I_UserContactCard _CreatedByUser $projection.CreatedByUser = _CreatedByUser.ContactCardID
[0..1] I_UserContactCard _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.ContactCardID
[0..1] I_JITCallCreationMode _JITCallCreationMode $projection.JITCallCreationMode = _JITCallCreationMode.JITCallCreationMode
[0..1] I_DeliveryPriority _DeliveryPriority $projection.JITCallPriorityID = _DeliveryPriority.DeliveryPriority
[0..1] I_JITOutbMissingFlag _JITOutbMissingPartFlag $projection.JITMissingPartFlag = _JITOutbMissingPartFlag.JITMaterialStockIsMissing

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IJITOUTBHDR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
Analytics.internalName #LOCAL view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.representativeKey InternalJITCallNumber view
Metadata.allowExtensions true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label JustIn Time header basic view view
Analytics.dataCategory #DIMENSION view

Fields (41)

KeyFieldSource TableSource FieldDescription
KEY JITHeaderUUID db_key
KEY InternalJITCallNumber int_call_num
ExternalJITCallNumber ext_call_num
ShipToParty kunnr
SoldToParty
JITLifecycleStatus lifecycle_stat
JITCallType call_type
VehicleIdentificationNumber vhvin
VehicleModel vhcle_model
SalesOrganization vkorg
DistributionChannel vtweg
Division spart
UnloadingPointName ablad
CustomerPartnerDescription knref
MatlUsageIndicator abrvw
ActiveSupplier
ApplLogHighestMessageSeverity log_severity
JITCallImmediateRequest immediate_request
JITMissingPartFlag missing_parts
JITCallPriorityType priority_type
JITCallPriorityID priority_id
JITCallProcessingLogID
JITIntSequenceNumber int_sequence_num
JITExtSequenceNumber ext_sequence_num
JITCallCreationMode call_creation_mode
JITPlannedOrderNumber planned_order
JITVehicleSeqDateTime sequence_date
CreationDateTime crea_date_time
CreatedByUser crea_uname
LastChangeDateTime lchg_date_time
LastChangedByUser lchg_uname
JITScenario njit_scenario
JITCallIsForwarded jitcallisforwarded
_JITOutbMissingPartFlag _JITOutbMissingPartFlag
_JITLifecycleStatus _JITLifecycleStatus
_JITCallType _JITCallType
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_JITOutbCallCompGroup _JITOutbCallCompGroup
_JITCallCreationMode _JITCallCreationMode
_DeliveryPriority _DeliveryPriority
@AbapCatalog.sqlViewName: 'IJITOUTBHDR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@ClientHandling:{
     type: #INHERITED,
     algorithm: #SESSION_VARIABLE
   }
@Analytics.internalName:#LOCAL
@AccessControl:{
   authorizationCheck: #NOT_REQUIRED,
   personalData.blocking: #NOT_REQUIRED
   }
@ObjectModel.representativeKey: 'InternalJITCallNumber'
@Metadata.allowExtensions:true
@ObjectModel: {
    usageType.dataClass: #TRANSACTIONAL,
    usageType.serviceQuality: #B,
    usageType.sizeCategory: #L
}

@VDM: {
    viewType: #BASIC,
    lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@EndUserText.label: 'JustIn Time header basic view'
@Analytics.dataCategory: #DIMENSION

define view I_JITOutbCallHeader
  as select from njit_call_d_hdr
  association [1..*] to I_JITOutbCallCompGrp        as _JITOutbCallCompGroup      on  $projection.JITHeaderUUID         = _JITOutbCallCompGroup.ParentDraftKey
                                                                                  and $projection.InternalJITCallNumber = _JITOutbCallCompGroup.InternalJITCallNumber

  association [0..1] to I_JITLifecycleStatus        as _JITLifecycleStatus        on  $projection.JITLifecycleStatus = _JITLifecycleStatus.JITLifecycleStatus

  association [0..1] to I_JITCallType               as _JITCallType               on  $projection.JITCallType = _JITCallType.JITCallType

  association [0..1] to I_UserContactCard           as _CreatedByUser             on  $projection.CreatedByUser = _CreatedByUser.ContactCardID

  association [0..1] to I_UserContactCard           as _LastChangedByUser         on  $projection.LastChangedByUser = _LastChangedByUser.ContactCardID

  association [0..1] to I_JITCallCreationMode       as _JITCallCreationMode       on  $projection.JITCallCreationMode = _JITCallCreationMode.JITCallCreationMode
  association [0..1] to I_DeliveryPriority          as _DeliveryPriority          on  $projection.JITCallPriorityID = _DeliveryPriority.DeliveryPriority
  association [0..1] to I_JITOutbMissingFlag        as _JITOutbMissingPartFlag    on $projection.JITMissingPartFlag    = _JITOutbMissingPartFlag.JITMaterialStockIsMissing


{
  key db_key                           as JITHeaderUUID,
  key int_call_num                     as InternalJITCallNumber,
      ext_call_num                     as ExternalJITCallNumber,
      kunnr                            as ShipToParty,
      cast( kunag as abap.char(10) )   as SoldToParty,
      @ObjectModel.foreignKey.association: '_JITLifecycleStatus'
      lifecycle_stat                   as JITLifecycleStatus,
      @ObjectModel.foreignKey.association: '_JITCallType'
      call_type                        as JITCallType,
      vhvin                            as VehicleIdentificationNumber,
      vhcle_model                      as VehicleModel,
      vkorg                            as SalesOrganization,
      vtweg                            as DistributionChannel,
      spart                            as Division,
      ablad                            as UnloadingPointName,
      knref                            as CustomerPartnerDescription,
      abrvw                            as MatlUsageIndicator,
      cast( lifnr as abap.char( 10 ) ) as ActiveSupplier,
      log_severity                     as ApplLogHighestMessageSeverity,
      immediate_request                as JITCallImmediateRequest,
      @ObjectModel.foreignKey.association: '_JITOutbMissingPartFlag'
      missing_parts                    as JITMissingPartFlag,
      priority_type                    as JITCallPriorityType,
      priority_id                      as JITCallPriorityID,
      concat('JIT-TOLR',int_call_num)  as JITCallProcessingLogID,
      int_sequence_num                 as JITIntSequenceNumber,
      ext_sequence_num                 as JITExtSequenceNumber,
      call_creation_mode               as JITCallCreationMode,
      planned_order                    as JITPlannedOrderNumber,
      sequence_date                    as JITVehicleSeqDateTime,
      // Administrative Data

      @Semantics.systemDateTime.createdAt: true
      crea_date_time                   as CreationDateTime,
      @Semantics.user.createdBy: true
      crea_uname                       as CreatedByUser,
      @Semantics.systemDateTime.lastChangedAt: true
      lchg_date_time                   as LastChangeDateTime,
      @Semantics.user.lastChangedBy:true
      lchg_uname                       as LastChangedByUser,
      njit_scenario                    as JITScenario,
      jitcallisforwarded               as JITCallIsForwarded,
      //Associations

      _JITOutbMissingPartFlag,
      _JITLifecycleStatus,
      _JITCallType,
      _CreatedByUser,
      _LastChangedByUser,
      _JITOutbCallCompGroup,
      _JITCallCreationMode,
      _DeliveryPriority

}
where
  njit_scenario = '2' and
  jitcallisforwarded = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"NJIT_CALL_D_HDR"
],
"ASSOCIATED":
[
"I_DELIVERYPRIORITY",
"I_JITCALLCREATIONMODE",
"I_JITCALLTYPE",
"I_JITLIFECYCLESTATUS",
"I_JITOUTBCALLCOMPGRP",
"I_JITOUTBMISSINGFLAG",
"I_USERCONTACTCARD"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/