I_RO_SAFTMaterialDocumentItem

DDL: I_RO_SAFTMATERIALDOCUMENTITEM SQL: IROSAFTMATDOC Type: view BASIC

RO SAFT Material Document Item

I_RO_SAFTMaterialDocumentItem is a Basic CDS View (Dimension) that provides data about "RO SAFT Material Document Item" in SAP S/4HANA. It reads from 1 data source (matdoc) and exposes 22 fields.

Data Sources (1)

SourceAliasJoin Type
matdoc matdoc from

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IROSAFTMATDOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
VDM.viewType #BASIC view
Metadata.allowExtensions true view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label RO SAFT Material Document Item view

Fields (22)

KeyFieldSource TableSource FieldDescription
MaterialDocument mblnr
MaterialDocumentYear mjahr
MaterialDocumentLine
Plant werks
ProjectNetworkHasSpecialStock sobkz
CompanyCode bukrs
GoodsMovementType bwart
EntryUnit erfme
GoodsMovementEntryQty erfmg
PostingDate budat
Product matnr
AlternativeUnit meins
GoodsMovementQuantity menge
DocumentReferenceID xblnr
Batch charg
StorageLocation lgort
DebitCreditCode shkzg
ActiveGLAccount sakto
AccountingDocumentType blart
MaterialDocumentItemText sgtxt
MaterialLedgerTransactionType vgart
OriginalReferenceDocument
@AbapCatalog.sqlViewName: 'IROSAFTMATDOC'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass:  #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #B
@Analytics: { dataCategory: #DIMENSION }
@Analytics.internalName:#LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.buffering.status: #NOT_ALLOWED
@VDM.viewType: #BASIC
@Metadata.allowExtensions:true
@AccessControl.personalData.blocking: #REQUIRED
@ObjectModel.supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET,
                                     #CDS_MODELING_DATA_SOURCE,
                                     #SQL_DATA_SOURCE]
@EndUserText.label: 'RO SAFT Material Document Item'

define view I_RO_SAFTMaterialDocumentItem as select from matdoc 
{
      mblnr as MaterialDocument,
      mjahr as MaterialDocumentYear,
//      line_id as MaterialDocumentLine,

      cast( lpad(zeile, 6, '0') as fins_awitem ) as MaterialDocumentLine,  //n3283572

//    key lpad(zeile, 6, '0') as awitem,

      werks as Plant,
      sobkz as ProjectNetworkHasSpecialStock,
      bukrs as CompanyCode,
      bwart as GoodsMovementType,
      erfme as EntryUnit,
      @Semantics.quantity.unitOfMeasure : 'EntryUnit'
      erfmg as GoodsMovementEntryQty,
      budat as PostingDate,
      matnr as Product,
      meins as AlternativeUnit,
      menge as GoodsMovementQuantity,
      xblnr as DocumentReferenceID,
      charg as Batch,
      lgort as StorageLocation,
      shkzg as DebitCreditCode,
      sakto as ActiveGLAccount,
      blart as AccountingDocumentType,
      sgtxt as MaterialDocumentItemText, 
      vgart as MaterialLedgerTransactionType,
      cast(concat( mblnr, mjahr) as fac_awkey) as OriginalReferenceDocument

} where record_type = 'MDOC'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"MATDOC"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/