on 03-15-2016 4:30 PM
I am trying to extend the TaskCollection Service (Version:2) provided by SAP and I am following the instructions in cookbook. I have added some new fields in the TASK entity using SEGW transaction and have implemented the code behind to populate those fields. I have also tested the service and it is working fine.
The problem is in MY INBOX application it is calling the TASKCollection as follows -
GET TaskCollection?sap-client=020&$skip=0&$top=100&$orderby=CreatedOn desc&$filter=((Status eq 'READY' or Status eq 'RESERVED' or Status eq 'IN_PROGRESS' or Status eq 'EXECUTED'))&$select=SAP__Origin,InstanceID,TaskDefinitionID,TaskTitle,SupportsRelease,CreatedByName,CompletionDeadLine,SubstitutedUserName,Priority,HasComments,HasAttachments,TaskSupports,TaskDefinitionName,Status,PriorityNumber,CreatedOn&$inlinecount=allpages
The $select is hard coded to return only specific field, so it is not returning the new fields which I added to the TASK entity. Now I want to display my fields in S2 screen. How do I achieve this ?
As per the cookbook it should have called the TaskCollection without any $select.
GET TaskCollection?$skip=0&$top=100&$orderby=CreatedOn desc&$inlinecount=allpages&$filter=(SAP__Origin eq '<SAP System Alias>' and (TaskDefinitionID eq '<Custom Task Def. ID>') and (Status eq 'READY' or Status eq 'RESERVED' or Status eq 'IN_PROGRESS' or Status eq 'EXECUTED'))
Please let me know how to solve this issue ? sap.ui.version = 1.34.1
What is the version of My Inbox (technical version) you are using?
In the User settings drop down, you can check in the Support Information.
If the version is 1.6 -> you could disable the select query by doing adding the URL parameter : useOdataSelect = false in your tile configuration.
If it is 2.0, you could implement an extensionPoint where you add your additional select properties using the hook : extHookGetPropertiesToSelect
Regards
Radhika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.