Changes in shopping cart at run time doesn't reflect at approval level.

Hello experts,
I have created a shopping cart upto 4 levels based on immediate manager, category id, cost center and last manager (who will approve/reject ). It is working good so far. At 3rd level (cost center) I added a formula ( Overall value > 5.000 ). It means when overall value is greater than 5000 then only cost center is going to be displayed. It works when overall value goes above 5000. But before finishing shopping cart if user changes quantity, makes it less than previously entered (which affects overall value less than 5000 ) then at 3rd level it shows approval. This is not correct. As value goes below 5000 it should not show 3rd level approver. Where I should chnge the code ? Is there anything workng there ? Please advise. Thank you.
Best regards.

Hello Sam.
Thank you for your reply. Issue has been resolved now. It was portal issue.
Yes I am using process controlled workflow.
Best regards.

Similar Messages

  • SRM alert for changes in shopping cart

    Hi,
    We have a requirement to create a shopping cart automatically upon receiving a trigger and the necessary purchase information from an external system and then send an update to the external system when the preferred vendor updates the price in the shopping cart or whenever there's a status update (approved, error, etc.).
    I wonder whether there's a way to set an alert that will automatically inform the external system that there's an update in the shopping cart.
    There's a BADi called BBP_ALERTING. Can this BADi be used to achieve our goal ? If not, how can we achieve this goal ?
    Thanks,
    Lara

    Hi. If you want to trigger the update yourself from a BADI when certain data is changed then BBP_DOC_CHANGE_BADI is called every time data is changed and contains the latest data.
    You can use it to check when certain fields are filled in then send the data to the external system.
    If you want to make sure that the data is only triggered once you could create custom fields to store a flag when you first send an update to make sure that you do not send it again. You can use the BBP_CUF_BADI to hide the custom fields from the user but you can still amend the data in them from BBP_DOC_CHANGE_BADI.
    This way when you first inform the external system that the vendor has been added you can store an X in a custom field. The code to send to the external system can check 'If vendor is not blank and custom field is blank then send to external system and update custom field to X'.
    Regards,
    Dave.

  • How to change the view criteria at run time for af:query

    Hi,
    I've a usecase where I need to change the view criteria of the af:query at run time.
    Use case:
    =======
    1) Consider a check box (Show Emps Under Dept 10) in the query panel when user selects and clicks 'Search' button should show the employees under dept 10. If user searches without selecting the check box, the results should show all the employees in all the departments.
    2) I need to have a check box always in the query panel. Its mandatory.
    The way I implemented:
    ==============
    1) Created a transient variable 'Show Emps Under Dept 10' in the EmployeeVO and also created a bind variable bind_DeptNo.
    2) Create a view criteria 'AllEmployees' which has only the transient attribute as the view criteria item and whose value set to 'false' by default.
    3) Created another view criteria 'EmpUnderDept' which has 'DepartmentId' as the view criteria item and whose value set to the bind variable 'bind_DeptNo'.
    4) Dropped the view criteria 'EmpUnderDept' as the 'af:query' panel in the jspx page.
    5) Overridden the queryListener as '#{EmpBean.empSearch}'
    6) Has the below code in the empSearch method as below. When user selects the check box, applying the other criteria 'EmpUnderDept' and setting the bind variable to '10'.
    public void empSearch(QueryEvent queryEvent) {
    // Add event code here...
    QueryDescriptor queryDesc = (QueryDescriptor) queryEvent.getDescriptor();
    ConjunctionCriterion conCrit = queryDesc.getConjunctionCriterion();
    List<Criterion> criterionList = conCrit.getCriterionList();
    List criterionValues = new ArrayList();
    Object criteriaValue = null;
    int criteriaNo = 0;
    DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    FacesContext facesContext = FacesContext.getCurrentInstance();
    for (Criterion criterion : criterionList) {
    AttributeDescriptor attrDescriptor = ((AttributeCriterion)criterion).getAttribute();
    System.out.println("============== attrDescriptor.getName() =================== " + attrDescriptor.getName());
    criteriaValue = ((AttributeCriterion)criterion).getValues().get(0);
    if(criteriaNo==0) {
    Boolean val = (Boolean) ((AttributeCriterion)criterion).getValues().get(0);
    if (val.equals(true)) {
    OperationBinding method = (OperationBinding) ADFUtil.findOperation("ExecuteWithParams");
    if(method!=null) {
    Map params = method.getParamsMap();
    //params.put(key, value)
    method.getParamsMap().put("bind_DeptId", 10L);
    method.execute();
    ADFUtil.invokeMethodExpression( "#{bindings.EmpUnderDeptCriteiaQuery.processQuery}", queryEvent);
    } else {
    //ADFUtil.invokeEL("#{bindings.ExecuteWithParams.execute}");
    ADFUtil.invokeMethodExpression( "#{bindings.AllEmployeesCriteriaQuery.processQuery}", queryEvent);
    But this approach is not working and its always showing all the employees in all the departments.
    Please let me know if there is a way to change the view criteria at run time depending on the values set at run time for one of the view criteria items.
    JDev version am using is '11.1.1.5'
    Thanks,
    Lakshman

    Hi Shay,
    It worked for me without overriding the executeQuery() method in the ViewImpl.java.
    Instead of creating 2 view criteria, I created only one which has both transient variable and the DepartmentId = <bind_DeptId>. With the above code, it worked properly. Now I am using only one view criteria.
    Thank you.

  • Can I change a process flow at run time??

    Hello everybody,
    I work in Oracle BPMS 11.1.1.5. I need to change a process flow at run time due to changes in the business logic, I mean add, delete and modify tasks, navigation flow, etc. I know business rules can be modified using Oracle BPM Composer, but I couldn't find the way to modify the process flow. I have seen other BPMS, like BizAgi, for ex. that can do that. Do Oracle BPMS have that functionality? Please I need it a lot!!!!
    Regards and thanks in advance,
    isabelbernely

    Hi
    As JonPetter mentioned, you can get this and preferably get only from Support. I hope you have some license if you going to prod with this. Use that and if possible talk to your sales guy and create a support account. Then request the feature pack. The thing is, if we put it in some public shared location, it is the violation of using the oracle product. Unless someone takes risks they may upload but still its not advisable.
    Sorry
    Ravi Jegga

  • How We Can Change Page Size During Report Run Time

    Hello !
    How We Can Change Page Size During Report Run Time .
    How can we stop to change the column name when we amend a sql in report data model.
    Thanks !
    null

    hello sohail
    1. question - i'm afraid this cannot be done ... bit in report 6 and newer you have posibility to divide your report in 3 parts (former header, body, trailor) and each part can have diferent page siz, orientation , ...
    2. question - best is give each column in your statements in one report diferent alias. when you have to chnge something, alias will remain same ...
    try this: select 1 as fist_column, 1 as second_column from dual
    hope this helsp

  • Change Rejected Shopping Cart

    Hi,
    One of the users has created a shopping cart and the Approver has Rejected the Shopping Cart. The User is having BBP_WFL_SECURITY attributed value to LOW.
    The Rejected Shopping Cart Status at header Level is Shoing as Awaiting Approval and at Item level it is showing as Rejected.
    When the User Clicks on the Item Details they are able to see the Change Button and when they are trying to change the Shopping Cart they should be able to change the Quantity, Price, Required On date which is not happening.
    Here are my questions
    1. Why the Rejected Shopping Cart Header Status is shown as Awaiting Approval even thought it is rejected by approver?
    2. When ever the user is trying to change the Rejected Shopping Cart why is it not allwoing them to do the same?
    Is there anything that needs to be looked out apart from the BBP_WFL_SECUR_BADI(this is inactive)?
    Regards,
    Satya

    Hi,
    I guess the task is not general task.
    Please find the task ID( like TS10407972) and open it in transaction PFTC.
    Menu Additional Data -> Agent Assignment -> Display
    If the task is not general task, please set it as general task.
    The system admin can handle the workitem already created with no agent.
    Go to transaction SWI2_ADM1 and forward the workitem to responsible person.
    Regards,
    Masa

  • How to change Content canvas size during run time?

    Hi All,
    I am using oracle 10g web forms and opening in Separate Frame. When I re-size the MID window, I want to change Content canvas size to window size. Is it possible to change content canvas size at run time? Even after using following statement it is not working.
    set_canvas_property('content_can', WIDTH, 200 );
    set_canvas_property('content_can', HEIGHT, 100 );
    Please help me.
    Regrads

    Francois,
    Yes, I have used messages, when get the current values (after setting new values) it shows right one but on the screen it is not accurate because
    it is going beyond the window size and it adding scroll bars. I am using window W&H minus some numbers. When I look at the help it says size in characters. How to set the Content canvas size in characters?
    Is it possible to change the Content Canvas size in Run time? Please help me.
    Regards.

  • Termination Error when Changing Rejected Shopping Cart

    Hello All -
    We are on SRM 5.0 Classic scenario.  If you try to change a shopping cart that has been rejected, if the section that you want to edit is not open before you click the change button you get a termination message that says "error processing your request" and a bunch of other stuff underneath the message. 
    Has anyone encountered this?  I have looked on OSS but haven't seen this problem mentioned.  The only way to get around it is to expand all the sections where you might want to edit data and then click the change button.  That seems a bit strange.   If you realize you didnt expand a section that you need to change, you get the error. 
    Any help would be greatly appreciated.
    thanks
    Jane

    Hi,
    Where from do you open the SC? From Status list or Inbox?
    Regards,
    Masa

  • What is the user exit to change segment version at the run time of an IDOC

    Dear Experts
    Please can some one help on this ...
    Which is the user exit to change segment version at the run time of an outbound IDOC.
    For example
    Suppose we have a IDOC segment with two version 620 and 46C.
    By default the IDOC pick the 620. But Our requirement is to use 46C.
    What user exit we can use for outbound IDOC to change the version used at run time for a segment.
    Appreciate your response.
    Thanks

    Hi,
    ALE00001      EXIT_SAPLBD11_001         
    User exit for the IDOC version changer
    Regards,
    Ravi

  • Changes to shopping cart during approval.

    We are running the N-Step approval workflow WS14000133.
    The issue we are having is when an approver makes a change to the shopping cart during approval (Task TS10008126) we would like this to trigger the step that sends the cart back to the requestor to check/approve(Task TS10008061).
    The desired behaviour occurs if the approver makes a change to the price, but not if other aattributes of the shopping cart are changed such as the vendor or the description.
    The workflow determines if the cart should be passed back to the requestor based on the approve_or_reject flag in the approval task container. This variable is set to 4 when the price is changed, but 0 if other attributes are changed.
    The security level for the approver to 'High' so that the workflow does not restart.
    Is there any way to control what changes to the shopping cart will cause the workflow to create the task for the requestor.

    What I am saying is that I want the workflow to continue and it is. This is not the issue. I am happy with the way that the security level is working.
    The issue is that I would like the workflow to send a task to the requisitioner for ANY change that is made to the shopping cart. The standard solution will only send a notification to the requisition if a change is made to the value of the cart.
    We need to pick up all changes such as the description or the vendor.
    If you look at workflow WS14000134 you will see that after the approval step there is a decision step that will route the workflow to the notification to creator task or by-pass it. This is based on a variable that is set by the approval task. If the value is changed the value is set to 4, but if the vendor is changed then the value remains as 0.
    The question here is 'Can we influence the way that this approval state variable is set?'

  • How do i change the image path at run time in wpf ?

    I have a button and i need to show image two different image based on condition. 
    <Button x:Name="btn" MouseEnter="btn_MouseEnter_1">
    <Button.Template>
    <ControlTemplate TargetType="Button">
    <StackPanel Width="43">
    <Image Name="btnS" Source="Resources/main.png" />
    </StackPanel>
    <ControlTemplate.Triggers>
    <MultiTrigger>
    <MultiTrigger.Conditions>
    <Condition Property="IsMouseOver" Value="True" />
    <Condition Property="IsEnabled" Value="True" />
    </MultiTrigger.Conditions>
    <MultiTrigger.Setters>
    <Setter TargetName="btnS" Property="Source" Value="Resources/hover.png"></Setter>
    </MultiTrigger.Setters>
    </MultiTrigger>
    <MultiTrigger>
    <MultiTrigger.Conditions>
    <Condition Property="IsPressed" Value="True" />
    <Condition Property="IsEnabled" Value="True" />
    </MultiTrigger.Conditions>
    <MultiTrigger.Setters>
    <Setter TargetName="btnS" Property="Source" Value="Resources/audio-push.png" />
    </MultiTrigger.Setters>
    </MultiTrigger>
    <Trigger Property="IsEnabled" Value="false">
    <Setter TargetName="btnS" Property="Source" Value="/Resources/disabled.png" />
    </Trigger>
    </ControlTemplate.Triggers>
    </ControlTemplate>
    </Button.Template>
    </Button>
    I want to change the source of btnS at run time bases on condition.
    Suppose that if a = 1 then 
    btnS source is "Resources/main.png" this
    else btnS source should be "Resources/main1.png"
    same for mouse hover and enable disable triggers.
    Thanks,

    Hi Sumit,
    We can use
    VisualTreeHelper class to find Image control in visual tree.
    UIHelper.cs:
    public class UIHelper
    public static T FindChild<T>(DependencyObject parent, string childName)
    where T : DependencyObject
    // Confirm parent and childName are valid.
    if (parent == null) return null;
    T foundChild = null;
    int childrenCount = VisualTreeHelper.GetChildrenCount(parent);
    for (int i = 0; i < childrenCount; i++)
    var child = VisualTreeHelper.GetChild(parent, i);
    // If the child is not of the request child type child
    T childType = child as T;
    if (childType == null)
    // recursively drill down the tree
    foundChild = FindChild<T>(child, childName);
    // If the child is found, break so we do not overwrite the found child.
    if (foundChild != null) break;
    else if (!string.IsNullOrEmpty(childName))
    var frameworkElement = child as FrameworkElement;
    // If the child's name is set for search
    if (frameworkElement != null && frameworkElement.Name == childName)
    // if the child's name is of the request name
    foundChild = (T)child;
    break;
    else
    // child element found.
    foundChild = (T)child;
    break;
    return foundChild;
    Code Behind:
    private void Button_Click(object sender, RoutedEventArgs e)
    Image image1 = UIHelper.FindChild<Image>(btn, "btnS");
    if(image1!=null)
    image1.Source = new BitmapImage(
    new Uri("Resources/main1.png", UriKind.Relative)
    Screenshot:
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to change dynamically text label at run time in the forms

    Hi,
    I am having a form in which i want to change the text label dynamically. I mean when a certain condition match then text label should be change and when condition does not match then the text label should reamin as it is in the same form.
    plz help
    thanks in advance
    azhar

    Hi,
    Use this code to change the label at run time.
    set_item_property('deptno',prompt_text,'pagal dept');
    Prompt_text is used for changing label at run time.

  • Changing "Check Shopping Cart" screen and Completion workflow

    Hi,
    Below i describe a) the current process, b) the required changes, and c) my questions.
    Though it is also about workflows i still thought this was the best place to post the thread.
    Current process:
    In the process "free text order" i choose Go Shopping >> Shop >> Describe Requirement. I fill in details and complete the next steps.
    Now the Completion workflow (WS14000044) has started.
    So if I now look on my homepage in SRM i have an approval item which reads:
       Approval
       You can approve or reject shopping carts and read your e-mails relating to the procurement transaction
       You have
       -  1 Workflow Entries in Inbox
       -  0 Unread Documents in Inbox
    So i open the list and find one item: Complete shopping cart of mr X.. Now i click on the item and it takes me to "Check Shopping Cart"
    At the bottom of the screen is one button: "Change"
    Requirements:
    1)  add two buttons to this screen. One button is "Reject", to reject the shoppping cart directly. The second button "Mail Requester" to send the shopping cart back to the requester and also sends a mail via outlook to inform the requester that this has happened and requesting more information.
    2)  these buttons should then influence the behaviour of the Completion Workflow. In this workflow (WS14000044) the task Completion (TS14007947) currently has one activated outcome. From my two buttons i would need two more outcomes that allow me to model the other actions that i need i.e. the rejection outcome and the back-to-requester/send-mail outcome.    
    Questions:
    1)  is it allowed/possible to add the buttons to the existing screens. Or do i need to create a custom screen and call that instead of the standard screen?
    2)  is it allowed/possible to modify the completion workflow as described? Or do i need to copy and then modify?
    3)  How could i make the buttons to interact with the workflow? The only thing i can think of is to create a Z-bus object of the object Form and to modify so that it show my expected outcomes.
    4)  any helpful links to sdn posts of blogs or otherwise on how to go about to create the necessary changes.
    Thx for your input
    Kind regards
    Robert

    Hi Robert,
    Again, before technical solutioning, we need to step back and understand the business process and functions of each role (e.g., Buyer, Financial Approver) in the completion and approval workflow.
    Here's my understanding of the as-is (correct me if I am wrong). You are using One-Step Spending Limit WF (10000276) for financial approval. This is done by a Financial Approver (I am guessing, the line manager). The Buyer is not part of the process. Now, you want to introduce free-text requisitioning, and, consequently, you want to introduce the Buyer role into the workflow process - to complete the free-text lines (e.g. with vendor, price).
    Based on above scenario, I believe your initial solution was not incorrect - introduce Completion WF (14000044) for the completion task, while keeping 10000276 for financial approval.
    Now the business wants the Buyer to play a more active role in the process. They want to be able to Reject (the whole cart?) and Inquire (send the cart back to requester with questions). In my mind, it may still be possible to explore keeping the original design with Completion WF without modifying it, and still achieve the business needs. You can explore different ways of doing that: delete SC items instead of Rejecting, add Approval Comments to inquire, etc.
    Alternatively, you can replace all your workflows with one - WS14000133 "Spending limit, n-step,
    dynamic approvers (BAdI)". Here, you can determine your approvers flexibly via a BAdI implementation. For example:
    1. If Total Amount =< Spending Limit of Purchaser, then no approval agents - auto-approve SC.
    2. If Total Amount > Spending Limit of Purchaser AND there're no free-text lines, then determine Financial Approver.
    3. If Total Amount > Spending Limit of Purchaser AND there're incomplete free-text lines, then determine Buyer; once free-text lines completed - then Financial Approver.
    WS14000133 also has back-and-forth functionality which you can use for the inquiries. WS14000133 provides the most flexibilty, but it also involves more effort to implement. Read up on WS14000133 at help.sap.com.
    Bottom line - I would focus on evaluating these two standard options: 14000044 with 10000276, or 14000133. You may need to do some pros/cons, cost/benefit analysis. But I see no need to modify or copy SAP templates in your case.
    Cheers,
    Serguei
    <removed_by_moderator>
    Edited by Moderator on May 29, 2009 7:22 PM

  • Maintain price (change) in Shopping cart

    Hi
    We have in our catalog (CCM2.0) created some articles like fx Consulting. The price for consulting can be different and we like to change a dummy price when the article is transfered to catalog.
    Do anyone know what we can do to make the price field maintainable in shopping cart?
    Thanks in advance

    Dear Jesper,
    it is standard that the price from catalog item should not be changeable in the shopping cart. If you need this functionality then please take a look at consulting note 693175. Maybe this helps.
    Best regards,
    Georg

  • Change column width in the run time

    Hi, everyone:
    I have a form with a master and a detail block. The detail block has a tabular layout. I want the user of the form being able to ajust the width of the particular column(s) in the run time by, e.g. dragging the border of the column(s) to the left or to the right. I've seen the examples of these forms, but want to know how easy would it be to implement that.
    Thanks a lot.
    Eugene.

    Hi, everyone:
    I have a form with a master and a detail block. The detail block has a tabular layout. I want the user of the form being able to ajust the width of the particular column(s) in the run time by, e.g. dragging the border of the column(s) to the left or to the right. I've seen the examples of these forms, but want to know how easy would it be to implement that.
    Thanks a lot.
    Eugene.

Maybe you are looking for

  • Error while creating customer master data

    dear sir, i have created customer master and maintined all level general,compnay code and sales level data.and again deleted all areas thru t-code XD06.and thru se16n i have deleted the entires in kna1 knb1 knvv table   again while creating one with

  • Trouble with Facebook app

    last week my iphone 4 FB app stopped giving me the camera icon on photo albums for me to upload pictures. Have deleted the app twice and reinstalled still no luck. the rest of the fb app works. But not this. also had alot of trouble with pandora too.

  • ODBC install problem

    I installed the Net8 Client 8.1.7.0.0 and Oracle Provider for OLE DB 8.1.7.2.0. I'm trying to install ODBC 9.0.1.2.0, but the install fails. Is there some other application that I need to install first?

  • ITunes 10.5 will not Sync with iPhone 4

    Did the update to iOS5 recently and everything works great with the exception of the fact that I ended up with no music on my phone. Now whenever I connect the device it only clocks and never does anything even after 20mins. HELP! Using a MacBook Pro

  • Stolen nobeook - logged in on Skype - can I trace ...

    Hello, One of my notebooks have been stolen recently from the house. Police investigated and i have a file on that. Yesterday someone have turn the notebook on and I saw skype name online. Is there a chance to get the log information, IP adress or so