I_CommodityExpenseHeaderBuffer

DDL: I_COMMODITYEXPENSEHEADERBUFFER Type: view_entity BASIC

Commodity Expense Header Buffer

I_CommodityExpenseHeaderBuffer is a Basic CDS View that provides data about "Commodity Expense Header Buffer" in SAP S/4HANA. It reads from 1 data source (cmm_em_epo_hdr_d) and exposes 86 fields with key field ExpnPlngHeaderUUID.

Data Sources (1)

SourceAliasJoin Type
cmm_em_epo_hdr_d cmm_em_epo_hdr_d from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Commodity Expense Header Buffer view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view

Fields (86)

KeyFieldSource TableSource FieldDescription
KEY ExpnPlngHeaderUUID expnplngheaderuuid
ExpnPlngReferenceUUID expnplngreferenceuuid
ExpnPlngReferenceItemUUID expnplngreferenceitemuuid
ExpnPlngObjectUUID expnplngobjectuuid
ExpnPlngRemoteSystemID expnplngremotesystemid
CommodityExpenseAction commodityexpenseaction
CmmdtyExpnCallingApplication cmmdtyexpncallingapplication
CommodityExpenseStatus commodityexpensestatus
CmmdtyExpenseTransactionType cmmdtyexpensetransactiontype
ExpenseDeterminationIsRequired expensedeterminationisrequired
ExpenseIsInLineSaveEnabled expenseisinlinesaveenabled
ExpensePlanningObjectIsAmended expenseplanningobjectisamended
CommodityExpenseIsSplit commodityexpenseissplit
CommodityExpenseHasPriceLot commodityexpensehaspricelot
ExpenseEventStatus expenseeventstatus
ExpnPlngTemplateID expnplngtemplateid
ExpnPlngProcessingStatus expnplngprocessingstatus
ExpnPlngSourceDocumentUUID expnplngsourcedocumentuuid
ExpnPlngSourceDocumentItemUUID expnplngsourcedocumentitemuuid
ExpnPlngSourceDocumentNumber expnplngsourcedocumentnumber
ExpnPlngSourceDocumentItem expnplngsourcedocumentitem
ExpnPlngSourceDocumentType expnplngsourcedocumenttype
ExpnPlngSourceDocumentTypeText expnplngsourcedocumenttypetext
ExpnPlngSrceDocumentObjectType expnplngsrcedocumentobjecttype
ExpnPlngSrceDocObjectTypeText expnplngsrcedocobjecttypetext
ExpnPlngSourceDocumentItemSide expnplngsourcedocumentitemside
ExpnPlngSrceDocItemChildItem expnplngsrcedocitemchilditem
ExpnPlngSrceChangedAtDateTime
ExpnPlngRootDocumentUUID expnplngrootdocumentuuid
ExpnPlngRootDocumentItemUUID expnplngrootdocumentitemuuid
ExpnPlngRootDocumentNumber expnplngrootdocumentnumber
ExpnPlngRootDocumentItem expnplngrootdocumentitem
ExpnPlngRootDocumentType expnplngrootdocumenttype
ExpnPlngRootDocumentTypeText expnplngrootdocumenttypetext
ExpnPlngRootDocumentObjectType expnplngrootdocumentobjecttype
ExpnPlngRootDocObjectTypeText expnplngrootdocobjecttypetext
ExpnPlngPrecdgDocumentNumber expnplngprecdgdocumentnumber
ExpnPlngPrecedingDocumentItem expnplngprecedingdocumentitem
ExpnPlngPrecedingDocumentType expnplngprecedingdocumenttype
ExpnPlngPrecdgDocumentTypeText expnplngprecdgdocumenttypetext
ExpnPlngPrecdgDocObjectType expnplngprecdgdocobjecttype
ExpnPlngPrecdgDocObjTypeText expnplngprecdgdocobjtypetext
CompanyCode companycode Receiver Company Code
Material material Vehicle Model
Plant plant Valuation Area
PurchasingOrganization purchasingorganization Purchasing Organization
PurchasingGroup purchasinggroup Purchasing Group
CommodityExpenseQuantity commodityexpensequantity
ExpenseQuantityUnitOfMeasure expensequantityunitofmeasure Base Unit
Commodity commodity Commodity Code
ModeOfTransport modeoftransport Mode of Transp.
Incoterms incoterms Incoterms
ExpensePricingDate expensepricingdate
AttributeCode1 attributecode1
AttributeValue1 attributevalue1
AttributeCode2 attributecode2
AttributeValue2 attributevalue2
AttributeCode3 attributecode3
AttributeValue3 attributevalue3
AttributeCode4 attributecode4
AttributeValue4 attributevalue4
AttributeCode5 attributecode5
AttributeValue5 attributevalue5
AttributeCode6 attributecode6
AttributeValue6 attributevalue6
AttributeCode7 attributecode7
AttributeValue7 attributevalue7
AttributeCode8 attributecode8
AttributeValue8 attributevalue8
AttributeCode9 attributecode9
AttributeValue9 attributevalue9
AttributeCode10 attributecode10
AttributeValue10 attributevalue10
AttributeCode11 attributecode11
AttributeValue11 attributevalue11
AttributeCode12 attributecode12
AttributeValue12 attributevalue12
AttributeCode13 attributecode13
AttributeValue13 attributevalue13
AttributeCode14 attributecode14
AttributeValue14 attributevalue14
AttributeCode15 attributecode15
AttributeValue15 attributevalue15
ExpenseCreatedOnDate expensecreatedondate
ExpenseCreatedAtTime expensecreatedattime
ExpenseChangedOnDateTime expensechangedondatetime

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 I_CommodityExpenseHeaderBuffer.
-- 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 I_CommodityExpenseHeaderBuffer AS
SELECT
  ExpnPlngHeaderUUID,
  ExpnPlngReferenceUUID,
  ExpnPlngReferenceItemUUID,
  ExpnPlngObjectUUID,
  ExpnPlngRemoteSystemID,
  CommodityExpenseAction,
  CmmdtyExpnCallingApplication,
  CommodityExpenseStatus,
  CmmdtyExpenseTransactionType,
  ExpenseDeterminationIsRequired,
  ExpenseIsInLineSaveEnabled,
  ExpensePlanningObjectIsAmended,
  CommodityExpenseIsSplit,
  CommodityExpenseHasPriceLot,
  ExpenseEventStatus,
  ExpnPlngTemplateID,
  ExpnPlngProcessingStatus,
  ExpnPlngSourceDocumentUUID,
  ExpnPlngSourceDocumentItemUUID,
  ExpnPlngSourceDocumentNumber,
  ExpnPlngSourceDocumentItem,
  ExpnPlngSourceDocumentType,
  ExpnPlngSourceDocumentTypeText,
  ExpnPlngSrceDocumentObjectType,
  ExpnPlngSrceDocObjectTypeText,
  ExpnPlngSourceDocumentItemSide,
  ExpnPlngSrceDocItemChildItem,
  cast(expnplngsrcechangedatdatetime as tstmp ) AS ExpnPlngSrceChangedAtDateTime,
  ExpnPlngRootDocumentUUID,
  ExpnPlngRootDocumentItemUUID,
  ExpnPlngRootDocumentNumber,
  ExpnPlngRootDocumentItem,
  ExpnPlngRootDocumentType,
  ExpnPlngRootDocumentTypeText,
  ExpnPlngRootDocumentObjectType,
  ExpnPlngRootDocObjectTypeText,
  ExpnPlngPrecdgDocumentNumber,
  ExpnPlngPrecedingDocumentItem,
  ExpnPlngPrecedingDocumentType,
  ExpnPlngPrecdgDocumentTypeText,
  ExpnPlngPrecdgDocObjectType,
  ExpnPlngPrecdgDocObjTypeText,
  CompanyCode,
  Material,
  Plant,
  PurchasingOrganization,
  PurchasingGroup,
  CommodityExpenseQuantity,
  ExpenseQuantityUnitOfMeasure,
  Commodity,
  ModeOfTransport,
  Incoterms,
  ExpensePricingDate,
  AttributeCode1,
  AttributeValue1,
  AttributeCode2,
  AttributeValue2,
  AttributeCode3,
  AttributeValue3,
  AttributeCode4,
  AttributeValue4,
  AttributeCode5,
  AttributeValue5,
  AttributeCode6,
  AttributeValue6,
  AttributeCode7,
  AttributeValue7,
  AttributeCode8,
  AttributeValue8,
  AttributeCode9,
  AttributeValue9,
  AttributeCode10,
  AttributeValue10,
  AttributeCode11,
  AttributeValue11,
  AttributeCode12,
  AttributeValue12,
  AttributeCode13,
  AttributeValue13,
  AttributeCode14,
  AttributeValue14,
  AttributeCode15,
  AttributeValue15,
  ExpenseCreatedOnDate,
  ExpenseCreatedAtTime,
  ExpenseChangedOnDateTime
FROM cmm_em_epo_hdr_d
;