I_SalesContractItemImport
Sales Contract Item for Import
I_SalesContractItemImport is a Transactional CDS View that provides data about "Sales Contract Item for Import" in SAP S/4HANA. It reads from 1 data source (R_SalesContractItemTP) and exposes 134 fields with key fields SalesContract, SalesContractItem. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_SalesContractItemTP | _SalesContractItem | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SalesContractImport | _SalesContract | $projection.SalesContract = _SalesContract.SalesContract |
| [0..*] | I_SalesDocumentItemPartner | _Partner | $projection.SalesContract = _Partner.SalesDocument and $projection.SalesContractItem = _Partner.SalesDocumentItem |
| [0..*] | I_SlsContrItemPricingElement | _PricingElement | $projection.SalesContract = _PricingElement.SalesContract and $projection.SalesContractItem = _PricingElement.SalesContractItem |
| [0..1] | E_SalesDocumentItemBasic | _Extension | _SalesContractItem.SalesContract = _Extension.SalesDocument and _SalesContractItem.SalesContract = _Extension.SalesDocumentItem |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Sales Contract Item for Import | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (134)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesContract | SalesContract | Sales Document | |
| KEY | SalesContractItem | SalesContractItem | Item | |
| SalesContractItemCategory | SalesContractItemCategory | |||
| SalesDocumentItemType | SalesDocumentItemType | |||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreationTime | CreationTime | Time of Change | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| Division | Division | Internal Division ID | ||
| Product | Product | Product Sold | ||
| MaterialByCustomer | MaterialByCustomer | Customer Mat. | ||
| ProductGroup | ProductGroup | Product Sold Group | ||
| MaterialPricingGroup | MaterialPricingGroup | |||
| Plant | Plant | Valuation Area | ||
| Batch | Batch | Lot No. | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| SalesContractItemText | SalesContractItemText | |||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | Purchase Order Number | ||
| OrderQuantity | OrderQuantity | Quantity | ||
| OrderQuantityUnit | OrderQuantityUnit | Sales Unit | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| TargetQuantity | TargetQuantity | Target Quantity | ||
| TargetQuantityUnit | TargetQuantityUnit | Target Qty UoM | ||
| RequestedQuantity | RequestedQuantity | Requested Quantity | ||
| RequestedQuantityUnit | RequestedQuantityUnit | Requested Quantity Unit | ||
| RequestedQuantityInBaseUnit | RequestedQuantityInBaseUnit | Requested Qty | ||
| ItemGrossWeight | ItemGrossWeight | Gross Weight | ||
| ItemNetWeight | ItemNetWeight | Net Weight | ||
| ItemWeightUnit | ItemWeightUnit | Unit of Weight | ||
| ItemVolume | ItemVolume | Volume | ||
| ItemVolumeUnit | ItemVolumeUnit | Volume Unit | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| SalesDocumentRjcnReason | SalesDocumentRjcnReason | RejectionReason | ||
| SalesContractReleasedAmount | SalesContractReleasedAmount | |||
| ServicesRenderedDate | ServicesRenderedDate | Services Rendered Date | ||
| TargetAmount | ||||
| NetAmount | NetAmount | Stated Amount | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| PricingDate | PricingDate | Pricing Date | ||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| NetPriceQuantity | NetPriceQuantity | Price Unit | ||
| NetPriceQuantityUnit | NetPriceQuantityUnit | SettlmtPrcUnit | ||
| CustomerPriceGroup | CustomerPriceGroup | CustPrice Group | ||
| TaxAmount | TaxAmount | Tax Amt in Rptg Crcy | ||
| CostAmount | CostAmount | |||
| ShippingPoint | ShippingPoint | Shipping Point | ||
| ShippingType | ShippingType | Shipping Type | ||
| Route | Route | Vehicle route | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms 2 | ||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Inco. Location2 | ||
| IncotermsVersion | IncotermsVersion | Inco. Version | ||
| BillingDocumentDate | BillingDocumentDate | Billing Date | ||
| ItemBillingBlockReason | ItemBillingBlockReason | Billing Block | ||
| BillingBlockStatus | BillingBlockStatus | |||
| BillingPlan | BillingPlan | Bill. Plan No. | ||
| MatlAccountAssignmentGroup | MatlAccountAssignmentGroup | |||
| CustomerPaymentTerms | CustomerPaymentTerms | Pyt Terms | ||
| PaymentMethod | PaymentMethod | Pymt Meth. | ||
| FixedValueDate | FixedValueDate | Fixed Val. Date | ||
| BusinessArea | BusinessArea | Business Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| ReferenceSDDocument | ReferenceSDDocument | Reference Doc. | ||
| SDProcessStatus | SDProcessStatus | |||
| ItemGeneralIncompletionStatus | ItemGeneralIncompletionStatus | |||
| ItemBillingIncompletionStatus | ItemBillingIncompletionStatus | |||
| PricingIncompletionStatus | PricingIncompletionStatus | |||
| ItemDeliveryIncompletionStatus | ItemDeliveryIncompletionStatus | |||
| SDDocumentRejectionStatus | SDDocumentRejectionStatus | |||
| TotalSDDocReferenceStatus | TotalSDDocReferenceStatus | |||
| SDDocReferenceStatus | SDDocReferenceStatus | |||
| ContractItemDownPaymentStatus | ContractItemDownPaymentStatus | |||
| ChmlCmplncStatus | ChmlCmplncStatus | |||
| DangerousGoodsStatus | DangerousGoodsStatus | |||
| SafetyDataSheetStatus | SafetyDataSheetStatus | |||
| TrdCmplncEmbargoSts | TrdCmplncEmbargoSts | Embargo Status | ||
| TrdCmplncSnctndListChkSts | TrdCmplncSnctndListChkSts | Screening Status | ||
| OvrlTrdCmplncLegalCtrlChkSts | OvrlTrdCmplncLegalCtrlChkSts | |||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| _SalesContract | _SalesContract | |||
| _Partner | _Partner | |||
| _ItemText | _ItemText | |||
| _PricingElement | _PricingElement | |||
| _ItemCategory | _ItemCategory | |||
| _CreatedByUser | _CreatedByUser | |||
| _Division | _Division | |||
| _Product | _Product | |||
| _ItemBillingPlan | _ItemBillingPlan | |||
| _ProductGroup | _ProductGroup | |||
| _ProductPricingGroup | _ProductPricingGroup | |||
| _Plant | _Plant | |||
| _StorageLocation | _StorageLocation | |||
| _OrderQuantityUnit | _OrderQuantityUnit | |||
| _BaseUnit | _BaseUnit | |||
| _TargetQuantityUnit | _TargetQuantityUnit | |||
| _RequestedQuantityUnit | _RequestedQuantityUnit | |||
| _ItemWeightUnit | _ItemWeightUnit | |||
| _ItemVolumeUnit | _ItemVolumeUnit | |||
| _CustomerGroup | _CustomerGroup | |||
| _SalesDocumentRjcnReason | _SalesDocumentRjcnReason | |||
| _ContractItemDownPaymentStatus | _ContractItemDownPaymentStatus | |||
| _NetPriceQuantityUnit | _NetPriceQuantityUnit | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _ShippingPoint | _ShippingPoint | |||
| _IncotermsClassification | _IncotermsClassification | |||
| _IncotermsVersion | _IncotermsVersion | |||
| _ItemBillingBlockReason | _ItemBillingBlockReason | |||
| _CustomerPaymentTerms | _CustomerPaymentTerms | |||
| _BusinessArea | _BusinessArea | |||
| _ReferenceSDDocument | _ReferenceSDDocument | |||
| _BillingBlockStatus | _BillingBlockStatus | |||
| _SDProcessStatus | _SDProcessStatus | |||
| _SDDocumentRejectionStatus | _SDDocumentRejectionStatus | |||
| _ItemGeneralIncompletionStatus | _ItemGeneralIncompletionStatus | |||
| _ItemBillingIncompletionStatus | _ItemBillingIncompletionStatus | |||
| _PricingIncompletionStatus | _PricingIncompletionStatus | |||
| _ItemDelivIncompletionSts | _ItemDelivIncompletionSts | |||
| _TotalSDDocReferenceStatus | _TotalSDDocReferenceStatus | |||
| _SDDocReferenceStatus | _SDDocReferenceStatus | |||
| _ShippingType | _ShippingType | |||
| _Route | _Route | |||
| _CustomerPriceGroup | _CustomerPriceGroup | |||
| _ChmlCmplncStatus | _ChmlCmplncStatus | |||
| _DangerousGoodsStatus | _DangerousGoodsStatus | |||
| _SafetyDataSheetStatus | _SafetyDataSheetStatus | |||
| _TrdCmplncEmbargoSts | _TrdCmplncEmbargoSts | |||
| _TrdCmplncSnctndListChkSts | _TrdCmplncSnctndListChkSts | |||
| _OvrlTrdCmplncLegalCtrlChkSts | _OvrlTrdCmplncLegalCtrlChkSts | |||
| _MatlAccountAssignmentGroup | _MatlAccountAssignmentGroup | |||
| _WBSElementExternalID | _WBSElementExternalID | |||
| _BusinessAreaText | _BusinessAreaText | |||
| _ShippingPointText | _ShippingPointText |
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_SalesContractItemImport.
-- 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_SalesContractItemImport AS
SELECT
SalesContract,
SalesContractItem,
SalesContractItemCategory,
SalesDocumentItemType,
CreatedByUser,
CreationDate,
CreationTime,
LastChangeDate,
Division,
Product,
MaterialByCustomer,
ProductGroup,
MaterialPricingGroup,
Plant,
Batch,
StorageLocation,
SalesContractItemText,
PurchaseOrderByCustomer,
OrderQuantity,
OrderQuantityUnit,
BaseUnit,
TargetQuantity,
TargetQuantityUnit,
RequestedQuantity,
RequestedQuantityUnit,
RequestedQuantityInBaseUnit,
ItemGrossWeight,
ItemNetWeight,
ItemWeightUnit,
ItemVolume,
ItemVolumeUnit,
CustomerGroup,
SalesDocumentRjcnReason,
SalesContractReleasedAmount,
ServicesRenderedDate,
cast ( OutlineAgreementTargetAmount as sales_contract_target_value ) AS TargetAmount,
NetAmount,
TransactionCurrency,
PricingDate,
NetPriceAmount,
NetPriceQuantity,
NetPriceQuantityUnit,
CustomerPriceGroup,
TaxAmount,
CostAmount,
ShippingPoint,
ShippingType,
Route,
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
IncotermsVersion,
BillingDocumentDate,
ItemBillingBlockReason,
BillingBlockStatus,
BillingPlan,
MatlAccountAssignmentGroup,
CustomerPaymentTerms,
PaymentMethod,
FixedValueDate,
BusinessArea,
ControllingArea,
ProfitCenter,
ReferenceSDDocument,
SDProcessStatus,
ItemGeneralIncompletionStatus,
ItemBillingIncompletionStatus,
PricingIncompletionStatus,
ItemDeliveryIncompletionStatus,
SDDocumentRejectionStatus,
TotalSDDocReferenceStatus,
SDDocReferenceStatus,
ContractItemDownPaymentStatus,
ChmlCmplncStatus,
DangerousGoodsStatus,
SafetyDataSheetStatus,
TrdCmplncEmbargoSts,
TrdCmplncSnctndListChkSts,
OvrlTrdCmplncLegalCtrlChkSts,
WBSElementExternalID
FROM R_SalesContractItemTP AS _SalesContractItem
LEFT OUTER JOIN I_SalesContractImport AS _SalesContract ON SalesContract = _SalesContract.SalesContract -- association [1..1]
LEFT OUTER JOIN I_SalesDocumentItemPartner AS _Partner ON SalesContract = _Partner.SalesDocument AND SalesContractItem = _Partner.SalesDocumentItem -- association [0..*]
LEFT OUTER JOIN I_SlsContrItemPricingElement AS _PricingElement ON SalesContract = _PricingElement.SalesContract AND SalesContractItem = _PricingElement.SalesContractItem -- association [0..*]
LEFT OUTER JOIN E_SalesDocumentItemBasic AS _Extension ON _SalesContractItem.SalesContract = _Extension.SalesDocument AND _SalesContractItem.SalesContract = _Extension.SalesDocumentItem -- 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