It_filter_select_options was not editable, so added several filter options in mt_filter_select_options. If I can do like this, I can split user Inbox, user Outbox, department Inbox and Department Outbox.ġ.Added own filters in method SET_QUERY_STRING_OPTION. I want to receive more parameters or filters other than status from Fiori My Inbox for lists when I click each tiles so that I can add ABAP coding in method to split corresponding data. I tried to add many screens as many as possible for your understanding. SAP only sends two types of status(inbox : 4 status, outbox:2 status) for lists. I tried to add several parameters including field name, but ignored by SAP process. Outbox parameters: allItems=true&outbox=true Fiori my Inbox screen decides status with tile parameters and sends to SAP(method). GET TaskCollection?sap-client=100&$skip=0&$top=110&$orderby=CreatedOn%20desc&$filter=(( Status%20eq%20%27READY%27%20or%20Status%20eq%20%27RESERVED%27%20or%20Status%20eq%20%27IN_PROGRESS%27%20or%20Status%20eq%20%27EXECUTED%27))&$select=SAP_Origin%2cInstanceID%2cTaskDefinitionID%2cTaskDefinitionName%2cTaskTitle%2cCreatedByName%2cCreatedBy%2cCompletionDeadLine%2cSubstitutedUserName%2cStatus%2cPriority%2cPriorityNumber%2cHasComments%2cHasAttachments%2cHasPotentialOwners%2cCreatedOn%2cTaskSupports%2cSupportsClaim%2cSupportsRelease%2cSupportsFoĪfter spending several times, I knew Service URL filters for tile counts and filters for detail data are completely different. ![]() Inbox Count in tile : 27 -> system calculated with Status and own("RFA", "INDIVIDUAL", "INBOX") filtersĭetail numbers in Inbox : 36 -> system calculated with only Status That's why detail data have different number. I grabbed oData when I click tile button and confirmed Fiori Inbox screen only sends Status. INSERT ls_select_option INTO TABLE lt_select_options_proc_name.ĪND task_def_id IN lt_select_options_taskĪND processor_name IN lt_select_options_proc_name.īut when I click tiles, added filters doesn't come to the ABAP method and it only comes status for filter per parameters(Inbox or Outbox). INSERT ls_select_option INTO TABLE lt_select_options_proc.ĮLSEIF ls_filter_select_option-property = 'ProcessorName'. INSERT ls_select_option INTO TABLE lt_select_options_task.ĮLSEIF ls_filter_select_option-property = 'Processor'. INSERT ls_select_option INTO TABLE lt_select_options.ĮLSEIF ls_filter_select_option-property = 'TaskDefinitionID'. LOOP AT ls_filter_select_option-select_options INTO ls_select_option. IF ls_filter_select_option-property = 'Status'. LOOP AT mt_filter_select_options INTO ls_filter_select_option. I added my own coding in the class and method. sap/opu/odata/IWPGW/TASKPROCESSING mo v=2/TaskCollection/$count/?$filter= TaskDefinitionID eq 'RFA' and Processor eq 'INDIVIDUAL' and ProcessorName eq 'OUTBOX' sap/opu/odata/IWPGW/TASKPROCESSING mo v=2/TaskCollection/$count/?$filter= TaskDefinitionID eq 'RFA' and Processor eq 'INDIVIDUAL' and ProcessorName eq 'INBOX' and (Status eq 'READY' or Status eq 'IN_PROGRESS' or Status eq 'FOR_RESUBMISSION') ![]() So I added several filters.īelow screen is Inbox tile configuration. To achieve this, I realized it is impossible to distinguish data with only Status. Individual outbox for the test.ĭynamic tiles counts work fine as I expected. I deployed My Inbox and working fine in most cases except one issue.ġ.Individual Inbox( which I need to approve)ģ.Department Inbox(which my team needs to approve)Ĥ.Department Outbox(which my team created)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |