FM for approver list BEFORE shopping cart is ordered?  DOC_CHECK_BADI

Is there a function module that can be called from DOC_CHECK_BADI to return the approver list as it shows in the approval preview?  This will be before any workflow is created, since the shopping cart has not been ordered yet.

Hello,
Definitly not an easy thing to do.
You have to consider at least 3 cases:
- No workflow instance nor buffered (SC creation, approval preview not called)
- Buffered workflow (approval preview has been called)
- Wf instance exist (Hold or ordered Shopping cart).
In all cases the function BBP_PDH_WFL_APPROVAL_SIMULATE will give you the correct information if you call it with the correct parameters.
I think you already check the form simulate_approval_pbo of fg bbp_pdh_wfl. You should try to reproduce this logic and need to retrieve first some global variable from this program (gv_buffer_wfdkey, gv_check_status, etc.) with memory import/export of dynamic call (if possible).
Rgds,
Pierre

Similar Messages

  • Field type for approval change in shopping cart approval

    Hi,
    Can anyone tell me where i define the type of field where i can choose a approver when i want to change the approver of a shoppingcart?
    Shoppingcart last screen before pressing order -> Approval preview -> press on the user who is to approve.
    Then a screen at the bottom comes with the oppertunity to search for initials of a new approver, i am quite sure i have seen this as a drop down box at some point.
    Is there someplace where i can set this field to be a drop down box instead of a search box?
    Best regards
    Lisa M Simonsen

    Hi,
    Thanks for the reply but in this badi i cannot add approvers to any list are you sure your not thinking of the badi called BBP_CHNG_AGNT_GET?
    We used this badi to set the initials of the users that were in the drop down box (That now has disapeared) But now no users are sent to the badi. The badi gets hit when i put a break point in the code.
    I am quite sure there is some place this is customized up cos even if i put users in the exporting table of this badi the search box is still there and the users i added to the table have dissapeard.
    Best regards
    Lisa M Simonsen

  • Need information regarding Approver and approved date of Shopping Carts

    Dear All,
    We have got a requiremrnt to extract a list approvers and approved dates of shopping carts created for a given department and date range.
    Is there any standard way to find that?
    If we need to create a Z report please let us know the tables invovled.
    Thank you.
    Regards
    Arindam

    Hi
    Each approval step in SRM has got a work item guid and its relevant data stored in few Data tables. You may build a custom report to meet your requirements.
    Refer to this post for more details:
    Re: SRM table which stored shopping cart approval start and end time
    Regards
    Virender Singh

  • How to find which user added adhoc approver in a Shopping cart

    Hi Gurus,
    We all know that its possible for the approvers in the SC approval chain to add ad hoc approvers.However i need to know , how we can trace the user  who added  this adhoc approver in the shopping cart..
    Thanks in advance

    To be frank, i donot know about ADHOC agent means..But cannot we get Log of Workflow.
    Yes. We can get log of the workflow. Please think, in that direction.
    I think, your issue will get resolved.
    Balaji.T

  • Addition of new column /field PO number in list of shopping carts

    Hi All,
    We are working on SRM 6.0
    We want to add new column (field) PO number in list of  shopping carts on the Shopping Carts tab
    Can anyone give me some pointers as to how to achieve this.
    Thanks in Advance
    Snehal

    Hi,
    Please be clear .. where you are going to add column ?
    Standard report BBP_BW_SC2  available in that we can see the shopping cart status and follow on document (PO) information
    Thanks & Regards,
    prasad.s

  • How to create new starting conditions for a workflow of shopping cart

    Hi all,
    How to create new starting conditions for a workflow of shopping cart
    SATYA

    Excecute SWB_COND
    Creating New:
    Click on Create button. If you cannot see that it could be a authorization issue
    then Business Object:  BUS2121
    Double Click the event linkage for one step workflow
    Define the expressions, Check Consistency and click on Traansfer
    Start Condition is created. If it is not Active click on the Red Button to make it Active
    Editing Already existing:
    Click on Edit Button If you cannot see that it could be a authorization issue
    then select Business Object:  BUS2121
    Click on the condition part (White area) of the start condtion needing editing
    Change the expressions, Check Consistency) and click on Traansfer.If it is not Active click on the Red Button to make it Active

  • Order not allowed before shopping cart take over

    Dear All,
    After System update, to SAPKIBKV10, when creating a shopping cart, the error message "Order not allowed before shopping cart take over" appears.
    THis functionality was never in use and is not activated. How to resolve the issue
    Regards

    Hi,
    Check SAP Note 1499352 - SRM Transfer: Redesign, bug fixes and all relevant side effect notes.
    This issue seems to be related to SRM design bug so raise it with SAP on high priority.
    Thanks,
    Ravi

  • Offline approval for line item based Shopping carts

    Hi ,
    We are planning to  use offline approval and line item based approval (item based approval workflow) for shopping carts.
    For e.g. 10 line items in a cart can have 10 different  cost centres, and a line each need to go to respective cost centre managers for approval.
    have few clarifications:
    1. Can offline approval be used for item based shopping cart approval workflow?
    2. Can different line items be sent by mail to different mail boxes?
    3.  Will 1 manager see all the 10 line items OR only the 1  line item for which he is responsible?
    4. If he will get only line for which he is responsible , and once he clicks on approve , will this approval apply to his line item only , OR it will apply to all the 10 line items ?
    Rgds
    Sumendra

    Hi Sumedra,
    Which workflow are you using - application or process contrlled workflow?
    Assuming you are using process-controlled workflow - I will answer following questions -
    1. Can offline approval be used for item based shopping cart approval workflow?
    - Yes, it can be used !
    2. Can different line items be sent by mail to different mail boxes?
    Yes
    3. Will 1 manager see all the 10 line items OR only the 1 line item for which he is responsible?
    1 manager can 'see' all the items but he can only approve or reject the item that he is suppose to act on. All other item will be grayed out. However, this behaviour is configuarable !
    4. If he will get only line for which he is responsible , and once he clicks on approve , will this approval apply to his line item only , OR it will apply to all the 10 line items ?
    - see above
    Regards,
    Amit

  • Not able to modify list of approver on when Shopping Cart is on Hold

    Hi All
    We are facing the following situation.
    We are creating a new shopping cart and then putting it on Hold. If we open the shopping cart again ( the SC being on Hold), we are not able to add or change the app rovers in approval flow.  But if we order the Shopping Cart and then open it back and try to add or change the approvers we are able to do this.
    We are using BAdI  BBP_CHNG_AGNT_GET to add or change approver and we are trying to debug this BADi to analyse the issue. But we are not able to catch what's happening when the SC is in Hold status. Is there any other method by which we can check in debugging what's happening in the BBP_CHNG_AGNT_GET with SC on Hold.
    Any information in this regard is much appreciated.
    Best regards
    Indrajit Dutta Choudhury
    Atanu Mondal

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Use HR Structure for Agent Determination in Shopping Cart Workflow SRM7.0

    We are implementing a Shopping Cart Approval Workflow in SRM 7.0. The process is that the Requester creates a Shopping Cart and an approval process will take effect.
    The approvers will come from an HR structure wherein the direct superior (or supervisor) is the first approver. The second approver is the direct superior of the first approver; and so on, until the Shopping Cart is approved. A maximum of 7 approvals can be done in a Shopping Cart document.
    I would like to ask the following:
    1. How can I achieve this in our WF? I tried to implement BADI /SAPSRM/BD_WF_RESP_RESOLVER but I was not able to activate it (there are other active implementations for this in Shopping Cart).
    2. If there are other suggestions on how to accomplish this, please let me know.
    Thanks in advance for your help.

    Thanks Masa.
    We created 2 custom expression for our requirement and copied FM /SAPSRM/WF_BRF_0EXP001 to put values on those expressions. Then, on our BRF we compared these 2 expressions. After putting the Eval. ID on the process level configurations, we were able to see in SLG1 that the fields are populated correctly. However, we just put constant values on the custom expressions so we can proceed with testing.
    There is one problem in terms of populating the other custom expression. This expression is for the Level of the Manager. I understand that this custom expression is populated before RR_MANAGER_OF_MANAGER. I would like to understand how to get the next approver in the copy of FM /SAPSRM/WF_BRF_0EXP001. In this way, I can get the Manager Level from table HRP5581 and use this to compare with the Release Strategy. If this will not work, is there a way to get the work item ID for the WF so I could get the previous approver then get the superior of the that previous approver and then get the Manager Level from there?
    Currently, only the GUID and Object Type is populated in the FM. Can I reuse some of the fields from other expressions so I can achieve my requirement?
    Thank you very much for your help.

  • Disable GL Account Field for editing in the Shopping Cart SRM 7.0

    Hi,
      We would like to disable the GL Account field for editing only on the Shopping Cart Approval Screen. I tried to implement this through configuration of Metadata Dynamic Class in SPRO->SRM Application Server ->Cross Application Basic Settings->Extension & Field Control ->Configure Control for Fields of substructure. But the class is not getting triggered.
      Any help would be appreciated. We are on SRM 7.0
    Thanks
    Raghav

    Hi Rohit,
    Try to activate the view and component and then see. If this does not works, create an enhancement for the view and write the below code in method WDDOMODIFYVIEW
    DATA btn_confirm TYPE REF TO cl_wd_button.
      btn_confirm ?= view->get_element( 'AUTO_CONFIRMATION' ).
      if btn_confirm is BOUND.
        btn_confirm->SET_TEXT( value = 'Confirmation' ). 
      endif.
    This code will set the button text as 'Confirmation' .
    Regards,
    Anubhav

  • Approver regrouping in Shopping cart after approval and refresh button is clicked

    Dear Experts
    I created a shopping cart (Say 5 levels of approval) it reaches the approver . The approver approves the shopping cart and the cart is in completion step. When after approval in 3 rd step. If i click on refersh button at the top, the list of approvers who approved the cart are getting grouped in to a folder like structure. How it can be avioded i.e we need the approvers to be shown in sequence even after n approvals and clicking on the refresh button.
    Thanks & Regards
    Arun.K.P

    Hi Laurent,
    Please check the screenshots.

  • Restricting the Search  for Material while creating Shopping Cart

    HI SRM GURUS
    We are in SRM version 5.0 and following a classic scenarios.
    In search strategy while we are creating a shopping cart and we click on the start button a list of all the  materails  appear from where the user can select any item.
    Now in R/3 if a user belongs to Mumbai plant can we restrict the search that only material existing in Mumbai plant in R/3 appears in the search criteria and not that all the materials are displayed.
    Regards,
    Nimish Sheth

    Hi Vadim,
       The Plant related data for products/material is not stored anywhere in SRM.Then where can I apply the filters for the materials pertaining to the specific  plants through the BADI BBP_F4_READ_ON_ENTRY through the Method GET_PRODUCT?
    Regards,
    Disha.

  • Name the BADI for login links in shopping cart templates

    Hi,
    Please mention, the name of  BADI that is used for Login Links ( with logon texts) that present in the email templates of shopping cart approval.
    regards,
    George.

    Read the documentation for BADI BBP_OUTPUT_CHANGE_SF
    under path
    SRM IMG ->Supplier Relationship Management->SRM Server->Business Add-Ins (BAdIs)->Document Output->Change Forms for Document Output
    BR
    Dinesh

  • Help with Wish List / Favorites / Shopping (Cart) without the Shopping.

    I need to add a "Wish List" / "Favorites" that can be emailed to a Muse site that has already been created.  It's like a shopping cart without any need to actually check out and buy anything.  Google searches have not produced much help as of yet except for I did find something called simplecart.js that sounded promising because it uses JavaScript and as far as I can tell Muse can use JavaScript.  I am still struggling figuring out how to implement simplecart.js but at least it was a start.  Would anyone here have any alternative suggestions for me or be able to point me in a different or better direction.  I find it funny that is so hard to find something that says click this button to then add this info to this area.  I just need to keep a running list of items that can be emailed.
    I am using Muse because I am not a coder but any help or suggestions would be greatly appreciated.
    Sincerely,
    Ryan.

    It is not just CSS.
    CSS is only the style and presentation of it, you have HTML as well and layout of the product and store and the overall templates that wrap them. I can not see any changes to a pre-existing BC template, unfortunatly just replace with static images..
    There are guides on the guide section
    http://forums.adobe.com/community/business_catalyst/documents
    You got links to 3rd parties on the right there.
    You got your main help - http://helpx.adobe.com/business-catalyst.html
    If you are really struggling you can contact us at prettypollution.com.au or others if they are in your country. But you may need to pay someone to get things done.

Maybe you are looking for

  • How to obtain items data in KOBED and KOBEV (Requirements)

    Hi, I'd like to obatain info about the item when releasing PO through ME29N. I am using a custom requirement to do that. I need to check if the item is marked as a Return (MEPO1211-RETPO) and if so I do not want to send an output message (email). Tha

  • Haloscan Comments in iWeb

    Has anyone been able to successfully use Haloscan to allow for comments on iWeb created pages? I can't get it to work. If you have, please tell me where to insert the code. Thanks!

  • Discoverer Viewer Error - Version 10.1.2.50.05

    Hi, I have created a Materialised View XX and developed a report out of it..! The Report Runs fine, using Discoverer Desktop. When I am trying to run the same report using Discoverer Viewer! I am getting following Error! OracleBI Discoverer Viewer wa

  • No authorisation for displaying hierarchy

    Hello all, some user mentioned that there can not activate hierarchy for an InfoObject within an web application. When I do this, the hierarchy is displayed correct. Also within the simulation for those users in TA RSSMQ the hierarchy can be displaye

  • Why does safari add underlines to my links

    I have add text-decoration: none to the CSS that controls the links Safari seems to ignore this and adds underlines - how do I remove them?