Approval issue in WorkFlow

Hi experts,
     My workflow senario is
  Author -> Approver1 -> Approver2
When author submit the form it should go to approver1 , when the approver1 submits the form it should go to approver2.
In this i am getting a issue, when Approver1 submits the form it is not going to Approval2,but when the Author submits it is reaching Approver1.
Can any one tell me what may be the reason for this..
Thanks & regards,
karthik.
null

Karthi,
The 1st thing that u need to do is check the workflow template of that workflow in SWDD. Go to the task, and see if any object and its method is defined inside the particular task.
In t-code SWI1 u cam also see the log which gives the return values from this task. This will show what exactly this task is returning.
First see what kind of task is it and what business object is defined in this task.
Thanks,
Kajal

Similar Messages

  • TRIP Workflow approval issue

    Dear All
    We have developed custom workflow for TRIP workflow, with single level approval of line manager.
    We are raising Trip request using Transaction PR05.Workitem goes to line manager for approval in SAP inbox and
    NWBC (SAP netweaver ) for approval.On approval by manager workflow is completed instead of further processing.
    Reason for completion of workflow is Event BUS2089 CHANGE is created with event APPROVED.
    Due to this CHANGE event current workflow instance is completed,as parallely condition for CHANGE is checked for workflow completion.
    Kindly let us now this unexpected behavior of CHANGE event creation of BUS2089 on approval of trip by manager and any
    steps to control this.
    Thanks and Regards,
    Aditya

    Hi Aditya
    You may want to retain CHANGED event wait step so that if the trip is changed outside the WF, the current instance, being redundant, gets completed.
    For your case there can be two different approaches, depending how you have implemented the workflow.
    1) Check who is the user triggering the event CHANGED in this case. Is the system catching the manager user name or the user name WF-BATCH. If it is WF-BATCH, it becomes fairly simple. You do not complete the workflow after WAIT for EVENt step, instead loop back to wait step for any possible changes later on (outside the WF)....you will get the user name in the event (_EVT_CREATOR)
    2) If the username is that of the Approver, see if this works for you (Iam assuming that your approval is in one branch of the fork and the wait for event is in another branch of the fork (1 of 2 fork)).
    a) Trap the Actual Agent of the decision in the approval branch
    b) Trap the user triggering the COMPLETED event in the other branch
    c) Compare the two - if they are same, do not execute the process control step to complete the WF instead loop back to wait step for any possible changes later on (outside the WF).
    Not sure if this will work because there can be timing issues.....the Actual Agent of approval may not be written in one branch and the comparison happens in the other..... it's worth a try
    Regards,
    Modak

  • Issue with Inactive Approver Role in Workflow definition

    Hi Experts,
    we are having issue with Inactive Approver Role in workflow definitions.
    we have created workflow for Master agreements and Projects. Phases and workflow are working fine.
    But the issue is when a programmatically added approver has completed the approval activity, collaborator role is not changing from approver role to Inactive Approver Role mentioned in workflow definition. For example, you might select Reviewer in Inactive Approver Role, Then Selected collaborator role to be given to programmatically added approvers when the approval activity is completed.
    This is functionality not happening when project or contract document approved and workflow completed in project and MA. we have followed all the standard functionality when we have created workflow. Please see screen shot for the same.
    Can anyone please tell me is there any functionality we missed it or do we need to write any script in xpdl or do we need to check anything with collaborator role or with security profiles.
    we have checked with other roles also same issue coming.
    This Reviewer is in active state and have Readonly profile. We don't have Pre script in this workflow because we are using standard approval.
    Thanks in advance!
    Lava

    Thanks gary for your helpful answer.
    As per your answer We have added the approver role in the prescript so that it gets added programmatically , still no luck.
    here is the script we wrote in prescript.
    import com.sap.eso.api.common.*;
    import com.sap.eso.api.projects.*;
    import com.sap.odp.api.workflow.*;
    import com.sap.odp.api.usermgmt.masterdata.*;
    import com.sap.eso.api.doc.collaboration.*;
    import com.sap.eso.api.doccommon.masterdata.*;
    import com.sap.eso.api.ibean.*;
    import com.sap.odp.api.ibean.*;
    import com.sap.eso.api.contracts.*;
    import com.sap.odp.api.doc.collaboration.*;
    collaboratorsCollection = doc.getCollectionMetadata("COLLABORATORS").get(doc);
    if (collaboratorsCollection.size() > 0)
       for (int i = collaboratorsCollection.size() - 1; i >= 0; --i)
            collaboratorsCollection_member = collaboratorsCollection.get(i);
            if (hasValue(collaboratorsCollection_member))
               collaboratorRole = collaboratorsCollection_member.getCollaboratorRole().getDisplayName();
                // Get approver of Role "Approver".
               if(collaboratorRole.equals("Approver"))
                    principal = collaboratorsCollection_member.getPrincipal();
    if (hasValue(principal))
         addApprover(principal);
    Do you have any other suggestions? or if you have any related code snippet please share with us.

  • Approval issue very urgent

    Hi Experts,
    I knew to WF
    We get the approval issue . In Ebuy of China, we have the approval workflow as go to the highest approver if the approval limit is over the default approver manager. That is User A have mgr B with limit 40,000 and mgr B have mgr C with limit 80,000. If raise a Shopping cart to 50,000, the shopping cart will go to Mgr C. User A need to add the mgr B as the first approver. But after all mgrs are added, and ordered, and back to Check status, the first 2 mgrs are disappeared. can u help on this issue?
    Thanks & Regards
    Vijay

    Hi Nazeer,
    The value of Tan(45) is beng wrongly calculated by ABAP because internally the data type for all the Trignometric functions are represented as Floating point numbers.
    Please refer to this:
    The results of the following functions have the data type f:
         Trigonometric functions: cos, acos, sin, asin, tan, atan
         Hyperbolic functions: tanh, sinh, cosh
         Exponential functions (base e): exp
         Natural logarithms (base e): log
         Logarithms (base 10): log10
         Square root: sqrt
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • After Approving Content from workflow, status of content is still 'Review'

    Hi,
    I am new to oracle UCM, so I have created a simple workflow for beginning. It has only one activity which triggers when some content of particular content type is checked. There is no script associated with any of the workflow events. Workflow is working fine except one issue.
    When reviewer approves the content, workflow does not release the content and worflow is still shown in 'Active Workflows' list. I cant see the content even in search as status of content remains 'Review'.
    Am i missing something ??
    Please guide!!!
    Thanks in advance
    Amarpal

    Hi,
    please provide more information on workflow configuration:
    1. Is it criteria workflow?
    2. How many users are involved in review step?
    3. What shows workflow info page of this document?

  • RFQ Approval Process through Workflow

    Dear experts,
    We are on planning phase of RFQ release approval through SAP Workflow. There is an issue I would like to hear from your valuable thoughts.
    When an RFQ is created, ME41, all individual bids are collected under a unique collective number. Once price maintain process is done through ME47 for all bidder, we would like to send all RFQu2019s, with necessary information, which are linked to a collective number in one e-mail even if there are tens of RFQu2019s linked a collective number, not one by one sending it as we do in PO workflow process.
    Is it possible to realize this case within SAP standard approval process? Because so far I noticed that once fundamental customizing is done after price maintaining step RFQu2019s are send individually, one by one, to approvers.
    Cheers

    Dear Melih,
    I suppose you want to get approved the best offer in the bid. The best practice is to have a strong rules based on predefined criteria which quotation to be choosen by Purchasing. Then PO/contract/scheduling agreement/PIR can be maintained.
    What we have done in our system is that the PO created goes for approval based on Chart of authority via Enterprise portal. A report, displaying the key figures from the RFQs in the bid, vendor evaluation scoring for each vendor, if available and some other data, is linked to the workflow item and displayed during approval process.
    Regards,
    Ognian

  • N level-Approval for contract workflow (WS14000148) in SRM

    Hi SDN'rs
                  I want to activate N level-Approval for contract workflow (WS14000148) in SRM  
    When I am creating the contract in SRM I can see the approvers in the approval preview.
    But when I release the contract and look at the approval privew there are no approvers
    and the status of the contract is released.
    We are on SRM Server 5.5 and SP 07.
    Here what I did
    1. I implemented the BADI 'BBP_WFL_APPROV_BADI' using the sample implementation and populated the approvers.
    2. I activated events SAVED,CHANGEVERSIONSAVED for WS14000148 in OOCU transaction.
    3. I see event linkages for WS14000148 for both events SAVED,CHANGEVERSIONSAVED in SWE2 transaction.
    4. I assigned role SAP_EC_BBP_PURCHASER to for subworkflow N step for contract WS14000147.
        ( User who is creating contract has this role)
    5. Consistency check for WS14000148 is green and WS14000147 is yellow in SWUD
    6. Event simulation for BUS2000113 and events SAVED,CHANGEVERSIONSAVED shows WS14000148 successfully started.
    I see dump in ST22 with errors TSV_TNEW_PAGE_ALLOC_FAILED and SYSTEM_NO_SHM_MEMORY with WF-BATCH is this any thing to do with that?
    If any one know what are the steps I am missing please let me know.
    Thanks
    A S

    Hi
    Please refer to these OSS notes which might help.
    <u>Refer to following OSS Notes -></u>
    Note 735026 - Memory problems at BBP_GETLIST_INDEX_FILL
    Note 932836 - BBP_GETLIST_INDEX_FILL: Activation not possible
    879528 WS14000148: Send mail to initiator incorrect
    901200 WS14000148 dia wrk item despite NO_FURTHER_APPROVAL_NEEDED=X
    879873 BUS2000113: The Object_ID attribute may be empty
    903015 BAdI Workflows: Events and parallel steps
    901068 BAdI Workflows: Enhancement of Note 896556
    769458 Dynamic workflows: No adjustment after document change
    972757 Occurence of the SYSTEM_NO_SHM_MEMORY runtime error
    741864 FinBasis: Termination TSV_TNEW_PAGE_ALLOC_FAILED
    864473 Deactivating the shared memory when searching by prefix
    928642 Container factory: Shared memory dump update
    Refer to these links.
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/26/0f8b41ed891609e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    </b>
    <u>Also raise an OSS message with SAP as well.</u>
    Regards
    - Atul

  • CAT2 - Issue with workflow task TS20000460

    Reposting the query in ABAP General Section.
    CAT2 - Issue with workflow task TS20000460
    Waiting for any suggestion?
    Edited by: Amit Khare on Sep 10, 2009 3:01 PM
    Closing due to no responses.
    Edited by: Amit Khare on Sep 10, 2009 3:40 PM

    Hi,
    Could you figure out why the event linkage is breaking when you make it Gen.Task? I think, there is some problem in your wflow template. May be do a Syntax Check in the testing environment. If that time, some error happens, then by the System Defaults in the Event linkage SWETYPV, it will deactivate the linkage.
    I don't think this has got anything to do with you making TS as Gen.Task. Did you see the even trace to see what's the error for linkage breaking ?
    More info. would help in identifying the issue.
    Regards,
    venu

  • Ad hoc approval request in workflow

    Hi experts,
    Ad hoc approval request in workflow ,user should  forward work item multiple times for different users . Ad hoc approval multiple times to the same or different employees. Could you please provide me steps by steps how I need to create ad hoc .

    Hello Ganesh !
                    Hope you want to define ad hoc agent agent assignment.
                   If so, choose the activity step(the task's work item that you want to send)  in workflow  and from the menu take path :  Extras -> Ad_hoc functions -> Enable the Adhoc Agent Assignment.
                   In expression part , now you can find &Agent_0001.Agents& have automatically appeared.The one who want to start the workflow,can mention the SAP logon id of the agents to whom the work items needs to be sent.
    Regards,
    S.Suresh

  • Preview of approval chain before workflow gets triggered

    Hi Guys,
         I have a different requirement where users want to see the preview of approval chain before workflow gets triggered. I mean once we enter all the data in transaction, after the data validation is done then they want to see the approval chain. What is the best way to achieve this functionality. your input/ideas are highly appreciated.
    Thanks
    VT

    There is no easy way to do this. Basically the only possibility is to enhance your transaction with a subscreen or a tab where you have to simulate the logic used in your workflow to find agents and show the result of that simulation.
    If you are in a homemade transaction it should be pretty easy to do. If you're in a SAP standard transaction it may become a really tough modification/enhancement.
    Cheers,
    Patrick

  • Approve step in workflow

    Hi Folks,
    Can someone explain how the Approve step is used in case a record is not approved ?
    example.
    Start->Process->Approve -> syndicate
                            -> reject-> send notification.
    -Vinay

    Hi Vinay,
    The MDM workflow step is used for providing an Approval on the already craeted/Enriched records in MDM.The approver in MDM is allowed to approve or disapprove the records.
    The disapproved records go back to the previous step and teh process step team ahs to correct teh records and send it again for approval.
    The workflow steps will be as follows
    Start->Process->Approve->Notify ->Stop
    The notify step can be used ater nay atep if you want to users of the workflow to be notified of the staus of the completed task and the stataus of teh task to be completed.
    You can folow some of these helpful links on how to use MDM wf effectively
    Workflow:Disapproved records
    Re: How to use the Validate step for Approve step
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60f28084-b90e-2b10-3eb6-d6565367048a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/001d22fb-622d-2b10-22ac-998acecf68a8
    Hope It Helped,
    Thanks & Regards
    Simona Pinto

  • How to approve conent from workflow queue ?

    Any idea how to approve content from workflow queue when user is not reviewer or authorized to take action of current workflow step. ?
    how we can modify the user permission on content for approve/reject content from workflow queue when content is not in workflow queue of current user ?
    Or How can user take workflow action on content when content is not in workflow queue of user ?

    Any idea how to approve content from workflow queue when user is not reviewer or authorized to take action of current workflow step. ?OOTB this is certainly not possible. By installation of a workflow you intend to automate a business process; i.e. the situation you are asking about is exactly what you want to prevent. Therefore, the initial question should be: do we want to automate this process and if so, is WebCenter Content the right tool to do it (note that WebCenter Content is not a BPM system!).
    The world, however, is not black or white - sometimes you have to use the tool that you have. In WebCenter Content, there are certain situations which cannot be meet by the OOTB design, but their customization is relatively easy. Some of them is described in the manual: http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c05_workflows.htm#CIHCHJEA or http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c05_workflows.htm#CIHGIDGB
    The basic idea is that will use workflow step events (entry, update, exit) to implement additional logic (like adding a reviewer or auto-jump to an escalation/special treatment step on certain conditions). This might also require GUI changes - e.g. if you want to enable a reviewer to delegate his or her role to a third person.

  • Is Approved Tag in workflow

    Hi,
    Can you please let us know whether ‘Is approved’ tag in workflow is to re-establish the relationship between the specifications or  to an earlier stage would mean that the spec would link to the approved parent
    spec replacing the approved child.
    Please let us know regarding the functionality of 'Is Approved' Tag under workflow tags in workflow.
    Thanks,
    Rohini M

    Hi Rohini,
    I wanted to confirm a couple of things:
    1) Is this a Trade Spec scenario (with lower-level trade specs or parent trade specs) that you are describing? If not, which spec type(s) are you referring to?
    2) Are you unlocking the parent-child relationship using the GetLatestRevision lock icon?
    Yes, you can have the GetLatestRevision linking to happen at a different status if you want to. The key is knowing which Spec relationship you want to modify. For example, if you are trying to change the Trade spec lower level items relationship behavior, you would modify the "TradeNextLowerLevelItem" entry. The example below (from the GetLatestRevision.doc document in the Extensibility Pack) demonstrates a similar modification for Master Spec relationships.
    [ Of course, always back up the DB if you are making these types of changes]
    The out-of-the-box Get Latest Revision functionality uses the IsApproved workflow tag (behaviorID = 4). Clients wishing to change that to use other workflows tags can do so by:
    Modify the FactoryURL column in the orobjectassociationmetainfo table, and reset IIS.
    For example, modify:
    Class:Xeno.Prodika.GSMLib.CoreExtensions.AssociateLatestBaseSpecFactory,GSMLib$4
      to
    Class:Xeno.Prodika.GSMLib.CoreExtensions.AssociateLatestBaseSpecFactory,GSMLib$1200,1201
    (1200,1201 are examples of other workflow tag behaviorIDs - you would need to put in your own values here)
    Modify the SpecRetrieverFactoryURL values in the RemotingContainer.exe.config and restart the RemotingContainer. For example:
    <SpecRevisionProcessor name="ExplicitMasterSpecs">
    <envvar name="SpecRetrieverFactoryURL" value="Class:Xeno.Prodika.GSMLib.CustomAssociations.Service.Retrievers.LatestIssueByTagsCommonSpecRetrieverFactory,GSMLib$ExplicitMasterSpec|fkMasterSpec|SpecID|4" />
    to
              <SpecRevisionProcessor name="ExplicitMasterSpecs">
      <envvar name="SpecRetrieverFactoryURL" value="Class:Xeno.Prodika.GSMLib.CustomAssociations.Service.Retrievers.LatestIssueByTagsCommonSpecRetrieverFactory,GSMLib$ExplicitMasterSpec|fkMasterSpec|SpecID|1200,1201" />
    If you want to find the right entry in the orobjectassociationmetainfo table, you can run the following SQL query:
    SELECT
    class.classname, prop.propertyname , info.factoryURL, *
    FROM orobjectassociationmetainfo info
    inner join orobjectpropertymetainfo prop on info.fkorobjectpropertymetainfo = prop.pkid
    inner join orclassmetainfo class on class.pkid = prop.fkORClassMetaInfo
    With the above query, you can see that the TradeParentChild relationship is set up in the orobjectassociationmetainfo table with a pkid of '1177368f5e69-37ed-4fba-b0e9-ab64b4c89a07'. The entry in the RemotingContainer config you would modify would be "TradeNextLowerLevelItem", although you can do this by copying the entry and adding it into the CustomerSettings.config file in the CustomerSettings/GSM/SpecRevisionUpdateProcessor/SpecRevisionProcessors node, and make your changes there.
    If you need help determining the right data to modify, let us know exactly which relationship you are trying to modify.

  • CUP Issue in workflow - Approver not found after SP13

    Dear All,
    We are facing an issue after upgrade to SP13 in CUP. The request is not getting saved and throwing an error - Approver not Found.
    We uploaded the xml files also of SP13 after upgrade has completed.
    We have not changed the workflow after upgrade and verified all the attributes of Initiator, CAD and approver is already available in CAD - but still we are receiving the error "Approver Not Found"
    The same workflow is working succesfully in Production system which is under SP9.
    Is this an issue with SP13. If any body has encountered please let us know how to resolve.
    Thanks and Best Regards,
    Srihari.K

    Dear Chinmaya,
    Below is the error log
    Log :
    2011-05-09 08:13:17,375 [SAPEngine_Application_Thread[impl:3]_25] ERROR NoApproverFoundException in Save request
    com.virsa.ae.workflow.NoApproverFoundException: No approvers found for req no : 135, for reqPathId, 209, for path, CHNG_ANZ_Z6 and approver determinator : ANZ_LAC
    Also, we tried with simple workflow as well with just 2 attribute logic. Still we received the same error
    Thanks and Best Regards,
    Srihari.K

  • Issue in workflow mail-link while receiving on MS OUTLOOK

    HI All,
    Weu2019re having an issue in the links send to approver via Workflow email.
    The link being sent is as below :
    https://******.eu.*******.net:8443/3a_tm_approve?SAP-client=710&KEY=100001070610000480022463541A&RECID=000001461607&SAP-language=EN
    Since the workflow canu2019t send link with more than 120 digits, weu2019re breaking the link into multiple parts.
    Part 1: https://******.eu.*******.net:8443/3a_tm_approve?SAP-client=710
    Part 2: &KEY=100001070610000480022463541A
    Part 3: &RECID=000001461607
    Part 4: &SAP-language=EN
    The mail is defined in HTML.
    Our client-(end-user) uses two application for email u2013 Lotus notes and outlook.
    The above mentioned link works fine on Lotus notes, but is creating issue when received on Outlook.
    Issue :
    When the mail is received on outlook u2013 A space is introduced in the link, due to which on clicking of link u2013 nothing opens up.
    It seems that when the first line of link is generated a space is introduced after that.
    Solutions tried:
    Weu2019ve tried to combine 3 variables into 1 and created link with just one line.
    But this doesnu2019t seem to be working.
    Any pointers towards the solution for Outlook will be really helpful.

    a possible solution that we implemented is:
    create a method or Function module, by using classes like cl_bcs, cl_document_bcs, to send any kind of email (with any length text, even markup, attachments etc) to outlook (you can see standard program BCS_EXAMPLE_5 for reference).
    invoke this function module from within the workflow, instead of using standard "Send Mail" step.
    regards,
    BJagdishwar.

Maybe you are looking for

  • HP Pavillion G Series touchpad faulty. HP started helping then said product was out of warranty

    My laptop (HP Pavilion g6-1343sa Notebook) doesn't work properly and hasn't done since the first day I used it. The cursor can be very erratic, flickering around the screen when I'm not even touching the touch pad. Sometimes when I am using the touch

  • Is the iPod touch camera good enough to use Scanner Pro?

    I'm thinking of downloading this app but I believe it's designed for the iPhone. Is the camera on the iPod touch good enough to scan documents? I mean, I don't expect a perfect scan but if I scan a regular sized page is it readable?

  • How Long does it typically take...

    I just bought Lion, but they said it could take a few hours to a day to get the email containing the program.  About how long will it be? Thanks in advance!

  • FI Validation Issue - OB28, GGB0

    Can any body help me in the following validation - Requirement - I'm trying to create a validation so that only specific document types can post to specific GL accounts. I'm implementing this requirement by line item validation. I started with the si

  • PKG_CONFIG_PATH, gedit-plugin-ots

    hello! i have a problem with the PKGBUILD of ots-plugin for gedit. here you can get more information about ots: http://debaday.debian.net/2007/06/06/ots-command-line-text-auto-summary/ this is the PKGBUILD: # Contributor: iggy <[email protected]> pkg