C_RFM_PrvsnlSlsContrGnrcItm
Provisional Sales Contract Generic Item
C_RFM_PrvsnlSlsContrGnrcItm is a Consumption CDS View that provides data about "Provisional Sales Contract Generic Item" in SAP S/4HANA. It reads from 1 data source (I_RFM_PrvsnlSlsContrGnrcItm) and exposes 156 fields with key fields SalesContract, SalesContractItem. It has 4 associations to related views. It is exposed through 1 OData service (UI_RFM_PRVSNLSLSCONTR). It is used in 1 Fiori application: Manage Provisional Sales Contracts - Fashion.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_RFM_PrvsnlSlsContrGnrcItm | I_RFM_PrvsnlSlsContrGnrcItm | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | C_RFM_PrvsnlSlsContrItm | _Item | $projection.SalesContract = _Item.SalesContract and $projection.SalesContractItem = _Item.HigherLevelItem |
| [1..*] | C_RFM_PrvsnlSlsContrVarItems | _VarItems | $projection.SalesContract = _VarItems.SalesContract and $projection.SalesContractItem = _VarItems.SalesContractItem |
| [1..1] | I_SalesDocumentItem | _SalesDocumentItem | $projection.SalesContract = _SalesDocumentItem.SalesDocument and $projection.SalesContractItem = _SalesDocumentItem.SalesDocumentItem |
| [0..1] | I_ARunDocumentStatus | _ARunDocumentStatus | $projection.ARunDocumentStatus = _ARunDocumentStatus.ARunDocumentStatus |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CRFMPRVSNLGNRITM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Provisional Sales Contract Generic Item | view | |
| Metadata.allowExtensions | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_RFM_PRVSNLSLSCONTR | UI_RFM_PRVSNLSLSCONTR | V2 | C1 | NOT_RELEASED |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F5398 | Manage Provisional Sales Contracts - Fashion | Transactional | Manage Provisional Sales Contracts - Fashion. This is used to create the special types of contracts and the call off |
Manage Provisional Sales Contracts - Fashion
Business Role: Order Fulfillment Specialist (Retail)
With this app, you can display the provisional sales contract details at header and generic product levels, so you can get a complete view of different items in these contracts. You can also use this app to create provisional sales contracts as well as create subsequent orders (call-offs) for these contracts.
Fields (156)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesContract | SalesContract | Sales Document | |
| KEY | SalesContractItem | SalesContractItem | Item | |
| FormattedSalesDocumentItem | FormattedSalesDocumentItem | |||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| SoldToParty | SoldToParty | Sold-to Party | ||
| CreatedByUser | CreatedByUser | User Name | ||
| SDDocumentCategory | SDDocumentCategory | Document Cat. | ||
| OverallSDProcessStatus | OverallSDProcessStatus | |||
| OverallTotalDeliveryStatus | OverallTotalDeliveryStatus | |||
| TotalBlockStatus | TotalBlockStatus | |||
| SalesDocumentType | SalesDocumentType | Sales Doc. Type | ||
| SalesGroup | SalesGroup | Sales Group | ||
| SalesOffice | SalesOffice | Sales Office | ||
| ShippingCondition | ShippingCondition | Shipping Conditions | ||
| CreationDate | CreationDate | Time Stamp | ||
| SDDocumentReason | SDDocumentReason | Order Reason | ||
| CustomerPurchaseOrderDate | CustomerPurchaseOrderDate | Purchase Order Date | ||
| SalesDocumentDate | SalesDocumentDate | Document Date | ||
| HdrGeneralIncompletionStatus | HdrGeneralIncompletionStatus | |||
| OvrlItmGeneralIncompletionSts | OvrlItmGeneralIncompletionSts | |||
| TotalCreditCheckStatus | TotalCreditCheckStatus | |||
| DeliveryBlockReason | DeliveryBlockReason | Delivery Block | ||
| HeaderBillingBlockReason | HeaderBillingBlockReason | Billing Block | ||
| HeaderBillgIncompletionStatus | HeaderBillgIncompletionStatus | |||
| OvrlItmBillingIncompletionSts | OvrlItmBillingIncompletionSts | |||
| OverallPricingIncompletionSts | OverallPricingIncompletionSts | |||
| HeaderDelivIncompletionStatus | HeaderDelivIncompletionStatus | |||
| OvrlItmDelivIncompletionSts | OvrlItmDelivIncompletionSts | |||
| CustomerPurchaseOrderType | CustomerPurchaseOrderType | |||
| Material | Material | Vehicle Model | ||
| RequirementSegment | RequirementSegment | Req. Segment | ||
| Plant | Plant | Valuation Area | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| ShippingPoint | ShippingPoint | Shipping Point | ||
| DeliveryPriority | DeliveryPriority | Delivery Prior. | ||
| CustomerPaymentTerms | CustomerPaymentTerms | Pyt Terms | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| ProductCharacteristic1 | ProductCharacteristic1 | Characteristic 1 | ||
| ProductCharacteristic2 | ProductCharacteristic2 | Characteristic 2 | ||
| ProductCharacteristic3 | ProductCharacteristic3 | Characteristic 3 | ||
| ProductSeasonYear | ProductSeasonYear | Season Year | ||
| ProductSeason | ProductSeason | Season | ||
| ProductCollection | ProductCollection | Collection | ||
| ProductTheme | ProductTheme | Theme | ||
| ShippingGroupRule | ShippingGroupRule | PSST Grouping Rule | ||
| ShippingGroupNumber | ShippingGroupNumber | PSST Group | ||
| Batch | Batch | Lot No. | ||
| FashionCancelDate | FashionCancelDate | |||
| OrderQuantity | OrderQuantity | Quantity | ||
| OrderQuantityUnit | OrderQuantityUnit | Sales Unit | ||
| RequestedDeliveryDate | RequestedDeliveryDate | Requested Delivery Date | ||
| FirstDeliveryDate | ||||
| RequestedQuantityInBaseUnit | RequestedQuantityInBaseUnit | Requested Qty | ||
| ConfirmedRqmtQtyInBaseUnit | ||||
| AssignedQuantityInBaseUnit | ||||
| SupAssgmtReservedQtyInBaseUnit | ||||
| BaseUnit | BaseUnit | Unit of Measure | ||
| UnconfirmedQuantityInBaseUnit | ||||
| CumltvContrVarCnsmdQtyInBsUnt | ||||
| CumltvVarOrdQty | ||||
| ARunDocumentStatus | ||||
| ARunDocumentStatusText | ||||
| SalesDocumentRjcnReason | SalesDocumentRjcnReason | RejectionReason | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| ProductGroup | ProductGroup | Product Sold Group | ||
| AdditionalMaterialGroup1 | AdditionalMaterialGroup1 | MaterialGroup 1 | ||
| AdditionalMaterialGroup2 | AdditionalMaterialGroup2 | MaterialGroup 2 | ||
| AdditionalMaterialGroup3 | AdditionalMaterialGroup3 | MaterialGroup 3 | ||
| AdditionalMaterialGroup4 | AdditionalMaterialGroup4 | MaterialGroup 4 | ||
| AdditionalMaterialGroup5 | AdditionalMaterialGroup5 | MaterialGroup 5 | ||
| 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 | ||
| RetailAdditionalCustomerGrp6 | RetailAdditionalCustomerGrp6 | |||
| RetailAdditionalCustomerGrp7 | RetailAdditionalCustomerGrp7 | |||
| RetailAdditionalCustomerGrp8 | RetailAdditionalCustomerGrp8 | |||
| RetailAdditionalCustomerGrp9 | RetailAdditionalCustomerGrp9 | |||
| RetailAdditionalCustomerGrp10 | RetailAdditionalCustomerGrp10 | |||
| DepartmentClassificationByCust | DepartmentClassificationByCust | |||
| CustomerConditionGroup1 | CustomerConditionGroup1 | Condition grp 1 | ||
| CustomerConditionGroup2 | CustomerConditionGroup2 | Condition grp 2 | ||
| CustomerConditionGroup3 | CustomerConditionGroup3 | Condition grp 3 | ||
| CustomerConditionGroup4 | CustomerConditionGroup4 | Condition grp 4 | ||
| CustomerConditionGroup5 | CustomerConditionGroup5 | Condition grp 5 | ||
| BillingDocumentDate | BillingDocumentDate | Billing Date | ||
| HigherLevelItem | HigherLevelItem | Higher-Lev.Item | ||
| SeasonCompletenessStatus | SeasonCompletenessStatus | Season Comp.Ind | ||
| ItemGeneralIncompletionStatus | ItemGeneralIncompletionStatus | |||
| ItemBillingIncompletionStatus | ItemBillingIncompletionStatus | |||
| PricingIncompletionStatus | PricingIncompletionStatus | |||
| ItemDeliveryIncompletionStatus | ItemDeliveryIncompletionStatus | |||
| NetAmount | ||||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| PricingDate | PricingDate | Pricing Date | ||
| CustomerPriceGroup | CustomerPriceGroup | CustPrice Group | ||
| ShippingType | ShippingType | Shipping Type | ||
| RqmtIsSupAssgmtRelevant | ||||
| RequirementDocumentNumber | Sales Document | |||
| InventorySpecialStockType | ||||
| _SalesDocument | _SalesDocument | |||
| _Product | _Product | |||
| _BaseUnit | _BaseUnit | |||
| _Batch | _Batch | |||
| _OrderQuantityUnit | _OrderQuantityUnit | |||
| _SalesDistrict | _SalesDistrict | |||
| _CustomerGroup | _CustomerGroup | |||
| _SalesDocumentRjcnReason | _SalesDocumentRjcnReason | |||
| _ShippingPoint | _ShippingPoint | |||
| _DeliveryPriority | _DeliveryPriority | |||
| _Plant | _Plant | |||
| _SoldToParty | _SoldToParty | |||
| _StorageLocation | _StorageLocation | |||
| _CustomerPaymentTerms | _CustomerPaymentTerms | |||
| _IncotermsClassification | _IncotermsClassification | |||
| _ItemGeneralIncompletionStatus | _ItemGeneralIncompletionStatus | |||
| _ItemBillingIncompletionStatus | _ItemBillingIncompletionStatus | |||
| _PricingIncompletionStatus | _PricingIncompletionStatus | |||
| _ItemDelivIncompletionSts | _ItemDelivIncompletionSts | |||
| _MaterialText | _MaterialText | |||
| _ShippingPointText | _ShippingPointText | |||
| _Item | _Item | |||
| _ProductGroup | _ProductGroup | |||
| _AdditionalMaterialGroup1 | _AdditionalMaterialGroup1 | |||
| _AdditionalMaterialGroup2 | _AdditionalMaterialGroup2 | |||
| _AdditionalMaterialGroup3 | _AdditionalMaterialGroup3 | |||
| _AdditionalMaterialGroup4 | _AdditionalMaterialGroup4 | |||
| _AdditionalMaterialGroup5 | _AdditionalMaterialGroup5 | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _CustomerPriceGroup | _CustomerPriceGroup | |||
| _ShippingType | _ShippingType | |||
| _CustomerPurchaseOrderType | _CustomerPurchaseOrderType | |||
| _ContactPersonStdDepartment | _ContactPersonStdDepartment | |||
| _AdditionalCustomerGroup1 | _AdditionalCustomerGroup1 | |||
| _AdditionalCustomerGroup2 | _AdditionalCustomerGroup2 | |||
| _AdditionalCustomerGroup3 | _AdditionalCustomerGroup3 | |||
| _AdditionalCustomerGroup4 | _AdditionalCustomerGroup4 | |||
| _AdditionalCustomerGroup5 | _AdditionalCustomerGroup5 | |||
| _RetailAddlCustGrp6 | _RetailAddlCustGrp6 | |||
| _RetailAddlCustGrp7 | _RetailAddlCustGrp7 | |||
| _RetailAddlCustGrp8 | _RetailAddlCustGrp8 | |||
| _RetailAddlCustGrp9 | _RetailAddlCustGrp9 | |||
| _RetailAddlCustGrp10 | _RetailAddlCustGrp10 | |||
| _SalesDocumentItem | _SalesDocumentItem | |||
| _ARunDocumentStatus | _ARunDocumentStatus | |||
| _VarItems | _VarItems | |||
| _SDDocumentCategory | _SDDocumentCategory | |||
| _HeaderBillgIncompletionStatus | _HeaderBillgIncompletionStatus | |||
| _OvrlItmGeneralIncompletionSts | _OvrlItmGeneralIncompletionSts | |||
| _OvrlItmBillingIncompletionSts | _OvrlItmBillingIncompletionSts | |||
| _HeaderBillingBlockReason | _HeaderBillingBlockReason |
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_RFM_PrvsnlSlsContrGnrcItm.
-- 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.
-- SQL view name: CRFMPRVSNLGNRITM
CREATE VIEW C_RFM_PrvsnlSlsContrGnrcItm AS
SELECT
SalesContract,
SalesContractItem,
FormattedSalesDocumentItem,
SalesOrganization,
DistributionChannel,
OrganizationDivision,
SoldToParty,
CreatedByUser,
SDDocumentCategory,
OverallSDProcessStatus,
OverallTotalDeliveryStatus,
TotalBlockStatus,
SalesDocumentType,
SalesGroup,
SalesOffice,
ShippingCondition,
CreationDate,
SDDocumentReason,
CustomerPurchaseOrderDate,
SalesDocumentDate,
HdrGeneralIncompletionStatus,
OvrlItmGeneralIncompletionSts,
TotalCreditCheckStatus,
DeliveryBlockReason,
HeaderBillingBlockReason,
HeaderBillgIncompletionStatus,
OvrlItmBillingIncompletionSts,
OverallPricingIncompletionSts,
HeaderDelivIncompletionStatus,
OvrlItmDelivIncompletionSts,
CustomerPurchaseOrderType,
Material,
RequirementSegment,
Plant,
StorageLocation,
ShippingPoint,
DeliveryPriority,
CustomerPaymentTerms,
IncotermsClassification,
IncotermsLocation1,
ProductCharacteristic1,
ProductCharacteristic2,
ProductCharacteristic3,
ProductSeasonYear,
ProductSeason,
ProductCollection,
ProductTheme,
ShippingGroupRule,
ShippingGroupNumber,
Batch,
FashionCancelDate,
OrderQuantity,
OrderQuantityUnit,
RequestedDeliveryDate,
cast ('00000000' as eindt ) AS FirstDeliveryDate,
RequestedQuantityInBaseUnit,
cast (0 as abap.quan(15,3)) AS ConfirmedRqmtQtyInBaseUnit,
cast (0 as abap.quan(15,3)) AS AssignedQuantityInBaseUnit,
cast (0 as abap.quan(15,3)) AS SupAssgmtReservedQtyInBaseUnit,
BaseUnit,
cast (0 as abap.quan(15,3)) AS UnconfirmedQuantityInBaseUnit,
cast (0 as abap.quan(15,3)) AS CumltvContrVarCnsmdQtyInBsUnt,
cast (0 as abap.quan(15,3)) AS CumltvVarOrdQty,
cast ('B' as arun_document_status) AS ARunDocumentStatus,
cast ('' as ddtext ) AS ARunDocumentStatusText,
SalesDocumentRjcnReason,
CustomerGroup,
SalesDistrict,
ProductGroup,
AdditionalMaterialGroup1,
AdditionalMaterialGroup2,
AdditionalMaterialGroup3,
AdditionalMaterialGroup4,
AdditionalMaterialGroup5,
AdditionalCustomerGroup1,
AdditionalCustomerGroup2,
AdditionalCustomerGroup3,
AdditionalCustomerGroup4,
AdditionalCustomerGroup5,
RetailAdditionalCustomerGrp6,
RetailAdditionalCustomerGrp7,
RetailAdditionalCustomerGrp8,
RetailAdditionalCustomerGrp9,
RetailAdditionalCustomerGrp10,
DepartmentClassificationByCust,
CustomerConditionGroup1,
CustomerConditionGroup2,
CustomerConditionGroup3,
CustomerConditionGroup4,
CustomerConditionGroup5,
BillingDocumentDate,
HigherLevelItem,
SeasonCompletenessStatus,
ItemGeneralIncompletionStatus,
ItemBillingIncompletionStatus,
PricingIncompletionStatus,
ItemDeliveryIncompletionStatus,
cast( 0 as netwr_ap ) AS NetAmount,
TransactionCurrency,
PricingDate,
CustomerPriceGroup,
ShippingType,
cast ( '' as atp_item_arun_relevant ) AS RqmtIsSupAssgmtRelevant,
cast( SalesContract as arun_aufn ) AS RequirementDocumentNumber,
cast('' as sobkz ) AS InventorySpecialStockType
FROM I_RFM_PrvsnlSlsContrGnrcItm
LEFT OUTER JOIN C_RFM_PrvsnlSlsContrItm AS _Item ON SalesContract = _Item.SalesContract AND SalesContractItem = _Item.HigherLevelItem -- association [1..*]
LEFT OUTER JOIN C_RFM_PrvsnlSlsContrVarItems AS _VarItems ON SalesContract = _VarItems.SalesContract AND SalesContractItem = _VarItems.SalesContractItem -- association [1..*]
LEFT OUTER JOIN I_SalesDocumentItem AS _SalesDocumentItem ON SalesContract = _SalesDocumentItem.SalesDocument AND SalesContractItem = _SalesDocumentItem.SalesDocumentItem -- association [1..1]
LEFT OUTER JOIN I_ARunDocumentStatus AS _ARunDocumentStatus ON ARunDocumentStatus = _ARunDocumentStatus.ARunDocumentStatus -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- 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