rfm_scc_stocktransfer_basic_V
Get Stock Transfer order details
rfm_scc_stocktransfer_basic_V is a CDS View that provides data about "Get Stock Transfer order details" in SAP S/4HANA. It reads from 5 data sources (eket, ekko, ekpo, ekpv, mara) and exposes 39 fields. It has 15 associations to related views. Part of development package RFM_SEASON_COMPLETENESS_CORE.
Data Sources (5)
Associations (15)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProductDescription | _ProductDescription | $projection.matnr = _ProductDescription.Product and _ProductDescription.Language = $session.system_language |
| [1..1] | tvkot | tvkot | $projection.vkorg = tvkot.vkorg and tvkot.spras = $session.system_language |
| [1..1] | tvtwt | tvtwt | $projection.vtweg = tvtwt.vtweg and tvtwt.spras = $session.system_language |
| [1..1] | tspat | tspat | $projection.spart = tspat.spart and tspat.spras = $session.system_language |
| [1..1] | t001w | t001w_werks | $projection.werks = t001w_werks.werks |
| [1..1] | t001w | t001w_reswk | $projection.reswk = t001w_reswk.werks |
| [1..1] | rfm_Scc_season_text | season_text | $projection.fsh_season_year = season_text.fsh_season_year and $projection.fsh_season = season_text.fsh_season and $projection.fsh_collection = season_text.fsh_collection and $projection.fsh_theme = season_text.fsh_theme |
| [1..1] | I_RetailCharacteristicValueT | _RetailCharacteristicColor | $projection.color_atinn = _RetailCharacteristicColor.CharacteristicInternalID and $projection.color = _RetailCharacteristicColor.RetailCharacteristicValue and _RetailCharacteristicColor.Language = $session.system_language |
| [1..1] | I_RetailCharacteristicValueT | _RetailCharacteristicSize1 | $projection.size1_atinn = _RetailCharacteristicSize1.CharacteristicInternalID and $projection.size1 = _RetailCharacteristicSize1.RetailCharacteristicValue and _RetailCharacteristicSize1.Language = $session.system_language |
| [1..1] | I_RetailCharacteristicValueT | _RetailCharacteristicSize2 | $projection.size2_atinn = _RetailCharacteristicSize2.CharacteristicInternalID and $projection.size2 = _RetailCharacteristicSize2.RetailCharacteristicValue and _RetailCharacteristicSize2.Language = $session.system_language |
| [1..1] | I_ProductTypeText | _ProductTypeText | $projection.mtart = _ProductTypeText.ProductType and _ProductTypeText.Language = $session.system_language |
| [1..1] | I_ProductCategoryText | productcategorytext | $projection.attyp = productcategorytext.ProductCategory and productcategorytext.Language = $session.system_language |
| [1..1] | I_ProductGroupText | _ProductGroupText | $projection.matkl = _ProductGroupText.MaterialGroup and _ProductGroupText.Language = $session.system_language |
| [1..1] | I_PurchasingDocumentTypeText | _purchasingdocumenttypetext | $projection.bsart = _purchasingdocumenttypetext.PurchasingDocumentType and $projection.bstyp = _purchasingdocumenttypetext.PurchasingDocumentCategory and _purchasingdocumenttypetext.Language = $session.system_language |
| [1..1] | rfm_scc_season_indicator_text | _SCCSeasonIndicatorText | $projection.seasoncompletenessindicator = _SCCSeasonIndicatorText.value and _SCCSeasonIndicatorText.language = $session.system_language |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RFMSCCSTOBASICV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Get Stock Transfer order details | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ebeln | ekko | ebeln | Source PurchDoc | |
| bsart | ekko | bsart | Stnd purch.ord. | |
| bstyp | ekko | bstyp | Source doc.cat. | |
| ebelp | ekpo | ebelp | Item pur. doc. | |
| matnr | ekpo | matnr | Vehicle Model | |
| sgt_rcat | ekpo | sgt_rcat | Req. Segment | |
| sgt_scat | ekpo | sgt_scat | Stock Segment | |
| fsh_season | ekpo | fsh_season | Season | |
| fsh_theme | ekpo | fsh_theme | Theme | |
| vkorg | ekpv | vkorg | SD Sales Org. | |
| vkorg_vtxtk | tvkot | vtext | Wgh.Dat.Ty.Txt. | |
| vtweg_vtxtk | tvtwt | vtext | Wgh.Dat.Ty.Txt. | |
| vtweg | ekpv | vtweg | RefDistCh-Cust/Mat. | |
| spart | ekpv | spart | Source supplier | |
| spart_vtxtk | tspat | vtext | Wgh.Dat.Ty.Txt. | |
| werks | ekpo | werks | Receiving Plant | |
| werks_name1 | t001w_werks | name1 | PA text | |
| reswk | ekko | reswk | Supplying Plant | |
| reswk_name1 | t001w_reswk | name1 | PA text | |
| menge | ekpo | menge | WarrCountValue | |
| meins | ekpo | meins | Valuation Unit | |
| eindt | eket | eindt | Initial Entry | |
| size1 | mara | size1 | Size 1 | |
| size2 | mara | size2 | Size 2 | |
| color | mara | color | Level Color | |
| color_atinn | mara | color_atinn | Internal Char. | |
| size1_atinn | mara | size1_atinn | Internal Char. | |
| size2_atinn | mara | size2_atinn | Internal Char. | |
| mtart | mara | mtart | Product Type | |
| matkl | mara | matkl | Product Sold Group | |
| attyp | mara | attyp | Trdg Goods Cat. | |
| maktx | _ProductDescription | ProductDescription | Description | |
| color_desc | _RetailCharacteristicColor | RetailCharacteristicValue | ||
| size1_desc | _RetailCharacteristicSize1 | RetailCharacteristicValue | ||
| size2_desc | _RetailCharacteristicSize2 | RetailCharacteristicValue | ||
| mtart_mtbez | _ProductTypeText | MaterialTypeName | Mat.Type Desc. | |
| attyp_text | productcategorytext | Name | Zone name | |
| matkl_wgbez | _ProductGroupText | MaterialGroupName | prod Grp Desc. | |
| bsart_batxt | _purchasingdocumenttypetext | PurchasingDocumentTypeName | Description |
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 rfm_scc_stocktransfer_basic_V.
-- 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: RFMSCCSTOBASICV
CREATE VIEW rfm_scc_stocktransfer_basic_V AS
SELECT
ekko.ebeln AS ebeln,
ekko.bsart AS bsart,
ekko.bstyp AS bstyp,
ekpo.ebelp AS ebelp,
ekpo.matnr AS matnr,
ekpo.sgt_rcat AS sgt_rcat,
ekpo.sgt_scat AS sgt_scat,
ekpo.fsh_season AS fsh_season,
ekpo.fsh_theme AS fsh_theme,
ekpv.vkorg AS vkorg,
tvkot.vtext AS vkorg_vtxtk,
tvtwt.vtext AS vtweg_vtxtk,
ekpv.vtweg AS vtweg,
ekpv.spart AS spart,
tspat.vtext AS spart_vtxtk,
ekpo.werks AS werks,
t001w_werks.name1 AS werks_name1,
ekko.reswk AS reswk,
t001w_reswk.name1 AS reswk_name1,
ekpo.menge AS menge,
ekpo.meins AS meins,
eket.eindt AS eindt,
mara.size1 AS size1,
mara.size2 AS size2,
mara.color AS color,
mara.color_atinn AS color_atinn,
mara.size1_atinn AS size1_atinn,
mara.size2_atinn AS size2_atinn,
mara.mtart AS mtart,
mara.matkl AS matkl,
mara.attyp AS attyp,
_ProductDescription.ProductDescription AS maktx,
_RetailCharacteristicColor.RetailCharacteristicValue AS color_desc,
_RetailCharacteristicSize1.RetailCharacteristicValue AS size1_desc,
_RetailCharacteristicSize2.RetailCharacteristicValue AS size2_desc,
_ProductTypeText.MaterialTypeName AS mtart_mtbez,
productcategorytext.Name AS attyp_text,
_ProductGroupText.MaterialGroupName AS matkl_wgbez,
_purchasingdocumenttypetext.PurchasingDocumentTypeName AS bsart_batxt
FROM ekko
INNER JOIN ekpo ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ekpv ON /* join condition not captured in parsed metadata */
INNER JOIN eket ON /* join condition not captured in parsed metadata */
INNER JOIN mara ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ProductDescription AS _ProductDescription ON matnr = _ProductDescription.Product AND _ProductDescription.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN tvkot ON vkorg = tvkot.vkorg AND tvkot.spras = $session.system_language -- association [1..1]
LEFT OUTER JOIN tvtwt ON vtweg = tvtwt.vtweg AND tvtwt.spras = $session.system_language -- association [1..1]
LEFT OUTER JOIN tspat ON spart = tspat.spart AND tspat.spras = $session.system_language -- association [1..1]
LEFT OUTER JOIN t001w AS t001w_werks ON werks = t001w_werks.werks -- association [1..1]
LEFT OUTER JOIN t001w AS t001w_reswk ON reswk = t001w_reswk.werks -- association [1..1]
LEFT OUTER JOIN rfm_Scc_season_text AS season_text ON fsh_season_year = season_text.fsh_season_year AND fsh_season = season_text.fsh_season AND fsh_collection = season_text.fsh_collection AND fsh_theme = season_text.fsh_theme -- association [1..1]
LEFT OUTER JOIN I_RetailCharacteristicValueT AS _RetailCharacteristicColor ON color_atinn = _RetailCharacteristicColor.CharacteristicInternalID AND color = _RetailCharacteristicColor.RetailCharacteristicValue AND _RetailCharacteristicColor.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_RetailCharacteristicValueT AS _RetailCharacteristicSize1 ON size1_atinn = _RetailCharacteristicSize1.CharacteristicInternalID AND size1 = _RetailCharacteristicSize1.RetailCharacteristicValue AND _RetailCharacteristicSize1.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_RetailCharacteristicValueT AS _RetailCharacteristicSize2 ON size2_atinn = _RetailCharacteristicSize2.CharacteristicInternalID AND size2 = _RetailCharacteristicSize2.RetailCharacteristicValue AND _RetailCharacteristicSize2.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_ProductTypeText AS _ProductTypeText ON mtart = _ProductTypeText.ProductType AND _ProductTypeText.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_ProductCategoryText AS productcategorytext ON attyp = productcategorytext.ProductCategory AND productcategorytext.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_ProductGroupText AS _ProductGroupText ON matkl = _ProductGroupText.MaterialGroup AND _ProductGroupText.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_PurchasingDocumentTypeText AS _purchasingdocumenttypetext ON bsart = _purchasingdocumenttypetext.PurchasingDocumentType AND bstyp = _purchasingdocumenttypetext.PurchasingDocumentCategory AND _purchasingdocumenttypetext.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN rfm_scc_season_indicator_text AS _SCCSeasonIndicatorText ON seasoncompletenessindicator = _SCCSeasonIndicatorText.value AND _SCCSeasonIndicatorText.language = $session.system_language -- association [1..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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