I_QualityInProcurementFldCtrl

DDL: I_QUALITYINPROCUREMENTFLDCTRL SQL: IQTYINPROBPGFC Type: view COMPOSITE Package: VDM_QM_PLANNING

Field Ctrl for Qlty Info Recd in Procmt

I_QualityInProcurementFldCtrl is a Composite CDS View that provides data about "Field Ctrl for Qlty Info Recd in Procmt" in SAP S/4HANA. It reads from 1 data source (I_QualityInProcurement) and exposes 2 fields with key fields Material, QltyInProcmtIntID. Part of development package VDM_QM_PLANNING.

Data Sources (1)

SourceAliasJoin Type
I_QualityInProcurement I_QualityInProcurement from

Parameters (1)

NameTypeDefault
P_IsCloudSystem is_cloud_system

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IQTYINPROBPGFC view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Field Ctrl for Qlty Info Recd in Procmt view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
Metadata.ignorePropagatedAnnotations true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY Material Material
KEY QltyInProcmtIntID QltyInProcmtIntID
@AbapCatalog.sqlViewName: 'IQTYINPROBPGFC'
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Field Ctrl for Qlty Info Recd in Procmt'
@AbapCatalog.compiler.compareFilter: true
@AccessControl: {
                    authorizationCheck: #NOT_REQUIRED,
                    personalData.blocking: #NOT_REQUIRED
}
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType: {
    dataClass: #MASTER,
    sizeCategory: #S,
    serviceQuality: #C 
}

@Metadata.ignorePropagatedAnnotations: true

define view I_QualityInProcurementFldCtrl 
    /*Output = 0:Hidden, 1:Read-Only, 3:Option, 7:Mandatory */
    with parameters P_IsCloudSystem : is_cloud_system 
    as select from I_QualityInProcurement 
{

      key Material,
      key QltyInProcmtIntID,
      
/* hide fields if cloud system */
/* STATUS */                     
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as StatusProfile,    
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as StatusName,
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as StatusCode,
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as QltyInProcmtCurInspLot,
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as QltyInProcmtNextStatus,
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as QltyInProcmtNextInspLot,
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as QltyInProcmtHasFurtherStatus,
/* Inspection Control */    
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as QualityManagementSystem,
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as QltyInProcmtCertfnValidTo,
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as SuplrQualityManagementSystem,
   
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as SuplrQltyInProcmtCertfnValidTo,    
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as QltyInProcmtInspControl,
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as InspectionLotType,
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as QltyInProcmtLotCrtnLeadTime,
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as QltyInProcmtNoFurtherInsp,
    
    case :P_IsCloudSystem
        when 'X' then 0 
        else 1
    end as QltyInProcmtCertificateCtrl
    
}