C_BSOrdProcFlwCreditMemo

DDL: C_BSORDPROCFLWCREDITMEMO Type: view CONSUMPTION

Credit Memo Attrib for BSOrd Prgrs

C_BSOrdProcFlwCreditMemo is a Consumption CDS View that provides data about "Credit Memo Attrib for BSOrd Prgrs" in SAP S/4HANA. It reads from 1 data source (I_BillingDocument) and exposes 8 fields with key field UI5NetworkGraphAttributeValue. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BillingDocument CreditMemo from

Associations (2)

CardinalityTargetAliasCondition
[0..1] P_BusSolnOrdSubsqntDocTypeText _DocumentType _DocumentType.UI5NetworkGraphDescription = 'O'
[0..1] E_BillingDocument _Extension _Extension.BillingDocument = CreditMemo.BillingDocument

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CCRDMEMATTRIB view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
EndUserText.label Credit Memo Attrib for BSOrd Prgrs view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY UI5NetworkGraphAttributeValue BillingDocument SD Document
CreationDate CreationDate Time Stamp
BillingDocumentDate BillingDocumentDate Billing Date
TotalNetAmount TotalNetAmount Total Net Amount
UI5NetworkGraphStatusName
UI5NetworkGraphStatus
TransactionCurrency TransactionCurrency Transaction Currency
UI5NetworkGraphDescription

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 C_BSOrdProcFlwCreditMemo.
-- 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 C_BSOrdProcFlwCreditMemo AS
SELECT
  BillingDocument AS UI5NetworkGraphAttributeValue,
  CreationDate,
  BillingDocumentDate,
  TotalNetAmount,
  _OverallBillingStatus._Text[1: Language = $session.system_language].OverallBillingStatusDesc AS UI5NetworkGraphStatusName,
  cast ( OverallBillingStatus as fac_network_graph_status ) AS UI5NetworkGraphStatus,
  TransactionCurrency,
  _DocumentType[1: Language = $session.system_language].UI5NetworkGraphDescriptionName AS UI5NetworkGraphDescription
FROM I_BillingDocument AS CreditMemo
LEFT OUTER JOIN P_BusSolnOrdSubsqntDocTypeText AS _DocumentType ON _DocumentType.UI5NetworkGraphDescription = 'O'  -- association [0..1]
LEFT OUTER JOIN E_BillingDocument AS _Extension ON _Extension.BillingDocument = CreditMemo.BillingDocument  -- association [0..1]
;