Trigger WF for cats approval

Hi ,
I am trying to trigger a work flow for CATS times through CAT2 transaction. Once i save the cat times and when i go to transaction SWI1, i can see the workfloe item triggered and in status ready. How does it get into status started and if I want to get in to started status immediately for the purpose of demo wothout any time gap, how can i do this.
Appreciate any guidance on the same.
regards
raj

resolved

Similar Messages

  • WF task for CATS approval

    Hi ,
    I am pursuing on tthisquestion in BPM, but thought HCM users might also guid eme a bit.
    What is the workflow task or item that should ideally be used for CATS profile for approvals.
    I am using  using TS20000460. Not sure if this is the right one as even after approving the task sarys in the managers inbox in status "processing" hwne it should actually have been compelted and deleted from the managers inbox.
    please guide

    Actually ew did a workflow trace and saw that WF-BATCH user was locked

  • Customizing Web Dynpro for CATS Approval

    Hi experts,
    I would like to implement some additional logics when the CATS is approved by managers in MSS.
    After tracing the codes, I located an ABAP class "CL_MSS_CAT_APPR_TR_BUFFER" that performs the approval actions in R/3.
    Currently, I am considering to copy and edit a ZCL_MSS_CAT_APPR_TR_BUFFER to add additional logics to the "IF_MSS_CAT_APPR_TR_PROCESSOR~SAVE". But, here are my questions:
    1/ Since there is no object delegation in BO, how can I "delegate" the objects from CL_MSS_CAT_APPR_TR_BUFFER to the z-class ?
    2/ If no delegation possible, is it possible to change the action mapping s.t. ESS calls to the Z-Class instead of the standard class?
    3/ If it cannot be done with action mapping, does it mean that customized Dynpro developments required ?
    Sorry that I don't know much about ESS and Dynpro.
    Please offer detailed steps when possible.
    Many Thanks.

    I don't believe that your question has been asked in the correct forum.  This forum is for questions directly related to Web Dynpro ABAP development only.
    However a quick suggestion (although unrelated to WDA).  Instead of copying the class, consider using the enhancement framework instead.  You can use a pre, post or override method to extend the logic of the SAVE method.

  • Lost workitem for Cats Approval

    Is it possible to resumbit the worktime request which is already release for Approval with status 20.

    Hi Tabish,
    Yes it is possible to resubmit your timesheet when the processing status is 20.
    But when there is no correction done to the timesheet and when you resubmit it, there will not be any changes made to database.
    regards,
    Brinda L
    Edited by: BrindaL on Aug 21, 2009 9:05 AM

  • BAPI for Timesheet Approval

    Hi, Does anybody know approval / rejection BAPI for timesheets in HR ?
    Thanks.
    Moderator message - Cross post locked
    Edited by: Rob Burbank on Jun 4, 2009 5:16 PM

    hello,
    For cats approval, I  used this solution:
    * declaretion
    data: catrecort       type CATS_APPROVAL_IN_TAB,
               wacatrecort   type CATS_APPROVAL_IN,
               MESSAGE_HANDLER  TYPE REF TO CL_MESSAGE_HANDLER_CATSXT,
               esito                type XFELD.
      data: MSG_CUMULATION  Type CATSXT_MSG_CUMULATION.
      data: GR_MSG          type ref to CL_MESSAGE_HANDLER_CATSXT.
    * rows to approve
      LOOP AT i_catsdb into wa_catsdb .
        MOVE-CORRESPONDING wa_catsdb  to wacatrecort.
        wacatrecort-TARGET_STATUS = p_stauts.
        APPEND  wacatrecort to catrecort.
      ENDLOOP.
      MSG_CUMULATION =  'X'.
      if gr_msg  is INITIAL.
        create object gr_msg
          EXPORTING
            im_cumulate_messages = msg_cumulation.
      endif.
    *approve
      CALL FUNCTION 'CATS_APPROVAL'
      EXPORTING
        MESSAGE_HANDLER           = gr_msg
        AUTH_CHECK                       = ' '
        RECORDS                              = catrecort
      IMPORTING
    *     PROCESSED_RECORDS                =
       RECORD_ERROR                     = esito
    EXCEPTIONS
       UPDATE_ERROR                     = 1
       NUMBER_RANGE_ERROR       = 2
       LONGTEXT_ERROR                 = 3
       MESSAGE_HANDLER_NOT_ACTIVE       = 4
       OTHERS                           = 5.
      if sy-subrc ne 0.
        MESSAGE s002(ZPECI) WITH TEXT-015.
      else.
        commit work.
    endif.
    Bye Bye
    M.

  • 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

  • Automatic trigger of the information for the approval for maintenance

    Hai all,
    I am maintaining one equipment which needs the approval for the maintenance based on the hierarchy (From bottom level to   the top level). Also it is required the information about  the status of the equipment whenever it is going for approval at each level.Once the concerned person is approved at his level, the mail should trigger to the next level person sothat he would come to know the updated status of the equipment to enable further approval.
    1.Is it possible to map in PM as a sign of approval for maintenance in equipment master or by any method ?
    2.Is it possible to trigger the mail automatically once the concerned incharge approved his part ?
    Plz reply,
    Regards,
    Suresh babu.

    hi suresh,
    Plz find the mentioned user status for order approval , admin,financial approval before release....se wether it mite help you.....
    The same was posted for one of the previous thread...
    1.statno status text lowrange higer range
    1 PFA Pendi Apprv 1 3
    2 ADMA Adm apprv 2 3
    3 FINA Finan apprv 3 3
    now ur object type;- is order
    for PFA:- Select this is intial status
    for ADMA;- Select business transaction ;-release mentione forbidden button,create authorization key1 and give it here for this status
    for FINA:- Select business transaction:- releasemention allowed buttoncreate authorization key2 and give it here for this status
    2. Assign this key in authorisation profile and this is mentioned in role and for this role user is assigned.Take basis help from here
    3. Now it will work in this way ;-
    a.)when ur order is created ur intial user status is PFA,
    b.)after saving , it goes to admin dept , for admin approval,user has to change the user status manually-here system checks wether the user is authorised to perform this function via key.this user cannot release the order
    c).then order is checked financally and user status is changed manually to FINA,and once order gets this status order can be released by this useras mentioned in business transaction
    Automatic Mail is possible through work flow...
    regards
    pushpa

  • User Exit/Badi for CATS

    Hi Experts,
    Our requirement is to trigger an email notification to the Employee after his time sheet is approved using the CATS approval WF.
    We are using the portal to raise the time sheet and approve the same. We want to determine a User Exit/ Badi when the approver clicks on the approved button in the UWL.
    We tried looking into the user exits/badi's etc. given but they are defined only for the R/3 system  using the CATS transaction and not via the portals.
    Could you kindly guide us with any Badi/User Exit that could be used when it is approved via the portal (i.e) when the approver clicks on the approve button in the UWL.
    Cheers,
    Belinda Clarke

    Hi,
    Are you sure that those possible badis or user exit that you found are not also for Portal? Many times there is no difference whether something is done from backend transaction or a portal application - finally the same code/function is used and thus the same badis & user exits are executed. Of course not always, but plenty of times.
    If if you cannot find anything, please check also the possibility to use enhancement. Check which RFC function is called during the approval (put RFC trace on) and put a break point there, and see what the code does and if you could put your stuff into some place.
    Pay attention also the CATSDB table. That includes the cats entries and if remember correctly, you can find the work item ID there for each CATS entry. Maybe you can build some kind of report based on this table to send the emails instead of using some user exit or whatever.
    Regards,
    Karri

  • Workflow for Document Approval

    Hi all,
    I'm a newbie to SolMan and is trying to figure out how to implement a workflow for document approval. A similar question has probably been posted in the past, but I can't find a definite solution, only some hints.
    Basically, what we're trying to achieve is the following:
    When a document is uploaded using SOLAR02, and the creator of the document changes the status to ready for sign-off, we would like to trigger a workflow which will send an email to a couple of persons who are responsible to approve the document. We already implement the digital signature, we just want to add an automatic email notification to be sent to the approvers.
    Based on my research, it seems that this is not supported by SolMan and hence we have to do a custom development.
    There's an object key called SOLMANDOC and we should raise an event (something like SIGNATURE_PROCESS_START) to send an email notification to the approvers. Can somebody confirm whether my understanding is right ? Does anybody know the name of the BADI that we can modify to achieve our goal ? 
    FYI, we're using SolMan Rel 7.01 SP 19.
    Thanks in advance
    Lara

    Hi Phil,
    I'm facing with problems with creating a simple 2 steps release strategy.
    the problem is I cant approve the last step of the release.
    This is what I did:
    In spro Digital Signature->Signature strategy:
    in "Define Authorization groups" I create this entries:
    1. EING
    2. VERIF
    in "Define Individual Signatures" I create this entries:
    1.  S1   EING
    2.  S2   VERIF
    in "Define Individual Strategies: I create this entries:
    SigStrat: ZSIGSTR
    Signature Method: R
    Display comment: X Required
    Display Remark: X
    Display document: X
    Verification: not checked
    in "Assign individual signatures"
    CtrIn  Indiv.SIG.      AGrpDIG
    1          S1               EING
    2          S2               VERIF
    Display Predecessor for Ctrln is 2 is 1
    for "Display release statuses"  an entry with one line with the value 1
    and in "Display individual signatures there 2 entries 1 and 2.
    in spro "Define Document status schemes"
    stat scheme "ZSIGSTR"
    4 status:
    Status                 init status      Sequence    Low     High       lock         Signature schma  End status         Cancel status
    COPY_EDITING       X                  10           10       20          -                    
    REVIEW                                     20           10        40        X                    ZSIGSTR         RELEASED    DECLINED
    RELEASED                                30           10        40        X                   
    DECLINED                                  40           10        20             
    I created two roles with object c_sign_bpr one with the value "EING"   and the other with the value "VERIF"
    I assign this status scheme to a document type in my project.
    I tried to release a document the first step was the author of the document move the status to "REVIEW" and I got a window that i need to enter my password and it worked ok.
    The problem is in the second step that I need to release the document (now is in a REVIEW status) When I press on the icon in order to release I didn't get the option to release only to cancel there is no "V" option in the small window.
    Can you please tell me if I did a correct customization? also can you tell me if my problem is maybe missing authorization? Can you direct me to reading material or to an example?
    Best regards
    Lior Grinberg
    Edited by: Lior Grinberg on Nov 28, 2011 6:22 PM

  • 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

  • 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

  • Standard Work flow for Leave approval in HR module

    Hi ,
    My query is there any standard work flow available in HR module for Leave approval and Over time approval. We have negative time management and with out ESS and MSS.
    Pl suggest if any one has used this earlier with out ESS or EP
    Regards
    Punit

    I can think of the following but not without enhancement for the workflow part.
    - Since you are not using ESS, you (leave admin) may create the absence record directly in IT2001 (in LOCK mode).
    - In the user exit of 2001 you may trigger your Workflow process (i.e. call the function module to trigger WF here) depending on the LCCK status. You have to explore if standard WF can be used to your requirement.
    - Upon approval, you can UNLOCK the absence.
    - In the event that UNLOCK is unsuccessful, trigger WF to your Leave Admin for him to update via PA30.
    Standard SAP Workflow
    - Only 1 level approval
    - Using Chief Position
    IF your workflow requirement deviates, then you have to also customize workflow, does not matter whether you are using ESS or not.
    Finally test and retest to make sure all possible events are covered.
    OT is the same, except that you need to use 2007 vs 2002
    Edited by: sapuser909 on Nov 18, 2009 12:07 PM

  • Approval of Working Time & Multi Level CATS approval

    Hi experts,
    We have implemented CATS multi level approval as below.
    1. In the CATS user exit we call a Workflow which is a multi level
    workflow.
    2. We are using the standard Webdynpro for CATS entry and approval.
    Problem:
    Once the first level manager(Say A) approves the timesheet work item
    gets triggered for the next level approver(Say B). Since approval is a
    standard webdynpro, the status of the CATS record immediately changes
    from 20 to 30. So in the workflow, before sending the work item to
    second level approver, we change the status of the time record back to
    20 (Since it is yet to go through all approvals).
    Now in the Team--> Approve working time section of the MSS, manager 'A'
    still sees the record for approval, even though now the approval is
    pending from 'B'. Moreover 'A' can approve this item as well (which
    should not be the case).
    Please provide a solution so that 'A' will not have the working time
    item in his 'Working time section' after the A approves it in the UWL.
    Thanks
    Krishna

    Solved it myself.
    My solution is documented here.
    http://learnhrabap.blogspot.com/2010/09/cats-multiple-level-approval.html
    Please leave your comments if you have any better solution for multi level approval.
    Thanks in advance,
    Krishna

  • Trigger workflow for all tcodes with set transaction GS01

    Hi,
    There are nearly 7 tcodes in FI maintained in the set tranasction using GS01 and we desire to trigger worklfow for all those tcodes, even if another one is added in future. What is the process to go about?
    Regards

    Hi,
    Thanks for the concern.
    The tcodes are SAP standard tcodes like fb50 and others for document park and post. Now the requirement is that, the set of tcodes maintained in set transaction GS01, say 7 SAP standard tcodes maintained, the workflow should trigger whenever someone parks or posts a document, which must be subsequently approved by a set of approvers and then the actual release and posting(or re-posting) takes place.
    How can i achieve this using workflow, precisely to trigger worklfow for al those tcodes, now at a later date the tcodes can be either reduced or added to the set.
    Best Regards
    Partha Kar

  • CATS approval through BWSP

    Hi,
    In EP 7 when a CATS Overtime entry is approved it gets updated immediately to the infotype. On the Workplace setup this is not happening thus the user would run CAT6 to transfer the approved entries.
    Is this the standard behavior of EP in terms of CATS approval through BWSP?
    Hope to hear replies.
    Thanks and best regards.

    You have option for "Direct Transfer to HR in your data entry profile" but this is not possible when an approval is required. For update after approvals you need to schedule the report RPTEXTPT on a periodic basis.
    SAP help states that the <b><i>transfer of time data from Time sheet to HR system is asynchrounous.</i>
    <i>Time data from external systems is stored in the interface tables PTEXDIR and PTEX2000 in
    Report RPTEXTPT (External Transfer   Time Management) enables data to be read from the
    PTEX2000 file and then stored as absences or attendances in the Absences (2001) or
    Attendances (2002) infotypes.
    The report RPTEXTPT (External Transfer  Time Management) can also be
    scheduled periodically as a batch job.</i></b>
    Thanks,
    Prasath N

Maybe you are looking for

  • Will this help with windows vista u tube not playing in full screen?

    I have windows vista and hadn't seemed able to get full screen to work with u tube. I tried going to google chrome and then to the u tube page. Click on the icon in the address bar that shows www.youtube.com ( It's on the left next to the address ).

  • SD Card not mounting (SanDisk Ultra 32gb)

    Another MacBook Pro Problem Hi, I am trying to insert my 32GB SanDisk Ultra SD card into my MacBook Pro 15", however it isnt reading the card, and nothing happens. I have tried restarting the Mac, updated all software/hardware and still nothing. Does

  • Advice sought re converting existing Bc site to a responsive design

    Hi, I read today that Google is shaking up its search rankings to favour mobile-friendly sites. I have an existing e-commerce Bc site (fixed width) that I'd like to convert to a responsive design. At the moment I don't have the time to do it myself b

  • AEBS won't assign IP via Wired ports, but it does assign IP Wirelessly

    I'm having the strangest problem, my AEBS will assign an IP address in the 192.168.1.X range when connected to it wirelessly, but when I connect to it via one of the wired ethernet ports in the back I get a bad IP (169.XXX.XXX.XX). This started happe

  • How do you do this in adobe after effects?

    What's up          I wanted to know how do i achieve this in adobe after affects? What tutorials do i need to look at to do this? Mathew, Sincerely  Drake Type Beat - Come Up In The 6 (Prod. by Omito) - YouTube