R_SalesOrderWithoutChargeTP
Sales Order Without Charge - TP
R_SalesOrderWithoutChargeTP is a Transactional CDS View that provides data about "Sales Order Without Charge - TP" in SAP S/4HANA. It reads from 1 data source (I_SalesOrderWithoutCharge) and exposes 94 fields with key field SalesOrderWithoutCharge. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesOrderWithoutCharge | SalesOrderWithoutCharge | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SlsOrdWthoutChrgPartner | _SoldToParty | $projection.SalesOrderWithoutCharge = _SoldToParty.SalesOrderWithoutCharge and _SoldToParty.PartnerFunction = 'AG' |
| [0..1] | I_SlsOrganizationDistrChnl | _SlsOrganizationDistrChnl | $projection.SalesOrganization = _SlsOrganizationDistrChnl.SalesOrganization and $projection.DistributionChannel = _SlsOrganizationDistrChnl.DistributionChannel |
| [0..*] | R_SlsOrderWithoutChargeItemTP | _Item | |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.sapObjectNodeType.name | SalesOrderWithoutCharge | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Sales Order Without Charge - TP | view |
Fields (94)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrderWithoutCharge | I_SalesOrderWithoutCharge | SalesOrderWithoutCharge | |
| SalesOrderWithoutChargeType | I_SalesOrderWithoutCharge | SalesOrderWithoutChargeType | ||
| SalesOrganization | I_SalesOrderWithoutCharge | SalesOrganization | ||
| DistributionChannel | I_SalesOrderWithoutCharge | DistributionChannel | ||
| ReferenceDistributionChannel | _SlsOrganizationDistrChnl | ReferenceDistributionChannel | ||
| OrganizationDivision | I_SalesOrderWithoutCharge | OrganizationDivision | ||
| SalesGroup | I_SalesOrderWithoutCharge | SalesGroup | ||
| SalesOffice | I_SalesOrderWithoutCharge | SalesOffice | ||
| SalesDistrict | I_SalesOrderWithoutCharge | SalesDistrict | ||
| SoldToParty | I_SalesOrderWithoutCharge | SoldToParty | ||
| CustomerName | _SoldToParty | FullName | ||
| CreatedByUser | I_SalesOrderWithoutCharge | CreatedByUser | ||
| CreationDate | I_SalesOrderWithoutCharge | CreationDate | ||
| CreationTime | I_SalesOrderWithoutCharge | CreationTime | ||
| LastChangedByUser | I_SalesOrderWithoutCharge | LastChangedByUser | ||
| LastChangeDate | I_SalesOrderWithoutCharge | LastChangeDate | ||
| PurchaseOrderByCustomer | I_SalesOrderWithoutCharge | PurchaseOrderByCustomer | ||
| CustomerPurchaseOrderType | I_SalesOrderWithoutCharge | CustomerPurchaseOrderType | ||
| CustomerPurchaseOrderDate | I_SalesOrderWithoutCharge | CustomerPurchaseOrderDate | ||
| CustomerGroup | I_SalesOrderWithoutCharge | CustomerGroup | ||
| SalesOrderWithoutChargeDate | I_SalesOrderWithoutCharge | SalesOrderWithoutChargeDate | ||
| TotalNetAmount | I_SalesOrderWithoutCharge | TotalNetAmount | ||
| TransactionCurrency | I_SalesOrderWithoutCharge | TransactionCurrency | ||
| SDDocumentReason | I_SalesOrderWithoutCharge | SDDocumentReason | ||
| PricingDate | I_SalesOrderWithoutCharge | PricingDate | ||
| ServicesRenderedDate | I_SalesOrderWithoutCharge | ServicesRenderedDate | ||
| FixedValueDate | I_SalesOrderWithoutCharge | FixedValueDate | ||
| CustomerPaymentTerms | I_SalesOrderWithoutCharge | CustomerPaymentTerms | ||
| PaymentMethod | I_SalesOrderWithoutCharge | PaymentMethod | ||
| OverallDeliveryBlockStatus | I_SalesOrderWithoutCharge | OverallDeliveryBlockStatus | ||
| OverallDeliveryStatus | I_SalesOrderWithoutCharge | OverallDeliveryStatus | ||
| HdrGeneralIncompletionStatus | ||||
| OvrlItmGeneralIncompletionSts | ||||
| SalesDocApprovalStatus | SalesDocApprovalStatus | |||
| OverallChmlCmplncStatus | I_SalesOrderWithoutCharge | OverallChmlCmplncStatus | ||
| OverallDangerousGoodsStatus | I_SalesOrderWithoutCharge | OverallDangerousGoodsStatus | ||
| OverallSafetyDataSheetStatus | I_SalesOrderWithoutCharge | OverallSafetyDataSheetStatus | ||
| OverallTrdCmplncEmbargoSts | I_SalesOrderWithoutCharge | OverallTrdCmplncEmbargoSts | ||
| OvrlTrdCmplncSnctndListChkSts | ||||
| OvrlTrdCmplncLegalCtrlChkSts | I_SalesOrderWithoutCharge | OvrlTrdCmplncLegalCtrlChkSts | ||
| ControllingArea | I_SalesOrderWithoutCharge | ControllingArea | ||
| RequestedDeliveryDate | I_SalesOrderWithoutCharge | RequestedDeliveryDate | ||
| DeliveryDateTypeRule | I_SalesOrderWithoutCharge | DeliveryDateTypeRule | ||
| ShippingCondition | I_SalesOrderWithoutCharge | ShippingCondition | ||
| CompleteDeliveryIsDefined | I_SalesOrderWithoutCharge | CompleteDeliveryIsDefined | ||
| ShippingType | I_SalesOrderWithoutCharge | ShippingType | ||
| DeliveryBlockReason | I_SalesOrderWithoutCharge | DeliveryBlockReason | ||
| HeaderBillingBlockReason | I_SalesOrderWithoutCharge | HeaderBillingBlockReason | ||
| SlsOrdWthoutChrgApprvlReason | I_SalesOrderWithoutCharge | SlsOrdWthoutChrgApprvlReason | ||
| IncotermsClassification | I_SalesOrderWithoutCharge | IncotermsClassification | ||
| IncotermsLocation1 | I_SalesOrderWithoutCharge | IncotermsLocation1 | ||
| IncotermsLocation2 | I_SalesOrderWithoutCharge | IncotermsLocation2 | ||
| IncotermsVersion | I_SalesOrderWithoutCharge | IncotermsVersion | ||
| ReferenceSDDocument | I_SalesOrderWithoutCharge | ReferenceSDDocument | ||
| AccountingDocExternalReference | I_SalesOrderWithoutCharge | AccountingDocExternalReference | ||
| OverallSDProcessStatus | I_SalesOrderWithoutCharge | OverallSDProcessStatus | ||
| OverallSDDocumentRejectionSts | I_SalesOrderWithoutCharge | OverallSDDocumentRejectionSts | ||
| _Item | _Item | |||
| _SalesOrderWithoutChargeType | I_SalesOrderWithoutCharge | _SalesOrderWithoutChargeType | ||
| _OrganizationDivision | I_SalesOrderWithoutCharge | _OrganizationDivision | ||
| _CreatedByUser | I_SalesOrderWithoutCharge | _CreatedByUser | ||
| _LastChangedByUser | I_SalesOrderWithoutCharge | _LastChangedByUser | ||
| _CustomerGroup | I_SalesOrderWithoutCharge | _CustomerGroup | ||
| _TransactionCurrency | I_SalesOrderWithoutCharge | _TransactionCurrency | ||
| _IncotermsClassification | I_SalesOrderWithoutCharge | _IncotermsClassification | ||
| _IncotermsVersion | I_SalesOrderWithoutCharge | _IncotermsVersion | ||
| _CustomerPaymentTerms | I_SalesOrderWithoutCharge | _CustomerPaymentTerms | ||
| _OverallDeliveryBlockStatus | I_SalesOrderWithoutCharge | _OverallDeliveryBlockStatus | ||
| _OverallDeliveryStatus | I_SalesOrderWithoutCharge | _OverallDeliveryStatus | ||
| _HdrGeneralIncompletionStatus | I_SalesOrderWithoutCharge | _HdrGeneralIncompletionStatus | ||
| _OvrlItmGeneralIncompletionSts | I_SalesOrderWithoutCharge | _OvrlItmGeneralIncompletionSts | ||
| _SalesDocApprovalStatus | I_SalesOrderWithoutCharge | _SalesDocApprovalStatus | ||
| _OverallChmlCmplncStatus | I_SalesOrderWithoutCharge | _OverallChmlCmplncStatus | ||
| _OverallDangerousGoodsStatus | I_SalesOrderWithoutCharge | _OverallDangerousGoodsStatus | ||
| _OvrlSftyDataSheetSts | I_SalesOrderWithoutCharge | _OvrlSftyDataSheetSts | ||
| _OvrlTradeCmplncEmbargoStatus | I_SalesOrderWithoutCharge | _OvrlTradeCmplncEmbargoStatus | ||
| _OvTrdCmplncSnctndListChkSts | I_SalesOrderWithoutCharge | _OvTrdCmplncSnctndListChkSts | ||
| _OvrlTrdCmplncLegalCtrlChkSts | I_SalesOrderWithoutCharge | _OvrlTrdCmplncLegalCtrlChkSts | ||
| _ControllingArea | I_SalesOrderWithoutCharge | _ControllingArea | ||
| _SDDocumentReason | I_SalesOrderWithoutCharge | _SDDocumentReason | ||
| _DeliveryDateTypeRule | I_SalesOrderWithoutCharge | _DeliveryDateTypeRule | ||
| _ShippingCondition | I_SalesOrderWithoutCharge | _ShippingCondition | ||
| _ShippingType | I_SalesOrderWithoutCharge | _ShippingType | ||
| _HeaderBillingBlockReason | I_SalesOrderWithoutCharge | _HeaderBillingBlockReason | ||
| _DeliveryBlockReason | I_SalesOrderWithoutCharge | _DeliveryBlockReason | ||
| _SlsOrdWthoutChrgApprvlReason | I_SalesOrderWithoutCharge | _SlsOrdWthoutChrgApprvlReason | ||
| _OverallSDProcessStatus | I_SalesOrderWithoutCharge | _OverallSDProcessStatus | ||
| _OverallSDDocumentRejectionSts | I_SalesOrderWithoutCharge | _OverallSDDocumentRejectionSts | ||
| _SalesOrganization | I_SalesOrderWithoutCharge | _SalesOrganization | ||
| _DistributionChannel | I_SalesOrderWithoutCharge | _DistributionChannel | ||
| _SalesGroup | I_SalesOrderWithoutCharge | _SalesGroup | ||
| _SalesOffice | I_SalesOrderWithoutCharge | _SalesOffice | ||
| _SalesDistrict | I_SalesOrderWithoutCharge | _SalesDistrict | ||
| _CustomerPurchaseOrderType | I_SalesOrderWithoutCharge | _CustomerPurchaseOrderType |
@VDM: {
lifecycle.contract.type: #SAP_INTERNAL_API,
viewType: #TRANSACTIONAL
}
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #('TRANSACTIONAL_DATA'),
privilegedAssociations: [ '_CreatedByUser', '_LastChangedByUser'] }
@ObjectModel: {
sapObjectNodeType:{
name: 'SalesOrderWithoutCharge'
},
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #L
},
semanticKey: ['SalesOrderWithoutCharge']
}
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Sales Order Without Charge - TP'
define root view entity R_SalesOrderWithoutChargeTP
as select from I_SalesOrderWithoutCharge as SalesOrderWithoutCharge
composition [0..*] of R_SlsOrderWithoutChargeItemTP as _Item
association [0..1] to I_SlsOrdWthoutChrgPartner as _SoldToParty on $projection.SalesOrderWithoutCharge = _SoldToParty.SalesOrderWithoutCharge
and _SoldToParty.PartnerFunction = 'AG'
association [0..1] to I_SlsOrganizationDistrChnl as _SlsOrganizationDistrChnl on $projection.SalesOrganization = _SlsOrganizationDistrChnl.SalesOrganization
and $projection.DistributionChannel = _SlsOrganizationDistrChnl.DistributionChannel
{
key SalesOrderWithoutCharge.SalesOrderWithoutCharge,
@ObjectModel.foreignKey.association: '_SalesOrderWithoutChargeType'
SalesOrderWithoutCharge.SalesOrderWithoutChargeType,
@ObjectModel.foreignKey.association: '_SalesOrganization'
SalesOrderWithoutCharge.SalesOrganization,
@ObjectModel.foreignKey.association: '_DistributionChannel'
SalesOrderWithoutCharge.DistributionChannel,
_SlsOrganizationDistrChnl.ReferenceDistributionChannel,
@ObjectModel.foreignKey.association: '_OrganizationDivision'
SalesOrderWithoutCharge.OrganizationDivision,
@ObjectModel.foreignKey.association: '_SalesGroup'
SalesOrderWithoutCharge.SalesGroup,
@ObjectModel.foreignKey.association: '_SalesOffice'
SalesOrderWithoutCharge.SalesOffice,
@ObjectModel.foreignKey.association: '_SalesDistrict'
SalesOrderWithoutCharge.SalesDistrict,
@ObjectModel.text.element: ['CustomerName']
SalesOrderWithoutCharge.SoldToParty,
@Semantics.text:true
_SoldToParty.FullName as CustomerName,
@ObjectModel.foreignKey.association: '_CreatedByUser'
SalesOrderWithoutCharge.CreatedByUser,
SalesOrderWithoutCharge.CreationDate,
SalesOrderWithoutCharge.CreationTime,
cast( dats_tims_to_tstmp( SalesOrderWithoutCharge.CreationDate, SalesOrderWithoutCharge.CreationTime, abap_system_timezone( $session.client, 'NULL' ),
$session.client, 'NULL' ) as creation_date_time ) as SalesDocumentCreationDateTime,
@ObjectModel.foreignKey.association: '_LastChangedByUser'
SalesOrderWithoutCharge.LastChangedByUser,
SalesOrderWithoutCharge.LastChangeDate,
case tstmp_is_valid(cast(SalesOrderWithoutCharge.LastChangeDateTime as abap.dec(15,0)))
when 0 then cast( dats_tims_to_tstmp( SalesOrderWithoutCharge.CreationDate, SalesOrderWithoutCharge.CreationTime, 'UTC', $session.client, 'NULL' ) as last_changed_date_time )
else cast( SalesOrderWithoutCharge.LastChangeDateTime as last_changed_date_time )
end as LastChangeDateTime,
SalesOrderWithoutCharge.PurchaseOrderByCustomer,
@ObjectModel.foreignKey.association: '_CustomerPurchaseOrderType'
SalesOrderWithoutCharge.CustomerPurchaseOrderType,
SalesOrderWithoutCharge.CustomerPurchaseOrderDate,
@ObjectModel.foreignKey.association: '_CustomerGroup'
SalesOrderWithoutCharge.CustomerGroup,
SalesOrderWithoutCharge.SalesOrderWithoutChargeDate,
@Semantics.amount.currencyCode: 'TransactionCurrency'
SalesOrderWithoutCharge.TotalNetAmount,
@ObjectModel.foreignKey.association: '_TransactionCurrency'
SalesOrderWithoutCharge.TransactionCurrency,
@ObjectModel.foreignKey.association: '_SDDocumentReason'
SalesOrderWithoutCharge.SDDocumentReason,
SalesOrderWithoutCharge.PricingDate,
SalesOrderWithoutCharge.ServicesRenderedDate,
// BillingDocumentDate,
SalesOrderWithoutCharge.FixedValueDate,
// @ObjectModel.foreignKey.association: '_CustomerPriceGroup'
// CustomerPriceGroup,
@ObjectModel.foreignKey.association: '_CustomerPaymentTerms'
SalesOrderWithoutCharge.CustomerPaymentTerms,
SalesOrderWithoutCharge.PaymentMethod,
@ObjectModel.foreignKey.association: '_OverallDeliveryBlockStatus'
SalesOrderWithoutCharge.OverallDeliveryBlockStatus,
@ObjectModel.foreignKey.association: '_OverallDeliveryStatus'
SalesOrderWithoutCharge.OverallDeliveryStatus,
@ObjectModel.foreignKey.association: '_HdrGeneralIncompletionStatus'
cast(SalesOrderWithoutCharge.HdrGeneralIncompletionStatus as hdr_general_incompltn_status preserving type ) as HdrGeneralIncompletionStatus,
@ObjectModel.foreignKey.association: '_OvrlItmGeneralIncompletionSts'
cast(SalesOrderWithoutCharge.OvrlItmGeneralIncompletionSts as itms_ovrl_incompletion_status preserving type ) as OvrlItmGeneralIncompletionSts,
@ObjectModel.foreignKey.association: '_SalesDocApprovalStatus'
SalesDocApprovalStatus,
@ObjectModel.foreignKey.association: '_OverallChmlCmplncStatus'
SalesOrderWithoutCharge.OverallChmlCmplncStatus,
@ObjectModel.foreignKey.association: '_OverallDangerousGoodsStatus'
SalesOrderWithoutCharge.OverallDangerousGoodsStatus,
@ObjectModel.foreignKey.association: '_OvrlSftyDataSheetSts'
SalesOrderWithoutCharge.OverallSafetyDataSheetStatus,
@ObjectModel.foreignKey.association: '_OvrlTradeCmplncEmbargoStatus'
SalesOrderWithoutCharge.OverallTrdCmplncEmbargoSts,
@ObjectModel.foreignKey.association: '_OvTrdCmplncSnctndListChkSts'
cast(SalesOrderWithoutCharge.OvrlTrdCmplncSnctndListChkSts as totwatchlistscrngchksts preserving type ) as OvrlTrdCmplncSnctndListChkSts,
@ObjectModel.foreignKey.association: '_OvrlTrdCmplncLegalCtrlChkSts'
SalesOrderWithoutCharge.OvrlTrdCmplncLegalCtrlChkSts,
@ObjectModel.foreignKey.association: '_ControllingArea'
SalesOrderWithoutCharge.ControllingArea,
SalesOrderWithoutCharge.RequestedDeliveryDate,
@ObjectModel.foreignKey.association: '_DeliveryDateTypeRule'
SalesOrderWithoutCharge.DeliveryDateTypeRule,
@ObjectModel.foreignKey.association: '_ShippingCondition'
SalesOrderWithoutCharge.ShippingCondition,
SalesOrderWithoutCharge.CompleteDeliveryIsDefined,
@ObjectModel.foreignKey.association: '_ShippingType'
SalesOrderWithoutCharge.ShippingType,
@ObjectModel.foreignKey.association: '_DeliveryBlockReason'
SalesOrderWithoutCharge.DeliveryBlockReason,
@ObjectModel.foreignKey.association: '_HeaderBillingBlockReason'
SalesOrderWithoutCharge.HeaderBillingBlockReason,
@ObjectModel.foreignKey.association: '_SlsOrdWthoutChrgApprvlReason'
SalesOrderWithoutCharge.SlsOrdWthoutChrgApprvlReason,
@ObjectModel.foreignKey.association: '_IncotermsClassification'
SalesOrderWithoutCharge.IncotermsClassification,
// IncotermsTransferLocation,
SalesOrderWithoutCharge.IncotermsLocation1,
SalesOrderWithoutCharge.IncotermsLocation2,
@ObjectModel.foreignKey.association: '_IncotermsVersion'
SalesOrderWithoutCharge.IncotermsVersion,
// CostCenter,
SalesOrderWithoutCharge.ReferenceSDDocument,
SalesOrderWithoutCharge.AccountingDocExternalReference,
// Status
@ObjectModel.foreignKey.association: '_OverallSDProcessStatus'
SalesOrderWithoutCharge.OverallSDProcessStatus,
@ObjectModel.foreignKey.association: '_OverallSDDocumentRejectionSts'
SalesOrderWithoutCharge.OverallSDDocumentRejectionSts,
// Compositions
_Item,
// Associations
SalesOrderWithoutCharge._SalesOrderWithoutChargeType,
SalesOrderWithoutCharge._OrganizationDivision,
SalesOrderWithoutCharge._CreatedByUser,
SalesOrderWithoutCharge._LastChangedByUser,
SalesOrderWithoutCharge._CustomerGroup,
SalesOrderWithoutCharge._TransactionCurrency,
SalesOrderWithoutCharge._IncotermsClassification,
SalesOrderWithoutCharge._IncotermsVersion,
SalesOrderWithoutCharge._CustomerPaymentTerms,
SalesOrderWithoutCharge._OverallDeliveryBlockStatus,
SalesOrderWithoutCharge._OverallDeliveryStatus,
SalesOrderWithoutCharge._HdrGeneralIncompletionStatus,
SalesOrderWithoutCharge._OvrlItmGeneralIncompletionSts,
SalesOrderWithoutCharge._SalesDocApprovalStatus,
SalesOrderWithoutCharge._OverallChmlCmplncStatus,
SalesOrderWithoutCharge._OverallDangerousGoodsStatus,
SalesOrderWithoutCharge._OvrlSftyDataSheetSts,
SalesOrderWithoutCharge._OvrlTradeCmplncEmbargoStatus,
SalesOrderWithoutCharge._OvTrdCmplncSnctndListChkSts,
SalesOrderWithoutCharge._OvrlTrdCmplncLegalCtrlChkSts,
SalesOrderWithoutCharge._ControllingArea,
SalesOrderWithoutCharge._SDDocumentReason,
SalesOrderWithoutCharge._DeliveryDateTypeRule,
SalesOrderWithoutCharge._ShippingCondition,
SalesOrderWithoutCharge._ShippingType,
SalesOrderWithoutCharge._HeaderBillingBlockReason,
SalesOrderWithoutCharge._DeliveryBlockReason,
SalesOrderWithoutCharge._SlsOrdWthoutChrgApprvlReason,
SalesOrderWithoutCharge._OverallSDProcessStatus,
SalesOrderWithoutCharge._OverallSDDocumentRejectionSts,
SalesOrderWithoutCharge._SalesOrganization,
SalesOrderWithoutCharge._DistributionChannel,
SalesOrderWithoutCharge._SalesGroup,
SalesOrderWithoutCharge._SalesOffice,
SalesOrderWithoutCharge._SalesDistrict,
SalesOrderWithoutCharge._CustomerPurchaseOrderType
}
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