cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Approve All app issue

kousik_goon3
Explorer
0 Kudos

Hi,

I am getting following (attached) issue in Approve all (ui5_ca_all_apv) app.

when I debug I found that this issue is coming because when the taskprocessing oData service is called its called as below

http://<server>/sap/opu/odata/IWPGW/TASKPROCESSING;mo/ConsumerScenarioCollection?

$filter=((ConsumerType eq 'TABLET')) and ((UniqueName eq 'DEMO_GMI_CAPEX' ))

and as in my scenario list there is no scenario for "((UniqueName eq 'DEMO_GMI_CAPEX' ))" so the above issue is coming . When I remove this part , I can see all the scenario in oData output. Also I found that,

in Component.js - skeleton

•Initializes the skeleton, important parameter are

sScenario : "DEMO_GMI_CAPEX",

sStartView : "Detail",

fUrlResolve : sap.ca.workflow.approve.uilib.Component.UrlResolve,

fViewStarted : sap.ca.workflow.approve.uilib.Component.ViewStarted,

oListSorter : new sap.ui.model.Sorter("CreatedOn", true),

aIdentificationFields : ["InstanceID"],

is this a right reason for this issue and is there any solution of this issue ? or its a separate issue from which I diagonalised.

Thanks in advance for help.

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Kousik,

I got it. You did not define any scenario ID. That is the root cause.

Please upload the screenshot of scenario definition.

Regards,

Masa

SAP Rapid Innovation Group - RIG

kousik_goon3
Explorer
0 Kudos

Hi Masa,

Here is the screen shot of Scenario definition :

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Kousik,

Have you assigned Consumer type and Task ID to the Z_LEAVE_APP?

Please upload the screenshot of tile setting. I think the scenario ID is not in the tile setting.

Regards,

Masa

SAP Rapid Innovation Group - RIG

kousik_goon3
Explorer
0 Kudos

Thanks Masa ... issue was I was not calling the right Scenario name from tile or url.

Answers (2)

Answers (2)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Kousik,

I think you have not applied mandatory notes mentioned in the install guide.

I guess IW_PGW support package level is old in your system. Please apply SP05.

Double check the install guide.

1.3 SAP Notes for SAP ERP

The following table lists the SAP Notes that must be applied to SAP Enterprise Resource Planning (ERP):

SAP Note 1799549 SAP WAPI_CREATE_OUTBOX: Optional parameter

SAP Note 1805986 SAP WAPI_CREATE_OUTBOX: Optional parameter

SAP Note 1754533 Enhancement of WAPI trace

SAP Note 1809628 Additional methods for IF_SWF_UTL_WAPI_FRAMEWORK

SAP Note 1774246 Mobile Inbox: Inbox APINote

1.4 SAP Notes for SAP NetWeaver Gateway

The following table lists the SAP Notes that must be applied to SAP NetWeaver Gateway:

SAP Note 1799722 IW_BEP Adjustments to Task Gateway for SP06

SAP Note 1805831 Workflow Support Decision options Nature (Positive/Negative)

SAP Note 1866093 Patches for the Gateway SPS06 required for FIORI

Regards,

Masa

SAP Rapid Innovation Group - RIG

kousik_goon3
Explorer
0 Kudos

Let me upgrade IW_PGW to SP05 and after checking the notes will get back with result. Thanks Masayuki for suggestion as usual.

Former Member
0 Kudos

Hi Kousik,

Do you see the ConsumerScenarioCollection? We had a similar issue and the problem was that the ConsumerScenarioCollection was missing. We implemented the SAP note 1850312 and the issue was solved. Also review the scenario definition for the custom workflow you are using.

Thanks,

Fernando

kousik_goon3
Explorer
0 Kudos

Hi Fernando,

Yes I can see the Consumer Collection data when I run the oData service separately . I also applied note 1850312 before starting configuring this app but still having same issue  . Any more clue will be appreciated.