on 07-25-2016 11:04 PM
I'm trying 2 things but facing issues in both the cases.
=> Creating a line item or list report action which will trigger a BOPF action
=> Implementing a CRUD scenario in Fiori Smart template
1. I am able to generate actions based on CDS view and BOPF using smart template when I click on the button generated by action it is saying missing function import.
my annotation is given below
@UI.lineItem: [
-- Standard Lineitem
{ position: 7 },
-- Action Lineitem
--
{ type: #FOR_ACTION, dataAction: 'BOPF:COPY', label: 'Copy' }
]
the annotation file content in WEB IDE is given below
<Record Type="UI.DataFieldForAction">
<PropertyValue Property="Label" String="Copy"/>
<PropertyValue Property="Action" String="sap.com.cds_z_stock_inv.sap.com.cds_z_stock_inv_Entities/Z_Stock_InvCopy"/>
<Annotation Term="UI.OperationGrouping" EnumMember="UI.OperationGroupingType/Isolated"/>
</Record>
So, I have created the action in BOPF but the smart template is showing the error saying that it is missing function import
Question a: Why it is expecting a function import even when action is defined as BOPF action.
Question b. Can we create any function import while generating the Odata service using annotation, @Odata.publish : true or we have to generate the ODATA using a Reference Data Source
2.If we need to address Fiori Smart Template with CRUD scenario, can I use the option @Odata.publish : true or we have to use the technique "n Generating an OData Service Based on a Referenced Data Source. " Also looking for documentation draft persistence programming model
Any links/pdfs will highly be appreciated, Many thanks.
Please ignore this post as I can see the related documentation in the below link and that clarifies my issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.