Shoppin cart getting approve after rejection in BADI WF

Hi all,
I am using Item level SC Approval WF WS1450000015.
When The SC is being rejected its getting approved. And the Status at the header level is coming as approved and item level atatus is Rejected.
Has anybody else has faced this prob?
Any suggestion will help.
No body got this bugg??
Regards,
Edited by: Rahul Azi on May 30, 2008 8:18 PM

Hi Raj,
> can you tell me the steps to investigate the agent determination and mail send function in workflow.
Check the Following Links:-
/people/sapna.modi/blog/2007/02/19/workflows-for-dummies--introductionpart-i
http://help.sap.com/saphelp_nw04/helpdata/en/9b/572614f6ca11d1952e0000e82dec10/frameset.htm
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
http://****************/Tutorials/Workflow/Workflow.htm
Regards,
Kanika..:-)

Similar Messages

  • Send an email to previous approver after rejection in OOB Approval workflow

    Hi all,
    I have created OOB Approval workflow with two approvers.
    If first approver rejects then i want it to send an email to the requester. 
    If second approver rejects then i want it to send an email to the first approver as well as requester?
    Is there any way to acheive this? 
    And same should happened when document is approved
    Also how to identify that the first approver has completed their task? 

    Hi Trupti,
    you can do that using SharePoint designer workflows:
    you can do that by putting the actions in the complete condition so you check who approved it and based on that you do the actions of sending email so it will be if conditions and where to put that in here
    http://bobbyspworld.com/2013/02/08/5-step-to-enhance-sharepoint-2010-approval-workflow/
    https://support.office.com/en-gb/article/Use-the-task-process-editor-for-approval-workflows-8680b4a4-36b1-441c-b070-e515976078aa
    <section class="ocpSection" style="color:#363636;font-family:'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;font-size:10.3999996185303px;line-height:normal;">
    Completion conditions for the task process
    When you click the completion conditions, you’re taken to a full-page workflow editor where you can add or change the completion conditions that for the task process. Specifically, these actions
    will run every time an individual task is completed. You can customize the logic here using the workflow commands in SharePoint Designer, like conditions, actions, and else-if statements. You can also add task behavior actions, like the Set Content Approval
    Status and End Task Process.
     Top
    of Page
    </section><section class="ocpSection" style="color:#363636;font-family:'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;font-size:10.3999996185303px;line-height:normal;">
    Behavior of a single task
    From the summary page, if you change the behavior of a single task, you’re taken to another full-screen workflow editor where you see the individual task events, such as when it’s assigned, pending,
    expires, and so on. Specifically, there are five events:
    Before a task is assigned: These actions run before every individual task is created.
    When a task is pending: These actions run after every individual task has been created.
    When a task expires: These actions run every time an individual task is incomplete after its due date.
    When a task is deleted: These actions run every time an individual task is deleted before it’s completed.
    When a task completes: These actions run every time an individual task is complete.
    You can add any of the available conditions and actions, and you can add several more task behavior actions this time, like append, delegate, escalate, and reassign. You can even add task notification
    emails and wait for changes in a task process item. The available task behavior actions change depending on the event you’ve selected.
    </section>
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • Application "Leave request" getting error after rejection from manager

    Hi folks,
    we getting an error in the ESS leave request application with using the workflow (WS12300111).
    We have EP7 SP11 wit ESS/MSS  600 SP7 (for ERP2005) . All ESS/MSS services/webdynpros are deployed without errors.
    If an employee takes holiday with the leave request and the manager rejects this leave request, a work item is created in the UWL box of the employee. Processing this work item leads to the following error:
    Application error occurred during request processing. Details:
      com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'com.sap/ess~lea' and application 'LeaveRequest' are not deployed on the server. Please check the used URL for typos.
    Exception id: [C0000A7D0192002A0000000400000B7E000431AA883F1DCE]
    But the application is ready deployed (the employee take this appl- to create the leave request
    In the ERp2005 / HCM customizing, transaction SWFVISU the approval task TS12300097 uses application "LeaveRequestApprover" is working fine.
    TS12300116 uses application "LeaveRequest" leads to this error... :-(((
    Does any body have an Idea ??
    Please help!
    Thx mario

    Hi,
    which version do you have?
    I have ECC 5.0 and problem I solved in SWFVISU transaction, for TS12300097 parameters, changing to package sap.com/ess~lea.
    By default is 'com.sap.xss.hr.lea.appl/LeaveRequestApprover' and this is the problem, in UWL xml configuration, package pointing is sap.com/ess~lea.
    Check this, and comment the results,
    regards,

  • Shopping cart status showing as Awaiting Approval even after Rejection.

    Hi All,
    We are on SRM 5.0 .After rejection of shopping cart , if the requestor checks the staus of shopping cart in Check Status link , it is showing as 'In Your Inbox' which i believe is correct but the status for this object id is still Awaiting Approval in transcation BBP_PD.
    Why is the status not geting updated in transcation BBP_PD?
    Regards,
    Anubhav

    Hi,
    One more strange thing is that there are some shopping carts with status
    Stats:
               Status         Description                    Inactiv
    HEADER     I1015          Awaiting Approval              X
    HEADER     I1016          Release Rejected
    HEADER     I1021          Created
    HEADER     I1038          Complete
    HEADER     I1106          Shopping cart ordered
    But these are very old.
    All the shopping carts that were rejected in recent times are..
    Stats:
               Status         Description                    Inactiv
    HEADER     I1015          Awaiting Approval
    HEADER     I1021          Created
    HEADER     I1038          Complete
    HEADER     I1106          Shopping cart ordered
    But I have never seen the Accept Changes button in my system , so howcome the old shopping carts have status Release Rejected?
    Regards.
    Anubhav

  • How can i get option to approve or reject an emial in outlook in mac such that once i click on approve, the email is sent and if i click on reject it goes to sender (within our workgroup), i used to have it in windows

    how can i get option to approve or reject an emial in outlook in mac such that once i click on approve, the email is sent and if i click on reject it goes to sender (within our workgroup), i used to have it in windows

    Better ask on the Microsoft forums where the Office experts hang out as it's Microsofts product you're have questions about
    http://answers.microsoft.com/en-us/mac

  • Shopping Cart Item deletable after approval

    Hello all,
    I have an issue regarding Shopping Carts: When a Shopping Cart is approved, gives a Purchase Order which is sent to Vendor, Requester can still delete Item of Shopping Cart, which has effect to delete Item in Purchase Order. I opened a message for SAP but they tell me this is the standard behavior which is for me a non sense!
    I would like to know if you already met the fact that Shopping Cart Item being deletable after approval and if you corrected it, how?
    Thanks,
    Patrick
    PS: I am working on SRM 5.0

    Hi,
    Yes this is a standard behaviour.
    The business case is a user who made a mistake and do not have access to PO due to lack of authorization.
    He should be able to delete his SC which trigger a delete status at PO item level.
    Then , if system is well configured, an update output is triggered to communicate to the vendor taht the line item has been deleted.
    If you do not want this behaviour, just modify the roel authorization in PFCG transaction.
    Kind regards,
    Yann

  • SRM 7.0 'Add Approver' button disabled after rejection

    Hi Experts,
    I'm working on SRM 7.0(BRF) RFx workflow. I have configured the process level schema and the acceptance by contact person in customizing. When any of the approver rejects the document, it comes back to the creator which is right. But i see the 'Add Approver' button as disabled. But while creating a new document it is showing the 'Add Approver' button, only after rejection, the creator is seeing the button as disabled. Is it the standard behaviour in SRM7.0 ?
    Can you guys share your thoughts on this..
    Thanks
    Ram

    Hi,
    Please check the note 1378094.
    https://service.sap.com/sap/support/notes/1378094
    Regards,
    Masa

  • Plant getting updated after offline approval of SC in SRM

    Hello Experts,
    Please guide me in finding out the reason of why the Plant Value gets updated after the Offline Approval is done by the user in SRM.
    when the user accepts the SC through mail we see that the SC gets approved status in Portal and in the backend PO we get that the Plant also gets changed.
    So please help me in identifying the issue.
    Thanks.

    Hi Rajat,
    We have debugged and analysed this issue, In offline approval system is picking last plant maintained for the company code from the table: BBP_LOCMAP. You can add one more plant to the table and check after offline approval. It will pick new one. Still we have not reached solution point, will let you know once we will find something.
    Thanks,
    BR,
    Basu

  • Header and item level approval using N level BADI

    Hi Experts,
    I beleive we can use either header level or item level approval workflow (WS14000133 and WS14500015) using N Approval-BADI. Please advise what information approval will be able to see if we will be using WS14000133 (Header level approval). Can he see all line item information or header level only.
    Regards,
    Kamal

    In SRM the same BADI is used for SC, PO, Invoice and others as well..  If you see the example implementation provided by SAP, you can see the use of CASE statement with different Business Objects and code under it.
    Irrespective of the Header level or Item level approval workflow the same BADI has to be implemented.
    The difference between Header and Item Level approval is
    1) In Header level, approval or rejection is done for the whole cart (there can be 1 item or multiple items).
        Approver will be able to see all the items in the cart.
    2) In Item level, approval or rejection is done for each and every line item. here is an example ---
      Line item 1 has Cost Center as Account Assignment Category and has to be approved by Users A and B.
      Line item 2 has Internal Order as Account Assignment Category and has to be approved by Users C and D.
    Item 1 goes to user A and once approved, it goes to B.  they will not be able to approve or reject item 2. but we can restrict user A and B to see item 2 or not by setting a flag..
    Item 2 goes to user C and once approved, it goes to D.  they will not be able to approve or reject item 1. but we can restrict user C and D to see item 1 or not by setting a flag..
    The SC will get released only after all the items are approved.
    For Header Level approval, you need to fill the APPROVAL_TABLE.
    For Item Level approval, you need to make use of APPROVAL_TABLE, ITEM_APPROVAL_TABLE and ITEM_APPROVAL_OBJ.
    Examples provided by SAP might give you an idea how to code for Header and Item Level.
    Hope this gives you some information .....
    Regards,
    PR.
    Edited by: PR on Nov 25, 2008 10:50 PM

  • SC  STATUS DISPLAYED  WRONGLY  AFTER  REJECTION

    Hi All,
       I have implemented the BADI BBP_WFL_APPROV_BADI for n-level SC approval WF ws14000133.Now my problem is when the approver rejects the Witem,the witem doesnt go back to the requestor for accepting the changes for the rejected Witem.
      Also the Witem (after rejecting teh complete SC)does *** back to the requestor..but with the status "Awaiting appproval" instead of "In your Inbox".
    Also when I see the Approval Preview for that SC,it shows that the SC is approved instead of rejected.
      With the note 790027 the status is getting updated but not the apporval preview.
    Has anybody across such problem?
    Regards,
    Disha.

    Hi,
    Refer to the OSS note 962488 and implement and refer to
    FM    :  SWD_WFD_REPLICATE_FROM_9999 
    which may help to solve your problem.
    Reg.,
    Sridhar.

  • Status of SC set differently in System after Rejection!

    Hi all,
    We are working on SRM 5.0(Sp11),standalone scenario.
    We are usng the n level SC approval workflow for SC(WS14000133).In addition we areusing the offline approval functionality for the SC approval.When testing the below mentioned scenario,i found some differences in the system behavious:
    Scenario.
    Created a SC with 1 item with total value $300.It went for approval to 1 approver who rejected it.(The approver has no authorization to change the SC while the requsitioner has).
    1.When the SC is rejected via email(thorugh Outlook),the  the status is set to "IN YOUR INBOX"(Header level) and "AWAITING APPROVAL"(Item level).Then the requester recieves another email (after the approver approves the SC) to accept the chnages and then the status in SRM is updated as   "RELEASE REJECTED"(Header level) and "REJECTED"(Item level).
    2.When the SC is rejected from SRM,the status is set to "IN YOUR INBOX"(Header level) and "REJECTED"(Item level) and the value of the cart is reset to "0".
    Then when the requester (after the approver approves the SC)  accepts the chnages in transaction CEHCK STATUS ,the status in SRM is updated as   "RELEASE REJECTED"(Header level) and "REJECTED"(Item level) and also the price is set to the original value($300)
    Can anyone confirm this behaviour?Why is the status of the SC set differently when rejected from Outlook and SRM?Also is the reset of the price standard behaviour?
    regards,
    SRM Tech.

    Hello,
    what you describe is not the standard process: it is possible only for contracts (KBA 1860426 - Shopping Cart item has status "Cannot be ordered")
    Do you have any specific developments?
    Check OSS notes and also what's happened at runtime through break-point in /SAPSRM/CL_PDO_BO_RFQ /SAPSRM/IF_PDO_BO_RFQ~CHANGE_STATUS method from /SAPSRM/CL_PDO_BO_RFQ class.
    Regards.
    Laurent;

  • How to get Approver text in SAP Fiori

    Hi All, We have implemented SAP Fiori for Purchase Requisition approval. Every thing is working fine. When I click on approve or Reject  button to take action, I am getting a popup to add approver's note. Its option only. Even if I enter, it's not getting stored in Purchase Requisition. Could some one help me in getting the approval note back. How and where should I go and check to get the approver note. Regards, Sasi
    Tags edited by: Michael Appleby

    Hi Masa, Thanks for your answer. I found other way While debugging in Class        CL_GBAPP_APV_PR_API Method      SET_DECISION_RELEASE I found the system was trying to check for text id as 'B08'. But as we don't have any text id created with 'B08', comment was not stored any where in SAP. Hence I have created new text id 'B08' in SE75 transaction under text object 'EBAN'. This has added the new text it to PR screen automatically and I can able to see the approval comments in PR transaction without any BADI implementation. Regards, Sasi

  • Workflow-status is awaiting approval for rejected item

    Hello,
    I am working on SRM 5.5. Extended classic scenario.
    I have implemented the workflow WS1400133 for 3-step SC approval ( using the corresponding BADI) .
    I have an issue , where, if the shopping cart is rejected by one of the approvers, then the approval overview shows result : REJECTED , however, the approval status in the ( approval transaction) , shows the workflow status as 'AWATING APPROVAL'.
    So, the user cannot modify the shopping cart to resubmit for approval.
    Any inputs as to why this is happening and any solution to this ?
    Thanks in advance,
    Aravind Nair.

    Hi Arvind,
      When the SC is rejected ,the total value fo the SC becomes 0.Have you set the  parameter "no_further_approval_needed" for this condition(for rej items)?
      ALso refer the note 790027.Hope this helps.
    Regards,
    Disha.
    PLs reward points for helpful answers

  • Shopping Cart getting ordered even with Custom Validation Errors

    Hi,
    We have implemented the BBP_ITEM_CHECK_BADI, and it;s working fine, when we are Checking the SHC. It's showing the error message.
    Functionality: When user has selected REJECT, and he orders, to it shud raise an error mesage that plz enter the reason of rejection.
    But it's nto working when we r clicking on ORDER, it is getting successfully processed.
    Thanks & Regards.
    Vaibhav Goel.

    Hey,
    It's not a custom field.
    One Update:
    Gurus, I got one strange thing...I removed the check of Current State (whether Rejected/Approved) from the ITEM_CHECK badi, and found that it was working perfectly fine i.e. when we have selected the Approve Radiobutton and click on ORDER, then it's raising our custom error message and is stopping the porcesssing.
    But when we are selecting the Reject Radiobutton, it's not working the same. It's saying SHC processedd successfully.
    Is this some standard functionality that it bypasses all the error messages when r rejecting a SHC or something... or any config needs to be done for this ?
    Please let us know.
    Thanks & Regards,
    Vaibhav Goel.

  • Supress button "accept modifcations" after rejecting SHC-item

    Hello,
    We are using SRM 5.0.
    After rejecting an item in the shopping cart approval-process, or rejecting a shopping cart completely, the user, in his shopping cart overview  a button "accept modifications" appears (next to a button "Modify".
    I would like to know how we can supress this button "accept modifications" or at least dishabilate its function.
    Anyone has experience with this? How did they succeed?
    Thanks for any help.
    Aart

    Thanks

Maybe you are looking for