C_MassChangeSalesQuotationItem

DDL: C_MASSCHANGESALESQUOTATIONITEM Type: view CONSUMPTION

Mass Change of Sales Quotation Item

C_MassChangeSalesQuotationItem is a Consumption CDS View that provides data about "Mass Change of Sales Quotation Item" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentItem) and exposes 172 fields with key fields SalesQuotation, SalesQuotationItem. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocumentItem _SalesQuotationItem from

Associations (8)

CardinalityTargetAliasCondition
[1..1] I_SalesDocument _SalesQuotation $projection.SalesQuotation = _SalesQuotation.SalesDocument
[1..*] I_SalesDocItemCompletePartner _SalesItemCompletePartner $projection.SalesQuotation = _SalesItemCompletePartner.SalesDocument and $projection.SalesQuotationItem = _SalesItemCompletePartner.SalesDocumentItem
[0..*] I_SlsDocItmNonStdPartner _NonStdPartner $projection.SalesQuotation = _NonStdPartner.SalesDocument and $projection.SalesQuotationItem = _NonStdPartner.SalesDocumentItem
[0..1] E_SalesDocumentItemBasic _ItemExtension $projection.SalesQuotation = _ItemExtension.SalesDocument and $projection.SalesQuotationItem = _ItemExtension.SalesDocumentItem
[0..1] E_SalesDocumentBasic _Extension $projection.SalesQuotation = _Extension.SalesDocument
[0..1] I_ProfitCenterText _ProfitCenterText $projection.ControllingArea = _ProfitCenterText.ControllingArea and $projection.ProfitCenter = _ProfitCenterText.ProfitCenter and _ProfitCenterText.ValidityEndDate >= $session.system_date and _ProfitCenterText.Language = $session.system_language
[0..1] C_SalesDocPaymentMethodVH _PaymentMethod $projection.PaymentMethod = _PaymentMethod.PaymentMethod and $projection.billingcompanycode = _PaymentMethod.BillingCompanyCode
[0..1] C_Q2CCustomerQuickView _SoldToParty $projection.SoldToParty = _SoldToParty.Customer

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName CSDMCSLSQTANITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey SalesQuotationItem view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view
Analytics.internalName #LOCAL view
OData.entitySet.name SlsQtnItem view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
EndUserText.label Mass Change of Sales Quotation Item view

Fields (172)

KeyFieldSource TableSource FieldDescription
KEY SalesQuotation
SDDocumentCategory SDDocumentCategory Document Cat.
SalesQuotationType Sales Doc. Type
SDDocumentReason SDDocumentReason Order Reason
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision Org. Division
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
SalesDistrict SalesDistrict Sales District
BusinessArea BusinessArea Business Area
ControllingArea ControllingArea Controlling Area
ShippingCondition ShippingCondition Shipping Conditions
ProfitCenter ProfitCenter Profit Center
SalesQuotationApprovalReason
AdditionalCustomerGroup1 AdditionalCustomerGroup1 Customer Grp 1
AdditionalCustomerGroup2 AdditionalCustomerGroup2 Customer Grp 2
AdditionalCustomerGroup3 AdditionalCustomerGroup3 Customer Grp 3
AdditionalCustomerGroup4 AdditionalCustomerGroup4 Customer Grp 4
AdditionalCustomerGroup5 AdditionalCustomerGroup5 Customer Grp 5
OverallSDDocumentRejectionSts
HdrGeneralIncompletionStatus
HeaderBillgIncompletionStatus
OverallPricingIncompletionSts
OverallTrdCmplncEmbargoSts
OvrlTrdCmplncSnctndListChkSts
OvrlTrdCmplncLegalCtrlChkSts
OverallChmlCmplncStatus
OverallDangerousGoodsStatus
ContractDownPaymentStatus
SalesQuotationDate SalesDocumentDate Document Date
PaymentTerms CustomerPaymentTerms Pyt Terms
CustomerPaymentTerms
PaymentMethod PaymentMethod Pymt Meth.
HeaderIncotermsClassification
IncotermsClassification IncotermsClassification Incoterms
IncotermsVersion IncotermsVersion Inco. Version
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
CustomerGroup CustomerGroup Customer Group
SoldToParty SoldToParty Sold-to Party
ShipToParty ShipToParty Ship-To Party (obsolete)
BillToParty BillToParty Inv. Recipient
PayerParty PayerParty Payer
ResponsibleEmployee ResponsibleEmployee Employee Resp.
SalesEmployee SalesEmployee Sales Employee
TransactionCurrency TransactionCurrency Transaction Currency
ShipToPartyName
SoldToPartyName
BillToPartyName
PayerPartyName
ResponsibleEmployeeName
SalesEmployeeName
Material Material Vehicle Model
Division Division Internal Division ID
SalesQuotationItemCategoryName
SalesQuotationItemCategory SalesDocumentItemCategory Item Category
SDProcessStatus Overall Status
SDDocumentRejectionStatus SDDocumentRejectionStatus Rejection Sts
ItemGeneralIncompletionStatus
ItemBillingIncompletionStatus Billing Doc.
PricingIncompletionStatus Pricing – Item
ItemDeliveryIncompletionStatus Delivery – Item
SDDocReferenceStatus SDDocReferenceStatus Reference Sts
TotalSDDocReferenceStatus TotalSDDocReferenceStatus Ovrl Ref. Sts
TrdCmplncEmbargoSts TrdCmplncEmbargoSts Embargo Status
TrdCmplncSnctndListChkSts TrdCmplncSnctndListChkSts Screening Status
ChmlCmplncStatus ChmlCmplncStatus
DangerousGoodsStatus DangerousGoodsStatus
ContractItemDownPaymentStatus ContractItemDownPaymentStatus Down Payment Status
SalesDocumentRjcnReasonName
SalesDocumentRjcnReason SalesDocumentRjcnReason RejectionReason
ProductName
Product Product Product Sold
SalesQuotationItemText SalesDocumentItemText Item Descr.
RequestedQuantity Requested Quantity
RequestedQuantityUnit RequestedQuantityUnit Requested Quantity Unit
NetAmount NetAmount Stated Amount
AdditionalPartnerName
PartnerFunction
Customer
Supplier
Personnel
ContactPerson
SlsDocMassChangeRequestUUID
SlsDocMassChgEntityLevel
_SalesQuotation _SalesQuotation
_SalesItemCompletePartner _SalesItemCompletePartner
_NonStdPartner _NonStdPartner
_SDDocumentCategory _SDDocumentCategory
_SDDocumentReason _SDDocumentReason
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_OrganizationDivision _OrganizationDivision
_SalesGroup _SalesGroup
_SalesOffice _SalesOffice
_SalesDistrict _SalesDistrict
_BusinessArea _BusinessArea
_ShippingCondition _ShippingCondition
_AdditionalCustomerGroup1 _AdditionalCustomerGroup1
_AdditionalCustomerGroup2 _AdditionalCustomerGroup2
_AdditionalCustomerGroup3 _AdditionalCustomerGroup3
_AdditionalCustomerGroup4 _AdditionalCustomerGroup4
_AdditionalCustomerGroup5 _AdditionalCustomerGroup5
_OvrlTrdCmplncLegalCtrlChkSts _OvrlTrdCmplncLegalCtrlChkSts
_CustomerPaymentTerms _CustomerPaymentTerms
_IncotermsClassification _IncotermsClassification
_IncotermsVersion _IncotermsVersion
_CustomerGroup _CustomerGroup
_SoldToParty _SoldToParty
_ShipToParty _ShipToParty
_BillToParty _BillToParty
_PayerParty _PayerParty
_ResponsibleEmployee _ResponsibleEmployee
_SalesEmployee _SalesEmployee
_Division _Division
_ItemCategory _ItemCategory
_SDProcessStatus _SDProcessStatus
_SDDocumentRejectionStatus _SDDocumentRejectionStatus
_ItemGeneralIncompletionStatus _ItemGeneralIncompletionStatus
_ItemBillingIncompletionStatus _ItemBillingIncompletionStatus
_PricingIncompletionStatus _PricingIncompletionStatus
_ItemDelivIncompletionSts _ItemDelivIncompletionSts
_SDDocReferenceStatus _SDDocReferenceStatus
_TotalSDDocReferenceStatus _TotalSDDocReferenceStatus
_TrdCmplncEmbargoSts _TrdCmplncEmbargoSts
_TrdCmplncSnctndListChkSts _TrdCmplncSnctndListChkSts
_ChmlCmplncStatus _ChmlCmplncStatus
_DangerousGoodsStatus _DangerousGoodsStatus
_ContractItemDownPaymentStatus _ContractItemDownPaymentStatus
_SalesDocumentRjcnReason _SalesDocumentRjcnReason
_Product _Product
_ProductText _ProductText
_RequestedQuantityUnit _RequestedQuantityUnit
_SalesDocumentType _SalesDocumentType
_TransactionCurrency _TransactionCurrency
_ProfitCenterText _ProfitCenterText
_ControllingArea _ControllingArea
_PaymentMethod _PaymentMethod
_ProfitCenter _ProfitCenter
KEY SalesQuotationItem I_SalesDocumentItem SalesDocumentItem Sales Document Item
ProfitCenterName _ProfitCenterText ProfitCenterName Profit Center Name
CreatedByUser _SalesQuotation CreatedByUser User Name
CreationDate _SalesQuotation CreationDate Time Stamp
PurchaseOrderByCustomer _SalesQuotation PurchaseOrderByCustomer Purchase Order Number
CustomerPurchaseOrderDate _SalesQuotation CustomerPurchaseOrderDate Purchase Order Date
CostCenter _SalesQuotation CostCenter Cost Center
CreditControlArea _SalesQuotation CreditControlArea Credit Control Area
BillingCompanyCode _SalesQuotation BillingCompanyCode CCodeToBeBilled
SlsOrdShippingType _SalesQuotation ShippingType Shipping Type
OverallSDProcessStatus _SalesQuotation OverallSDProcessStatus
SalesDocApprovalStatus _SalesQuotation SalesDocApprovalStatus
TotalBlockStatus _SalesQuotation TotalBlockStatus
BindingPeriodValidityStartDate _SalesQuotation BindingPeriodValidityStartDate
BindingPeriodValidityEndDate _SalesQuotation BindingPeriodValidityEndDate Binding Period
SalesDocumentType _SalesQuotation SalesDocumentType Sales Doc. Type
_ShippingType _SalesQuotation _ShippingType
_OverallSDProcessStatus _SalesQuotation _OverallSDProcessStatus
_SalesDocApprovalStatus _SalesQuotation _SalesDocApprovalStatus
_TotalBlockStatus _SalesQuotation _TotalBlockStatus
_OverallSDDocumentRejectionSts _SalesQuotation _OverallSDDocumentRejectionSts
_HdrGeneralIncompletionStatus _SalesQuotation _HdrGeneralIncompletionStatus
_HeaderBillgIncompletionStatus _SalesQuotation _HeaderBillgIncompletionStatus
_OverallPricingIncompletionSts _SalesQuotation _OverallPricingIncompletionSts
_OvrlTradeCmplncEmbargoStatus _SalesQuotation _OvrlTradeCmplncEmbargoStatus
_OvTrdCmplncSnctndListChkSts _SalesQuotation _OvTrdCmplncSnctndListChkSts
_OverallChmlCmplncStatus _SalesQuotation _OverallChmlCmplncStatus
_OverallDangerousGoodsStatus _SalesQuotation _OverallDangerousGoodsStatus
_DownPaymentStatus _SalesQuotation _DownPaymentStatus
_BillingCompanyCode _SalesQuotation _BillingCompanyCode
OrganizationBPName1 _SoldToParty OrganizationBPName1 Name 1
OrganizationBPName2 _SoldToParty OrganizationBPName2 Name 2

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_MassChangeSalesQuotationItem.
-- 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_MassChangeSalesQuotationItem AS
SELECT
  cast(_SalesQuotationItem.SalesDocument as sales_quotation preserving type ) AS SalesQuotation,
  SDDocumentCategory,
  cast(SalesDocumentType as sales_quotation_type preserving type ) AS SalesQuotationType,
  SDDocumentReason,
  SalesOrganization,
  DistributionChannel,
  cast(OrganizationDivision as organization_division preserving type ) AS OrganizationDivision,
  SalesOffice,
  SalesGroup,
  SalesDistrict,
  BusinessArea,
  ControllingArea,
  ShippingCondition,
  ProfitCenter,
  cast(_SalesQuotation.SalesDocApprovalReason as sd_apm_approval_reason_vdm preserving type ) AS SalesQuotationApprovalReason,
  AdditionalCustomerGroup1,
  AdditionalCustomerGroup2,
  AdditionalCustomerGroup3,
  AdditionalCustomerGroup4,
  AdditionalCustomerGroup5,
  cast(_SalesQuotation.OverallSDDocumentRejectionSts as ovrl_sd_doc_rejection_status preserving type ) AS OverallSDDocumentRejectionSts,
  cast(_SalesQuotation.HdrGeneralIncompletionStatus as hdr_general_incompltn_status preserving type ) AS HdrGeneralIncompletionStatus,
  cast(_SalesQuotation.HeaderBillgIncompletionStatus as hdrbillgincompletionstatus preserving type ) AS HeaderBillgIncompletionStatus,
  cast(_SalesQuotation.OverallPricingIncompletionSts as ovrl_pricing_incompletion_sts preserving type ) AS OverallPricingIncompletionSts,
  cast(_SalesQuotation.OverallTrdCmplncEmbargoSts as overall_embargo_status preserving type ) AS OverallTrdCmplncEmbargoSts,
  cast(_SalesQuotation.OvrlTrdCmplncSnctndListChkSts as ovrl_watchlist_screening_sts preserving type ) AS OvrlTrdCmplncSnctndListChkSts,
  cast(OvrlTrdCmplncLegalCtrlChkSts as overall_legal_control_status preserving type ) AS OvrlTrdCmplncLegalCtrlChkSts,
  cast(_SalesQuotation.OverallChmlCmplncStatus as ovrl_product_marketability_sts preserving type ) AS OverallChmlCmplncStatus,
  cast(_SalesQuotation.OverallDangerousGoodsStatus as overall_dangerous_goods_status preserving type ) AS OverallDangerousGoodsStatus,
  cast(_SalesQuotation.ContractDownPaymentStatus as hdr_down_payment_status preserving type ) AS ContractDownPaymentStatus,
  SalesDocumentDate AS SalesQuotationDate,
  CustomerPaymentTerms AS PaymentTerms,
  cast(_SalesQuotation.CustomerPaymentTerms as hdr_dzterm preserving type ) AS CustomerPaymentTerms,
  PaymentMethod,
  cast(_SalesQuotation.IncotermsClassification as vdm_header_incoterm1 preserving type ) AS HeaderIncotermsClassification,
  IncotermsClassification,
  IncotermsVersion,
  IncotermsLocation1,
  IncotermsLocation2,
  CustomerGroup,
  SoldToParty,
  ShipToParty,
  BillToParty,
  PayerParty,
  ResponsibleEmployee,
  SalesEmployee,
  TransactionCurrency,
  cast('' as ad_namtext ) AS ShipToPartyName,
  cast('' as ad_namtext ) AS SoldToPartyName,
  cast('' as ad_namtext ) AS BillToPartyName,
  cast('' as ad_namtext ) AS PayerPartyName,
  cast('' as ad_namtext ) AS ResponsibleEmployeeName,
  cast('' as ad_namtext ) AS SalesEmployeeName,
  Material,
  Division,
  _ItemCategory._Text[1:Language = $session.system_language].SalesDocumentItemCategoryName AS SalesQuotationItemCategoryName,
  SalesDocumentItemCategory AS SalesQuotationItemCategory,
  cast(SDProcessStatus as overall_sd_doc_processing_sts preserving type ) AS SDProcessStatus,
  SDDocumentRejectionStatus,
  cast(ItemGeneralIncompletionStatus as item_general_incompletion_sts preserving type ) AS ItemGeneralIncompletionStatus,
  cast(ItemBillingIncompletionStatus as itms_incompltn_sts_billg preserving type ) AS ItemBillingIncompletionStatus,
  cast(PricingIncompletionStatus as pricing_incompletion_status preserving type ) AS PricingIncompletionStatus,
  cast(ItemDeliveryIncompletionStatus as itm_deliv_incompletion_status preserving type ) AS ItemDeliveryIncompletionStatus,
  SDDocReferenceStatus,
  TotalSDDocReferenceStatus,
  TrdCmplncEmbargoSts,
  TrdCmplncSnctndListChkSts,
  ChmlCmplncStatus,
  DangerousGoodsStatus,
  ContractItemDownPaymentStatus,
  _SalesDocumentRjcnReason._Text[1: Language=$session.system_language].SalesDocumentRjcnReasonName AS SalesDocumentRjcnReasonName,
  SalesDocumentRjcnReason,
  _Product._Text[1:Language = $session.system_language].ProductName AS ProductName,
  Product,
  SalesDocumentItemText AS SalesQuotationItemText,
  cast(RequestedQuantity as requested_quantity ) AS RequestedQuantity,
  RequestedQuantityUnit,
  NetAmount,
  cast( ' ' as abap.char( 100 )) AS AdditionalPartnerName,
  cast( ' ' as parvw_unv preserving type ) AS PartnerFunction,
  cast( ' ' as kunnr preserving type ) AS Customer,
  cast( ' ' as lifnr preserving type ) AS Supplier,
  cast( '00000000' as pernr_d preserving type ) AS Personnel,
  cast( '0000000000' as parnr preserving type ) AS ContactPerson,
  hextobin( '00000000000000000000000000000000' ) AS SlsDocMassChangeRequestUUID,
  cast ( 'I' as sd_mcc_entity_level ) AS SlsDocMassChgEntityLevel,
  _SalesQuotationItem.SalesDocumentItem AS SalesQuotationItem,
  _ProfitCenterText.ProfitCenterName AS ProfitCenterName,
  _SalesQuotation.CreatedByUser AS CreatedByUser,
  _SalesQuotation.CreationDate AS CreationDate,
  _SalesQuotation.PurchaseOrderByCustomer AS PurchaseOrderByCustomer,
  _SalesQuotation.CustomerPurchaseOrderDate AS CustomerPurchaseOrderDate,
  _SalesQuotation.CostCenter AS CostCenter,
  _SalesQuotation.CreditControlArea AS CreditControlArea,
  _SalesQuotation.BillingCompanyCode AS BillingCompanyCode,
  _SalesQuotation.ShippingType AS SlsOrdShippingType,
  _SalesQuotation.OverallSDProcessStatus AS OverallSDProcessStatus,
  _SalesQuotation.SalesDocApprovalStatus AS SalesDocApprovalStatus,
  _SalesQuotation.TotalBlockStatus AS TotalBlockStatus,
  _SalesQuotation.BindingPeriodValidityStartDate AS BindingPeriodValidityStartDate,
  _SalesQuotation.BindingPeriodValidityEndDate AS BindingPeriodValidityEndDate,
  _SalesQuotation.SalesDocumentType AS SalesDocumentType,
  _SalesQuotation._ShippingType AS _ShippingType,
  _SalesQuotation._OverallSDProcessStatus AS _OverallSDProcessStatus,
  _SalesQuotation._SalesDocApprovalStatus AS _SalesDocApprovalStatus,
  _SalesQuotation._TotalBlockStatus AS _TotalBlockStatus,
  _SalesQuotation._OverallSDDocumentRejectionSts AS _OverallSDDocumentRejectionSts,
  _SalesQuotation._HdrGeneralIncompletionStatus AS _HdrGeneralIncompletionStatus,
  _SalesQuotation._HeaderBillgIncompletionStatus AS _HeaderBillgIncompletionStatus,
  _SalesQuotation._OverallPricingIncompletionSts AS _OverallPricingIncompletionSts,
  _SalesQuotation._OvrlTradeCmplncEmbargoStatus AS _OvrlTradeCmplncEmbargoStatus,
  _SalesQuotation._OvTrdCmplncSnctndListChkSts AS _OvTrdCmplncSnctndListChkSts,
  _SalesQuotation._OverallChmlCmplncStatus AS _OverallChmlCmplncStatus,
  _SalesQuotation._OverallDangerousGoodsStatus AS _OverallDangerousGoodsStatus,
  _SalesQuotation._DownPaymentStatus AS _DownPaymentStatus,
  _SalesQuotation._BillingCompanyCode AS _BillingCompanyCode,
  _SoldToParty.OrganizationBPName1 AS OrganizationBPName1,
  _SoldToParty.OrganizationBPName2 AS OrganizationBPName2
FROM I_SalesDocumentItem AS _SalesQuotationItem
LEFT OUTER JOIN I_SalesDocument AS _SalesQuotation ON SalesQuotation = _SalesQuotation.SalesDocument  -- association [1..1]
LEFT OUTER JOIN I_SalesDocItemCompletePartner AS _SalesItemCompletePartner ON SalesQuotation = _SalesItemCompletePartner.SalesDocument AND SalesQuotationItem = _SalesItemCompletePartner.SalesDocumentItem  -- association [1..*]
LEFT OUTER JOIN I_SlsDocItmNonStdPartner AS _NonStdPartner ON SalesQuotation = _NonStdPartner.SalesDocument AND SalesQuotationItem = _NonStdPartner.SalesDocumentItem  -- association [0..*]
LEFT OUTER JOIN E_SalesDocumentItemBasic AS _ItemExtension ON SalesQuotation = _ItemExtension.SalesDocument AND SalesQuotationItem = _ItemExtension.SalesDocumentItem  -- association [0..1]
LEFT OUTER JOIN E_SalesDocumentBasic AS _Extension ON SalesQuotation = _Extension.SalesDocument  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenterText AS _ProfitCenterText ON ControllingArea = _ProfitCenterText.ControllingArea AND ProfitCenter = _ProfitCenterText.ProfitCenter AND _ProfitCenterText.ValidityEndDate >= $session.system_date AND _ProfitCenterText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN C_SalesDocPaymentMethodVH AS _PaymentMethod ON PaymentMethod = _PaymentMethod.PaymentMethod AND billingcompanycode = _PaymentMethod.BillingCompanyCode  -- association [0..1]
LEFT OUTER JOIN C_Q2CCustomerQuickView AS _SoldToParty ON SoldToParty = _SoldToParty.Customer  -- association [0..1]
;