I_ProductFieldAttributes

DDL: I_PRODUCTFIELDATTRIBUTES Type: view BASIC

Product Field Attributes

I_ProductFieldAttributes (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Database & Data Management

I_ProductFieldAttributes is a Basic CDS View that provides data about "Product Field Attributes" in SAP S/4HANA. It reads from 1 data source (t130f) and exposes 7 fields with key field ProductFieldNameWithTable.

SAP Help Documentation

CategoryCDS Views for Product Master
Purpose
This CDS view provides the information about list of fields with allowed Maintenance Statu s and to which field group it belongs to and whether field data can be proposed from the Reference Product , and whether copying is allowed in case of retail scenario. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations One of the following business catalogs needs to be assigned to a user to be able to use this CDS view: SAP_CMD_BC_PR_MAINT_PC: Master Data - Product Master Users who want to use this CDS view must have a role that includes authorization based on at least one of the business catalogs listed above. In this role, the following restriction types must be set to read access: <Name of restriction type> <Name of restriction type> <Name of restriction type> ... These restriction types are edited in the Maintain Business Roles app. Users who want to use this CDS view must have the following authorization objects assigned: <technical name of authorization objects> (<human-readable name>) ... ... Configuration

Structure
Parameters Further important fields Important fields in this view include the following: Field Name Description ProductFieldNameWithTable Field Name in Full (Table Name + Hyphen + Field Name)

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessDatabase & Data Management
Application ComponentLO-MD-MM
CapabilitiesData Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source for Search
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
t130f t130f from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IPRODFLDATTR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Product Field Attributes view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
ObjectModel.representativeKey ProductFieldNameWithTable view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ProductFieldNameWithTable t130f fname Field Name In Full (Table Name + Hyphen + Field Name)
ProductFieldSelectionGroup t130f fgrup Field selection group
MaintenanceStatus t130f pstat Maintenance Status
ProdSpecialFieldSelectionGroup t130f sfgru Special field selection group
kzrefendasFldCntntIsPrpsdFrmRefProduct
kzcpyendasFldCntntIsCopiedFrmRefProduct
rfiniendasInitFldCntntIsPrpsdFrmRefProd

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_ProductFieldAttributes.
-- 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_ProductFieldAttributes AS
SELECT
  t130f.fname AS ProductFieldNameWithTable,
  t130f.fgrup AS ProductFieldSelectionGroup,
  t130f.pstat AS MaintenanceStatus,
  t130f.sfgru AS ProdSpecialFieldSelectionGroup,
  case t130f_c.fname when t130f.fname then t130f_c.kzref else t130f.kzref end as FldCntntIsPrpsdFrmRefProduct AS kzrefendasFldCntntIsPrpsdFrmRefProduct,
  case t130f_c.fname when t130f.fname then t130f_c.kzcpy else t130f.kzcpy end as FldCntntIsCopiedFrmRefProduct AS kzcpyendasFldCntntIsCopiedFrmRefProduct,
  case t130f_c.fname when t130f.fname then t130f_c.rfini else t130f.rfini end as InitFldCntntIsPrpsdFrmRefProd AS rfiniendasInitFldCntntIsPrpsdFrmRefProd
FROM t130f
;