P_MassChgSlsDocHdrReadRequest
Mass Chg of Sales Doc Header Read Req
P_MassChgSlsDocHdrReadRequest is a Consumption CDS View that provides data about "Mass Chg of Sales Doc Header Read Req" in SAP S/4HANA. It reads from 1 data source (I_SalesDocument) and exposes 39 fields with key field SalesDocument. Part of development package SD_CHANGE_COCKPIT_ODATA.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocument | SalesDocument | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Mass Chg of Sales Doc Header Read Req | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | SalesDocument | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | I_SalesDocument | SalesDocument | |
| SalesDocumentType | SalesDocumentType | |||
| SalesOrganization | SalesOrganization | |||
| DistributionChannel | DistributionChannel | |||
| OrganizationDivision | OrganizationDivision | |||
| SDDocumentCategory | SDDocumentCategory | |||
| SalesGroup | I_SalesDocument | SalesGroup | ||
| SalesGroupName | ||||
| SalesOffice | I_SalesDocument | SalesOffice | ||
| SalesOfficeName | ||||
| SalesDistrict | I_SalesDocument | SalesDistrict | ||
| SalesDistrictName | ||||
| RequestedDeliveryDate | I_SalesDocument | RequestedDeliveryDate | ||
| ShippingCondition | I_SalesDocument | ShippingCondition | ||
| ShippingConditionName | ||||
| IncotermsClassification | I_SalesDocument | IncotermsClassification | ||
| IncotermsClassificationName | ||||
| IncotermsTransferLocation | I_SalesDocument | IncotermsTransferLocation | ||
| IncotermsLocation1 | I_SalesDocument | IncotermsLocation1 | ||
| IncotermsLocation2 | I_SalesDocument | IncotermsLocation2 | ||
| IncotermsVersion | I_SalesDocument | IncotermsVersion | ||
| IncotermsVersionName | ||||
| DeliveryBlockReason | I_SalesDocument | DeliveryBlockReason | ||
| ShippingType | I_SalesDocument | ShippingType | ||
| ShippingTypeName | ||||
| PricingDate | I_SalesDocument | PricingDate | ||
| PurchaseOrderByCustomer | I_SalesDocument | PurchaseOrderByCustomer | ||
| CompleteDeliveryIsDefined | I_SalesDocument | CompleteDeliveryIsDefined | ||
| TransactionCurrency | I_SalesDocument | TransactionCurrency | ||
| CurrencyName | ||||
| HeaderBillingBlockReason | I_SalesDocument | HeaderBillingBlockReason | ||
| BillingDocumentDate | I_SalesDocument | BillingDocumentDate | ||
| CustomerPurchaseOrderDate | I_SalesDocument | CustomerPurchaseOrderDate | ||
| SalesDocumentDate | I_SalesDocument | SalesDocumentDate | ||
| SDDocumentReason | I_SalesDocument | SDDocumentReason | ||
| SDDocumentReasonText | ||||
| CustomerPaymentTerms | I_SalesDocument | CustomerPaymentTerms | ||
| CustomerPaymentTermsName | ||||
| PaymentMethod | I_SalesDocument | PaymentMethod |
@EndUserText.label: 'Mass Chg of Sales Doc Header Read Req'
@VDM: {
viewType: #CONSUMPTION,
private: true
}
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
representativeKey: 'SalesDocument',
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #S
}
}
define view entity P_MassChgSlsDocHdrReadRequest
as select from I_SalesDocument as SalesDocument
//Extensibility
// association [0..1] to E_SalesDocumentBasic as _Extension on SalesDocument.SalesDocument = _Extension.SalesDocument
{
key SalesDocument.SalesDocument,
SalesDocumentType,
//Organization
SalesOrganization,
DistributionChannel,
OrganizationDivision,
SDDocumentCategory,
@ObjectModel.text.element: ['SalesGroupName']
SalesDocument.SalesGroup as SalesGroup,
SalesDocument._SalesGroup._Text[1:Language = $session.system_language].SalesGroupName,
@ObjectModel.text.element: ['SalesOfficeName']
SalesDocument.SalesOffice as SalesOffice,
SalesDocument._SalesOffice._Text[1:Language = $session.system_language].SalesOfficeName,
@ObjectModel.text.element: ['SalesDistrictName']
SalesDocument.SalesDistrict as SalesDistrict,
SalesDocument._SalesDistrict._Text[1:Language = $session.system_language].SalesDistrictName,
SalesDocument.RequestedDeliveryDate as RequestedDeliveryDate,
@ObjectModel.text.element: ['ShippingConditionName']
SalesDocument.ShippingCondition as ShippingCondition,
SalesDocument._ShippingCondition._Text[1:Language = $session.system_language].ShippingConditionName,
@ObjectModel.text.element: ['IncotermsClassificationName']
SalesDocument.IncotermsClassification as IncotermsClassification,
SalesDocument._IncotermsClassification._Text[1:Language = $session.system_language].IncotermsClassificationName,
SalesDocument.IncotermsTransferLocation as IncotermsTransferLocation,
SalesDocument.IncotermsLocation1 as IncotermsLocation1,
SalesDocument.IncotermsLocation2 as IncotermsLocation2,
@ObjectModel.text.element: ['IncotermsVersionName']
SalesDocument.IncotermsVersion as IncotermsVersion,
SalesDocument._IncotermsVersion._Text[1:Language = $session.system_language].IncotermsVersionName,
SalesDocument.DeliveryBlockReason as DeliveryBlockReason,
@ObjectModel.text.element: ['ShippingTypeName']
SalesDocument.ShippingType as ShippingType,
SalesDocument._ShippingType._Text[1:Language = $session.system_language].ShippingTypeName,
SalesDocument.PricingDate as PricingDate,
SalesDocument.PurchaseOrderByCustomer as PurchaseOrderByCustomer,
SalesDocument.CompleteDeliveryIsDefined as CompleteDeliveryIsDefined,
@ObjectModel.text.element: ['CurrencyName']
SalesDocument.TransactionCurrency as TransactionCurrency,
SalesDocument._TransactionCurrency._Text[1:Language = $session.system_language].CurrencyName,
SalesDocument.HeaderBillingBlockReason as HeaderBillingBlockReason,
SalesDocument.BillingDocumentDate as BillingDocumentDate,
SalesDocument.CustomerPurchaseOrderDate as CustomerPurchaseOrderDate,
SalesDocument.SalesDocumentDate as SalesDocumentDate,
@ObjectModel.text.element: ['SDDocumentReasonText']
SalesDocument.SDDocumentReason as SDDocumentReason,
SalesDocument._SDDocumentReason._Text[1:Language = $session.system_language].SDDocumentReasonText,
@ObjectModel.text.element: ['CustomerPaymentTermsName']
SalesDocument.CustomerPaymentTerms as CustomerPaymentTerms,
SalesDocument._CustomerPaymentTerms._Text[1:Language = $session.system_language].CustomerPaymentTermsName,
SalesDocument.PaymentMethod as PaymentMethod
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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