Tile task count for Approve Request custom scenario displays '???'

Dear all,
I've configured 'Approve Request' application for a custom Scenario like this:
With this task definition:
In /IWWRK/IF_TGW_SCENARIO~GET_TASK_COUNT method for ZCL_FUND_TASK_COUNT class I've defined the corresponding code for get Task count. This method has a breakpoint, and execution stops when I've clicked corresponding tile, but previously task count in tile displays '???':
Before I've clicked on tile, application runs successfully. Any idea for solve this issue?
Thanks very much and regards.
Luis

Hi Masa,
I've get the following error:
Regards.
Luis.

Similar Messages

  • What happens when counter for transport requests is exhausted ?

    Hi,
    Just a simple question: Do you know what happens if the counter for transport requests reaches it's limit ?
    Actually our development system has created E30K999205 as a last request/task. What will happen after E30K999999 ?? This will happen in two months...
    Regards,
    Joan

    Hi,
    Look at the below note .
    SAP Note:  106911.
    Thanks.

  • Identify task flow for the request

    Hi,
    We have a requirement identify for which task flow the new request has come? We have a left navigation bar, where menu links are configured and each menu activates one task flow. When the user clicks on any menu, the corresponding task flow is called. We would like to know in the phase listener to which taskflow the request is coming?
    Is there a way to know this? Our application is based on UI shell and when I look for requested URL always the same URL is coming.
    Thanks,
    Rama

    Hi,
    We have a requirement identify for which task flow the new request has come? We have a left navigation bar, where menu links are configured and each menu activates one task flow. When the user clicks on any menu, the corresponding task flow is called. We would like to know in the phase listener to which taskflow the request is coming?
    Is there a way to know this? Our application is based on UI shell and when I look for requested URL always the same URL is coming.
    Thanks,
    Rama

  • Need to restrict Tasks to come to Task list for Leave Request approval.

    Hi all,
    Can anybody guide me to resticting  the Task to come to Tak list For the Leave RequestApproval.
    As soon as we create a Leave Request  a task is generated and it is visible in task list.
    Here the requiremnet is the task which are generated for this LEave Request functionality should not  be seen in the task list.
    I have removed the task from UWL Configuration in XML code.
    Thanks and Regards,
    Anand

    Hi all,
    Can anybody guide me to resticting  the Task to come to Tak list For the Leave RequestApproval.
    As soon as we create a Leave Request  a task is generated and it is visible in task list.
    Here the requiremnet is the task which are generated for this LEave Request functionality should not  be seen in the task list.
    I have removed the task from UWL Configuration in XML code.
    Thanks and Regards,
    Anand

  • How to use position hierarchy for approval in custom workflow ?

    Dear All,
    I have created a custom workflow which fires when ever a new supplier site is created.
    Now I want to add approval hierarchy in this flow. For that I want to use Position Hierarchy.
    I have not find useful resources for doing that. Can you please help me?
    Regards,
    Rubayat

    Hi;
    Please review:
    How to Create a New Position Hierarchy [ID 437489.1]
    Adding Positions to a Hierarchy from Another Business Group [ID 356127.1]
    How To Determine Position Controlled Organizations In The Hierarchy? [ID 549628.1]
    How Does One Create and/or Update Position and Position Hierarchy in HR Using an API? [ID 736443.1]
    Using AME, How To Create Approval Routing To a Certain Position In HR Position Hierarchy [ID 1501433.1]
    Regard
    Helios

  • Escalation for approved request

    Hello colleagues!
    I've found interesting behaviour of my workflow. My path contains three stages: GRAC_MANAGER, ZLICENSE_CHECK and ZROLE_APPROVE. For the last I made escalation after 10mins to ZSELECT_ALTERNATIVE_OWNER.
    If I confirm request on the last stage it is closed. But after 10 mins the request raises again on ZSELECT_ALTERNATIVE_OWNER. Why does it happen? I though that if request was closed all other operations for it would be closed.
    How to resolve this issue?
    SAP_BASIS    702    0014    SAPKB70214    SAP Basis Component
    SAP_ABA    702    0014    SAPKA70214    Cross-Application Component
    PI_BASIS    702    0014    SAPK-70214INPIBASIS    Basis Plug-In
    ST-PI    2008_1_700    0009    SAPKITLRD9    SAP Solution Tools Plug-In
    SAP_BW    702    0014    SAPKW70214    SAP Business Warehouse
    GRCFND_A    V1000    0013    SAPK-V1013INGRCFNDA    GRC Foundation ABAP
    ST-A/PI    01Q_700    0002    SAPKITAB7L    Servicetools for other App./Netweaver 04
    Regards,
    Artem

    I mean that in one blogs or discussion was recommended to use the same Function for alternative agent as you use for the main, but with different decision table. For exapmle, if you have functional area BW and Appprover 1, so for alternative function decision table will be looking as BW = Approver2. When Alternative agent will be at work it will be looking for every lineitem, but not for unapproved only.
    Example,
    Main agent
    BW=Approver1
    BS=Approver2
    Alternative agent
    BW=Approver3
    BS=Approver4
    Runtime:
    BW=Approver1 approved
    BS=Approver2 was not approved in maintained time.
    Escalation
    BW=Approver3 will be approve all roles with BW functional areas that were approved by Approver1.
    BS=Approver4 approve.
    So that, I need to split (using property of lineitme something like revised) lineitems and those that were not approve send on escalation, the other don't send to alternative. If it's possible, my example would be looking like:
    BW=Approver1 approved
    BS=Approver2 was not approved in maintained time.
    Escalation
    BS=Approver4 approve.
    Hope I clarify my complicated thoughts.
    Regards,
    Artem

  • Getting UWL task count for all users in a role.

    Hi.
    I recently posted a question regarding a very similar issue, but I haven't got any response yet. I think my question might have been somewhat poorly phrased, so I will try to do better at explaining what we need.
    We have a number of processes, most of which need to be dynamically assigned to a user when created. The way we want to assign those tasks is by executing a WebService which would receive a role name and get all the users for that role. Then, using the UWL API, it would check how many tasks each of the users have in their UWL, and return the UserID for whoever has the least tasks. I haven't been able to get this to work. I keep getting Logged in users context or session doesn't exist Exception.
    Please, any help on this will be greatly appreciated.
    Currently working with SAP NWDS 7.1 SP05 PAT0005

    Hi,
    Thank you for your response, however, that's not what I need.
    For you and anyone esle who might find this extra info useful...
    I know how to get a user's role(s), and how to get the users in a role.
    I also know how to assign a task to a specific user dynamically.
    Using the UWL API, I know how to get the tasks (or items) in a user's UWL from a WD application, I need to do that from a WebService and using pretty much the same code, with the necessary adjustments, I can't get it to work.
    Furthermore, I'm able to get the UWL tasks for ONE user, that user being the one I log into the application with. For example, if I write code to get the tasks for user testUser1, I need to log in with testUser1 to get it to work, if I log in with any different user or make it a non-authenticated application, it won't work.
    Again, help on this is much needed and will be appreciated.

  • How do i create a Count for the no. of images displayed on stage

    i am a total newbie in flash ! & currently making a simple mcq quiz.
    each stage will have three choices of answers (A/B/C)
    every correct answers will be displayed an image :
    var myQ1a:URLRequest=new URLRequest("tick.png");
    in the end, how can i count the number of images displayed in the overall flash and display it.
    or.. perhaps you have other options on how can i display the scores.

    Hi.
    here's my code :
    stop();
    aa1.addEventListener(MouseEvent.CLICK, ona1Click);
    bb1.addEventListener(MouseEvent.CLICK, onb1Click);
    cc1.addEventListener(MouseEvent.CLICK, onc1Click);
    next1.addEventListener(MouseEvent.CLICK, onNext1Click);
    home1.addEventListener(MouseEvent.CLICK, onHome1Click);
    var Q1a:Loader;
    var Q1b:Loader;
    var Q1c:Loader;
    var Q1next:Loader = new Loader();
    var Q1home:Loader = new Loader();
    //the name of the function has to match what you're calling from the event listener
    function ona1Click(evt:MouseEvent):void {
    Q1a = new Loader();
    bb1.removeEventListener(MouseEvent.CLICK, onb1Click);
    cc1.removeEventListener(MouseEvent.CLICK, onc1Click);
    var myQ1a:URLRequest=new URLRequest("wrong.png");
    Q1a.load(myQ1a);
    addChild(Q1a);
    Q1a.x=320;
    Q1a.y=180;
    function onb1Click(evt:MouseEvent):void {
    Q1b = new Loader();
    aa1.removeEventListener(MouseEvent.CLICK, ona1Click);
    cc1.removeEventListener(MouseEvent.CLICK, onc1Click);
    var myQ1b:URLRequest=new URLRequest("tick.png");
    Q1b.load(myQ1b);
    addChild(Q1b);
    Q1b.x=320;
    Q1b.y=260;
    function onc1Click(evt:MouseEvent):void {
    Q1c = new Loader();
    aa1.removeEventListener(MouseEvent.CLICK, ona1Click);
    bb1.removeEventListener(MouseEvent.CLICK, onb1Click);
    var myQ1c:URLRequest=new URLRequest("wrong.png");
    Q1c.load(myQ1c);
    addChild(Q1c);
    Q1c.x=320;
    Q1c.y=340;
    //next1.addEventListener(MouseEvent.CLICK, onNext1Click);
    function onNext1Click(evt:MouseEvent):void {
    if(Q1a)
    removeChild(Q1a);
    if (Q1b)
    removeChild(Q1b);
    if(Q1c)
    removeChild(Q1c);
    gotoAndPlay(2);
    //home1.addEventListener(MouseEvent.CLICK, onHome1Click);
    function onHome1Click(evt:MouseEvent):void {
    gotoAndPlay(17);
    this code is on the 1st frame. this will go on till the 15th frame. i wonder where i can put the codes you've given me ..

  • 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,
    Varun

    I'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;

  • ESS leave request workflow : not able to approve request

    Hi experts,
    When i create leave request, work item for approving request is not coming in the approver's bussiness workplace. I am using std workflow WS12300111. Is there any customization needs to be done ??
    please help me
    Pointes will be rewarded
    Regards,
    Sameer

    Hi Samee,
    Did you select General Task in the steps of workflow you have an agent?
    Sónia
    You have a chief position on the Organization Unit where you have the employees?
    Sometimes it's possible to forget this one:
    Transaction SWDD, select the workflow  WS12300111 and press CTRL+F8 (Basic Data)
    there's another button "Agent assignment for task" (SHIFT+F9)
    set task to "General task" with the "Attributes..." Button. (EVERY user can start this task).
    And check this to:
    Using transaction SWFVISU, check the following entries and correct these where required:                                                         
    TS12300097 Java WebDynpro  APPLICATION LeaveRequestApprover                       
                     PACKAGE sap.com/ess~lea                                
    TS12300116 Java WebDynpro                                               
                     APPLICATION LeaveRequest                               
                     PACKAGE sap.com/ess~lea                                
    (check this, because usually you have an error, instead of sap.com you have com.sap)
    Register the work items again. Additional information about registering  work items is available in the UWL documentation.                       
    After re-register the System Alias again in the UWL - THIS IS VERY IMPORTANT
    Edited by: Sonia Santos on Jan 28, 2008 12:49 PM
    Edited by: Sonia Santos on Jan 28, 2008 12:51 PM

  • UWL - Error when lauching webdynpro for Approve time

    Please suggest me how to solve this error.
    As part of Manager Self Services (MSS) - we are getting error , when we try to click on the UWL Task link for "Approval of Working Times", UWL tries to launch a Webdynpro page and it could not find that.
    As we followed up with our basis team, they informed us that the Webdynpro Component does exists in the Portal.
    Error Details:       com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'sap.com/msscatapproval' and application 'CatManagerApprove' are not deployed on the server. Please check the used URL for typos.

    check from the content admin, If you are able to launch this correctly
    Please make sure you have defined the
    Task in SWFVISU.
    Task                           TS31000007
    APPLICATION    CatManagerApprove
    PACKAGE        sap.com/msscatapproval
    If you are using the standard task/
    http://help.sap.com/saphelp_nw70/helpdata/EN/20/f0c82c9f6748c58d
    9ea14b3bbed93a/content.htm
    This error occurs when the Portal is unable to detemine the above files due to the config issue of SAP_ECC_HumanResources
    Please check the port setting etc

  • How to create two respone for one request

    Hi
    is there any way for us to create two response for one request
    the scenario is as below
    1. user click on update button for particular record in the datatable (
    after its get updated and status get updated = 'UPDATED' it will remove the object from ObjectListDataProvider and clear the tablePhaseListener ).
    2. After it gets updated successfuly , i want to prompt the user with generateExcel function which using response.getOutputStream() using Apache POI.
    How can we combine 1 and 2 together
    Here what i have tried and didnt work
    1. i tried to put the generateExcel function in destroy() method after page is rendered but it gives me Exception
    2. i tried to put the generateExcel function in prerender() method
    but the page will only execute the generateExcel function
    - the data still get updated to the database but it doesnt refresh the page ( i meant the removing object and tablephaseListener.clear() doesnt work )
    3 . i tried to put generateExcel Function after it process the data
    public String updateData()
           //update data
           if(success){
                // prompt user to save excell sheet
            return null;
         }This one also doesnt work and gives the same behaviour as number 2
    The Prompt to save excel sheet still gets popped up
    but the page just doesnt get refreshed
    Thanks
    is anybody know the workaround?

    yea i did set some alert message and clear the table by calling
    provider.removeRow and commitChanges
    it just doesnt reflected in the page that we see
    by actually is already removing the row from the provider
    Thanks

  • Universal Worklist task restrictions for ECC transactions

    All,
    We are on NW04 and have recently implemented the Universal Worklist (UWL) and have limited our tasks displayed to just two tasks as specified below as mentioned in thread: UWL restrict list of tasks to display .
    supportedItemTypes="uwl.task.webflow.TS21300098, uwl.task.webflow.TS90700186"
    These are both Web Dynpro java tasks (and configuerd in the Visualization SWFVISU) and this works as expected.  We would now like to add a new task which is not web dynpro.  It is a dailog task to an ECC transaction.  If I add the task to the string of supported item types, it does not appear.  If I remove the restrictions and change the supporteditemtypes parameter back to "uwl.task", then the new task appears and executes correctly.
    Can anyone assist with getting the transaction task to be a supported item type?  Do I need to add visualization for this task?  If so, what is the visualization type?  The options in the drop down in SWFVISU do not seem to apply.
    By the way, the approval task I'm adding is delivered task TS40007901 for approval of the CATS Timesheet.
    Any help is appreciated.  Thanks in advance.
    -Jeff-

    You can call also pages using the IViewLauncher.
            <Action name="launchWebDynPro" groupAction="" handler="IViewLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="iview" value="ROLES://portal_content/Fresenius/kabi_nl/Iviews/ESS/Zeitmanagement/com.fresenius.Abwesenheitsmitteilung"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="DynamicParameter" value="wi_id=${item.externalId}"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
    But why would you want to have the navigation too in a new window ?
    That would confuse me as a user to have 2 navigations in 2 windows.
    The problem with UWL in general (using a popup) is that after you are finished in the popup,
    the task is still there. I get lots of complaints; waiting for EhP3 or 7.3. There should be a instant refresh UWL feature.....
    Regards,
    Kai

  • AP Approval Notification - URL not displayed correctly

    Hi,
    we are working in R12 on the AP Invoice Notification for approval. We are displaying all invoice details and the customer had an URL displayed correctly in the notification in R11. The URL is pointing to an Scan of the actual Invoice.
    In R12 we are not able to te get the URL correctly displayed on the notification. Since the URL is pointing to an picture (in TIF format), the notification tries to embed the picture. We would like to display the URL.
    Any suggestions how to get this done?
    Thx Roel.

    We found the solution.
    We added the string 'LNK:' right before the URL and this worked.

  • Approve Button not visible in Tasks for Leave request in Tasks- MSS

    Dear gurus,
    Approve Button not visible in Tasks for Leave request in Tasks- MSS, anything missing on config end????
    Any suggestions....
    regards,
    Rajasekar.

    hello Bala,
    there was some config missing in UWL, now it is working and here we have got some button launch dynpro ..this is leading to pop where we can approve or reject....
    Thanks alot Bala..
    In this we are getting more info, Display details in SAP GUI, View History, View all Time Approval and Attachments of Documents which leads to leave request details. These may be too flashy for the Manager who are from the typcial production centers....industries...So is there any way out for Hiding these.
    Regards,
    Raj

Maybe you are looking for