I_PURGDOCACCOUNTASSIGNMENTBSC

CDS View

Purchasing Document Account Assignment

I_PURGDOCACCOUNTASSIGNMENTBSC is a CDS View in S/4HANA. Purchasing Document Account Assignment. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
I_PurgDocAccountAssignment view from BASIC Purchasing Document Account Assignment

@EndUserText.label: 'Purchasing Document Account Assignment'
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@VDM.viewType: #BASIC
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #A,
  sizeCategory: #L,
  dataClass: #MIXED
}
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API  

define view entity I_PurgDocAccountAssignmentBsc as select from ekkn
   association [1..1] to I_PurchasingDocumentItem as _PurchasingDocumentItem on  $projection.PurchasingDocument         = _PurchasingDocumentItem.PurchasingDocument
                                                                              and $projection.PurchasingDocumentItem     = _PurchasingDocumentItem.PurchasingDocumentItem
{
  key ebeln                                                                                         as PurchasingDocument,

  key ebelp                                                                                         as PurchasingDocumentItem,

  key zekkn                                                                                         as AccountAssignmentNumber,
    
      kostl                                                                                         as CostCenter,

      anln1                                                                                         as MasterFixedAsset,

      nplnr                                                                                         as ProjectNetwork,

      _PurchasingDocumentItem.OrderQuantityUnit,
        
     @Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
      menge                                                                                         as Quantity,

      vproz                                                                                         as MultipleAcctAssgmtDistrPercent,
            
     _PurchasingDocumentItem.DocumentCurrency,
           
      @Semantics.amount.currencyCode: 'DocumentCurrency'
      netwr                                                                                         as PurgDocNetAmount,

      loekz                                                                                         as IsDeleted,

      sakto                                                                                         as GLAccount,

      gsber                                                                                         as BusinessArea,

      vbeln                                                                                         as SalesOrder,

      vbelp                                                                                         as SalesOrderItem,

      veten                                                                                         as SalesOrderScheduleLine,

      anln2                                                                                         as FixedAsset,

      aufnr                                                                                         as OrderID,

      ablad                                                                                         as UnloadingPointName,
      
      kokrs                                                                                         as ControllingArea,

      kstrg                                                                                         as CostObject,

//      @VDM.lifecycle.status:    #DEPRECATED

//      @VDM.lifecycle.successor: 'ProfitabilitySegment_2'

//      paobjnr                                                                                       as ProfitabilitySegment,

      cast( paobjnr as rkeobjnr_char )                                                              as ProfitabilitySegment, 

      prctr                                                                                         as ProfitCenter,

//      @VDM.lifecycle.status: #DEPRECATED

//      @VDM.lifecycle.successor: 'WBSElementInternalID_2'

//      ps_psp_pnr                                                                                    as WBSElementInternalID,

    
      cast( ps_psp_pnr as ps_s4_pspnr )                                                             as WBSElementInternalID,      

      aufpl                                                                                         as ProjectNetworkInternalID,

//      @VDM.lifecycle.status: #DEPRECATED

//      @VDM.lifecycle.successor: 'CommitmentItemShortID'

//      fipos                                                                                         as CommitmentItem,


      cast( fipos as fmis_ci_internalname )                                                         as CommitmentItemShortID,

      fistl                                                                                         as FundsCenter,

      geber                                                                                         as Fund,

      fkber                                                                                         as FunctionalArea,

      cast('' as erdat )                                                                            as LastChangedDate, // obsolete, do not use


      aedat                                                                                         as CreationDate, 

      wempf                                                                                         as GoodsRecepientName, //obsolete, use GoodsRecipientName instead


      wempf                                                                                         as GoodsRecipientName, 
      
      erekz                                                                                         as IsFinallyInvoiced, 

     
      
      cast ( imkey as recaimkeyfi preserving type )                                                 as REInternalFinNumber,
      
      aplzl                                                                                         as NetworkActivityInternalID, 

      vptnr                                                                                         as PartnerAccountNumber, 

      recid                                                                                         as JointVentureRecoveryCode, 

      dabrz                                                                                         as SettlementReferenceDate, 

      aufpl_ord                                                                                     as OrderInternalID,
      aplzl_ord                                                                                     as OrderIntBillOfOperationsItem, 
      mwskz                                                                                         as TaxCode, 

      txjcd                                                                                         as TaxJurisdiction, 

      @Semantics.amount.currencyCode: 'DocumentCurrency'
      navnw                                                                                         as NonDeductibleInputTaxAmount, 

      lstar                                                                                         as CostCtrActivityType,
      prznr                                                                                         as BusinessProcess, 
      grant_nbr                                                                                     as GrantID, 
      budget_pd                                                                                     as BudgetPeriod,
      
      kblnr                                                                                         as EarmarkedFundsDocument, 

      kblpos                                                                                        as EarmarkedFundsDocumentItem, 

      fm_split_batch                                                                                as PubSecSplitBatchNumberID, 
      fm_split_begru                                                                                as PubSecSplitAuthznGroup, 

      aa_final_ind                                                                                  as IsAcctLineFinal, 

      aa_final_reason                                                                               as AcctLineFinalReason,       service_doc_type                                                                              as ServiceDocumentType, 

      service_doc_id                                                                                as ServiceDocument, 
      
      service_doc_item_id                                                                           as ServiceDocumentItem,

      _PurchasingDocumentItem
       
}