I_SDMassChgCkptSlsDocHdrChgBsc
Mass Chg of Sls Doc Header Chg Basic
I_SDMassChgCkptSlsDocHdrChgBsc is a Basic CDS View that provides data about "Mass Chg of Sls Doc Header Chg Basic" in SAP S/4HANA. It reads from 1 data source (sdmcc_chghdr) and exposes 46 fields with key field SlsDocMassChangeRequestUUID. It has 17 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| sdmcc_chghdr | sdmcc_chghdr | from |
Associations (17)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SDMassChgCkptMassChgReqBsc | _ChangeRequest | $projection.SlsDocMassChangeRequestUUID = _ChangeRequest.SlsDocMassChangeRequestUUID |
| [0..1] | I_SDMassChgCkptActionCategory | _ChangeActionCategory | $projection.SlsDocMassChgActionCategory = _ChangeActionCategory.SlsDocMassChgActionCategory |
| [0..1] | I_SDMassChgCkptActionMaster | _ChangeActionID | $projection.SlsDocMassChgActionID = _ChangeActionID.SlsDocMassChgActionID |
| [0..1] | I_SalesGroup | _SalesGroup | $projection.SalesGroup = _SalesGroup.SalesGroup |
| [0..1] | I_SalesOffice | _SalesOffice | $projection.SalesOffice = _SalesOffice.SalesOffice |
| [0..1] | I_SDDocumentReason | _SDDocumentReason | $projection.SDDocumentReason = _SDDocumentReason.SDDocumentReason |
| [0..1] | I_SalesDistrict | _SalesDistrict | $projection.SalesDistrict = _SalesDistrict.SalesDistrict |
| [0..1] | I_ShippingType | _ShippingType | $projection.ShippingType = _ShippingType.ShippingType |
| [0..1] | I_ShippingCondition | _ShippingCondition | $projection.ShippingCondition = _ShippingCondition.ShippingCondition |
| [0..1] | I_IncotermsClassification | _IncotermsClassification | $projection.IncotermsClassification = _IncotermsClassification.IncotermsClassification |
| [0..1] | I_IncotermsVersion | _IncotermsVersion | $projection.IncotermsVersion = _IncotermsVersion.IncotermsVersion |
| [0..1] | I_CustomerPaymentTerms | _CustomerPaymentTerms | $projection.CustomerPaymentTerms = _CustomerPaymentTerms.CustomerPaymentTerms |
| [0..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [0..1] | I_DeliveryBlockReason | _DeliveryBlockReason | $projection.DeliveryBlockReason = _DeliveryBlockReason.DeliveryBlockReason |
| [0..1] | I_BillingBlockReason | _HeaderBillingBlockReason | $projection.HeaderBillingBlockReason = _HeaderBillingBlockReason.BillingBlockReason |
| [0..1] | I_SalesDocumentRjcnReason | _SalesDocumentRjcnReason | $projection.SalesDocumentRjcnReason = _SalesDocumentRjcnReason.SalesDocumentRjcnReason |
| [0..1] | I_PricingType | _PricingType | $projection.PricingType = _PricingType.PricingType |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISDMCCCHGHDRB | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Mass Chg of Sls Doc Header Chg Basic | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | SlsDocMassChangeRequestUUID | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (46)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SlsDocMassChangeRequestUUID | sdmcc_chghdr | slsdocmasschangerequestuuid | Job ID |
| SlsDocMassChgActionCategory | sdmcc_chghdr | slsdocmasschgactioncategory | Action Category | |
| SlsDocMassChgActionID | sdmcc_chghdr | slsdocmasschgactionid | Action | |
| SDDocumentReason | sdmcc_chghdr | sddocumentreason | Order Reason | |
| SalesOffice | sdmcc_chghdr | salesoffice | Sales Office | |
| SalesGroup | sdmcc_chghdr | salesgroup | Sales Group | |
| SalesDistrict | sdmcc_chghdr | salesdistrict | Sales District | |
| RequestedDeliveryDate | sdmcc_chghdr | requesteddeliverydate | Requested Delivery Date | |
| ShippingCondition | sdmcc_chghdr | shippingcondition | Shipping Conditions | |
| ShippingType | sdmcc_chghdr | shippingtype | Shipping Type | |
| ReceivingPoint | sdmcc_chghdr | receivingpoint | Recv. Point | |
| CustomerPaymentTerms | sdmcc_chghdr | customerpaymentterms | Pyt Terms | |
| PaymentMethod | sdmcc_chghdr | paymentmethod | Pymt Meth. | |
| TransactionCurrency | sdmcc_chghdr | transactioncurrency | Transaction Currency | |
| PricingDate | sdmcc_chghdr | pricingdate | Pricing Date | |
| BillingDocumentDate | sdmcc_chghdr | billingdocumentdate | Billing Date | |
| SalesDocumentDate | sdmcc_chghdr | salesdocumentdate | Document Date | |
| IncotermsClassification | sdmcc_chghdr | incotermsclassification | Incoterms | |
| IncotermsTransferLocation | sdmcc_chghdr | incotermstransferlocation | Incoterms 2 | |
| IncotermsLocation1 | sdmcc_chghdr | incotermslocation1 | Inco. Location1 | |
| IncotermsLocation2 | sdmcc_chghdr | incotermslocation2 | Inco. Location2 | |
| IncotermsVersion | sdmcc_chghdr | incotermsversion | Inco. Version | |
| DeliveryBlockReason | sdmcc_chghdr | deliveryblockreason | Delivery Block | |
| HeaderBillingBlockReason | sdmcc_chghdr | headerbillingblockreason | Billing Block | |
| SalesDocumentRjcnReason | sdmcc_chghdr | salesdocumentrjcnreason | RejectionReason | |
| PurchaseOrderByCustomer | sdmcc_chghdr | purchaseorderbycustomer | Purchase Order Number | |
| CustomerPurchaseOrderDate | sdmcc_chghdr | customerpurchaseorderdate | Purchase Order Date | |
| CompleteDeliveryIsDefined | sdmcc_chghdr | completedeliveryisdefined | Complete Dlv. | |
| PricingType | sdmcc_chghdr | pricingtype | Pricing Type | |
| _ChangeRequest | _ChangeRequest | |||
| _ChangeActionCategory | _ChangeActionCategory | |||
| _ChangeActionID | _ChangeActionID | |||
| _SalesGroup | _SalesGroup | |||
| _SalesOffice | _SalesOffice | |||
| _SDDocumentReason | _SDDocumentReason | |||
| _SalesDistrict | _SalesDistrict | |||
| _ShippingType | _ShippingType | |||
| _ShippingCondition | _ShippingCondition | |||
| _IncotermsClassification | _IncotermsClassification | |||
| _IncotermsVersion | _IncotermsVersion | |||
| _CustomerPaymentTerms | _CustomerPaymentTerms | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _DeliveryBlockReason | _DeliveryBlockReason | |||
| _HeaderBillingBlockReason | _HeaderBillingBlockReason | |||
| _SalesDocumentRjcnReason | _SalesDocumentRjcnReason | |||
| _PricingType | _PricingType |
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_SDMassChgCkptSlsDocHdrChgBsc.
-- 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_SDMassChgCkptSlsDocHdrChgBsc AS
SELECT
sdmcc_chghdr.slsdocmasschangerequestuuid AS SlsDocMassChangeRequestUUID,
sdmcc_chghdr.slsdocmasschgactioncategory AS SlsDocMassChgActionCategory,
sdmcc_chghdr.slsdocmasschgactionid AS SlsDocMassChgActionID,
sdmcc_chghdr.sddocumentreason AS SDDocumentReason,
sdmcc_chghdr.salesoffice AS SalesOffice,
sdmcc_chghdr.salesgroup AS SalesGroup,
sdmcc_chghdr.salesdistrict AS SalesDistrict,
sdmcc_chghdr.requesteddeliverydate AS RequestedDeliveryDate,
sdmcc_chghdr.shippingcondition AS ShippingCondition,
sdmcc_chghdr.shippingtype AS ShippingType,
sdmcc_chghdr.receivingpoint AS ReceivingPoint,
sdmcc_chghdr.customerpaymentterms AS CustomerPaymentTerms,
sdmcc_chghdr.paymentmethod AS PaymentMethod,
sdmcc_chghdr.transactioncurrency AS TransactionCurrency,
sdmcc_chghdr.pricingdate AS PricingDate,
sdmcc_chghdr.billingdocumentdate AS BillingDocumentDate,
sdmcc_chghdr.salesdocumentdate AS SalesDocumentDate,
sdmcc_chghdr.incotermsclassification AS IncotermsClassification,
sdmcc_chghdr.incotermstransferlocation AS IncotermsTransferLocation,
sdmcc_chghdr.incotermslocation1 AS IncotermsLocation1,
sdmcc_chghdr.incotermslocation2 AS IncotermsLocation2,
sdmcc_chghdr.incotermsversion AS IncotermsVersion,
sdmcc_chghdr.deliveryblockreason AS DeliveryBlockReason,
sdmcc_chghdr.headerbillingblockreason AS HeaderBillingBlockReason,
sdmcc_chghdr.salesdocumentrjcnreason AS SalesDocumentRjcnReason,
sdmcc_chghdr.purchaseorderbycustomer AS PurchaseOrderByCustomer,
sdmcc_chghdr.customerpurchaseorderdate AS CustomerPurchaseOrderDate,
sdmcc_chghdr.completedeliveryisdefined AS CompleteDeliveryIsDefined,
sdmcc_chghdr.pricingtype AS PricingType
FROM sdmcc_chghdr
LEFT OUTER JOIN I_SDMassChgCkptMassChgReqBsc AS _ChangeRequest ON SlsDocMassChangeRequestUUID = _ChangeRequest.SlsDocMassChangeRequestUUID -- association [1..1]
LEFT OUTER JOIN I_SDMassChgCkptActionCategory AS _ChangeActionCategory ON SlsDocMassChgActionCategory = _ChangeActionCategory.SlsDocMassChgActionCategory -- association [0..1]
LEFT OUTER JOIN I_SDMassChgCkptActionMaster AS _ChangeActionID ON SlsDocMassChgActionID = _ChangeActionID.SlsDocMassChgActionID -- association [0..1]
LEFT OUTER JOIN I_SalesGroup AS _SalesGroup ON SalesGroup = _SalesGroup.SalesGroup -- association [0..1]
LEFT OUTER JOIN I_SalesOffice AS _SalesOffice ON SalesOffice = _SalesOffice.SalesOffice -- association [0..1]
LEFT OUTER JOIN I_SDDocumentReason AS _SDDocumentReason ON SDDocumentReason = _SDDocumentReason.SDDocumentReason -- association [0..1]
LEFT OUTER JOIN I_SalesDistrict AS _SalesDistrict ON SalesDistrict = _SalesDistrict.SalesDistrict -- association [0..1]
LEFT OUTER JOIN I_ShippingType AS _ShippingType ON ShippingType = _ShippingType.ShippingType -- association [0..1]
LEFT OUTER JOIN I_ShippingCondition AS _ShippingCondition ON ShippingCondition = _ShippingCondition.ShippingCondition -- association [0..1]
LEFT OUTER JOIN I_IncotermsClassification AS _IncotermsClassification ON IncotermsClassification = _IncotermsClassification.IncotermsClassification -- association [0..1]
LEFT OUTER JOIN I_IncotermsVersion AS _IncotermsVersion ON IncotermsVersion = _IncotermsVersion.IncotermsVersion -- association [0..1]
LEFT OUTER JOIN I_CustomerPaymentTerms AS _CustomerPaymentTerms ON CustomerPaymentTerms = _CustomerPaymentTerms.CustomerPaymentTerms -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_DeliveryBlockReason AS _DeliveryBlockReason ON DeliveryBlockReason = _DeliveryBlockReason.DeliveryBlockReason -- association [0..1]
LEFT OUTER JOIN I_BillingBlockReason AS _HeaderBillingBlockReason ON HeaderBillingBlockReason = _HeaderBillingBlockReason.BillingBlockReason -- association [0..1]
LEFT OUTER JOIN I_SalesDocumentRjcnReason AS _SalesDocumentRjcnReason ON SalesDocumentRjcnReason = _SalesDocumentRjcnReason.SalesDocumentRjcnReason -- association [0..1]
LEFT OUTER JOIN I_PricingType AS _PricingType ON PricingType = _PricingType.PricingType -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA