I_SDMassChgCkptChgSlsDoc

DDL: I_SDMASSCHGCKPTCHGSLSDOC Type: view BASIC

Mass Change of Sales Document

I_SDMassChgCkptChgSlsDoc is a Basic CDS View that provides data about "Mass Change of Sales Document" in SAP S/4HANA. It reads from 1 data source (sdmcc_chgkey) and exposes 8 fields with key fields SlsDocMassChangeRequestUUID, SalesDocument, SalesDocumentItem, ScheduleLine. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
sdmcc_chgkey sdmcc_chgkey from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_SDMassChgCkptMassChgReqBsc _ChangeRequest $projection.SlsDocMassChangeRequestUUID = _ChangeRequest.SlsDocMassChangeRequestUUID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ISDMCCCHGKEY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Mass Change of Sales Document view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY SlsDocMassChangeRequestUUID sdmcc_chgkey slsdocmasschangerequestuuid Job ID
KEY SalesDocument sdmcc_chgkey salesdocument SD Document
KEY SalesDocumentItem sdmcc_chgkey salesdocumentitem Sales Document Item
KEY ScheduleLine sdmcc_chgkey scheduleline Schedule Line
SlsDocMassChgEntityType sdmcc_chgkey slsdocmasschgentitytype Entity Type
SDDocumentCategory sdmcc_chgkey sddocumentcategory Document Cat.
SalesDocumentIsDeleted sdmcc_chgkey salesdocumentisdeleted Deleted
_ChangeRequest _ChangeRequest

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_SDMassChgCkptChgSlsDoc.
-- 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_SDMassChgCkptChgSlsDoc AS
SELECT
  sdmcc_chgkey.slsdocmasschangerequestuuid AS SlsDocMassChangeRequestUUID,
  sdmcc_chgkey.salesdocument AS SalesDocument,
  sdmcc_chgkey.salesdocumentitem AS SalesDocumentItem,
  sdmcc_chgkey.scheduleline AS ScheduleLine,
  sdmcc_chgkey.slsdocmasschgentitytype AS SlsDocMassChgEntityType,
  sdmcc_chgkey.sddocumentcategory AS SDDocumentCategory,
  sdmcc_chgkey.salesdocumentisdeleted AS SalesDocumentIsDeleted
FROM sdmcc_chgkey
LEFT OUTER JOIN I_SDMassChgCkptMassChgReqBsc AS _ChangeRequest ON SlsDocMassChangeRequestUUID = _ChangeRequest.SlsDocMassChangeRequestUUID  -- association [1..1]
;