我有一个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
对象但找不到任何内容。
我做错了什么?