1

我有一个 CDS 视图,我想另外生成一个 BOPF 对象。CDS 视图如下所示:

@AbapCatalog.sqlViewName: 'ZPOC_CDS_ORDERS'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Order for VALEAN POC'
@ObjectModel.compositionRoot: true
@ObjectModel.modelCategory: #BUSINESS_OBJECT 
@ObjectModel.semanticKey: ['DraftId', 'DraftItem']
@ObjectModel.representativeKey: 'DraftId'
@ObjectModel.writeActivePersistence: 'ZPOC_ORDERS'
@ObjectModel.createEnabled: true
@ObjectModel.deleteEnabled: true
@ObjectModel.updateEnabled: true
@OData: {
    publish: true
}
define view ZPOCCDSORDERS as 
    select from zpoc_orders
   {
    key draft_id as DraftId,
    key draft_item as DraftItem,
        order_id as OrderId,
        sales_org as SalesOrg,
        sales_dist as SalesDist,
        sales_div as SalesDiv,
        customer_id as CustomerId,
        recipient_id as RecipientId,
        po_ref as PoRef,
    }

在事务/n/BOBF/CONF_UI中,我正在搜索新生成的Z* BOPF对象但找不到任何东西。

我究竟做错了什么?

4

0 回答 0