Service Requests Open 5 days?/Service Requests Open and Closed Today

Help!
How would I determine service requests open greater then 5 days, I use the # of Open SR's but cannot seem to get a date to work.
Also what is the best way to count the SR's open and closed on the same day?
Thanks in advance.

You need to include a TIMESTAMPDIFF function in your filter... something to the effect of
TIMESTAMPDIFF(SQL_TSI_DAY,"Service Request"."Create Date",CURRENT_DATE) > 5
Double check the column reference.
Mike L

Similar Messages

  • Can't open excel file after saving and closing excel with activex

    I'm using activex to write and save excel files in LabVIEW. My application opens excel (not visible)writes a file, saves it, and then closes both the file and excel. When I try to open the file Excel opens but the file is not displayed, I see the excel header and footer but the file itself does not display. My application is still running at this point. Any suggestions?

    It is critical when using ActiveX with Excel that ALL refnums be properly closed when they are no longer used. Just a single refnum left open will cause the exact situation that you describe. Typically, but not required, the refnums will be closed in the reverse order in which they were created. Here is a good sequence:
    Open Application ref
    Property Workbooks ref
    Open Workbook ref
    Close Workbooks ref
    Select Sheet ref
    Select Range ref
    Write Value2 to Range
    Close Range ref
    Close Sheet ref
    Save Workbook
    Close Workbook ref
    Close Application ref
    When you have properly closed all refnums, the problem will disappear.
    Michael Munroe
    Certified LabVIEW Developer
    www.abcdef.biz
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • Opening Stock + InwardQty + OutwardQty + Price and Closing Balance

    Hi Members,
    needs an SQL query for the " Stock Statement " From OINM Table to display opening stock , InwardQty as 'Receipts', OutwardQty as 'Issue', Price using Date and WareHouse as selection criteria.
    Kindly Help me in this regard,
    Thanks and Regards,
    Venkatesh.R

    used function in sql

  • LabVIEW 5.0 for sale and closing today on eBay

    I just came across this newsgroup today. I though some of you would like to
    know about the new and unregistered copy of LabVIEW I am auctioning off.
    To bid on the item, go to:
    http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&​item=130133583

    I believe that this knowledgebase answers your question exactly.
    Hope this points you in the right direction!
    E. Sulzer
    Applications Engineer
    National Instruments

  • Service Requests-Business days when year changes

    Hi All,
    I am trying to calculate for how long a SR has been open in business days only.
    I have successfully used Mike Lairson's formula for the last 9 months but it seems it cannot cope with year changes. If the begin data is in 2009 and the end date in 2010, the results are not correct anymore.
    E.G. For an SR that was opened on 12/30/2009 and closed on 01/05/2010 should return 5 business days but it is actually returning 110.
    The syntax that I used so far is:
    (CASE
    /* Convert Sunday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Closed Date and Time") = 1
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time") - WEEK("Service Request"."Closed Date and Time")) -
    (WEEK("Service Request"."Closed Date and Time") - 2)
    /* Convert Saturday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Closed Date and Time") = 7
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time") - WEEK("Service Request"."Closed Date and Time")) -
    (WEEK("Service Request"."Closed Date and Time") - 1)
    /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Closed Date and Time") -
    WEEK("Service Request"."Closed Date and Time")) +
    (2 - WEEK("Service Request"."Closed Date and Time")) END)
    (CASE
    /* Convert Sunday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Opened Date") = 1
    THEN (DAYOFYEAR("Service Request"."Opened Date") -
    WEEK("Service Request"."Opened Date")) -
    (WEEK("Service Request"."Opened Date") - 2)
    /* Convert Saturday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Opened Date") = 7
    THEN (DAYOFYEAR("Service Request"."Opened Date") -
    WEEK("Service Request"."Opened Date")) -
    (WEEK("Service Request"."Opened Date") - 1)
    /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Opened Date") -
    WEEK("Service Request"."Opened Date")) +
    (2 - WEEK("Service Request"."Opened Date"))
    END)
    +
    /* Adjust for Year Change */
    (365 * (YEAR("Service Request"."Closed Date and Time") -
    YEAR("Service Request"."Opened Date")))
    Any ideea or hint would be highly appreciated.
    Thank you.
    Regards,
    Dorin
    Edited by: user805960 on 06.01.2010 07:07

    Hi,
    i used this formula to find out the days it calculates between 31/12/2009 and 01/01/2010, the result it gave was 106 days.
    So i subtracted 106 from 365 days (365-106=259)in the formula, the formula is now giving the correct values.
    I think we have to add the total working days and not the no.of days in a year.
    Please can you all reconfirm the results.
    Thanks
    Neena
    Edited by: NNK on Jan 11, 2010 3:16 PM

  • Opening and closing stock

    Hi,
        We have a requirement in which a Customized report has to be developed. The report needs to display the opening stock , Total reciept, consumption and closing stock for supplier wise material.
       We came across a standard report MB5B in which all these values are available. However inorder to display these values in a customized report we require a standard function module. Please provide us a std function module that can solve the purpose.
    If the std module is not available (i dnt come across one) kindly porvide an alternaitve for the same.
    Regards,
          Milan Thaker

    Hi,
    Use Submit Statement to get the output data from MB5b.
    Ex:
    Create selection screen with required filelds and use like this
    SUBMIT RM07MLBD with MATNR in r_matnr
                            with LGBST eq ''
                            with BWBST eq 'X'
                            with datum in datum
                            with bukrs in bukrs
                            with werks in werks
                            with lgort in lgort
                            with charg in charg
                            with bwtar in bwtar
                            with bwart in bwart
    Rgds
    Aeda

  • Opening balance and closing balances for discounts?

    Hi all,
    I have a typical sceanario where in
    opening balance for discounts 10,000 (balance of last month)
    actual discounts  from the sales order 5,000
    manual upload is   from flat file            2,000
    closing balance is 7,000 (which is opening balance + manual upload - actual discounts)
    opening and closing balance needs to be calculated, how to calculate nor handle this on every month?
    level of granularity of the data is
    sku, month, rebate category and rebate amount?
    Thanks

    Hi Pooja,
    can you please let us know few things about your report requirements
    What is the extractor you are using?
    What are the KFs ?
    what are the selection parameters that you want to enter at the reporting level?
    is it the report related to FI AR. do you want to display the values based on the customer -->profitcenter?
    Bcoz we had a same requirement where our requirement was global recievables aging report in which the report need to display opening bal, sales,adjustment,colelction and closing balance and the aging values.
    here what we did is changed the modeling of the DSO and infocube.
    we had used non-cumulative KF in order to calculate closing balance and from that derived opening balance and again create a new formula to get the closing balance.
    if you can be specific with your requirement hope can help you with your report.

  • Open stock and closing stock

    Hi
    how to findout open stock for the date and closing stock .

    hi
    good
    DATA : it_mard LIKE mard OCCURS 0 WITH HEADER LINE.
    DATA : BEGIN OF t_mard OCCURS 0 ,
    matnr LIKE mseg-matnr,
    labst LIKE mard-labst,
    END OF t_mard.
    DATA : it_mardh TYPE mardh.
    DATA : buper LIKE t009b-poper,
    gjahr LIKE t009b-bdatj.
    DATA : p_buper LIKE t009b-poper,
    p_gjahr LIKE t009b-bdatj.
    DATA : dt LIKE sy-datum.
    *CLOSING STOCK OF PREVIOUS PERIOD
    dt = sy-datum.
    *get current period
    CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
    EXPORTING
    i_date = dt
    i_periv = 'M3' "apr to march 4 spl periods
    IMPORTING
    e_buper = buper
    e_gjahr = gjahr
    EXCEPTIONS
    input_false = 1
    t009_notfound = 2
    t009b_notfound = 3
    OTHERS = 4.
    *fetch previous period
    CALL FUNCTION 'CKML_F_GET_PREVIOUS_PERIOD'
    EXPORTING
    input_period = buper
    input_year = gjahr
    input_periv = 'M3'
    IMPORTING
    previous_period = p_buper
    previous_year = p_gjahr.
    SELECT SINGLE * FROM mardh
    WHERE matnr = p_matnr
    AND werks = p_werks
    AND lfmon = p_buper
    AND lfgja = p_gjahr.
    IF sy-subrc = 0.
    CLOSING STOCK = mardh-labst.
    ENDIF.
    *to calculate current stock-----
    SELECT * FROM mard
    INTO CORRESPONDING FIELDS OF TABLE it_mard
    WHERE matnr = it_marc-matnr
    AND werks = p_werks.
    IF NOT it_mard[] IS INITIAL.
    LOOP AT it_mard.
    t_mard-matnr = it_mard-matnr.
    t_mard-labst = it_mard-labst.
    COLLECT t_mard.
    ENDLOOP.
    READ TABLE t_mard INDEX 1.
    CURRENT STOCK= t_mard-labst.
    ENDIF.
    thanks
    mrutyun^

  • I am trying to open a service request and the site does not work.

    I am trying to open a service request and the site does not work with ANY browser. I get the page https://getsupport.apple.com/GetParts.action which says "Send in for service. We just need a little more information." The continue button does not work. I've seen this problem before trying to file support requests. It's as if Apple simply does not want you to create requests.

    I just went through several screens and had no problems.  Try clearing your browser's cache and/or history.

  • Problem in opening 'Find Service Request' and 'Create Service Request' HTML forms

    Hi,
    I  am working on creating some date for EBS Service, and I am unable to open 'Find Service Request' and 'Create Service Request' HTML forms.
    I keep getting the error message :
    Oracle error - 20001: ORA-20001: APP-FND-02902: Multi-Org profile option is required. Please set either MO: Security Profile or MO: Operating Unit profile option. has been detected in MO_GLOBAL_INIT.
    I have min knowledge of EBS set up and configuration. We just use EBS as a source system for our ETLs.  Please suggest any workaround to get resolve the issue.
    Thanks,
    Kishore

    Navigate to System Administrator responsibility > Profile > System. Search for the profile MO: Operating Unit and under responsibility field, put in the responsibility name you are using for creating the service request, click OK and enter the desired operating unit value in the next window. It pulls up all operating units defined and you can chose the desired one.
    Thanks
    Shree

  • Template to open multiple service requests

    I have the following requirement to achieve with service manager...
    I wish to open a new Service request or incident from HR for a new starter,
    This SR or incident then needs to open templeted sub activites of build machine, assign phone extension, create AD account etc etc
    These sub-tasks can then be assigned to other staff and closed off seperately but all link to the master...
    How can I achieve this?
    ***Don't forget to mark helpful or answer***

    This is, in fact, the entire purpose of the template, to allow you to create complex work items like Service Requests, with all component activities as they are. 
    The service request is a linear progression, i.e. only one activity will run at a time, and as soon as it completes, the next activity will start. this behavior is by design. if you have multiple tasks that need to run concurrently, consider using a Parallel
    Activity container. the PA container will start, and all activities within the PA container will start, and as soon as all activities inside the PA are completed, then the PA will complete, and the next activity inside the Service Request will start.
    Views are not updated unless you click away and back, or manually refresh the view. this might be why you don't see them.  

  • Can't figure out how to open a service request

    I need to return a 7925 wireless set and can't figure out how to open a service request with the new support format.
    Any suggestions?

    I found the button that I was looking for and was able to open a service request

  • I'm now outside the country (since January 1). I try to register, and it says it will text me the pin. This doesn't happen. I need to check my service suspension request. I spoke with a rep before leaving. She told me to suspend the services on the day I

    I'm now outside the country (since January 1). I try to register, and it
    says it will text me the pin. This doesn't happen. I need to check my
    service suspension request. I spoke with a rep before leaving. She told me
    to suspend the services on the day I left the country, but there was no rep
    to help me with that when I called on January 1. I tried to do it with the
    mechanized options. I think it told me only three months was granted, but I
    want to suspend for six months (until June 29). CAN YOU PLEASE TELL ME HOW
    TO PROCEED SINCE I CAN'T ACCESS MY VERIZON ACCOUNT. I'm in Morocco.

    well, you know how it is - glitches that usually resolve with a hard reset etc
    then a restore. then a factory restore....then ..... nothing fixes so I try the next step with apple online - fill out my serial number and find it is a couple of weeks out of date - and then with the holidays who has time to get to the apple store? this is my second 4s handset as it is - first one the glass cracked from L to R without any impact/damage etc - they changed it out automatically because it's a 'known fault' apparently - so technically, this handset is only 6 months old - but warranty is from original purchase date -
    never imagined it would turn out to be a warranty issue with the phone - and hey maybe when I get a chance to go to the apple store they'll be sympathetic, but I won't be able to get there till at least Jan 4th as it is. On the other hand, another iOS update might resolve the issue - but how long till that release? at the moment I'm having to use my old 3gs for wifi and 4s for phone!!!

  • Service Request - Working Days

    Hi All,
    Has anyone tried to factor Working Days into their SLA's through analytics reporting?
    For example, a Service Request is raised on Friday and I would like the number of days to close that service request to exclude Saturday and Sunday? Obviously there is no working days calender in CRM On Demand so i'm just going to ignore bank holidays etc for now. Just wondered whether anyone had experience/recommendations with this?
    Thanks
    Oli @ Innoveer

    Oliver,
    While i have not completed anything around this i have extracted the following out of the CRM-On Demand Reporting book that might help.
    Calculating Differences in Business Days
    A common request for date calculations in reports is to determine the number of business days
    between two dates. Answers On Demand does not contain any functions of variables that identify
    business versus non-business days. The following sample code calculates the business day
    difference between open and close dates on service request records. I have included comments
    in the formula that explain what each portion of the formula does.
    (CASE
    /* Convert Sunday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Closed Date and Time") = 1
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time") -
    WEEK("Service Request"."Closed Date and Time")) -
    (WEEK("Service Request"."Closed Date and Time") - 2)
    /* Convert Saturday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Closed Date and Time") = 7
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time") -
    WEEK("Service Request"."Closed Date and Time")) -
    (WEEK("Service Request"."Closed Date and Time") - 1)
    /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Closed Date and Time") -
    WEEK("Service Request"."Closed Date and Time")) +
    (2 - WEEK("Service Request"."Closed Date and Time")) END) -
    (CASE
    /* Convert Sunday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Opened Date") = 1
    THEN (DAYOFYEAR("Service Request"."Opened Date") -
    WEEK("Service Request"."Opened Date")) -
    (WEEK("Service Request"."Opened Date") - 2)
    /* Convert Saturday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Opened Date") = 7
    THEN (DAYOFYEAR("Service Request"."Opened Date") -
    WEEK("Service Request"."Opened Date")) -
    (WEEK("Service Request"."Opened Date") - 1)
    /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Opened Date") -
    WEEK("Service Request"."Opened Date")) +
    (2 - WEEK("Service Request"."Opened Date")) END) +
    /* Adjust for Year Change */
    (365 * (YEAR("Service Request"."Closed Date and Time") -
    YEAR("Service Request"."Opened Date")))
    This wont come out as it should so see my profile and send me a email and i will pass this on.

  • Open hub services and infospokes

    I am quite new to BW,i like to know about open hub services and what are infospokes and it is used to implement open hub services.i will b happy if u can provide some materials as well.

    Hi,
    The open hub service enables you to distribute data from an SAP BW system into external data marts, analytical applications, and other applications. With this, you can ensure controlled distribution using several systems. The central object for the export of data is the InfoSpoke. Using this, you can define the object from which the data comes and into which target it is transferred.
    Through the open hub service, SAP BW becomes a hub of an enterprise data warehouse. The distribution of data becomes clear through central monitoring from the distribution status in the BW system.
    Functions
    BW objects such as InfoCubes, ODS objects, or InfoObjects (attributes or texts) can act as open hub data sources. You can select database tables or flat files as open hub destinations. Both a full and a delta mode are also available as the extraction mode.
    Components of the Open Hub Service
    The open hub service is made up of the following objects:
    InfoSpoke
    The central object for the data export is the InfoSpoke.
    The InfoSpoke defines the following:
    u2022 The open hub data source from which the data is extracted
    u2022 The extraction mode
    u2022 The open hub destination into which the data is delivered.
    In addition, you can also select which data selection is to be extracted from which InfoProviders. This selection ensures that a destination for different points in time from the same InfoProvider can be supplied with data for different selection criteria using a delta. The selection set is freely configurable as long as extraction has not taken place in the delta mode. Once it has, this no longer applies.
    Open Hub Data Source
    BW objects such as InfoCubes, ODS objects, MultiProviders and MultiProviders and InfoObjects (attributes or texts) can function as open hub data sources. If you use an InfoCube with non-cumulative key figures as a data source, refer to the note regarding the settings on the Selection tab page in Creating InfoSpokes.
    Extraction Mode
    An InfoSpoke can extract data in two ways: in full mode (F) and in delta mode (D). See InfoSpoke Extraction Mode.
    Open Hub Destination
    Database tables (from the database in the BW system) and flat files (CSV) can act as open hub destinations. See also Extraction to Database Tables and Extraction to Flat Files. You can extract the data from a database to a non-SAP system using APIs with a third-party tool. See also Extraction to Non-SAP Systems.
    The open hub destination includes all information about a target system for the InfoProvider data: type of destination, name of the flat file or the database table. It also contains a logical target system. The logical target system is used to structure the individual open hub destinations in the open hub monitor. The open hub monitor groups the requests according to logical target system, open hub destination and InfoSpoke. By specifying a logical target system, you get a better overview of the individual open hub requests.
    for more information u can see the further link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/ce/c2463c6796e61ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/58e1cdbed430d9e10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/79f902dfb06fc9e10000000a1553f6/content.htm
    open hub
    open hub
    Regards
    Tg

Maybe you are looking for

  • FireGL V3200 Driver on Windows 7

    Hello everyone I have a Thinkpad T43 with a FireGL V3200 graphic Card. Unfortunately I didn't find a driver. Does anyone know if the exists a driver? Thanx!

  • Do I need to have final cut pro to use motion?

    Do i Have to have final cut to use motion or can i use imovie?

  • Html in labels

    How can I display an html image in a label or icon? Thanks

  • About bulk replacing pictures in Ai

    Most of the time I got issue with placed pictures that I have to take a lot of time to do it one by one, so I am looking for any action to peform in bulk as follow: 1. Select all pictures and change their 'Placment Options' 2. Replace all pictures wi

  • Photoshop Elemments 13 Download

    Adobe Photoshop Elements 13 automatically downloads a 32 Bit package which is not accepted by my 64 Bit PC.  There is no apparent option at Adobe to download a 64 Bit package.   Can you help ?