SAP HANA CLOUD

[SAP RAP] The use of CDS Entity I_BillOfMaterialHeader is not permitted. 오류

선짱 2026. 2. 25. 14:17
반응형

제품, 반제품의 자재마스터 기본 정보 조회 view 를 만들다가 한 인터페이스뷰가 조인이 안된다.

 

@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'ZR_ROUTINGLIST_14'
@Metadata.ignorePropagatedAnnotations: true
define root view entity zr_product_14
  as select from    I_ProductPlantBasic        as A
    inner join      I_Product                  as B on A.Product = B.Product
    left outer join I_Productplantqtmanagement as C on  A.Product = C.Product
                                                    and A.Plant   = C.Plant
    left outer join I_ProductText              as D on  B.Product  = D.Product
                                                    and D.Language = $session.system_language
    left outer join I_ProductStatusText        as E on  A.ProfileCode = E.Status
                                                    and E.Language    = $session.system_language
    left outer join I_ProductionSupervisor     as F on  A.ProductionSupervisor = F.ProductionSupervisor
                                                    and A.Plant                = F.Plant
    left outer join I_MRPController            as G on  A.MRPResponsible = G.MRPController
                                                    and A.Plant          = G.Plant
  association [0..1] to I_BillOfMaterialHeader as _EBOM on  _EBOM.Material                   = A.Product
                                                        and _EBOM.Plant                      = A.Plant
                                                        and _EBOM.BillOfMaterialVariantUsage = '2'

 

 

I_BillOfMaterialHeader 쪽에서 The use of CDS Entity I_BillOfMaterialHeader is not permitted. 오류난다.

해당 인터페이스뷰 들어와서 Properties 확인해보자 .

Api state 들어와보면 이렇게 릴리즈가 되어있어야하는데 해당 인터페이스 뷰는 셋팅이 안되있었음

 

 

 

원래 이런 상태로 릴리즈가 되어있어야함

 

 

반응형