Opportunities based on status

Hi,
How can i get the list of opportunities based on the status within current month.
Regards,
Kamesh Bathla

Hi Kamlesh,
                As Per my know how The Status Search for Activity is not Pre-Defined as in Leads in terms of GUI. In PCUI Framework the Search with Respect to Status is Incorporated in all Transaction Types.
Whereas Activity is basically Searched by Category ID,and Transaction Type as Cross Reference in GUI Environment.
Also another Way of Mapping Activity and Status for orders is by checking Table :: CRMV_INDEX_JEST
Enter the Transaction Category as "BUS2000126" which is your Activity Bus
Enter the Product (STAT) Status Key that you Desire to Search against your Activity bus
Status Key:A key that provides information about the current status of an object.
Use:A status can be activated either internally ( system status) or externally for information and control purposes ( user status).
Hope it answers your Query..
Thanks and Regards,
RK.

Similar Messages

  • Filtering My Open Task in SAP CRM based on Status, Transaction & Partner Function

    Hello
    Whenever i create a Task in SAP CRM, it displays that transaction in the My Open Task of all Business Partners involved in that Transaction.
    I want to restrict the My Open Tasks based on Transaction Type, Status and Partner Function.
    1) The system should work as it is for all other Tasks but for my Custom Transaction Type the logic should be based on status of the Transaction
    2) When My Open Task component is prepared the system should consider the Status and Partner Function as well i.e. if the status is Approval of Manager, the system should show the Open Task only to the Manager and not other parties.
    3) if the status of the Transaction is Open, the system should only display this Transaction / Task only to Employee Responsible and not to Manager and other people involved in their My Open Tasks.
    I have gone through the following post in SCN:
    https://scn.sap.com/thread/2056959
    I have implemented the method DO_PREPARE_OUTPUT as per the post but it does not do anything. When i redefine the method GET_QUERY_RESULT and remove everything,it does not prepare any list.
    If possible please specify which method needs to be redefined in the component/view CRMCMP_GS_WC/TodaysTasks & if possible please share the code that needs to be maintained in that method.
    Thanks

    Hi,
    Method DO_INIT_CONTEXT should be redefined
    This should be redifined to get the collections with your required filter criteria.
    * get the collection of entities for the tasks
       lr_col      = get_query_result( gc_status-open ).
    If this does not help, Delete the collections which are not required after above selection but before this code.
       me->typed_context->resultnew->collection_wrapper->set_collection( lr_col ).
    Thanks
    Ajay Singh

  • Percentage based on Status using per group

    Hi Gurus,
    Can you help me with this? You have any approach of getting the percentage based on status using per group?
    Currently I have this code below but it doesn’t have result but no error. I am trying to get the % In Complete.
    <?xdofx:(sum(current-group()/NUMINCOMPLETE)/(sum(NUMSUBMITTED) + sum(NUMCOMPLETED) + sum(NUMINPROGRESS) + sum(NUMINCOMPLETE)))*100?>
    Thanks Much,
    JP
    Edited by: BIPnewbie on Feb 6, 2012 3:05 AM

    Use this:
    <?xdoxslt:div(sum(current-group()/NUMINCOMPLETE), ((sum(NUMSUBMITTED) + sum(NUMCOMPLETED) + sum(NUMINPROGRESS) + sum(NUMINCOMPLETE)))*100?>
    Thanks,
    Bipuser

  • Auto numbering Column id and filter this lookup id in another list based on status="active"

    Hi,
    I am trying to autonumbeirng the column id with default column ID. But it is not reset if i delete the list item. Also i want this id in another column which have status="Active". How i will do this?
    Thanks in Advance.
    Roopesh

    Hi,
    According to your description, my understanding is that you want to reset the column ID when you delete the list item and then you want to filter the id in another list based on status.
    For resetting column id, there is no direct way to achieve it. I suggest you can save the list as a template and recreate the list. ID columns will always keep incrementing and will never be reused.
    Here is a similar thread about reset column ID for your reference:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/848a3d73-6273-45fa-806f-96312a4d71d1/is-there-anyway-to-reset-the-default-id-number-that-sharepoint-gives-to-an-item-back-to-1?forum=sharepointgeneralprevious
    For filtering look up field, here are some detailed demos for your reference:
    http://filteredlookup.codeplex.com/
    https://social.technet.microsoft.com/Forums/en-US/d23d6e9b-dc7b-4741-8746-dd4bf00b8110/how-to-filter-lookup-column-in-sharepoint-2010
    v
    Thanks
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jerry Guo
    TechNet Community Support

  • Select data based on status priority

    ID     PRO_ID     PRO_OBJ_ID     TASK_ID     DEVELOPER_ID     STATUS
    121243     4940     37506     5250     6532     REJECTED
    122063     4940     37506     5250     6532     CLOSE
    138306     4940     37506     5250     6532     ACCEPTED
    138307     4940     37506     5250     6532     WIP
    Hi,
    From the above table i need to select data based on status any status that is prior to CLOSE or ACCEPTED it must display all the status any status that is after CLOSE or ACCEPTED we must not consider.
    In the above scenioro it must display only the first three status. after ACCEPTED it must not display any thing
    Please suggest me a query how to write.
    Thanks
    Sudhir.

    Try:
    SQL> with t as (
      2  select 121243 id, 4940 pro_id, 37506 pro_obj_id, 5250 task_id, 6532 developer_id, 'REJECTED' status from dual union all
      3  select 122063, 4940, 37506, 5250, 6532, 'CLOSE' from dual union all
      4  select 138306, 4940, 37506, 5250, 6532, 'ACCEPTED' from dual union all
      5  select 138307, 4940, 37506, 5250, 6532, 'WIP' from dual union all
      6  select 138308, 4940, 37506, 5250, 6532, 'ACCEPTED' from dual union all
      7  select 138309, 4940, 37506, 5250, 6532, 'REJECTED' from dual union all
      8  select 121243, 4940, 37777, 5250, 6532, 'REJECTED' from dual union all
      9  select 122063, 4940, 37777, 5250, 6532, 'CLOSE' from dual union all
    10  select 138306, 4940, 37777, 5250, 6532, 'ACCEPTED' from dual union all
    11  select 138307, 4940, 37777, 5250, 6532, 'WIP' from dual union all
    12  select 138308, 4940, 37777, 5250, 6532, 'ACCEPTED' from dual union all
    13  select 138309, 4940, 37777, 5250, 6532, 'WIP' from dual
    14  ) -- actual query starts here:
    15  select t1.id
    16  ,      t1.pro_id
    17  ,      t1.pro_obj_id
    18  ,      t1.task_id
    19  ,      t1.developer_id
    20  ,      t1.status
    21  from   t t1
    22  where id <= (select max(id)
    23               from   t t2
    24               where  t2.status in ( 'ACCEPTED', 'CLOSED' )
    25               and    t1.pro_id = t2.pro_id
    26               and    t1.pro_obj_id = t2.pro_obj_id
    27               and    t1.task_id = t2.task_id
    28               and    t1.developer_id = developer_id
    29               );
            ID     PRO_ID PRO_OBJ_ID    TASK_ID DEVELOPER_ID STATUS
        121243       4940      37506       5250         6532 REJECTED
        122063       4940      37506       5250         6532 CLOSE
        138306       4940      37506       5250         6532 ACCEPTED
        138307       4940      37506       5250         6532 WIP
        138308       4940      37506       5250         6532 ACCEPTED
        121243       4940      37777       5250         6532 REJECTED
        122063       4940      37777       5250         6532 CLOSE
        138306       4940      37777       5250         6532 ACCEPTED
        138307       4940      37777       5250         6532 WIP
        138308       4940      37777       5250         6532 ACCEPTED
    10 rows selected.If that doesn't work then please provide us some representative sample data again.

  • Table to find Opportunities based on Activities

    Hi
    I have a requirement wherein I need to retrieve opportunities based on Activities.
    Could you please let me know in which table can i find the relation between these two ?
    (or) do we an FM?
    Best Regards
    Anil

    HI Caíque Escaler
    Thank you so much for the reply..
    Even I was trying with this FM prior to check your reply however I was checking 'ET_OPPORT_H' in the FM 'CRM_ORDER_READ'.
    Your guidance made me to check the correct parameter 'ET_DOC_FLOW'.
    Besides your reply i would like add something which is useful for others who will go through this thread.
    If we want to retrieve Opportunity guid / Lead guid foa an activity then we should consider below two fields of
    'ET_DOC_FLOW'..
    1.OBJKEY_A   -
    this will have the GUID of Opportunity/Lead or anything...
    2.OBJTYPE_A -
    this is very important while differentiating the Transaction type
                                 For ex: BUS2000111---to make sure that above GUID is for Opportunity
                                             BUS2000108---to make sure that above GUID is for Lead
    Best Regards
    Anil M

  • Advaned warning for due date based on statuses

    Hi,
    While searching transactions, for the due date some icons are coming like(green squere, yellow triangle, tick mark, grayed dimond) and so on.
    can I maintain these icons based on statuses. Presently tick mark is coming for one of the statuses maintained in the status management. But for this we didn't maintained any configuration settings at IMG --> CRM --> Interaction center Web client --> Agent Inbox --> Map item attributes to inbox Attributes --> Define advanced warning for due date.
    Required quick response as it is business critical requirement.
    Thanks,
    Chandu

    Hello Praeva ,
    The event 1330 has a sample FM FKK_SAMPLE_1330. It doesnt even have a Standard Function Module.
    You need to create a Installation-Specific FM and put your code to determine the Due Date based on the logic.
    Rgds
    Ram Kumar.

  • I am not able to diffrenciates the campaigns based on statuses

    Hi all,
    In marketing calender  I am able to diffrenciates the campaigns based on campaign type. But i am not able to do this based on statuses . i configared in SPRO also. But i am not able to get this . i have done all settings .
    pls help me out
    Thanks in advance,

    Hi,
    Please try this,
    1.Have chosen status in marketing calender.
    2.In marketing calender , go to tool bar then choose one icon called 'Type of color coding'
    3. In that you have option to choose either status or type after completing of all configurations in Spro.
    Does this help?
    Regards,
    Basha.

  • Filtering Equipment download based on status?

    Hi,
    We are implementing CRM 2007 and need some of the equipments in R/3 to be downloaded to the CRM system. The standard filters on the EQUIPMENT object in R3AC1 only provide very limited filtering options and does not support our requirements.
    What would be the best way of filtering based on the equipment status so only equipments with system status ECUS (Equipment at Customer) in R/3 are being downloaded?
    Kind regards
    Christian

    Hi Christian,
      Have you set filter with JEST table based on STAT?
      I also have same requirement, if the equipment status is ECUS, then only EQUIPMENT needs to flow to CRM. I have set filter like below.
       But still Queues are forming in CRM. Can you tell me how to restrict the equipment queues based on status.
    Thank you
    Vijay

  • How to create Collection Based on Status Message

    It's possible create a collection based on Status Message?
    If yes, please post how
    tks
    Allan

    the query given by matthew is WQL but not SQL.you cannot run the WQL query in SQL which do not support.
    The error what you get is expected .some of the wmi entries that exist in sms provider may not appear in sccm query design.
    Do not click on show query design as sms_statusmessage attributes cannot be retrived .After you
    created the WQL Query ,just paste in query box and click Ok (Ignore the error message box).
    wait for sometime and see if that display any computers.
    Eswar Koneti | Configmgr blog:
    www.eskonr.com | Linkedin: Eswar Koneti
    | Twitter: Eskonr

  • Status list based on status lists.../ Indicator values always 0

    Hi, any help or thoughts would be appreciated.
    Basically what I'm doing is calculating status list values based on data in excel sheets. This seems to work as expected. I'll call these sub-status lists from now on.
    The next thing I wanted to do is have an "overview" status list that basically gives the status of each sub-status list. If there are any indicators in one of the sub-status lists that haven't met their goal (currently yellow or red), I want the
    indicator corresponding to that sub-status list in the overview status list to show as red.
    I've tried creating a new column in the sub-status lists called 'goal met' that is a calculated column using the formula
    =IF([Lower values are better],IF([Indicator Value]<=[Indicator Goal Threshold],1,0),IF([Indicator Value]>=[Indicator Goal Threshold],1,0))
    However, the only way to get this to work is setting the Goal Thresholds to 0, since that is what the Indicator Values always seem to return (despite them displaying non-zero values when I view the list manually).
    Am I going about this incorrectly, or is there a different (and free) way to accomplish my goal of having an overview status list?
    Thanks,
    Chris

    So when a status list indicator is set to update automatically, its indicator value is not stored, and it seems like the only way to see it/your current status is to view the list or use a status list web part to do so for you. Setting the indicators to
    update manually made the indicator values be stored, so I was able to base another status list off of these values.

  • Determining Partner Function based on Status of Transaction

    Hello
    I have a requirement in which parties involved needs to be determined based on the status of the Transaction.
    Please let me know how we can fulfill this requirement. Is there any BADI for the same and if yes what code do we need to maintain.
    Thanks

    Hello Jatin,
    You can always do order related modifications on Action profile. Based on the condition whether the header status is changed or Item status You can configure an action profile & assign a start and schedule condition for same.
    The logic in the badi can be to update the partner function as per your needs.
    Regards,
    Ravi

  • Help - Tuning query based on status column

    Hi,
    I have a query wherein I need to fetch records based on the values in the status column. It can hold values 'A' and 'P'. A record can have an 'A' record and a 'P' record. My conditions are,
    1) When only 'A' record is there, then return 'A' record,
    2) When 'A' and 'P' record is there, then return 'A' record,
    3) When 'P' record only is there, then return 'P' record.
    There are approx. 3 lac 'A' records and 3K 'P' records. I tried using "with" clause queries but the performance is too bad and I am not able to use it. When executing as standalone queries 'A' records retrieval is faster as compared to 'P' records. When executing in "with" clause the query hangs. Can someone please help how this can be handled?
    Due to restrictions, I will not be able to post the actual code. I am posting a sample here.
    Sample code:
    WITH q1 AS
         (SELECT *
            FROM tab
           WHERE status = 'A'),
         q2 AS
         (SELECT *
            FROM tab
           WHERE status = 'P'),
         q3 AS
         (SELECT *
            FROM q1
          UNION ALL
          (SELECT *
             FROM q2
            WHERE NOT EXISTS (SELECT 1
                                FROM q1)))
    SELECT *
      FROM q3
    WHERE ROWNUM < 501;Thanks,
    Vijay K

    Vijay K wrote:
    Hi,
    I have a query wherein I need to fetch records based on the values in the status column. It can hold values 'A' and 'P'. A record can have an 'A' record and a 'P' record. My conditions are,
    1) When only 'A' record is there, then return 'A' record,
    2) When 'A' and 'P' record is there, then return 'A' record,
    3) When 'P' record only is there, then return 'P' record.
    There are approx. 3 lac 'A' records and 3K 'P' records. I tried using "with" clause queries but the performance is too bad and I am not able to use it. When executing as standalone queries 'A' records retrieval is faster as compared to 'P' records. When executing in "with" clause the query hangs. Can someone please help how this can be handled?Complicated problem!
    Here are some ideas:
    1. Use subqueries to avoid 'P' rows when corresponding 'A' rows exist. The EXISTS operator should be efficient if the lookup columns in the subquery are indexed.
    2. Get lists of 'A' and 'P' records and use set operators UNION and/or MINUS to include/exclude the rows you want - if you don't have to include the 'A' /'P' values themselves

  • MAKE BUTTON CONDITIONAL DISPLAY IN A REPORT BASED ON STATUS OF COL VALUE

    hello,
    can anyone help me out with this issue.
    Like I have a normal SQL report with buttons update,delete,insert and I wanted to display these buttons conditionally based on the value of the "status" column.
    For Example: if the status columnvalue is 'DEV' then only display the buttons otherwise don't display them.
    thanks,
    Orton

    I would use a CASE statement in the select....
    each CASE would be an img src tag for a different button if the button is an image.
    does that make sense? I can include an example if you would like...

  • Authorization Quotation based on status

    Hello,
    we would like to control based on the status of an quotation if the quote can be deleted or the status be modified.
    (e.g. if status = approved, the quote should not be deleted)
    Second we would like to restrict the status of a quote to be changed after it was once approved
    Thanks for any suggestions
    Regards Bernd

    About your first question go to spro->CRM->Transactions->Basic Settings->Status Management->Define status profile for user status. Enter in your status profile, and double-click on the status that you want to define the rule - in your case "approved". Then click on new entries, and look if there is available the action that disables deletion of transaction. If yes, then just mark tht action as forbidden and no action.
    About your second question to restrict the status of a quote to be changed after it was once approved, you just have to set in your status profile (spro->CRM->Transactions->Basic Settings->Status Management->Define status profile for user status) in the column lowest status no and highest status no the same number as you assigned it to your status "approved" in column Status number.
    Regards.

Maybe you are looking for

  • Data does not show up in 0PUR_C01

    I deleted the set up table for '02' in LBWG , I executed for Industry and transaction key in SBIW under Purchasing . I extracted in RSA3 for 2LIS_02_ITM and it brings 1003 records. I loaded this in BW into 0PUR_C01 . The load was successfull . But 0

  • Problem on Oracle11g2 RAC -- PRVF-5424 : Clock time offset check failed

    I have a lot of file core wrrote every 6 hour and the same time of alert"node".log file show error about PRVF-5424 : Clock time offset check failed. Yesterday I use this: [root@hostname2 ~]# service ntpd stop [root@hostname2 ~]# ntpdate [root@hostnam

  • How To Store Files On a Server?

    I am using the Tomcat 5.0.27 web container. I have always store things into the database. Now, I am told to store files (uploaded files) on the server. And, when clients want the files later on, clients can download them. Because I have not yet had t

  • Creating a CIN with Labview 6.0.2 and MSVC++ 6.0

    Hello, I am a new Labview user. Does anyone know where I can find examples of creating a CIN? Preferably demonstrating use with Labview 6.0.2 and MS Visual C++ 6.0 Thanks, J.White

  • Motherboard NEO4 F problem

    Anyone who have this motherboard knows for 219 and 229 bugs. Why Dynamic Overclock Tehnology does't allow to boot at 9% or ( DOT : General ), which is a little lower than bug. Allways when I start computer at " General " system does't boot or freeze