R_BillingDocumentRequestItemTP

DDL: R_BILLINGDOCUMENTREQUESTITEMTP Type: view_entity TRANSACTIONAL

Billing Document Request Item - TP

R_BillingDocumentRequestItemTP is a Transactional CDS View that provides data about "Billing Document Request Item - TP" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentRequestItem) and exposes 150 fields with key fields BillingDocumentRequest, BillingDocumentRequestItem. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BillingDocumentRequestItem I_BillingDocumentRequestItem from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_Batch _Batch $projection.Plant = _Batch.Plant and $projection.Product = _Batch.Material and $projection.Batch = _Batch.Batch
[0..1] E_BillingDocumentItem _Extension $projection.BillingDocumentRequest = _Extension.BillingDocument and $projection.BillingDocumentRequestItem = _Extension.BillingDocumentItem
[0..*] R_BillgDocRequestItemPartnerTP _ItemPartner
[0..*] R_BillgDocRequestItemTextTP _ItemText

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Billing Document Request Item - TP view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view

Fields (150)

KeyFieldSource TableSource FieldDescription
KEY BillingDocumentRequest BillingDocumentRequest
KEY BillingDocumentRequestItem BillingDocumentRequestItem
SalesDocumentItemCategory SalesDocumentItemCategory Item Category
SalesDocumentItemType SalesDocumentItemType
ReturnItemProcessingType ReturnItemProcessingType Returns
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
ReferenceLogicalSystem ReferenceLogicalSystem
OrganizationDivision OrganizationDivision Org. Division
Division Division Internal Division ID
SalesOffice SalesOffice Sales Office
Product Product Product Sold
OriginallyRequestedMaterial OriginallyRequestedMaterial
InternationalArticleNumber InternationalArticleNumber EAN/UPC
PricingReferenceMaterial PricingReferenceMaterial Pr. Ref. Matl
Batch Batch Lot No.
ProductHierarchyNode ProductHierarchyNode Prod. Hierarchy
ProductGroup ProductGroup Product Sold Group
AdditionalMaterialGroup1 AdditionalMaterialGroup1 MaterialGroup 1
AdditionalMaterialGroup2 AdditionalMaterialGroup2 MaterialGroup 2
AdditionalMaterialGroup3 AdditionalMaterialGroup3 MaterialGroup 3
AdditionalMaterialGroup4 AdditionalMaterialGroup4 MaterialGroup 4
AdditionalMaterialGroup5 AdditionalMaterialGroup5 MaterialGroup 5
MaterialCommissionGroup MaterialCommissionGroup
Plant Plant Valuation Area
StorageLocation StorageLocation StorageLocation
BillingDocumentRequestItemText BillingDocumentRequestItemText
BillingQuantity BillingQuantity Invoiced Qty
BillingQuantityUnit BillingQuantityUnit Sales Unit
BillingQuantityInBaseUnit BillingQuantityInBaseUnit Bill.Qty in SKU
BaseUnit BaseUnit Unit of Measure
MRPRequiredQuantityInBaseUnit MRPRequiredQuantityInBaseUnit Open Quantity
BillingToBaseQuantityDnmntr BillingToBaseQuantityDnmntr
BillingToBaseQuantityNmrtr BillingToBaseQuantityNmrtr
ItemGrossWeight ItemGrossWeight Gross Weight
ItemNetWeight ItemNetWeight Net Weight
ItemWeightUnit ItemWeightUnit Unit of Weight
ItemVolume ItemVolume Volume
ItemVolumeUnit ItemVolumeUnit Volume Unit
NetAmount NetAmount Stated Amount
TransactionCurrency TransactionCurrency Transaction Currency
GrossAmount GrossAmount Gross value
PricingDate PricingDate Pricing Date
PriceDetnExchangeRate PriceDetnExchangeRate Exchange Rate
PricingScaleQuantityInBaseUnit PricingScaleQuantityInBaseUnit
TaxAmount TaxAmount Tax Amt in Rptg Crcy
CostAmount CostAmount
Subtotal1Amount Subtotal1Amount Subtotal 1 Amount
Subtotal2Amount Subtotal2Amount Subtotal 2 Amount
Subtotal3Amount Subtotal3Amount Subtotal 3 Amount
Subtotal4Amount Subtotal4Amount Subtotal 4 Amount
Subtotal5Amount Subtotal5Amount Subtotal 5 Amount
Subtotal6Amount Subtotal6Amount Subtotal 6 Amount
StatisticalValueControl StatisticalValueControl
CashDiscountIsDeductible CashDiscountIsDeductible Cash Discount
TimeSheetOvertimeCategory TimeSheetOvertimeCategory
DepartureCountry DepartureCountry Departure Country / Region
TaxJurisdiction TaxJurisdiction Tax Jurisdiction
ProductTaxClassification1 ProductTaxClassification1
ProductTaxClassification2 ProductTaxClassification2
ProductTaxClassification3 ProductTaxClassification3
ProductTaxClassification4 ProductTaxClassification4
ProductTaxClassification5 ProductTaxClassification5
ProductTaxClassification6 ProductTaxClassification6
ProductTaxClassification7 ProductTaxClassification7
ProductTaxClassification8 ProductTaxClassification8
ProductTaxClassification9 ProductTaxClassification9
ZeroVATRsn ZeroVATRsn Reason for Zero VAT
BillgDocReqBillgSts BillgDocReqBillgSts
BusinessArea BusinessArea Business Area
ProfitCenter ProfitCenter Profit Center
BillingPeriodOfPerfStartDate BillingPeriodOfPerfStartDate
BillingPeriodOfPerfEndDate BillingPeriodOfPerfEndDate
OrderID OrderID Order ID
WBSElementInternalID WBSElementInternalID WBS Internal ID
ProviderContract ProviderContract Contract
ProviderContractItem ProviderContractItem Contract Item
ControllingArea ControllingArea Controlling Area
CostCenter CostCenter Cost Center
OriginSDDocument OriginSDDocument Originating Doc
OriginSDDocumentItem OriginSDDocumentItem Origin. Item
PriceDetnExchangeRateDate PriceDetnExchangeRateDate
MatlAccountAssignmentGroup MatlAccountAssignmentGroup
ReferenceDocument ReferenceDocument Reference Document
ReferenceDocumentItem ReferenceDocumentItem Reference item
ReferenceDocSDDocCategory ReferenceDocSDDocCategory
SalesDocument SalesDocument SD Document
SalesDocumentItem SalesDocumentItem Sales Document Item
SalesSDDocumentCategory SalesSDDocumentCategory Document Cat.
HigherLevelItem HigherLevelItem Higher-Lev.Item
BillgDocRequestItemInPartSgmt BillgDocRequestItemInPartSgmt
SalesGroup SalesGroup Sales Group
ItemIsRelevantForCredit ItemIsRelevantForCredit
CreditRelatedPrice CreditRelatedPrice
ServiceDocumentType ServiceDocumentType Transaction Type
ServiceDocument ServiceDocument Transaction ID
ServiceDocumentItem ServiceDocumentItem Service Document
BusinessSolutionOrder BusinessSolutionOrder Solution Order
BusinessSolutionOrderItem BusinessSolutionOrderItem Solution Order Item
BillingDocumentRequestType BillingDocumentRequestType
SalesOrganization SalesOrganization Sales Organization
_ItemPartner _ItemPartner
_ItemText _ItemText
_BillingDocumentRequest _BillingDocumentRequest
_SalesDocumentItemCategory _SalesDocumentItemCategory
_SalesDocumentItemType _SalesDocumentItemType
_CreatedByUser _CreatedByUser
_ReferenceLogicalSystem _ReferenceLogicalSystem
_OrganizationDivision _OrganizationDivision
_Division _Division
_SalesOffice _SalesOffice
_Product _Product
_OriginallyRequestedMaterial _OriginallyRequestedMaterial
_PricingReferenceMaterial _PricingReferenceMaterial
_Batch _Batch
_ProductHierarchyNode _ProductHierarchyNode
_ProductGroup _ProductGroup
_AdditionalMaterialGroup1 _AdditionalMaterialGroup1
_AdditionalMaterialGroup2 _AdditionalMaterialGroup2
_AdditionalMaterialGroup3 _AdditionalMaterialGroup3
_AdditionalMaterialGroup4 _AdditionalMaterialGroup4
_AdditionalMaterialGroup5 _AdditionalMaterialGroup5
_MaterialCommissionGroup _MaterialCommissionGroup
_Plant _Plant
_StorageLocation _StorageLocation
_BillingQuantityUnit _BillingQuantityUnit
_BaseUnit _BaseUnit
_ItemWeightUnit _ItemWeightUnit
_ItemVolumeUnit _ItemVolumeUnit
_TransactionCurrency _TransactionCurrency
_StatisticalValueControl _StatisticalValueControl
_TimeSheetOvertimeCat _TimeSheetOvertimeCat
_DepartureCountry _DepartureCountry
_BusinessArea _BusinessArea
_ProfitCenter _ProfitCenter
_WBSElementBasicData _WBSElementBasicData
_ControllingArea _ControllingArea
_CostCenter _CostCenter_2
_ReferenceDocSDDocCategory _ReferenceDocSDDocCategory
_SalesDocument _SalesDocument
_SalesDocumentItem _SalesDocumentItem
_SalesSDDocumentCategory _SalesSDDocumentCategory
_HigherLevelItem _HigherLevelItem
_BillgDocReqBillgSts _BillgDocReqBillgSts
_SalesGroup _SalesGroup
_MatlAccountAssignmentGroup _MatlAccountAssignmentGroup
_ServiceDocumentType _ServiceDocumentType
_ProviderContract _ProviderContract
_ProviderContractItem _ProviderContractItem

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view R_BillingDocumentRequestItemTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW R_BillingDocumentRequestItemTP AS
SELECT
  BillingDocumentRequest,
  BillingDocumentRequestItem,
  SalesDocumentItemCategory,
  SalesDocumentItemType,
  ReturnItemProcessingType,
  CreatedByUser,
  CreationDate,
  CreationTime,
  ReferenceLogicalSystem,
  OrganizationDivision,
  Division,
  SalesOffice,
  Product,
  OriginallyRequestedMaterial,
  InternationalArticleNumber,
  PricingReferenceMaterial,
  Batch,
  ProductHierarchyNode,
  ProductGroup,
  AdditionalMaterialGroup1,
  AdditionalMaterialGroup2,
  AdditionalMaterialGroup3,
  AdditionalMaterialGroup4,
  AdditionalMaterialGroup5,
  MaterialCommissionGroup,
  Plant,
  StorageLocation,
  BillingDocumentRequestItemText,
  BillingQuantity,
  BillingQuantityUnit,
  BillingQuantityInBaseUnit,
  BaseUnit,
  MRPRequiredQuantityInBaseUnit,
  BillingToBaseQuantityDnmntr,
  BillingToBaseQuantityNmrtr,
  ItemGrossWeight,
  ItemNetWeight,
  ItemWeightUnit,
  ItemVolume,
  ItemVolumeUnit,
  NetAmount,
  TransactionCurrency,
  GrossAmount,
  PricingDate,
  PriceDetnExchangeRate,
  PricingScaleQuantityInBaseUnit,
  TaxAmount,
  CostAmount,
  Subtotal1Amount,
  Subtotal2Amount,
  Subtotal3Amount,
  Subtotal4Amount,
  Subtotal5Amount,
  Subtotal6Amount,
  StatisticalValueControl,
  CashDiscountIsDeductible,
  TimeSheetOvertimeCategory,
  DepartureCountry,
  TaxJurisdiction,
  ProductTaxClassification1,
  ProductTaxClassification2,
  ProductTaxClassification3,
  ProductTaxClassification4,
  ProductTaxClassification5,
  ProductTaxClassification6,
  ProductTaxClassification7,
  ProductTaxClassification8,
  ProductTaxClassification9,
  ZeroVATRsn,
  BillgDocReqBillgSts,
  BusinessArea,
  ProfitCenter,
  BillingPeriodOfPerfStartDate,
  BillingPeriodOfPerfEndDate,
  OrderID,
  WBSElementInternalID,
  ProviderContract,
  ProviderContractItem,
  ControllingArea,
  CostCenter,
  OriginSDDocument,
  OriginSDDocumentItem,
  PriceDetnExchangeRateDate,
  MatlAccountAssignmentGroup,
  ReferenceDocument,
  ReferenceDocumentItem,
  ReferenceDocSDDocCategory,
  SalesDocument,
  SalesDocumentItem,
  SalesSDDocumentCategory,
  HigherLevelItem,
  BillgDocRequestItemInPartSgmt,
  SalesGroup,
  ItemIsRelevantForCredit,
  CreditRelatedPrice,
  ServiceDocumentType,
  ServiceDocument,
  ServiceDocumentItem,
  BusinessSolutionOrder,
  BusinessSolutionOrderItem,
  BillingDocumentRequestType,
  SalesOrganization
FROM I_BillingDocumentRequestItem
LEFT OUTER JOIN I_Batch AS _Batch ON Plant = _Batch.Plant AND Product = _Batch.Material AND Batch = _Batch.Batch  -- association [0..1]
LEFT OUTER JOIN E_BillingDocumentItem AS _Extension ON BillingDocumentRequest = _Extension.BillingDocument AND BillingDocumentRequestItem = _Extension.BillingDocumentItem  -- association [0..1]
LEFT OUTER JOIN R_BillgDocRequestItemPartnerTP AS _ItemPartner ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_BillgDocRequestItemTextTP AS _ItemText ON /* condition not available in parsed metadata */  -- association [0..*]
;