P_SalesPlanForChangeDoc

DDL: P_SALESPLANFORCHANGEDOC SQL: PSPFORCHDO Type: view COMPOSITE

Sales Plan for Change document

P_SalesPlanForChangeDoc is a Composite CDS View that provides data about "Sales Plan for Change document" in SAP S/4HANA.

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PSPFORCHDO view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view
EndUserText.label Sales Plan for Change document view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ChangeDocObject
SalesPlanUUID SP SalesPlanUUID Sales Plan UUID
SalesPlan SP SalesPlan Sales Plan
SalesPlanVersion SP SalesPlanVersion Version
SalesPlanDescription SP SalesPlanDescription Plan Description
AssignedTeamID SP AssignedTeamID Shared with Team
CreatedByUser SP CreatedByUser User Name

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 P_SalesPlanForChangeDoc.
-- 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: PSPFORCHDO

CREATE VIEW P_SalesPlanForChangeDoc AS
SELECT
  cast ( bintohex(SP.SalesPlanUUID) as cdobjectv ) AS ChangeDocObject,
  SP.SalesPlanUUID AS SalesPlanUUID,
  SP.SalesPlan AS SalesPlan,
  SP.SalesPlanVersion AS SalesPlanVersion,
  SP.SalesPlanDescription AS SalesPlanDescription,
  SP.AssignedTeamID AS AssignedTeamID,
  SP.CreatedByUser AS CreatedByUser
;