C_PrdtvAcctgNotifSlsDocObjPage

DDL: C_PRDTVACCTGNOTIFSLSDOCOBJPAGE SQL: CPRDTVACCSDOBJ Type: view CONSUMPTION

Pred. Acc. Entity Set for Sales Document

C_PrdtvAcctgNotifSlsDocObjPage is a Consumption CDS View that provides data about "Pred. Acc. Entity Set for Sales Document" in SAP S/4HANA. It reads from 1 data source (I_PrdtvAccountingNotification) and exposes 39 fields with key fields SourceReferenceDocumentType, SourceReferenceDocument, SourceReferenceDocumentCntxt, LogicalSystem. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PrdtvAccountingNotification _FinsPredAccNotif from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_SalesDocument _SalesDocument _FinsPredAccNotif.SourceReferenceDocument = _SalesDocument.SalesDocument
[0..1] C_SlsOrdWithOvrlFlfmtSts _SlsOrdWithOvrlFlfmtSts _FinsPredAccNotif.SourceReferenceDocument = _SlsOrdWithOvrlFlfmtSts.SalesDocument
[0..1] I_PrdtvAcctgNotifSimlnStepText _PrdtvAcctgNotifSimlnStepText $projection.PrdtvAcctgNotifSimulationStep = _PrdtvAcctgNotifSimlnStepText.PrdtvAcctgNotifSimulationStep and _PrdtvAcctgNotifSimlnStepText.Language = $session.system_language
[0..1] I_SDDocumentCategoryText _SDDocumentCategoryText $projection.sddocumentcategory = _SDDocumentCategoryText.SDDocumentCategory and _SDDocumentCategoryText.Language = $session.system_language
[0..1] I_OverallSDProcessStatusText _OverallSDProcessStatusText $projection.OverallSDProcessStatus = _OverallSDProcessStatusText.OverallSDProcessStatus and _OverallSDProcessStatusText.Language = $session.system_language
[0..1] I_SalesOrganizationText _SalesOrganizationText $projection.salesorganization = _SalesOrganizationText.SalesOrganization and _SalesOrganizationText.Language = $session.system_language

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CPRDTVACCSDOBJ view
EndUserText.label Pred. Acc. Entity Set for Sales Document view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view

Fields (39)

KeyFieldSource TableSource FieldDescription
KEY SourceReferenceDocumentType I_PrdtvAccountingNotification SourceReferenceDocumentType Ref. procedure
KEY SourceReferenceDocument I_PrdtvAccountingNotification SourceReferenceDocument Reference Doc.
KEY SourceReferenceDocumentCntxt I_PrdtvAccountingNotification SourceReferenceDocumentCntxt Source Org Unit
KEY LogicalSystem I_PrdtvAccountingNotification LogicalSystem Logical System
SystemMessageIdentification I_PrdtvAccountingNotification SystemMessageIdentification Message ID
SystemMessageNumber I_PrdtvAccountingNotification SystemMessageNumber Message Number
SystemMessageVariable1 I_PrdtvAccountingNotification SystemMessageVariable1 Variable 1
SystemMessageVariable2 I_PrdtvAccountingNotification SystemMessageVariable2 Variable 2
SystemMessageVariable3 I_PrdtvAccountingNotification SystemMessageVariable3 Variable 3
SystemMessageVariable4 I_PrdtvAccountingNotification SystemMessageVariable4 Variable 4
LogMessageLongText
PrdtvAcctgNotifSimulationStep I_PrdtvAccountingNotification PrdtvAcctgNotifSimulationStep Simulation Step
SystemMessageLongText I_PrdtvAccountingNotification SystemMessageLongText
SDDocumentCategory _SalesDocument SDDocumentCategory Document Cat.
SalesDocumentDate _SalesDocument SalesDocumentDate Document Date
SalesDocumentType _SalesDocument SalesDocumentType Sales Doc. Type
BillingCompanyCode _SalesDocument BillingCompanyCode CCodeToBeBilled
SalesOrganization _SalesDocument SalesOrganization Sales Organization
DistributionChannel _SalesDocument DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision _SalesDocument OrganizationDivision Org. Division
SalesGroup _SalesDocument SalesGroup Sales Group
SoldToParty _SalesDocument SoldToParty Sold-to Party
TransactionCurrency _SalesDocument TransactionCurrency Transaction Currency
TotalNetAmount _SalesDocument TotalNetAmount Total Net Amount
RequestedDeliveryDate _SalesDocument RequestedDeliveryDate Requested Delivery Date
_BillingCompanyCode _SalesDocument _BillingCompanyCode
_SalesOrganization _SalesDocument _SalesOrganization
_DistributionChannel _SalesDocument _DistributionChannel
_OrganizationDivision _SalesDocument _OrganizationDivision
_SalesGroup _SalesDocument _SalesGroup
_SalesDocumentType _SalesDocument _SalesDocumentType
_SDDocumentCategory _SalesDocument _SDDocumentCategory
_SoldToParty _SalesDocument _SoldToParty
_TransactionCurrency _SalesDocument _TransactionCurrency
PrdtvAcctgNotifSimlnStepDesc _PrdtvAcctgNotifSimlnStepText PrdtvAcctgNotifSimlnStepDesc
_PrdtvAcctgNotifSimlnStepText _PrdtvAcctgNotifSimlnStepText
_SDDocumentCategoryText _SDDocumentCategoryText
_OverallSDProcessStatusText _OverallSDProcessStatusText
_SalesOrganizationText _SalesOrganizationText

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_PrdtvAcctgNotifSlsDocObjPage.
-- 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.
-- SQL view name: CPRDTVACCSDOBJ

CREATE VIEW C_PrdtvAcctgNotifSlsDocObjPage AS
SELECT
  _FinsPredAccNotif.SourceReferenceDocumentType AS SourceReferenceDocumentType,
  _FinsPredAccNotif.SourceReferenceDocument AS SourceReferenceDocument,
  _FinsPredAccNotif.SourceReferenceDocumentCntxt AS SourceReferenceDocumentCntxt,
  _FinsPredAccNotif.LogicalSystem AS LogicalSystem,
  _FinsPredAccNotif.SystemMessageIdentification AS SystemMessageIdentification,
  _FinsPredAccNotif.SystemMessageNumber AS SystemMessageNumber,
  _FinsPredAccNotif.SystemMessageVariable1 AS SystemMessageVariable1,
  _FinsPredAccNotif.SystemMessageVariable2 AS SystemMessageVariable2,
  _FinsPredAccNotif.SystemMessageVariable3 AS SystemMessageVariable3,
  _FinsPredAccNotif.SystemMessageVariable4 AS SystemMessageVariable4,
  cast( ' ' as abap.sstring( 1333 ) ) AS LogMessageLongText,
  _FinsPredAccNotif.PrdtvAcctgNotifSimulationStep AS PrdtvAcctgNotifSimulationStep,
  _FinsPredAccNotif.SystemMessageLongText AS SystemMessageLongText,
  _SalesDocument.SDDocumentCategory AS SDDocumentCategory,
  _SalesDocument.SalesDocumentDate AS SalesDocumentDate,
  _SalesDocument.SalesDocumentType AS SalesDocumentType,
  _SalesDocument.BillingCompanyCode AS BillingCompanyCode,
  _SalesDocument.SalesOrganization AS SalesOrganization,
  _SalesDocument.DistributionChannel AS DistributionChannel,
  _SalesDocument.OrganizationDivision AS OrganizationDivision,
  _SalesDocument.SalesGroup AS SalesGroup,
  _SalesDocument.SoldToParty AS SoldToParty,
  _SalesDocument.TransactionCurrency AS TransactionCurrency,
  _SalesDocument.TotalNetAmount AS TotalNetAmount,
  _SalesDocument.RequestedDeliveryDate AS RequestedDeliveryDate,
  _SalesDocument._BillingCompanyCode AS _BillingCompanyCode,
  _SalesDocument._SalesOrganization AS _SalesOrganization,
  _SalesDocument._DistributionChannel AS _DistributionChannel,
  _SalesDocument._OrganizationDivision AS _OrganizationDivision,
  _SalesDocument._SalesGroup AS _SalesGroup,
  _SalesDocument._SalesDocumentType AS _SalesDocumentType,
  _SalesDocument._SDDocumentCategory AS _SDDocumentCategory,
  _SalesDocument._SoldToParty AS _SoldToParty,
  _SalesDocument._TransactionCurrency AS _TransactionCurrency,
  _PrdtvAcctgNotifSimlnStepText.PrdtvAcctgNotifSimlnStepDesc AS PrdtvAcctgNotifSimlnStepDesc
FROM I_PrdtvAccountingNotification AS _FinsPredAccNotif
LEFT OUTER JOIN I_SalesDocument AS _SalesDocument ON _FinsPredAccNotif.SourceReferenceDocument = _SalesDocument.SalesDocument  -- association [0..1]
LEFT OUTER JOIN C_SlsOrdWithOvrlFlfmtSts AS _SlsOrdWithOvrlFlfmtSts ON _FinsPredAccNotif.SourceReferenceDocument = _SlsOrdWithOvrlFlfmtSts.SalesDocument  -- association [0..1]
LEFT OUTER JOIN I_PrdtvAcctgNotifSimlnStepText AS _PrdtvAcctgNotifSimlnStepText ON PrdtvAcctgNotifSimulationStep = _PrdtvAcctgNotifSimlnStepText.PrdtvAcctgNotifSimulationStep AND _PrdtvAcctgNotifSimlnStepText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SDDocumentCategoryText AS _SDDocumentCategoryText ON sddocumentcategory = _SDDocumentCategoryText.SDDocumentCategory AND _SDDocumentCategoryText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_OverallSDProcessStatusText AS _OverallSDProcessStatusText ON OverallSDProcessStatus = _OverallSDProcessStatusText.OverallSDProcessStatus AND _OverallSDProcessStatusText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganizationText AS _SalesOrganizationText ON salesorganization = _SalesOrganizationText.SalesOrganization AND _SalesOrganizationText.Language = $session.system_language  -- association [0..1]
;