Error in Approve Requisitions Fiori App
Hi All,
I am configuring the fiori app "Approve Requisitions", and when clicking the tile in the launchpad, I am getting the error: "Could not start the app due to a configuration problem".
The strange thing is that I have configured the app "Approve Travel Request" without problems, and it's working great. I can approve and reject the travels.
I think that the error I am getting with the "Approve Requisitions" app, is due to the workflow is a custom one, and the approval task is different from the one that the standard workflow for approve requisitions have.
Does anyone have any idea which is the reason of the error?
Thanks in advance,
Emanuel
Finally, the error was due to a lack of configuration.
I was missing the activation of some services in transaction SICF.
Front-End Server: Activate SAP UI5 Application
Component
Technical Name
SAP UI5 Application
MM_PO_APV
Best Regards,
Emanuel
Similar Messages
-
Error Workflow System:error on approving Requisition
Hi,
DB:11.1.0.7
R12.1.1
OS:Linux 86x64 Red Hat Linux
We are receiving Error Workflow System:error on approving Requisition?
Could anyone please share the resolution on it if faced before?
Thanks for your time!
Regards,Hi
I see the below error in log.
Abort Resolved Retry Reassign Request Information
To SYSADMIN
Sent 20-Apr-2011 13:15:54
ID 5008
An Error occurred in the following Workflow.
Item Type = POAPPRV
Item Key = 104-108
User Key =9
Error Name = WFENG_ITEM_ATTR
Error Message = 3103: Attribute 'DOCUMENT_ID' does not exist for item 'POAPPRV/104-108'.
Error Stack =
PO_REQAPPROVAL_ACTION.ReserveAutonomous(010)
PO_REQAPPROVAL_ACTION.ReserveDoc(ReserveDoc 020: Doc Header Id = 104)
PO_REQAPPROVAL_ACTION.Reserve_Doc(POAPPRV, 104-108, PO_REQAPPROVAL_ACTION.Reserve_Doc: 01)
Wf_Engine.GetItemAttrNumber(POAPPRV, 104-108, DOCUMENT_ID)
Wf_Engine_Util.Function_Call(PO_REQAPPROVAL_ACTION.RESERVE_DOC, POAPPRV, 104-108, 229749, RUN)
Activity Id = 229749
Activity Label = DOC_RESERVE_PROCESS:RESERVE_DOCUMENT
Result Code = #EXCEPTION
Anybody have any idea on this.
Thanks and Regards, -
Approve Request Fiori app - UI Extensions not working
We have configured the standard Approve Requests app to show Customer Invoice approval and it works fine. And there are 3 requirements I am trying to achieve in our sandbox on top of the Approve Requests (CA_ALL_APV) app.
1. Add a custom UI field in the info tab of the details page.
2. Enable to show the attachment and notes tab (standard app has these 2 not visible)
3. Enable multiple approval(I think i'll start another discussion for this requirement since standard doesn't support mass approval-which is such a negative for this app)
After downloading the application and adding it to an SAPUI5 project in eclipse, I made the following changes:
For requirement 1, I created InfoFields.fragment.xml where i have the below code:
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
<Label text="Vendor ID"/>
<Text text="1234"/>
<Label text="Custom Field 2"/>
<Text text="Custom Text 2"/>
</core:FragmentDefinition>
Additionally for requirement 1 along with requirement 2, i created a customizing object under the metadata object with the below code in Component.js:
customizing : {
"sap.ui.viewModifications": {
"cross.fnd.approve.requests.view.S3": {
"ARAttachmentIconTabFilter": {
"visible": true,
"cross.fnd.approve.requests.view.S3": {
"ARNoteIconTabFilter": {
"visible": true,
"sap.ui.viewExtensions" : {
"cross.fnd.approve.requests.view.S3":{
"CustomerExtensionForInfoTabContent": {
className: "sap.ui.core.Fragment",
fragmentName: "cross.fnd.approve.requests.view.InfoFields",
type : "XML"
After making the changes, I uploaded the WebContent folder of the project back to the backend with the report /UI5/UI5_REPOSITORY_LOAD.
I named the new BSP application ZVCA_ALL_APV5.
How i tested? I tested it in 2 ways:
1. From SE80, Right Click and test. This does not load anything. A blank page is shown. The console in the IE developer tools shows no errors.
2. Change the URL in LPD_CUST to point to the new BSP. The run the fiori launchpad. this will show the tile for Approve Requests with the correct number of workitems as 2. But once you click on the tile, an error popup is shown which reads 'Failure - Unable to start App'. The console in IE has an error: "TypeError - Object doesn't support property or method '_createRequestUrl' Approve Requests".
I made the changes to Component.js and did not touch Component-dbg.js or Component-preload.js. Do i need to change these 2 files too each time i change Component.js?
We are in process to decide if we really want to use Fiori or go with Kony. So I would want to get Fiori working in sandbox with our custom requirement to give it a chance.
@Fiori Gurus: What do you think the problem is? Am i making any silly mistake here?
Best Regards,
VarunI'm sorry , here below is the correct version.
jQuery.sap.declare("cross.fnd.approve.requests.Component");
jQuery.sap.require("sap.ui.core.UIComponent");
jQuery.sap.require("sap.ca.scfld.md.ConfigurationBase");
jQuery.sap.require("cross.fnd.approve.requests.Configuration");
jQuery.sap.require("sap.ui.core.routing.Router");
jQuery.sap.require("sap.ca.scfld.md.ComponentBase");
// new Component
sap.ca.scfld.md.ComponentBase.extend("cross.fnd.approve.requests.Component", {
metadata : sap.ca.scfld.md.ComponentBase.createMetaData("MD", {
"name": "Approve Requests", // F0392
"version" : "1.2.9",
"library" : "cross.fnd.approve.requests",
"includes" : [
"dependencies" : {
"libs" : [
"sap.m",
"sap.me"
"components" : [
"config" : {
"resourceBundle" : "i18n/i18n.properties",
"titleResource" : "SHELL_TITLE",
"icon" : "sap-icon://approvals",
"favIcon" : "./resources/sap/ca/ui/themes/base/img/favicon/Approve_Requests.ico", //FIXME: should use F0392, but resource is not like that for W1s
"homeScreenIconPhone" : "./resources/sap/ca/ui/themes/base/img/launchicon/Approve_Requests/57_iPhone_Desktop_Launch.png", //FIXME: should use F0392, but resource is not like that for
"homeScreenIconPhone@2" : "./resources/sap/ca/ui/themes/base/img/launchicon/Approve_Requests/114_iPhone-Retina_Web_Clip.png", //FIXME: should use F0392, but resource is not like that for
"homeScreenIconTablet" : "./resources/sap/ca/ui/themes/base/img/launchicon/Approve_Requests/72_iPad_Desktop_Launch.png", //FIXME: should use F0392, but resource is not like that for
"homeScreenIconTablet@2" : "./resources/sap/ca/ui/themes/base/img/launchicon/Approve_Requests/144_iPad_Retina_Web_Clip.png", //FIXME: should use F0392, but resource is not like that for
"startupImage320x460" : "./resources/sap/ca/ui/themes/base/img/splashscreen/320_x_460.png",
"startupImage640x920" : "./resources/sap/ca/ui/themes/base/img/splashscreen/640_x_920.png",
"startupImage640x1096" : "./resources/sap/ca/ui/themes/base/img/splashscreen/640_x_1096.png",
"startupImage768x1004" : "./resources/sap/ca/ui/themes/base/img/splashscreen/768_x_1004.png",
"startupImage748x1024" : "./resources/sap/ca/ui/themes/base/img/splashscreen/748_x_1024.png",
"startupImage1536x2008" : "./resources/sap/ca/ui/themes/base/img/splashscreen/1536_x_2008.png",
"startupImage1496x2048" : "./resources/sap/ca/ui/themes/base/img/splashscreen/1496_x_2048.png"
// Navigation related properties
viewPath : "cross.fnd.approve.requests.view",
detailPageRoutes : {
"detail" : {
"pattern" : "detail/{SAP__Origin}/{InstanceID}/{contextPath}",
"view" : "S3",
fullScreenPageRoutes : {
"detail_deep" : {
"pattern" : "detail_deep/{SAP__Origin}/{InstanceID}/{contextPath}",
"view" : "S3",
customizing : {
"sap.ui.viewExtensions" : {
"cross.fnd.approve.requests.view.S3":{
"CustomerExtensionForInfoTabContent": {
className: "sap.ui.core.Fragment",
fragmentName: "cross.fnd.approve.requests.view.CustomFrag1",
type : "XML"
* Initialize the application
* @returns {sap.ui.core.Control} the content
createContent : function() {
var oViewData = {component: this};
return sap.ui.view({
viewName : "cross.fnd.approve.requests.Main",
type : sap.ui.core.mvc.ViewType.XML,
viewData : oViewData
setDataManager : function(oDataManager) {
this.oDataManager = oDataManager;
getDataManager : function() {
return this.oDataManager; -
Approve Requisitions Fiori application issue
Hi,
We have configured a standard "Approve Requisitions" application on the Fiori launchapad.
The application workflow is working fine from Portal end for first two scenarios, but the workflow status doesn't get changed in R/3 for Scenario3 and 4 as explained below.
Scenario1- User clicks on "Approve", the status gets updated at backend properly.
Scenario2- User clicks on "Reject", the status gets updated at backend properly.
Scenario3- User clicks on "Claim", the status at backend doesn't get changed to "Reserved"
Scenario4- User clicks on "Release", the status at backend doesn't get changed to "Released"
Could you please check on this and advise. Thanks in advance.
Regards,
YuvrajHi Yuvraj,
Check the status of work item in transaction SBWP and compare with the below screen,which gives the information in which state Reserve and Claim will work:
Regards,
Trilochan -
Error while approving requisition using Fiori
Hi All,
I was able to configure the Purchase Requisition Approval apps in Fiori and I can able to see all the requisitions waiting for my approval.
When I try to approve the requisition, it is getting approved.
but it is not deleting from the list and in backend also it is not deleting from business workplace.
but the release status of the PR is Released in me53n t-code.
What could be the problem it is not deleting from the list when approved/rejected.
Thanks,
Venu
Tags edited by: Michael ApplebyHi Venu,
The root cause is your custom workflow template or your user decision task.
There are several ways for a solution.
1. Use SAP delivered standard approval task instead of user decision task
2. Set same container elements for the user decision from SAP delivered approval task and implement BADI which fills user decision result container.
3. Change your custom workflow template which checks user decision result container. Check the approval result from PR document instead of user decision result container.
4. If you want to stick to the user decision, you can use Fiori Approve Requests instead of Approve PR.
1. is an easy solution.
Regards, Masa
SAP Customer Experience Group - CEG -
Hi All,
provide solution for this error .
Thanks & Regards
Rakesh RFinally, the error was due to a lack of configuration.
I was missing the activation of some services in transaction SICF.
Front-End Server: Activate SAP UI5 Application
Component
Technical Name
SAP UI5 Application
MM_PO_APV
Best Regards,
Emanuel -
Fiori Approve Requisitions error - unable to start app
Hello Experts,
We have implemented the UIX01EAP (SAPK-10002INUIX01EAP) Fiori component. I have followed the link Approve Requisitions.
I have activated the OData Service GBAPP_PRAPPROVAL, activated the UI5 application MM_PR_APV, assigned the Business Role SAP_MM_BCR_Buyer_X1, Technical Role SAP_MM_TCR_T_X1 in the Front-end Server and the authorization role SAP_MM_PR_APV_APP in the Back-end server to the relevant User ID.
I have also followed the Configuration Tasks given in the above link including maintaining the Workflow Task under Customizing for Materials Management under Purchasing Purchase Requisition Approve Requisitions App Specify Workflow Task IDs for Approve Requisitions App.
After this when I login to the launchpad URL using the approver user, I am able to see the Buyer (MM) group on the home page and also the Approve Requisitions tile with the correct number of pending workitems.
But when I click on the Approve Requisitions tile to open the app, I get an error popup saying Failure - Unable to start App and get the below error in Chrome console.
Can this be due to some missing role/authorization? Or can this be an issue with the Approve Requisitions app itself?
Regards,
SaurabhThanks for your response Masa.
I am getting the below response when I run the service /sap/opu/odata/UI2/INTEROP/ResolveLink service:
Regards,
Saurabh -
Hi All
I have recently cofgured SAP Fiori approve requisition (Purchase requisition) using custom workflow. Attached is the error I get when rejecting or approving a purchase requisition.
Please note that the error only Occurs in QA and works fine in DevPlease check troubleshooting steps @ SAP Fiori - Configuration
http://scn.sap.com/community/mobile/blog/2013/11/13/sap-fiori-ll11--consultants-should-know-about-odata-troubleshooting
Pls put break point in backend ECC and check where the errors are coming from. You can also see /iwfnd/error_log txn in SAP GW to inspect the errors in GW side. On backend you can check in ST22 or put breakpoint and troubleshoot.
First check general troubleshooting using oData in link above and see where the error is coming from.
thanks
Ashish -
Error in "Display G/L account balances" Fiori app
Hi experts,
I am getting below error while configuring the "Display G/L account balances" SAP Fiori app in our demo landscape. I am getting the similar error for all other 6 Finance apps that I am trying to configure.
Cannot call "Service"
GW error log says that this is an authorization error
The app was configured according to the standard SAP Fiori app configuration process, all services have been activated, roles have been created and assigned correctly to my user etc.
Here is also a su53 screenshot from backend SAP system
Below are the system details:
Gateway - SAP NW 7.4 SP10, UI for sFIN UIAPFI70 release 200(latest), SAP_UI SP11(latest)
Backend - SAP ECC 6.0 EhP 7 SP07, SAP_FIN 720(latest)
Do you have any pointers or ideas? Any help will be much appreciated!
Cheers,
AbhinavAbhinav,
How did you activate the Gateway service? (FAC*ENTITIES)
There seems to be some problems with Service registration. (/IWFND/MAINT_SERVICE)
In addition there seems to be problem with RFC authorization. -
Configuration of Fiori app Approve Travel Expenses
Hi gurus,
I'm new on SAPUI5 technology, I need to do a simple configuration on standard Fiori app Travel expenses Approval (bsp ui5_fi_trex_apv).
I need to hide ui elements and change text translation of some labels.
I followed the guide 'Extending and testing SAP Fiori Apps', but I have some difficulty in the implementation of file component.js.
For example I need to hide the table TEA_LIST_COSTASSIGNMENTS in view details.Home.
I copied the example code excerpted from the guide, but I do not know how to retrieve the following values from standard app:
jQuery.sap.registerModulePath
jQuery.sap.declare
jQuery.sap.require
My Code :
Another question: after custom implementation, how can I test it ?
Thanks
Massimo
Tags edited by: Michael ApplebyHi Massimo,
Please use UI extension points.
App Implementation: Approve Travel Expenses - SAP Fiori for SAP ERP 1.0 - SAP Library
Please use new SAP Fiori Launchpad
Extensibility
Regards,
Masa
SAP Customer Experience Group - CEG -
Fiori Approve requisition (Header) can't fetch item data
Hi,
I am trying to implement approve requisition (approval by header level).
I can see the number of PR I need to approve in the tile,
But when I click, it is HTTP error, and there is dump at the backend (CL_GBAPP_APV_PR_API)
this is because the item number is 00000.
system is new, notes are implemented.
any idea?Hi Masayuki,
We have the same issue here and our SP level are the following:
GBAPP002 SP07
UIX01EAP SP04
Error in the frontend: {"error":{"code":"/IWFND/CM_BEC/026","message":{"lang":"pt","value":"Erro RFC: Access via 'NULL' object reference not possible."},"innererror":{"transactionid":"5486B3C840FD1830E10000000A5A0C07","timestamp":"20141210160652.9077510","Error_Resolution":{"SAP_Transaction":"Run transaction /IWFND/ERROR_LOG on SAP NW Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"},"errordetails":[]}}}
Dump in the backend: -
Fiori leave request error "Could not start the app due to an internal error"
Hi,
I'm getting this error "Could not start the app due to an internal error" when accessing leave request application.
I don't get this error when I login and launch the app for the first time. when I go back to the home screen and select "My Leave Requests" app again, I get this error.
If I close the error message and do a browser refresh, everything is fine again for the first time, if I access the LR app again- same error .
Other apps are working fine.
I don't see any error in gateway or App logs.
below is the Request URI
/sap/opu/odata/UI2/INTEROP/ResolveLink?linkId=%27LeaveRequest-createLeaveRequest%27&shellType=%27FLP%27&formFactor=%27desktop%27
Service call info
Anyone with similar issue? any SAP notes?
we are on
UI2_731 100 0009 SAPK-10009INUI2731 SAP UI2 IMPL. FOR NW 7.31
UI2_FND 100 0009 SAPK-10009INUI2FND SAP UI2 FOUNDATION
UI2_SRVC 100 0009 SAPK-10009INUI2SRVC SAP UI INTEGRATION SERVICES
UI5_731 100 0009 SAPK-10009INUI5731 SAP UI5 TEAM PROVIDER ON 731
UISAPUI5 100 0009 SAPK-10009INUISAPUI5 SAP UI5
UI_INFRA 100 0009 SAPK-10009INUIINFRA SAP UI INTEGRATION INFRASTRUCTURE
UIX01HCM 100 0003 SAPK-10003INUIX01HCM UI for HCM Application
Tags edited by: Michael ApplebyHi Masa,
We have required SAP notes now, we are on version 1.22.5.
It is still the same, working the first time I access the App, but subsequent access wont work until i refresh browser.
I've include the response and lpd/tile screens.
Thanks,
Phani -
Fiori App-Customer Invoice Error
Hi,
We are unable to get invoices created after the month of February on the fiori app for customer invoice.There are multiple invoices created yet none of these appear on our Fiori app.Could you help me with this?PFB the screenshot for the same.
Regards,
AnnHi Naresh,
Please take a look troubleshooting steps and test the OData URI in Gateway client.
Make sure the OData service is registered in the transaction /iwfnd/maint_service.
SAP Fiori LL11 - Consultants should know about OData troubleshooting
Regards, Masa
SAP Customer Experience Group - CEG -
Launch new UIX Fiori app without Fiori Launchpad
Hi,
I want to integrate a new SAP Fiori APP in the SAP Netweaver Portal.
I used the UI5 iview template to call Fiori BSP, but the standard BSP FIN_TE_APV does not have any index.html page,
then when I try to test it an error is returned.
I also tried to set the link to Fiori Homepage , /sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html
But it doesn.t works.
Have you got any suggestion on how to solve this issue?
Best regards
MaxHi Max,
Could you test with this?
/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=100&sap-language=EN#TravelExpense-approve
#<semantic object>-<action>.
Regards, Masa
Customer Experience Group - CEG -
Extend/Change the Standard Fiori App code
Hi,
We have implemented FIORI App in our SAP landscape.After implementation app is running fine.I want the change the standard FIORI App code for a specific app like change the label,change the Background Image,Change the Font style etc.I googled and made changes according to the article provided.
Steps done to change the Standard app code.
1)Downloaded the source code and uploaded in eclipse.
2)Created a Extension Project and replaced the entire view with my new view.
3)Shared the project and submitted the changes in gateway system.
4)Created semantic object and other things required to show the custom app on launch pad.
5)But when I click on custom app developed on the Launch pad it is navigating to a blank screen with no UI elements.But standard app is working fine.
So please tell me the correct procedure to change the app and show it on Launch pad.
Tags edited by: Michael ApplebyHi Ritesh,
Following are the steps I followed in extending a Fiori App.
I am trying to extend HCM_LR_APV(Approve Leave request ) app.
So I downloaded HCM_LR_APV BSP Application.
I uploaded in Eclipse IDE .I created an Extension Project(ZHCM_LR_APV) for this.
For testing I tried to change the Icon in one of the view.
So I replaced the S3 view by placing the Original Code same and changing the Icon only.
In Component.js file I gave the path to the parent application in Load function.See the below code for your reference.
jQuery.sap.declare("hcm.mgr.approve.leaverequests.CUST_HCM_LR_APV_EXT.Component");
sap.ui.component.load({
name: "hcm.mgr.approve.leaverequests",
url:"/sap/bc/ui5_ui5/sap/hcm_lr_apv",
hcm.mgr.approve.leaverequests.Component.extend("hcm.mgr.approve.leaverequests.CUST_HCM_LR_APV_EXT.Component", {
metadata: {
version : "1.0",
config : {
"sap.ca.i18Nconfigs": {
"bundleName":"hcm.mgr.approve.leaverequests.CUST_HCM_LR_APV_EXT.i18n.i18n"
customizing: {
"sap.ui.viewReplacements": {
"hcm.mgr.approve.leaverequests.view.S3": {
viewName: "hcm.mgr.approve.leaverequests.CUST_HCM_LR_APV_EXT.view.S3Custom",
type: "XML",
Then I submitted the changes and tested the Custom BSP Application.But I am getting the error as below
Error Message:
Failed to load resource: the server responded with a status of 404 (NOT FOUND) http://sapfiorisrvr.domain.com:portno/sap/bc/ui5_ui5/sap/zhcm_lr_apv_ext/Component-preload.js
Thanks&Regards,
Akhil Das
Maybe you are looking for
-
Downloading External Resources in Applet to Load Game
Hey all, I was wondering how I could download and use separate packages from my applet to use when making a game. For instance, the user would load up my main applet, which would then present a "loading" screen that shows the progress of the download
-
Format first and last record of result query
Hello I have the following query <tt>select 1 seq, 'This is First record' data from dual union all select 2, 'Data ' || tname from tab union all select 3, 'This was last record Last record' from dual order by 1</tt> When i spool this statement to a l
-
BOR events as user-exits?
Hi! Is it possible to use BOR events as enhancements (user-exits) in ABAP? For example, the BOR object "BUS1178001 - Material" has event "Material.Created". I suppose this event is raised when an article was created in Material Master. Is it possible
-
"We could Not Complete Your Request" Error
Got an email yesterday saying that i'd failed to reset my Apple password even though i havent tried so i was a little concerned, I've tried to connect to my account, I can see the iTunes store fine and download free podcasts that dont require a log i
-
AddWaterMarkfromfile method problem - VB 6.0
Hello! I am having an issue calling the addwatermarkfromfile method using Visual Basic 6.0. (Not .net) Here's my basic code I am using to test: Private Sub Form_Load() Dim gApp As Acrobat.CAcroApp Dim gPDDoc As Acrobat.CAcroPDDoc Dim gPDpage As Acrob