CIC_SOURCE_LIST
CIC Source of Supply Type A: Source List
CIC_SOURCE_LIST is a CDS View that provides data about "CIC Source of Supply Type A: Source List" in SAP S/4HANA. It reads from 1 data source (I_MPPurchasingSourceItem) and exposes 26 fields with key fields SupplierendasSupplier, Receiver, Product, SourceOfSupplyType, ProductGroup.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MPPurchasingSourceItem | sourcelist | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | CIC Source of Supply Type A: Source List | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SupplierendasSupplier | |||
| KEY | Receiver | _Plant | PlantCustomer | |
| KEY | Product | Material | ||
| KEY | SourceOfSupplyType | |||
| KEY | ProductGroup | |||
| KEY | PurchasingOrganization | PurchasingOrganization | ||
| KEY | ValidityStartDate | ValidityStartDate | ||
| KEY | ValidityEndDate | ValidityEndDate | ||
| KEY | Category | SourceListRecordCategory | ||
| ReceivingTimeZone | ||||
| SupplyingPlant | SupplyingPlant | |||
| ReceivingPlant | Plant | |||
| IsPurchasingBlocked | SourceOfSupplyIsBlocked | |||
| PurchasingInfoRecord | ||||
| SupplierSubRange | ||||
| OrderQuantityUnit | OrderQuantityUnit | |||
| OrderCurrency | ||||
| MinimumOrderQuantity | ||||
| PlannedDeliveryTimeDays | ||||
| PurchasingGroup | ||||
| IncotermsClassification | ||||
| IncotermsTransferLocationName | ||||
| SourceListRecord | SourceListRecord | |||
| NetPriceAmount | ||||
| NetPriceQuantity | ||||
| NetPriceUnit |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'CIC Source of Supply Type A: Source List'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #M,
dataClass: #MIXED
}
define view entity CIC_SOURCE_LIST
as select from I_MPPurchasingSourceItem as sourcelist
{
key case sourcelist.Supplier
when '' then _SupplyingPlant.PlantSupplier
else sourcelist.Supplier
end as Supplier,
key _Plant.PlantCustomer as Receiver,
key Material as Product,
key cast ('A' as cic_source_of_supply_type ) as SourceOfSupplyType,
key cast('' as matkl) as ProductGroup,
key PurchasingOrganization as PurchasingOrganization,
key ValidityStartDate as ValidityStartDate,
key ValidityEndDate as ValidityEndDate,
key SourceListRecordCategory as Category,
_Plant._Address.AddressTimeZone as ReceivingTimeZone,
SupplyingPlant,
Plant as ReceivingPlant,
cast(case sourcelist.Supplier
when '' then
case IssgPlantIsFixed
when 'X' then '00'
else '01'
end
else
case SupplierIsFixed
when 'X' then '00'
else '01'
end
end as lwrk_prio ) as Priority,
SourceOfSupplyIsBlocked as IsPurchasingBlocked,
cast('' as infnr) as PurchasingInfoRecord,
cast('' as ltsnr) as SupplierSubRange,
OrderQuantityUnit as OrderQuantityUnit,
cast('' as waers) as OrderCurrency,
@Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
cast(0 as minbm) as MinimumOrderQuantity,
cast(0 as plifz) as PlannedDeliveryTimeDays,
cast('' as bkgrp) as PurchasingGroup,
cast('' as inco1) as IncotermsClassification,
cast('' as inco2) as IncotermsTransferLocationName,
SourceListRecord,
@Semantics.amount.currencyCode: 'OrderCurrency'
cast(0 as netpr) as NetPriceAmount,
@Semantics.quantity.unitOfMeasure: 'NetPriceUnit'
cast(0 as peinh) as NetPriceQuantity,
cast('' as bprme) as NetPriceUnit
// cast('' as iloea) as InfoRecordIsMarkedForDeletion
}
where
(
sourcelist.Supplier <> ''
or _SupplyingPlant.PlantSupplier <> ''
)
and
(
Plant <> ''
and _Plant.PlantCustomer <> ''
);
// Unit tests class: TC_CIC_SOURCE_LIST
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ADDRESS",
"I_MPPURCHASINGSOURCEITEM",
"I_PLANT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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