Approval Preview when the workflow is finished

Hello,
We have implemented the BADI to get multiple level approvals in Shopping Carts. When we display the approvers via Approval Preview the system works fine if the workflow is in process, but when the workflow is finished we donu2019t display anything.
We have SRM 4.00 and the support package SAPKIBKS13 for SRM_SERVER 500
Thanks in advance, Juan Manuel

Hi,
Please check for following excrepts from SAP help sites:
1. OSS Note 1093840, content here may help to debug.
2. You are using ad hoc agent objects to determine your agents, do not use rules directly as this limits the functionality 
    available especially during approval preview and can have knock on effects in the display
3. Mark any steps you have added that are not approval steps as "step not     in workflow log" - the applet display is based on
   the graphical workflow log and unexpected steps can cause unexpected effects in the applet display
4. Make sure you follow the same pattern based approach if you are adding extra approval steps, e.g. make sure the approval
    step itself has the same group name as the other approval steps
Also additionaly check for workflow log(SWi6) . If WF is working fine.
Thanks

Similar Messages

  • Approval preview process controlled workflow

    Hi,
    We are using process controlled workflow (N step) for the shopping cart workflows.
    While sending the reminder mails to the approvers, we would like to include the approval preview in the email.
    In application controlled workflows we could use FM BBP_WFL_DIN_APPR_CONTAINER_GET to get the approval preview details.
    Is there a similar function module to pick the approvers/approval status/step name etc for the process controlled workflows so that we can simulate the approval preview?
    Thanks
    BR
    Swetha

    Use class /SAPSRM/CL_WF_APV_FACADE. This is used by standard SAP WF Analysis.
    Methods - RETRIEVE_PROCESS_HISTORY, GET_CURRENT_PROCESS_STATE, CREATE_PROCESS_FORECAST.
    To analyze more, check the program /SAPSRM/WF_CFG_ANALYSIS_002. Check lines 209...216 (These Lines pull Previous Approved Steps, Current Process Step & Gets the approval forecast). However the REJECTED Items (Accept Decision) work little different (which is not captured by this report).
    To Identify the current approval process awaiting decision by the requester of the cart, use method GET_CURRENT_PROCESS_STATE, return parameter structure /SAPSRM/S_WF_PROCESS-PROCESS_LEVEL_LIST-DECISIONSET_LIST-ITEM_STATUS_LIST gets you the current status of the item (ACCEPTED, REJECTED, OPEN, INQUIRED). If ITEM_STATUS_LIST-ITEM_STATUS EQ 'REJECTED', then the WF is waiting for acceptance/resubmission from the requester.
    To your specific need, pass DOCUMENT_GUID to the class /SAPSRM/CL_WF_APV_FACADE=>GET_CURRENT_PROCESS_STATE get the return parameter /SAPSRM/S_WF_PROCESS. It will give you PROCESS_LEVEL_LIST. Then loop through DECISIONSET_LIST. It contains Table Types of AGENTS_LIST, ITEM_STATUS_LIST, WORKITEM_LIST. At /SAPSRM/S_WF_PROCESS level, you can get all the details of the current process level details
    Thanks,
    SC

  • My iTunes Match automatically charged me for a second year when the first year finished.  In spite of that, I have lost all of my playlists on my iPhone.  How can I get them back?

    My iTunes Match automatically charged me for a second year when the first year finished.  In spite of that, I have lost all of my playlists on my iPhone.  How can I get them back?

    Hi,
    No need to post three times!
    Is iTunes Match still turned on on your iPhone? If not, you need to turn it back on.
    If it is still on, go to settings, music app and turn off match- sign out of iTunes Store. Reboot iPhone, sign back into iTunes and turn on match. Poem music app. Does this help?
    jim

  • Can iTunes be set to play only one song and then stop when the song is finished and not go on to play another unless commanded?

    Can iTunes be set to play only one song and then stop when the song is finished and not go on to play another unless commanded?

    If you uncheck all of the songs, they will only play if explicitly commanded. Command-click in a checkbox and they will all be unchecked. Command-clicking again will check the all again should you want to do that.

  • JDeveloper 11g,when the release version finish

    Hi JDev Team
    I read in many threads the JDev 11g have many features and resolver some problems for users like Templates and others.
    when the release version finish?
    and why oracle not publish the plan for JDev and ADF Faces and ADF BC and SOA
    Thanks oracle.

    We don't commit to dates because of Sarbanes-Oxley Act - http://en.wikipedia.org/wiki/Sarbanes-Oxley_Act.
    If all goes as planned you'll get your first taste of what's coming up in release 11 in a couple of weeks.
    For the production version release dates I can only say that it is going to be in the next Financial Year.

  • Approval Process in the workflow

    Hi, in the current approval process, where the user receives a notification and then when the user clicks the approve button, it will build up another email and with all the messages and the user needs to click "send" to send the email, this is in Microsoft Outlook. Has anyone ever tried to customize so when the user clicks " Approve" button, it is automatically processed behind the scene without opening another mail and click "Send" button? Thanks.

    I don't think this is possible.
    When you click on the approve button and send an email, a few things happen.
    An email is formulated with the notification id and a code that corresponds to the action the user took. The email is sent to your Oracle EBS.
    Oracle EBS has a process that reads the incoming emails; deciphers the notification id and the action_code from the email and processes the workflow accordingly.
    Making changes to this architecture will be tough if not impossible.
    Hope this helps,
    Sandeep Gandhi

  • Approval Preview for EBP Workflow

    Hi,
    As per my understanding approval preview is not possible for complex operations like "loops" for EBP/SRM worklfow. Pls. let me know opinion on this.
    (If anybody has worked on including loop operations in SRM approval workflow pls. let me know the inputs.)
    Regards
    Akshay Bhagwat

    Hi,
    Waiting for inputs on the problem mentioned below..
    Regards,
    Akshay

  • System needs to approve automatically when the same user has different role

    Hi Gurus,
    My issue relates to approval in Shopping cart.
    Say this is my Issue.
    This is the Approval detemined by the system.
    1 - X
    2 - Y
    3-  Z
    4-  X
    5- Y
    X & Y are the Same user but with different role in the Approvals.
    First time 'X' would get the cart to approve it manually but second time system should automatically approve it. Same should happen for 'Y' as well. So now both X & Y needs to approve the cart only once.
    Please advice me how to approach this issue or If anyone experience the same kind of issue please let me know how to resolve.
    Thanks for your time to spend on it.
    Thanks,
    SNMPkumar

    Hi,
    You can handle it with N-Step BADI Workflow.
    Regards,
    Masa

  • Thread: How to tell when the thread is finished AND how to kill it?

    Hi there,
    I have a thread that runs in the background and does this:
    class MyThread implements Runnable 
              public void run()
                   Stopper stopper = new Stopper();
                            //do something that takes some time
                            stopper.stop();
                            System.out.println("total time "+stopper.getTime());
    }this works fine (I have a swing gui where I click a button and this thread runs and it's ok. PROBLEM IS, when I click the button again (to re-activate the thread) it seems that the stopper is not null but still counting the time (I was under the impression that ...= new Stopper() will create a new object type Stopper).
    so -
    1. How can I tell when thread is finished?
    2. How do I kill this thread once it is finished?
    the invocation:
         public void actionPerformed(ActionEvent arg0)
              Thread t = new Thread( new MyThread());
              t.start();          
         }THANK YOU!

    You have not posted to code for Stopper, so it's impossible to reason about that
    1. How can I tell when thread is finished?
    Use Thread.Join() or Thread.isAlive()
    2. How do I kill this thread once it is finished?
    You can't and you don't. Just let the method the thread is running exit normally. Sometimes that means putting in a boolean variable to control a loop, and then exiting when the boolean is false.
    Another thought - you could set the thread as a Daemon thread - when you don't have any non-daemon threads running, java will exit.

  • Multiple workflow columns are creating when the workflow is started

    Hi,
    I have created the workflow based on "Document" content type and have deployed and associated it to it's children content types(CT1, CT2, CT3), Later i have added documents(Doc1 based on CT1, Doc2 based on CT2, Doc3 based on CT3) in the document
    library and run the workflow and they are running fine.
    But the problem is that, whenever i run the workflow on the new document which is based on different content type than earlier, then a new "workflow status"column is getting created instead of using the already existing workflow status column. 
    This behavior is happening only when i tried to associate workflow from code and when i manually associate directly in the site it works fine.
    Does anyone know how I would go about this?
    Chakradhar

    Hi Chakradhar,
    According to your description, my understanding is that a same workflow status column was created when running workflow on a new document.
    Did you re-publish and re-associate multiple versions of workflow to the content type?
    If yes, then multiple workflow status columns would be created on the SharePoint List.
    In addition, if we ever delete the workflow association to the content type or list and re-associate later to the content type or list, workflow status columns created by the previous association gets left behind.
    I recommend to make sure that the workflow has not been re-published and re-associated.
    You can delete the extra Workflow Status Column in the list:
    http://nikpatel.net/2010/08/07/delete-orphaned-workflow-status-columns-from-sharepoint-list-views/
    http://blogs.msdn.com/b/valdon/archive/2009/05/05/removing-extra-workflow-status-column-in-default-view.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Smartform doesn't show preview when the records exceed the main window size

    Hi
    When i print the smart form having line items exceeding the main window size on the page it does not show the preview. The internal table loop goes into infinite loop. Is there any means whereby if the records don't fit on the main window of the page will be continued to the next page. Right now I have no clue how it is to be resolved. I feel the problem is in layout, as when i remove the main window the internal table code works fine and it does not move in infinite loop. Please help me resolve this issue.
    Thanks in advance

    Hi
    I have deleted the table from main window and instead inserted a loop.
    Also i created the two pages. But the problem still persists.
    But for my requirement my each line item in the main window has 3 lines.
    Also my layout will be the same for all pages so is there a need to create a new page.
    Is there any mechanism whereby if the line items dont fit on the mainwindow of the page will automatically continue on another page without having to define it.. please guide? Right now the smartform goes in infinite loop if it doesn't fit in main window size
    Thanks

  • How to show a message when a workflow is finished

    hi i have a SharePoint list which has a list WorkFlow once an item is added to a list it copies the item to another list.
    now i need to show a message box when an item is added to the other list by the WorkFlow.
    Alen Austin

    This is not really what WF is about.
    You can send an email, or set a value in one of the list item fields. That's about it.
    w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | YouTube: http://www.youtube.com/user/JamieMcAllisterMVP

  • Reg : To maintain subustution approver for all the workflow related mails

    Hi
    I what to know how to maintain a substution for some days for the following req.
    As our CTO kyle whitehill is our present approver is going on a christmas & new year leave would like to Delegate his PO approval authority to R Unnikrishnan . new approver for some days  AVP u2013 Network Commercial
    So i want to configure that all the workflow related mail should go to the new person.
    Pls help me on this,
    Regards
    Suresh.

    Hi,
    You can create substitution using the function module SAP_WAPI_SUBSTITUTE_MAINTAIN or using the transaction RMPS_SET_SUBSTITUTE.
    Here you have to enter the username of the person for whom you want to maintain substitute, username of the substitute start date and end date of substitution.
    This will do the job.
    Note : Substitution allows only workitem sharing and not mail sharing.
    Regards,
    Raj

  • If rule doesnot return an approver then complete the workflow...

    Hi,
    I have a rule which in some cases doesnot return agents(approvers), in that case use the task to post the fi document and complete the workflow. This needs to be achieved. Let me know, if this is possible.
    Thanks,
    Sukumar.

    Hi,
    You will have to do the following things:
    1. Create a new container element type WFSYST-AGENT.
    2. Populate that container using your method having RH_GET_ACTORS FM.
    3. Use a Condition Step to check if the new container element is initial or not.
      If it is initial bypass the approval step otherwise it will continue in the approval process.
    Regards
    Gautam
    Edited by: gautam maini on Oct 20, 2010 1:56 PM

  • Can a remote window be closed when the subvi is finished executing?

    I am dynamically calling subvi's from a main vi with the but when the remote user closes the browser window, it is causing problems with the connection. I would like to be able to programatically close the web window when the called subvi is done running so that i can ensure that the subvi is done when the window closes. Is there a labVIEW command that can be used here? Close FP and setting the FP:state to closed don't close the remote window. Thank you.

    Hi Jeff,
    It appears that you are dynamically calling the subvi on a remote machine and you want to close the front panel of the subvi after it is done running on the remote machine.
    Make sure that in the subvi, under VI properties>>Window appearance>> Customize, Show Front Panel When Called and Close afterwards if originally closed are both checked. This would close the subvi window when it is done running.
    Regards,
    Ankita A.

Maybe you are looking for

  • Performance tuning in Solaris 10

    I am newbie to Solaris, I wanna ask is there any command / tool to fine tune Solaris 10, e.g. cpu, memory, hd usage ?

  • Dunning letters printing with zero balance and no invoice listing

    How to trouble shoot 'Dunning letters printing with zero balance and no invoice listing' problem

  • MDX Query to roll up by date range.

    I am trying to create a report that over time shows how many employees there are at any given time level. I have a list of employees and each employee has an Employment Start and Employment End. I also have a list of Times by Year, Month and Day. I h

  • How do i link something to html dreamweaver page??

    hi i am having  a problem. I have produced several .swf files to be used as part of an interactive cd. I have produced the home page in dreamweaver, with a button link for each of the movie clips, but when the clip ends it just stays on this clip, i

  • Implementing Data level Security ?

    I would like to Impelement Data level Security in Universe level itself. I have Set For users belonging to Branch (Mumbai, Delhi Etc) And One set of Users Belonging to Segment (CWG, IFA Etc) and  Set of users that are combination oif Branch and Segme