MSS - CATS -  Approve All to Resubmit All

Hi,
One of the requirements of the client is as:
"Time Approval in MSS (UWL/Approve Working Times):
Currently default for approval in the Aprove Working Time is set to "Approve All" (in the drop down list).
Can this default be changed to "Resubmit All"?"
What are the ways of achieving this.
As far my investigation, this cannot be achieved through configuration in backend.
Secondly, the drop dopwn list cannot be changed via Ctrl+Right Click on the iView.
Please suggest.

No need for an enhancement. Simply modify the application configuration under the parameters tab.
Set parameter DEFAULT_APPROVAL of app. config HRMSS_AC_CATS_APPROVAL to 3. Keep in mind, after a server round trip there is SAP code that sets the default value to 4 regardless of your application parameter. I used an implicit enhancement overwrite to comment this out as a fix. Never could figure out why they set it to 4 and ignore the user parameter after a rebuild of the table.

Similar Messages

  • CATS Approval in MSS  - same error, other issue?

    We have upgraded our portal and HR environment to the latest sp and enhancement packs.
    In the testing we get a blocking dump in the time approval in MSS.
    error: Exception condition "NOT_FOUND" raised., error key: RFC_ERROR_SYSTEM_FAILURE
    debug with st22 gives function module DDIF_NAMETAB_GET
    Yes, a lot of topics are handling about this error:
    CATS Approval in MSS
    CATS Approval in MSS
    CATS Approval in MSS
    I've checked the table TPT_FIELD_SEL_C between development and our testing environment and they are the same.
    The only special thing is that we don't use the standard SAP_LINE approval view (see IMG), but our own custom one. The SLIN is not configured ok, but our own "ZLIN" fields are configured ok (into table TPT_FIELD_SEL_C).
    Has anybody an idea?
    Debug info ST22
         DATA DFIES_wa TYPE DFIES.
         IF ALL_TYPES IS INITIAL AND lfieldname IS INITIAL.
            lfieldname = fieldname.
         ENDIF.
         CALL FUNCTION 'DDIF_NAMETAB_GET'
              EXPORTING
                   TABNAME     = tabname
                   ALL_TYPES   = all_types
                   LFIELDNAME  = lfieldname
                   GROUP_NAMES = group_names
                   uclen       = uclen
              IMPORTING
                   X030L_WA    = X030L_wa
                   DTELINFO_WA = dtelinfo_wa
                   TTYPINFO_WA = ttypinfo_wa
                   DDOBJTYPE   = ddobjtype
                   DFIES_WA    = DFIES_wa
              TABLES
                   DFIES_TAB   = DFIES_tab
              EXCEPTIONS
                   OTHERS      = 2.
         IF SY-SUBRC <> 0.
    >        RAISE NOT_FOUND.
         ENDIF.
         IF NOT lfieldname IS INITIAL.
            APPEND DFIES_wa TO DFIES_tab.
         ENDIF.
    ENDFORM.                    " Get_nametab_info

    I think we have got similar issue and raised an OSS message and the reply we got
    This happens due to the missing customisation in Mss.
    ie Configuration for screen areas CTS and CTD is missing. View
    V_PT_FIELD_SEL is meant to hold the relevant information.
    Please have a look at the client 000 for the default customisation.
    So, What you need to do is write table TPT_FIELD_SEL_C on a transport
    and transport it to client . You will then have all the setting
    you need for the application to work.
    Also,
    The solution is to write down all the
    technical field-names from view groups CTS and CTD in table TPT_FIELD_S
    EL_C, then use the config area to select the fields properly. This overwrites the TPT_FIELD_SEL_C table entries with ones that have the "tabname" populated! The application will now work as expected.
    Please try producing a new transport of the entire table TPT_FIELD_SEL_Cas R3TR TABU with appropriate key and transport to yor system, you
    should choose to overwrite the destination table. Please let us know
    the result after.
    Please check the customisation for MSS approval.
    SAP_LINE: Model approval view for line managers. It groups recorded data according to the employees assigned to the line manager.
    For example the above view has been defined? or you can adapt to your
    needs.
    Can you try to import the transport again but make sure that "overwrite
    orginals" in the OPTIONS tab is selected?
    Transactrion SE01
    Select create a the workbench request.
    then doble click into the request
    and push the button Display/Change
    Enter here the entry "R3TR TABU TPT_FIELD_SEL_C"
    Push enter
    Then one icon with a Key appear
    Push the key and enter * for all the table entries or select the
    each one that you need.
    If the changes are correctly available then it will work correctly
    Please ensure that the transport is done correctly
    Thanks
    Bala Duvvuri

  • CATS Approval through MSS WD - Default to "Resubmit All" than "Approve All"

    Hi,
    Is there any possibility to change the CATS Portal WD Timesheet Approval defaults to "Resubmit All" than "Approve All"?
    Any input or feedback is highly appreciated.

    To default the Resubmit all:
    WD CATS Approval through MSS - Default to "Resubmit All" - HRMSS_CAT_WD_APP
    To change the sort:
    WD CATS Approval through MSS - sorting the options "Resubmit All, etc"
    Regards.
    Abel.

  • Complete Workflow after approving all tasks

    Hello everybody,
    I'm face to a big problem with approval workflow OOTB. In my case, when one user from approvers approve his task. The workflow must be completed and we we din't need to wait other approvment. So, I developed an event receiver on Tasks Workflow list and I
    checked the first approvment. After, that I approve all other tasks by code. The problem, the status of workflow is still equal to "In progress" despite the ending of all tasks ! It is strange.
    This my code in event receiver of the list :
    public override void ItemUpdated(SPItemEventProperties properties)
    base.ItemUpdated(properties);
    SPList list = properties.List;
    SPWeb web = properties.Web;
    SPList createDocument = DMSUtility.GetListByUrl(web, DMSConstants.LIST_CreateDocument);
    string workflowItemId = string.Empty;
    string taskStatus = string.Empty;
    string taskID = string.Empty;
    string taskworkflowStatus = string.Empty;
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using (SPSite site = new SPSite(web.Site.ID))
    using (SPWeb webSecure = site.OpenWeb())
    if (list.RootFolder.Url.Equals((DMSConstants.LIST_CreateDocumentWorkflowTasks)))
    //Get Tasks item
    SPListItem itemTask = properties.ListItem;
    if (itemTask["WorkflowOutcome"] != null && itemTask["WorkflowItemId"] != null)
    workflowItemId = itemTask["WorkflowItemId"].ToString();
    taskStatus = itemTask["Status"].ToString();
    taskworkflowStatus = itemTask["WorkflowOutcome"].ToString();
    taskID = itemTask["ID"].ToString();
    if (taskworkflowStatus.Equals("Approved"))
    SPListItem item = createDocument.GetItemById(Convert.ToInt16(workflowItemId));
    // fetch workflow tasks
    SPWorkflowTaskCollection wfTasks = item.Tasks;
    int i=0;
    foreach (SPWorkflowTask task in wfTasks)
    // build a hashtable with the values to be changed to mark the task as complete
    if (task["ID"].ToString() != taskID && task["Status"].ToString()!="Completed")
    using (DisabledItemEventsScope scope = new DisabledItemEventsScope())
    task.Web.AllowUnsafeUpdates = true;
    task["Status"] = "Completed";
    task["WorkflowOutcome"] = "Approved";
    task[SPBuiltInFieldId.WorkflowVersion] = 1;
    task.SystemUpdate();
    Hashtable ht = new Hashtable();
    ht[SPBuiltInFieldId.Completed] = "TRUE";
    ht["Completed"] = "TRUE";
    ht[SPBuiltInFieldId.PercentComplete] = 1.0f;
    ht["PercentComplete"] = 1.0f;
    ht["Status"] = "Completed";
    ht[SPBuiltInFieldId.TaskStatus] = SPResource.GetString
    (new CultureInfo((int)task.Web.Language, false),
    Strings.WorkflowStatusCompleted, new object[0]);
    ht[SPBuiltInFieldId.WorkflowOutcome] = "Approved";
    ht["TaskStatus"] = "Approved";
    ht["FormData"] = SPWorkflowStatus.Completed;
    // alter the task using a trick to prevent task lock issue
    //AlterTask((task as SPListItem), ht, true, 5, 100);
    SPWorkflowTask.AlterTask((task as SPListItem), ht, true);
    while (!(bool)item.Tasks[i]["Completed"])
    Thread.Sleep(1000);
    task.Web.AllowUnsafeUpdates = false;
    task.Web.Update();
    i++;
    Do you have any idea ?
    Thanks.

    Hi,
    I have verified creating the simple approval workflow process.  Use the following two actions instead of setting workflow status to approved and stop the workflow.
    In this scenario, when one approver approves the task, others task is marked as cancel and his task will be marked as approved and list item will be marked as approved.
    And finally, one more thing, the approval process approvers must be in parallel
    Hope this will resolve your problem.
    Please mark as answered, if your problem resolved.

  • Approve all the tasks at a time in BPEL worklist

    Hi
    I hav edpeloeyd a bpel process wherein it creates 40 r 50 tasks at a time based on file polling xml....user wants an option in worklist application wherein he wants to approve all the tasks at a time and not individually..does anybody has any idea on this
    regards,
    ravi

    Best option is a programatic solution using the worklist API. I think there are threads on that topic.

  • Fiori Approve All app rendering issue

    Hi,
    I have a strange issue with the the Fiori Approve All app (ui5_ca_all_apv) when rendering in any desktop browser. I have tried IE9, Chrome and Firefox. What happens is it doesn't seem to load the css properly. The UI5 runtime on the system is 1.22.2
    On first load I usually get the following:
    Then after refreshing any number of times, sometimes once sometimes 10 times or more, I eventually get it to load.
    However when running it through Ripple, a mobile emulator plugin for chrome, it always works first time.
    I have looked at the console logs in all browsers, and there are no errors reported in any browser.
    I have tried a few other Fiori apps, most work but there are a few others which behave the same.
    This is also not specific to my desktop as this is also happening for other users.
    Anyone using this app already and had similar issues?
    Any help would be appreciated.
    Thanks,
    Brad
    Tags edited by: Michael Appleby

    Hi Masa,
    I'm not using a custom theme, just the default theme, which is supposed to be blue crystal however on failed attempts to load, it appears to try and load gold reflection.
    See this screenshot when it fails to load:
    And after refreshing a few times it successfully loads and shows the blue crystal theme. see below:
    Which made me think about passing the theme in as part of the url using this parameter: &sap-theme=sap_bluecrystal
    This seems to fix the problem and it loads perfectly first time everytime now.
    However, is this a proper solution? Should you need to pass the theme through the URL, is it not defined within application ui5_ca_all_apv?
    I took a look at the code for the ui5_ca_all_apv where it supposedly sets the theme to sap_bluecrystal:
    // startup shell before UI5
      var oScript = sap.ca.common.uilib.bootstrap.createScriptTag("/sap/public/bc/ui2/shell-api/sap/ui2/shell/shell.js");
      oHead.appendChild(oScript);
      var bDebugMode = /sap-ui-debug=(true|x|X)/.test(window.location.search);
      //Check local storage (modified via UI5 technical info dialog)
    try { //Necessary for FF when Cookies are deactivated
            bDebugMode = bDebugMode || (window.localStorage.getItem("sap-ui-debug") == "X");
    } catch(e) {}
      var sUI5Url = "resources/sap-ui-core" + (bDebugMode ? "-dbg" : "") +  ".js";
      var oScript = sap.ca.common.uilib.bootstrap.createScriptTag(sUI5Url);
      oScript.id="sap-ui-bootstrap";
      var sUilibs = "sap.m, ";
      if (!sap.ca.common.uilib.bootstrap.applicationSettings.bNoSapMe){
      sUilibs = sUilibs + "sap.me, "
      sUilibs = sUilibs + "sap.ui.commons, sap.ca.common.uilib";
      oScript.setAttribute("data-sap-ui-libs", sUilibs);
      oScript.setAttribute("data-sap-ui-theme", "sap_bluecrystal");
      oScript.setAttribute("data-sap-ui-xx-bindingSyntax", "complex");
      oScript.setAttribute("data-sap-ui-oninit", "sap.ca.common.uilib.bootstrap.onUI5Init();");
      oHead.appendChild(oScript);
    Do you think this is a bug? Or should I just go with setting the theme as a URL parameter?
    Thanks for your help!
    Cheers,
    Brad

  • Cats Approval through MSS WD

    Hi
    My Client needs Cats Approval like this,We are implementing cProjects with CATS, we want approvals through MSS.
    Scenario is Approver for the time sheet entries of particular project is respective project manager not immediate supervisor. Inorder to create work item in the proj manager's worklist for cats approval what logic i should use to identify the project manager of a particular project as an approver?
    pls give the steps to be followed for workflow and standard config aswell as any Badi to be used to fulfill this requirement.
    Regards
    Ram

    approval based on attributes can be handled by feature CATEX or the standard badi BADI_CATS_APPROVAL
    Please read the help documentation of this badi or in spro
    it is self explanatory

  • CATS Approval in MSS

    Hello Experts,
                                Getting the below error for MSS Time approval application. Please let me know , what is missing on IMG customization for Time Approval.
    Also i didnt find Standard Approval Views SAP_LINE or SAP_PROJ, so created new entries of my own not sure if i am doing right.
    Error:      ASSERT condition was violated., error key: RFC_ERROR_SYSTEM_FAILURE
    Thanks in advance.

    Hello Experts,
                                Getting the below error for MSS Time approval application. Please let me know , what is missing on IMG customization for Time Approval.
    Also i didnt find Standard Approval Views SAP_LINE or SAP_PROJ, so created new entries of my own not sure if i am doing right.
    Error:      ASSERT condition was violated., error key: RFC_ERROR_SYSTEM_FAILURE
    Thanks in advance.

  • CATS Approver legend

    Hi,
    We have currently setup the "Record working time(CATS)" ESS service for capturing extra hours. Question what i have over here is
    1. After the Manager approves the request, the calendar doesnt separately identify the requested hours as approved while the rejection is shown in the calendar in red color. Can something be done for indicating the hours as approved in the calendar?
    2. In the Manager's Approval screen, there are 3 options provided viz., "Approve", "Reject" and "Resubmit". I want to know if there is anyway through which i can remove the "Resubmit" option from the drop down.
    Thanks in advance for any helpful information anyone of you may be coming with!!

    There is no BADI or exit for setting the legend in CATS
    Its all customisaiton, Please check the CAC1 profile customisation
    Red means "rejected"
    White means "enough recorded for the day"
    Blue means "too little recorded for the day"
    Green means "too much recorded for the day"
    Yellow means "times not released yet"
    This is, btw, from the legend just below the calendar.
    For the employee recording working times, it is not relevant if the
    times have been released. The relevant info should be "where do I have
    to do something?" The four cases listed above encompass the possible
    answers to that question, at lease as far as CATS can support the
    employee. Please note that not all colors are being used for all
    profiles, though. Depending on the settings of the profile, only a
    subset of the four cases might be shown.
    it shows what action is pending for an exmployee!!
    till ehp4, there is none available from ehp5 you can do so

  • MSS Time Approval - Detailed approval view shows time data for different PN

    Hi Experts,
    We're using the standard MSS time approval without workflow and here're 2 issues we have:
    There're multiple time records for multiple employees in MSS for approval.
    1. When manager tried to select all the records for one employee and click the "Approve" button in the collective approval screen, then all the records will be approved including records of other employees.
    2. When manager click the hours of one record for a certain employee to go to the detailed/individual view, other employee's time data will be displayed in the detailed view window.
    Please help!
    Thanks,
    Hongling

    Hello Kamalbabu,
    after Migration of our ess applications from WebDynpro JAVA to Web Dynpro ABAP we have a problem that sounds similar to the one you descriped above.
    In POWL the button 'details' (detail view) for leave request approval seem to have no function.
    Because your post is a few years old, I guess you solved the problem and hope you can share your solution with us.
    You will find more information about our specifc problem in this threat: http://scn.sap.com/message/15482063
    Thank you.

  • MSS Time Approval - multiple (different) selection options for manager?

    Hi all
    I am setting up MSS Time Approval delegation in ERP2005 without workflow, leave request, nor portal development environment set up.
    In this case, the customer needs to have multiple selection options for who to approve:
    1. The manager's direct reports (standard functionality)
    2. All subordinates, all levels down
    3. Delegate's (manager or non-manager) view of a particular (other) manager's direct reports
    3b. This might extend to a set of different delegation selections
    4. Add or remove certain individuals
    Now, getting 3. and 4. to work was simple using the BAdI (I think the enhancement spot is named APPR_CUST), method ...-edit_selection, but I am having difficulties with 2. and 3b. Now I am thinking along these lines, and I would greatly appreciate your input:
    A. It seems that the MSS "Approve working time" app only loads the data selection at the entry into this screen (INIT command from portal), using the start perspective determined for example by the IMG for defining the approval profile <-> view. My debugging suggests that the view change from the drop down menu (CHANGE_PERSPECTIVE command) only picks a different way to present the same data set.
    Could anybody please confirm or contradict this conclusion?
    B. Is it possible to present the entire "Approve working time" section in MSS in multiple different copies so that they would all generate an INIT command? Or is it possible to copy and modify the entire MSS tab, resulting in an ESS tab, one MSS, one "D"SS, one "A"SS (well, not suggesting that the top manager is one, but you get the drift...) and so on?
    If either of this were possible, it would be simple to make two modifications, one at the beginning of the FM called by the portal and one at the FM that returns the start perspective.
    So far I have been trying to catch and alter the CHANGE_PERSPECTIVE command into an INIT in the back end, but the Time Approval functionality is a bit too complex for me to feel entirely comfortable with this approach.
    Your input is much appreciated!
    Kind regards
    Niclas Arndt

    We too are using MSS for time approval of time entered via ESS.  We are on ECC 6.0 for the backend (no enhancement packs, at least not yet), currently sp stack 10 with hrsp 24, and EP 7.0 with stack 10 for the ESS/MSS business packages.  We are using the standard MSS UWL functionality for the approval, so it is workflow-based in my understanding.
    In other parts of MSS, the managers can see a few levels deep in the organization structure, based upon the definition we gave for their structural profiles.  For instance, in the team calendar/overview, or other team information, they have a choice for multiple levels or only direct reports.  However, in the time approval application, only direct reports are shown, so if a manager goes on vacation, at present the only way to cover time approvals for that manager's employees appears to be to temporarily assign a new 'chief' to that org unit, so HR involvement becomes necessary.  The manager doesn't have any method for delegating the approval or other MSS authorities.  We were hoping that by allowing multiple levels in the structural profile, such approvals would "roll up" to the next level, i.e. the manager's supervisor, so the next level manager could act as a backup to his/her managers on vacation.  That doesn't work, however.
    We have heard that a delegation feature for MSS will be available in an upcoming release, but I haven't found any information regarding whether that requires an upgrade, an enhancement pack, a later service pack level, or what or when that functionality will be available.  Does anyone know anything about that?
    Regards,
    Matt

  • ESS-MSS Custom Approval Level

    Hi Guru,
    We received requirement to add another level of approval between ESS and MSS (i.e. supervisor) in Portal.
    Instead of going straight to MSS for approval (standard workflow), the customer want the 'Supervisor' to endorse the application first before the it goes to MSS for approval.
    As for your info, we're implementing structural authorization and I plan to modify the standard authorization function module i.e. RH_GET_MANAGER_ASSIGNMENT to cater for this requirement.
    Appreciate your advice if this approach; is this ok or is there any better way to do it.
    Regards

    Thanks Sidarth,
    I understand that standard Authorization function module i.e. RH_GET_ORG_ASSIGNMENT can be used to restrict the Supervisor access to his own organization unit. However, there is possibility whereby this Supervisor might need to endorse
    application send by employee that not belongs to his organization unit - sorry for not clariy this earlier.
    Thus, for this specific case we're depending on S-S position which is A002. I'm not sure whether customizing function module is the best resolution. Appreciate advice from the experts before proceed with the function module modification.
    Thanks alot

  • Webdynpro CATS Approval.

    Dear Expert,
    I have request a overtime request thru the portal and the standard workflow TS31000007 is trigger and in the requester inbox, i am able to see the item in the UWL
    However when i try to click on the cats approval item, the page give me a error message as folllowing.
    The ASSERT condition was violated., error key: RFC_ERROR_SYSTEM_FAILURE:
    Anyone face this before?
    Thanks
    Regards,
    Bryan

    Hi Brian
    I am also facing exactly the same error.
    Have you been able to identify the problem and resolve the error.
    Could you  please share the solution.
    Thanks
    R Kumar

  • MSS Time Approval Report

    Hello,
    I am on EP7.0 ECC 6.0 and have 2 reports in MSS -- Time Approval Overview and Absence Quota....the Absence Quota works fine but when trying to view the Time Approval report it says "the results are displayed in a separate window" ....a new window comes and then disappears....I wonder for the cause for this..
    Any help would be highly appreciated.
    Message was edited by:
            SubhashTripathi

    This issue is cause by authorization as i have just found out after weeks of going round in circles. Put a trace on in the  backend to narrow down the auth object and missing values.
    I know its a very an old post but it will save someone else some time

  • How to make leave absence /CAts approval in HR

    how to make leave absence /CAts approval in HR

    do you want to apply absences through cats with the approval
    srinivas

Maybe you are looking for

  • Colour to transparent gradient in Illustrator CS2

    I am creating a logo in Illustrator CS2 and i want to put a reflection underneath, that has a gradient fading to transparent. It can be done but the logo needs to be used in other programs such as InDesign. When placed into InDesign the transparency

  • Continuing Problems with VOD

    For nearly a month now I have had problems with VOD.  Any time I try to use VOD, whether its HBO, Showtime or one of the other channels, the video starts and immediately pixilates and the audio breaks up.  I have had two different FIOS techs to my ho

  • I want to know what power supply I have

    I think I might have had the same probs as morg, how do I check what my power supply is, and also what temperature does a computer overheat at, and why is it the worst when im playing high demanding games. One more thing what supply does a Ti4200 run

  • Source selection may no longer be necessary

    Quote: The Apple TV continues to offer the ability to stream media or play it from the device's hard drive, but the updated interface discards the distinction between local and remote storage. Your media is your media - My Movies, for example - and t

  • HTML E-Mails

    Hi, I would love to create an email for our store using HTML instead of just inserting JPEGS. Can someome help me do this? I could just use Photoshop to design a great image, but I know not everyone will be able to view it because it will come throug