cancel
Showing results for 
Search instead for 
Did you mean: 

Leave Approval App is opening a blank page

Former Member
0 Kudos

Previously Leave Approval App used to take a lot of time to load that is it used to go in an infinite loop.However some icons like the calendar would be visible in the background.We then updated the SP Level .

Currently

Ui Component-UIHCM003 SP level 0003

OData Component-GBHCM003 SP level 0007.

But now the app opens a blank page as given below:

What may be the issue?

Tags edited by: Michael Appleby

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member213263
Participant
0 Kudos

Hi Benita,

It is the issue of Scenario Definition.

Please go through http://scn.sap.com/docs/DOC-50798.

Regards

Ankit

Former Member
0 Kudos

Hi Ankit,

I cant access the blog given by you!

Thanks and Regards,

Benita

former_member213263
Participant
0 Kudos

Hi Benita,

Wait for some time, guess for a day as I created after looking the same issue faced over and over again, might be gone for review by Moderator.

Regards

Ankit

former_member213263
Participant
0 Kudos

Hi Benita,

Now you can access the Document http://scn.sap.com/docs/DOC-50798.

It will help you out.

Regards

Ankit

Former Member
0 Kudos

Hi Ankit,

Thanks for the blog! But I have already maintained the settings mentioned in the blog as you can see in the above replies.

Thanks and Regards,

Benita

former_member213263
Participant
0 Kudos

Hi Benita,

Thanks for looking into the Blog,

But still I'll suggest cross check the Task type you maintained with the Task Id in the Workflow which get triggered on LR approval on Backend side.

Each and every time faced the same issue so the solution could be this.

Surely, this will help.

Regards

Ankit

Former Member
0 Kudos

Hi Ankit,

Please check the below screenshots if there are any errors for the secnario definition that i created for my system.

Thanks and Regards,

Benita

former_member213263
Participant
0 Kudos

Hi Benita,

It is looking fine.

My question is that is it still giving you the Error?

Share the screen shot of the Error.

Regards

Ankit

Former Member
0 Kudos

Hi Ankit,

Below is the screenshot of the error I am receiving in Google Chrome browser.However in IE it opens a blank page.

Thanks,

Benita

former_member213263
Participant
0 Kudos

Hi Benita,

This clearly shows the issue of Scenario Definition, but we have already provided the Scenario for the application, now can you ask the System Admin to check the Trusted RFC and from the Backend  ERP System go through the Task Type of the Workflow and it should be like the Task Id getting triggered may differ with the defined one.

Just Cross Check it once.

I think this will surely Help...

Regards

Ankit

Former Member
0 Kudos

Hi,

There was some mistake in the system alias.After correcting it it, its now working perfectly fine on Google Chrome.However in IE9 the below screen appears:

How is it working on one browser and the other?

Regards,

Benita

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Benita,

Please share what was wrong setting and correct setting. It helps for SCN community members.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masayuki,

I used two system aliases IME 700 and IME_700_PGW.The software version for these two system aliases was changed to /IWPGW/BWF. I checked the local GW for both the system aliases and for IME_700_PGW the 'for local app' was checked.Then I changed the system alias for technical service name leaveapproval to IME_700 which was initially IME_700_PGW.Similarly i changed the system alias for technical service name taskprocessing to IME_700_PGW.And then it started working in Goggle chrome.

However it is not working in IE9 browser.

Thanks and Regards,

Benita

Former Member
0 Kudos

Hi Masayuki,

The Leave Approval App is opening a blank page in IE9 browser as seen below using  the link http://<server>...<port>/sap/bc/ui5_ui5/sap/ui5_hcm_lr_apv/index.html?sap-client=XXX:

I

However when I use the same link in Chrome Browser the below screen is visible:

Why is the page opening differently for the two browsers?

Thanks and Regards,

Benita

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Don't worry. Both will work when you fix the taskprocessing customizing issue.

Former Member
0 Kudos

Hi Masayuki,

I am receiving a 404 error code in Network tab of inspect element for the below link as seen in the screenshots :

/sap/bc/ui5_ui5/sap/ui5_hcm_lr_apv/resources/sap/ca/common/uilib/i18n/i18n_en_

Thanks and Regards,

Benita

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Benita,

i18n translation is not related with any issues. Please ignore all i18n related errors.

Focus on OData call /sap/opu/odata/...

In your last screenshot, there is OData call ConsumerScenarioCollection. I guess it does not return any scenario because of some missing configuration. Please check the response and if there is no scenario return, you can debug.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masayuki,

The status code for the most recent sap/opu/odata link is 200 in iwfnd/gw_client transaction code as seen in the below screenshot:

Thanks and Regards,

Benita

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Benita,

I see this is the root cause. It does not return any scenario. I believe something is wrong in the scenario definition customizing. Debugging can help for identifying the root cause.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masayuki,

Can you guide me as to whta and how do debug the problem I am facing.

Thanks and Regards,

Benita

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Benita,

Please follow this troubleshooting step.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masayuki,

Thank you so much for your guidance and help!

On refering this blog

when I searched for the package 'gpapp_apv_po' in se80 as mentioned in step 5 of the document, my system displays a message saying that the package 'gpapp_apv_po' doesnt exist.What do I do next?

Thanks and Regards,

Benita

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Benita,

GBAPP_APV_PO is the package for Approve PO. Your app is Approve Leave Requests but you get error before calling Approve Request. So you should set break point at TASKPROCESSING service.

Go to /IWFND/MAINT_SERVICE transaction and select the TASKPROCESSING. You see Service Implementation button at the lower right.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masayuki,

Do I go to /IWFND/MAINT_SERVICE transaction and select the TASKPROCESSING and press Service Implementation button at the lower right and then debug it entering /h in the command prompt?

Thanks and Regards,

Benita

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Benita,

UI component and backend OData component should be same release pair.

>Ui Component-UIHCM003 SP level 0003

>OData Component-GBHCM003 SP level 0007  <- This shoul dbe SP08

There must be some OData error. Please follow the troubleshooting steps.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Babu Ganesh V,

The instructions provided have been already applied.Please find the below screenshots for the same:

Thanks and Regards,

Benita

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Benita,

Please upload the system alias definition.

Gateway -> OData Channel -> Configuration -> Connection settings -> SAP NetWeaver Gateway to SAP System -> manage System Alias

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masayuki,

Above is the screenshot of the system aliases present on my system.

Thanks and Regards,

Benita

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Benita,

What is system alias assigned to the TASKPROCESSING service?

Is the system hub deployment or embedded deployment?

Regards,

Masa

Former Member
0 Kudos

Hi Masayuki,

The system alias assigned to taskprocessing service is IME_700.

The gateway is an embedded gateway.

Thanks and Regards,

Benita.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Benita,

Have you tested with IME_700_PGW?

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masayuki,

I tried using the system alias IME_700_PGW.I am now receiving the below error:

Thanks and Regards,

Benita

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Benita,

You have not applied mandatory notes.

1866093 Patches for the Gateway SPS06 required for FIORI

Please make sure you use the latest SP and apply all mandatory notes mentioned in the install guide.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masayuki,

This note is present on the system.For IME_700 the below error is displayed.

I also tried using IME_700_PGW but it displays the below error.

Thanks and Regards,

Benita

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Benita,

Please upload screenshots of SNOTE transaction which proof you have applied all 5 notes in the 1866093 Patches for the Gateway SPS06 required for FIORI.

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

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masayuki,

The Note 1866093 is present on my system as highlighted in the below screenshot:

Also the notes mentioned in the Note 1866093 as seen in the below screenshots are present on the system:

Also the notes present in the refrences section are present:

Thanks and Regards,

Benita

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Benita,

It says "System setting does not allow to change". It means notes are not applied.

Please ask your Basis consultant/System admin to setup the system correctly (Applying SP and mandatory Notes) before you start implementation.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Please check the lessons learnt troubleshooting series in this blog post

and let me know the exact error from chrome/safari and then I can provide more in inputs. Please check ll01 - 10 docs for e.g see one below:

thanks

Ashish

Former Member
0 Kudos

Hi Ashish,

Thanks for the information provided! But the Leave Approval App is opening a blank page in IE9 browser as seen below using  the link http://<server>...<port>/sap/bc/ui5_ui5/sap/ui5_hcm_lr_apv/index.html?sap-client=XXX:

I

However when I use the same link in Chrome Browser the below screen is visible:

Also the  notes that were mentioned in the blog below are present on the system.

SAP Fiori LL10 – SAP UI5 add on SP05 Issue with the Fiori Launchpage

What may be the issue?

babu_ganeshv
Participant
0 Kudos

Hi Benita,

Please maintain the scenario definition in SPRO, navigate to the path as metioned in the screenshot you posted above,

also make sure TASKPROCESSING service is maintained and activated.

Best Regards

Babu


Former Member
0 Kudos

Hi Babu Ganesh,

I have alreday maintained the scenario definiton in SPRO has mentioned in the Fiori installation document as seen in the below screenshot.Also the TASKPROCESSING service is maintained and activated.

babu_ganeshv
Participant
0 Kudos

Hi Benita,

Couple of things ...

1) Under Scenario definition, scroll right and check if Application URL is maintained (/SAP/BC/UI5_UI5/SAP/UI5_HCM_LR_APV/INDEX.HTML)

2) Chose this scenario definition and double click on the Task Definitions for Scenario

In here your WF task id should be assigned across the PGW System Alias,

eg:

Task Type       System Alias

TS12345678    SYS_PGW

Best Regards

Babu

Message was edited by: Babu Ganesh V