I_BG_SAFTProduct
BG SAFT Products
I_BG_SAFTProduct is a Composite CDS View that provides data about "BG SAFT Products" in SAP S/4HANA. It reads from 1 data source (I_MaterialPlant) and exposes 16 fields with key fields Product, Plant. Part of development package GLO_FIN_IS_SAFT_BG.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialPlant | MaterialPlant | inner |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_FromPostingDate | figen_rep_date_from | |
| P_ToPostingDate | figen_rep_date_to |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | BG SAFT Products | view | |
| VDM.viewType | #COMPOSITE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | I_MaterialPlant | Material | Vehicle Model |
| KEY | Plant | I_MaterialPlant | Plant | Valuation Area |
| MaterialType | Product | ProductType | Product Type Group | |
| BG_SAFTGoodsService | GoodsService | BG_SAFTGoodsService | ||
| ProductGroup | Product | ProductGroup | Product Sold Group | |
| CommodityCodeText | CommCode | CommodityCodeText | ||
| BG_SAFTComCodeValidFromDate | CommCode | BG_SAFTComCodeValidFromDate | ||
| BG_SAFTComCodeValidToDate | CommCode | BG_SAFTComCodeValidToDate | ||
| ProductName | ||||
| ProductStandardID | Product | ProductStandardID | GTIN | |
| BaseUnit | Product | BaseUnit | Unit of Measure | |
| AlternativeUnit | ProductUom | AlternativeUnit | Base UoM | |
| dec2355else0endasConversionFactor | ||||
| AuthorizationGroup | Product | AuthorizationGroup | AuthorizGroup | |
| _ProductType | Product | _ProductType | ||
| _ProductGroup_2 | Product | _ProductGroup_2 |
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_BG_SAFTProduct.
-- 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.
-- Parameters: P_FromPostingDate : figen_rep_date_from, P_ToPostingDate : figen_rep_date_to
CREATE VIEW I_BG_SAFTProduct AS
SELECT
MaterialPlant.Material AS Product,
MaterialPlant.Plant AS Plant,
Product.ProductType AS MaterialType,
GoodsService.BG_SAFTGoodsService AS BG_SAFTGoodsService,
Product.ProductGroup AS ProductGroup,
CommCode.CommodityCodeText AS CommodityCodeText,
CommCode.BG_SAFTComCodeValidFromDate AS BG_SAFTComCodeValidFromDate,
CommCode.BG_SAFTComCodeValidToDate AS BG_SAFTComCodeValidToDate,
coalesce(description.ProductName, coalesce(descriptionE.ProductName, 'N.A.')) AS ProductName,
Product.ProductStandardID AS ProductStandardID,
Product.BaseUnit AS BaseUnit,
ProductUom.AlternativeUnit AS AlternativeUnit,
case when ( Product.BaseUnit = ProductUom.AlternativeUnit ) then 1 when ( ProductUom.QuantityNumerator <> 0 and ProductUom.QuantityDenominator <> 0 ) then division( cast(ProductUom.QuantityNumerator as abap.dec(23,5)), cast(ProductUom.QuantityDenominator as abap.dec(23,5)), 5 ) else 0 end as ConversionFactor AS dec2355else0endasConversionFactor,
Product.AuthorizationGroup AS AuthorizationGroup,
Product._ProductType AS _ProductType,
Product._ProductGroup_2 AS _ProductGroup_2
INNER JOIN I_MaterialPlant AS MaterialPlant ON /* join condition not captured in parsed metadata */
;
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