Restricting opprtunity sales stage based on activity status

hi
I have created one activity per sales stage. The status of the activity when created is planned and is assigned to a particular sales rep.
now i want that unless the sales rep marks the status of the activity as Completed, no one should be able to change the sales stage to the next or previous stage.
Can anyone help me?
thankx and regards
PS: I hope this info is sufficient, if need more then plz ask for it

Hi,
I can offer you the following solution, which is far from elegant, but will save you writing WSs.
Since you only have one activity per sales stage you can add a section to the opty layout with a set of checkboxes, one per activity. After completing the activity the user will have to check the corresponding checkbox on the opty layout.
Once you have this setup, you can run validation checks between the sales stages and the relevant checkbox.
Again, not the prettiest solution, but the alternative is WSs.
Best of luck

Similar Messages

  • Archiving flag for BP based on activity status and delete archvied BP

    Hi All,
    Can we flag archiving check box for BP based on specific activity status and delete these archived BP's using BUPA_DEL.
    Thanks

    Use Function module
    BAPI_BUPA_CENTRAL_CHANGE and set the flag CENTRALARCHIVINGFLAG to true in the structure
    BAPIBUS1006_CENTRAL.
    Thanks,
    Thirumala.

  • Change the Status depending on the value selected in Sales stage

    I want to change the status in opportunity, depending upon what is entered in sales stage.
    I tried to find an appropriate BADI for the same purpose, but couldn't figure out any.
    I was thinking of changing the method do_prepare_output and including the code to get the value of sales stage and set the status. Is this feasible?

    Alternatively, you can enhance the SET method of the sales status and add the logic for status update as well.
    Regards, Kathirvel

  • Restricting some sales orders in Report

    hi i have a problem , i want to restrict some sales orders based one the following logic , can any one help me in coding this logic
    if ( 0Doc_categ = k ( Credit memo request) or H (Returns))
    get( Sales Documents )
    for all these sales Documents get Reference sales Doucmens and the Refece Document Category )
    case ( Reference Document category )
    when ( 0 )credit memeos
    inc = inc + 1 ,
    when (s ) credit Memo cancelations
    dec = dec + 1 ,
    endcase.
    if (inc > dec )
    result = sales order
    esle dont consider the record
    i want to implement this login in the report while selecting the Orders , i cant do this in the start routine or update routine becasue other reports consider these sales orders . Thanks in advance.

    Hi GSM ,
    Thanks for ur reply , so is there no chance that i can implement this logic in Customer exit for the report , the probelm is we want to keep the number of ODS to minimus as integration will become a problem in the future in our project. Any one can u plz suggest a way .
    Regards,
    Abhiram

  • Automatic determination of User Status in based on sales Stages

    Hi All,
        Can we determine the user status of Opportunity document based on the completion of sale stages.
         can we do it in configuration itself or we need to go for development .
            Suggest some logical solution.
    Regards,
    Omer

    Hi Omer,
    As far as user statuses and customizing is concerned, you cancustomize only upto extent given in SPRO status management. If that does not fullfill you needs then status management BADI is given.
    You can define the System status that should be mapped for your user status but can not define a user status for a sub-process level !!
    If you know what is the system status on completion of your slae stages, then you can map your user statuses to those system statuses.
    Thanks & Regards
    Suchita

  • How to cancel the sales order - header and line status are in Entered Stage

    Dears,
    I have some sales order to be cancelled in which the header and line status are in *"Entered"*. I am not able to cancel these sales order.
    Also note that these orders are for maintenance service.Once i book these orders the lines will change to closed status.
    So it is not possible to book and cancel the lines.
    Kindly me to resolve this.

    926530 wrote:
    Boss,
    If i do Action-->cancel on header, it just makes the qty to zero.But the header and line status still showing as entered.It will not cancel the order.
    The problem for me is that these lines are coming in my monthly reports. This is what your question says...be more specific as what is your issue..which in turn is your problem
    How to cancel the sales order - header and line status are in Entered Stage
    Coming to your Action-->cancel...as far as i know ...the header status will change to canceled..
    unless until you have some processing constraints in place...which is stopping you...
    HTH
    Mahendra

  • Sales order based production orders GR restrictions

    Hi,
    i work mostly on sales order based planning and
    I manufacture many sub assemblies and consume it to manufacture a finished product.that mean i have many sum assemby production orders and finally i create the production order for the sales order line item and produce it and do GR for the production order and sell the material.
    My requirement is that i want to control the GR of the header material production order if any sub assembly production orders has not yet been GR.
    but i am not interested in using colletive order concept.
    please suggest how to control that as many of the users are not doing GR for the sub assemblies and doing GR for the saleable material and selling the material.
    rgs
    madan

    Dear,
    Avevalbility check depends on 2 things
    checking rule and checking group
    Checking rule is maintained for each function like production order it is PP and SD order it is A.
    Checking group is maintained for a material code and plant combination in MRP3 view.
    The combination of Checking rule and checking group will decide which stock, receipt element and issue elements have to be considered for avealability check.
    Checking  rule is assigned at order type. You can have different checking group for assembly and sub assembly and can have different rule.
    Even you can go for different order type for finished material, and all subassembly you can have different order type. In Assembly order you can make setting so that if material is shortage existis release is abondended.
    come back if required
    You have many options

  • How to Create Task Automatically based on Sales Stage?

    If an Opportunity's Sales Stage is changed from 'X' to "Y',then I want to create the Task for an Agent automatically by the System.How can we achive it?Could you please elaborate steps that we need to this (If customisation,how ca we do it?)
    Thanks in Advance
    Raju.

    First U have to crate Extended View Object to your actual View obj.
    Now take Page with Panel  Splitter ,on First facet drag View obj as table and on second Facet Drag Extended View Obj as table.On page loading U have delete all rows from Extended View object.And then u have write bean code on button click to get current select rows from above view objct,and for Filter rows from Second View obj according to selection of rows from first view obj...

  • Not able to change sales stage from requirtement to reqmt analysis

    in opportunity Not able to change sales stage from requirtement to reqmt analysis
    Error Message:SBL-DAT-00284
    Details error msg is:
    Unable to evaluate workflow rule for foll reason
    Update probability between 0 & 100%(SBL-ODS-00500)
    Edited by: user1074008 on Sep 22, 2010 10:17 PM
    Edited by: user1074008 on Sep 22, 2010 10:18 PM

    Looks like a bug...
    Previos Post Activity Status = Submitted - Access Denied

  • Availability of products based on product status

    Hello
    I have the following requirement that needs to be implemented in CRM 7.0.
    "Based on product statuses, we'd like to stipulate which product can be used for new orders and which products can be used only for change orders."
    For example let's say product X was created on Jan 1 2009.  Quotes/Sales orders were created for this product.  Buit in June 2009, this product should only be available for change orders.  It should not be available for new quotes/sales orders.
    I've looked through product statuses and read several posts on this forum. But I didn't quite understand what thought process I should have to implement this.
    Any guidance would be greatly appreciated.
    Thanks

    Thanks for your reply.  I see what you're saying.  The product status would still be active.  Otherwise the product won't be available for use at all.
    If that is the case, then which attribute of the product could I use/should I use, to prevent the product from being used on new orders (but usable on change orders)?
    Thanks

  • Sales Document Delta Load Error - Status procedure could not be set

    Hello,
    I am getting the following error message during the sales document delta loads. It errors out in SMQ2 with this message - "Error in Validation (Details: transaction SMW01)"
    In SMW01, I get this message:
    <b>The status procedure CRMORD_I could not be set from item category XXX</b>.
    Message no. CRM_ORDERADM_I503
    Diagnosis
    Possible causes are:
    1. The system administrator has not assigned the status profile CRMORD_I to the object type.
    2. Initial statuses that should be set in the status profile CRMORD_I cannot be set at present.
    3. The current user RFCUSER does not have the authorization to set application statuses.
    Detailed error messages can be found in the following error log for status management.
    System response
    The status profile is not set in the document.
    Procedure
    Set the status profile in Customizing so that these cases do not occur.
    This status profile has been assigned to the item category mentioned and the RFCUSER has full authorization (SAP_ALL)
    Do any of you know what else could be the problem here?
    Thanks,
    MAX

    Dear All,
    I met similar error before, it happens when you change the item category in ECC but there is a status profile assigned to the item
    category in CRM with an active status set.
    In CRM, when the item category is changed, the system can only change (or delete) the status profile if there is no user status set for this item. So for example, if there is already a status set for an item (Say, E0001 'Open' is active) in CRM, so a change of the user status profile is impossible. If you need to change the item type, then you have to make sure that there is no active user status in the item.
    Please see note [1113116] point 2. This is a restriction in CRM. If you try to make the same changes directly in CRM you will also get the same error.
    It is not allowed to change the item category if the document has been saved and the status profile of the new item category is different from the old one.
    That is the reason why the error occurs when the data reaches CRM frm ECC.
    In order to prevent that there are sysfails in the inbound queue you can implement note [1438966] - after this is implemented you will not have the queues failing but you will get the error message in the sales order in CRM.
    You should ensure that the configuration for alternative item categories is R/3 is the same as in CRM and in this case all the alternative item categories should have no status profile or all the same status profile configured.
    I hope this could be helpful.
    Best regards,
    Maggie

  • How tomaintain product revenue when the oppty is in sales stage Closed/Lost

    When the opportunity is in the closed/lost stage the product revenue is always zero. How can we move the opportunity to closed/lost but still maintain the revenue values for the products.
    We use the product revenue to report opportunity revenue...
    thanks..

    I always use "Opportunity-Product History" for my pipeline reports. In this subject area "Product Revenue" is available for Opportunities which are "Closed/Lost". I would log this as a bug with Oracle as it clearly should not set the Product Revenue to 0 in the Product History subject area.
    In this subject area I can create reports and trace back Opportunity Revenue and Product Revenue. I have multiple pipeline reports running at both levels which are accurate for mutiple deals. If you do decide to use this subject area beware of the following:
    - Dont use the Sales Stage or Probability Successs % at Product level as it does not update as a user steps through the sales stages. Use the opportunity details for accuracy
    - If you want a weighted product revenue calculate this based on the Opportunity Probability % and the Total Product Revenue, do not use the out of the box metrics
    Regarding your second question, Opportunity Revenue puts the total opportunity amount in your pipeline on the date of the opportunity close date. It also gets updated when a user adds a product and presses the "Update Opportunity Totals" button, this sets the Opportunity Revenue to the total of the Product Revenue from the products you entered. Sometimes users forget to press this button and the revenue is out of alignment. Opportunity Revenue can also be updated if you have the setting "Product Averaging" enabled in your company profile, this takes an average of the Product Revenue and updated the Opportunity Total when a user presses the "Update Opportunity Totals" button. These metrics are updated each evening, you are using the History subject areas which take 24hours to refresh. Does that answer your question?

  • Error in activating status profile for SVT

    Hi,
    I've been trying to activate status profile EHS_SO for SVT in REACH compliance version 2.0 . But I am stuck.
    When I save a sales order, a message-'Error when activating status 0001 for status profile EHS_SO in order XXXXXX' has come up. My IMG settings are as follows:
    Sales documentr: No existing status profile used
    Status profile: EHS_SO added with status SD
    Environment parameter:SVT_SO_PROFILE: EHS_SO
                                          SVT_SO_STATUS: 0001 used
    Activate Status profile: STUCK (can't figure out the object type for VBP object type category)
    Does anyone know?

    Hello Bomi,
    Please see SAP note # 1111196. It talks about Status profile for sales order and status profile for production orders for online check for SVT.
    May be useful to you.
    Regards,
    Niraj

  • Template allocation based on activity consumed by receiver object.

    Dear all,
    We want to allocate overhead from CTR/ActType to production orders, network activities and sales orders based on the amount of some other activity that has been booked on these receivers.
    When trying to create a template I cannot find the function to do this. Although this seems like a pretty standard allocation base for overhead.
    Can anyone one throw some light on this?
    Thanks in advance,
    Spimic

    Hi
    Ideally you should use Indirect Act allocation if you want to allocate from Cost Center / Act Type to Other receivers based on the Activity Qty in those receivers
    If its a one off case - you can use KB21N....
    You can use T code KCAU to change the nature of CO objects as Senders / Receivers
    br, Ajay M

  • Issue with saving sales stage in an opportunity record

    We can not update the sales stage of an opportunity record to closed/won and save it. We are changing the status to a valid one. Is this a known issue in the new release? We upgraded recently to rel 15.

    I would recommend contacting customer care on this issue.

Maybe you are looking for