반응형
제품, 반제품의 자재마스터 기본 정보 조회 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 들어와보면 이렇게 릴리즈가 되어있어야하는데 해당 인터페이스 뷰는 셋팅이 안되있었음

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

반응형
'SAP HANA CLOUD' 카테고리의 다른 글
| [SAP RAP] Name of SQL view missing; annotation AbapCatalog.sqlViewName must be specified 오류 (0) | 2026.03.30 |
|---|---|
| [SAP RAP] Plant 선택 시 해당 자재만 필터링하는 VH 구현 (0) | 2026.02.26 |
| [SAP RAP] Metadata Extenstions 관련 어노테이션 정리 (0) | 2026.02.24 |
| [SAP RAP] CDS View에서 unit 과 Quantity 관련 오류 (0) | 2026.02.24 |
| [SAP RAP] 프록시 PROXY로 전달하기 (0) | 2026.02.23 |