I_PRODUCTFIELDATTRIBUTES

CDS View

Product Field Attributes

I_PRODUCTFIELDATTRIBUTES is a CDS View in S/4HANA. Product Field Attributes. It contains 1 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
P_ProductChangeDocument view_entity left_outer COMPOSITE Product change document

Fields (1)

KeyField CDS FieldsUsed in Views
MaintenanceStatus MaintenanceStatus 1
@AbapCatalog:{
  sqlViewName: 'IPRODFLDATTR',
  compiler.compareFilter: true,
  preserveKey: true
}

@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Product Field Attributes'
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true
@ObjectModel: {
  representativeKey: 'ProductFieldNameWithTable',
  supportedCapabilities: [ #SQL_DATA_SOURCE,
                           #CDS_MODELING_DATA_SOURCE,
                           #CDS_MODELING_ASSOCIATION_TARGET,
                           #SEARCHABLE_ENTITY

  ],
  usageType: {
    serviceQuality: #C,
    sizeCategory : #M,
    dataClass: #MIXED
    }
}
@VDM:{
  viewType: #BASIC
}

define view I_ProductFieldAttributes
  as select from           t130f   as t130f
    left outer to one join t130f_c as t130f_c on t130f.fname = t130f_c.fname
{
      @Search: {
        defaultSearchElement: true,
        fuzzinessThreshold: 0.8,
        ranking: #HIGH
      }
  key t130f.fname as ProductFieldNameWithTable,
      t130f.fgrup as ProductFieldSelectionGroup,
      t130f.pstat as MaintenanceStatus,
      t130f.sfgru as ProdSpecialFieldSelectionGroup,

      /*   Since Customer can influence T130F_C which will overwrite T130F entries
           Below mentioned CASE statement is written.
      */
      case t130f_c.fname
        when t130f.fname then
         t130f_c.kzref
        else
        t130f.kzref
      end         as FldCntntIsPrpsdFrmRefProduct,

      case t130f_c.fname
        when t130f.fname then
        t130f_c.kzcpy
        else
        t130f.kzcpy
        end       as FldCntntIsCopiedFrmRefProduct,

      case t130f_c.fname
        when t130f.fname then
        t130f_c.rfini
        else
        t130f.rfini
        end       as InitFldCntntIsPrpsdFrmRefProd

}