Get Time Period Values 12.0

All,
Is there any way to get the values of configured Time Periods at runtime. For example get the current  shift start and and end time values?
Regards,
Christian

This little trick is also an excellent way to understand how the time engine works, in a WYSIWYG manner.  If you test your Simulator Tag query template from the Template Editor or WB and select text/xml the answers are revealed.
A simple Q/A for situations like:
What happens if I put Time=Today@08:00:00 and Duration = -1 and DurationUnits = D?
Regards,
Jeremy

Similar Messages

  • Script Help required to Auto-populate the Time Period Value

    Hi Experts ,
                    Time Period object was defined in System
    I have a collection M_ED_SYS_CE with M_ED_YR as collection field .
    M_ED_YR field is a Time Period Picker (i.e. values are like "Year 2011" , Year 2010)
    my requirement was to auto-populate the M_ED_YR collection field with Time Period object . No manual Interruption
    Also I need to increment and auto-popualte & set  the Time Period values for all  existing M_ED_YR Collection fields .
    Can any one please clarify if TimePeriod objects defined in System is of VLV type or String Objects
    Any suggestions are highly Apprecaited .
    thanks in Advance
    Tayi

    REsolved

  • Avg global enqueue get time (ms)

    I noticed Avg global enqueue get time (ms) is 214.5. This is as high as I have seen this and what does it mean? The following flush times are also really high:
    Avg global cache cr block flush time (ms): 15.7
    Avg global cache current block flush time (ms): 12.9
    Avg message sent queue time is showing 942.0 ms
    Here are top events: Avg
    wait % DB
    Event Waits Time(s) (ms) time Wait Class
    cursor: pin S wait on X 414 16,367 39535 88.4 Concurrenc
    kksfbc child completion 44 1,799 40887 9.7 Other
    DB CPU 240 1.3
    IPC send completion sync 77,702 25 0 .1 Other
    external table write 2,434,678 20 0 .1 User I/O
    The users are stating that everything is now running many times slower than what we saw in the lab. I verified the interconnect is going across the private interfaces (not public). What else should I be looking at?
    Thanks in advance!!

    Hi Mike,
    I got something for you. Please check this.
    -- GLOBAL CACHE LOCK PERFORMANCE
    -- This shows the average global enqueue get time.
    -- Typically AVG GLOBAL LOCK GET TIME should be 20-30 milliseconds. the elapsed
    -- time for a get includes the allocation and initialization of a new global
    -- enqueue. If the average global enqueue get (global cache get time) or average
    -- global enqueue conversion times are excessive, then your system may be
    -- experiencing timeouts. See the 'WAITING SESSIONS', 'GES LOCK BLOCKERS',
    -- 'GES LOCK WAITERS', and 'TOP 10 WAIT EVENTS ON SYSTEM' sections if the
    -- AVG GLOBAL LOCK GET TIME is high.
    set numwidth 20
    column "AVG GLOBAL LOCK GET TIME (ms)" format 9999999.9
    select b1.inst_id, (b1.value + b2.value) "GLOBAL LOCK GETS",
    b3.value "GLOBAL LOCK GET TIME",
    (b3.value / (b1.value + b2.value) * 10) "AVG GLOBAL LOCK GET TIME (ms)"
    from gv$sysstat b1, gv$sysstat b2, gv$sysstat b3
    where b1.name = 'global lock sync gets' and
    b2.name = 'global lock async gets' and b3.name = 'global lock get time'
    and b1.inst_id = b2.inst_id and b2.inst_id = b3.inst_id
    or b1.name = 'global enqueue gets sync' and
    b2.name = 'global enqueue gets async' and b3.name = 'global enqueue get time'
    and b1.inst_id = b2.inst_id and b2.inst_id = b3.inst_id;
    Thanks,
    Keyur

  • Get a value of a item  in a diferent time period - Script Logic

    Hi,
    So i'm facing the following problem,
    I've inputed some data on the time 2010.INP, wich is my member for data that will be used to calculate other members from diferente time period.
    For example, in my current view i have selected time = 2010.JAN, and i try to run the following code
    *WHEN ACCOUNT
    *IS "VOLUME"
    *REC(EXPRESSION=GET(account="YEARTAX",DATASRC="INPUT", TIME="2010.INP"),ContaVendas="MONTHTAX")
    *ENDWHEN
    So what i'm trying to do is, when the user inputs the value for volume, it gets the value that was previously set to the yeartax in the member 2010.INP, and copy it to MONTHTAX in 2010.JAN
    But the value that is returned is 0.
    Any ideas?
    Hopefuly i made mysel clear!

    Hi,
    yeartax and monthtax are members of which dimension? I can see account and contavendas in 2 different locations.
    Assuming that the above 2 members are from the contavendas dimension, please modify the script to
    *WHEN ACCOUNT
    *IS "VOLUME"
       *REC(EXPRESSION=GET(CONTAVENDAS="YEARTAX",DATASRC="INPUT", TIME="2010.INP"), CONTAVENDAS="MONTHTAX", TIME=%TIME_SET%)
    *ENDWHEN
    Hope this helps.

  • Daily max(value) query for time period

    I am looking to get the maximum value for every 24 hour period for a month. So for example my date range can be defined by...
    select to_date('&date','mm yyyy')-1 + level as DateRange
    from dual
    connect by level <= '&days'
    ...where I can provide the first date of the month and number of days in the month or a lesser value if less time is required. So, the results of the above query plus 24 for the range. I thought a some googling would provide me what I needed, but my search came up empty.
    I was hoping to do something like this...
    select utctime, max(value) from table where utctime between....
    Any guidance would be much appreciated!
    Thanks!

    Zewbie wrote:
    Sorry about that...Oracle 10.2.0.5
    create table x (utctime date,
    pointnumber int,
    value float)
    insert into x values (to_date('02022012 232221','mmddyyyy hh24miss'), 10, 3.245);
    insert into x values (to_date('02022012 202202','mmddyyyy hh24miss'), 13, 14.5);
    insert into x values (to_date('02024012 103421','mmddyyyy hh24miss'), 10, 23.245);
    insert into x values (to_date('02024012 042528','mmddyyyy hh24miss'), 10, 33.245);
    insert into x values (to_date('02028012 022321','mmddyyyy hh24miss'), 14, 32.245);
    insert into x values (to_date('02028012 205221','mmddyyyy hh24miss'), 10, 2.245);
    insert into x values (to_date('02029012 211421','mmddyyyy hh24miss'), 14, 1.4345);
    insert into x values (to_date('02029012 082221','mmddyyyy hh24miss'), 10, 3.245);Do you have dates 7000 years in the future, or ido you have typos?
    So a query of the above would provide max daily value based on a pointnumber such as 10 for a given period.What are the results you want from the given data?
    What role does pointnumber play in this problem?
    If you want something like this:
    A_DATE      POINTNUMBER  MAX_VALUE
    02-Feb-2012          10      3.245
    02-Feb-2012          13       14.5
    02-Feb-2012          14
    03-Feb-2012          10
    03-Feb-2012          13
    03-Feb-2012          14for the 2 days starting with February 2, 2012, then you can do this:
    WITH   days_wanted     AS
         SELECT  DATE '2012-02-02'     -- starting date
                  + LEVEL - 1     AS a_date
         FROM     dual
         CONNECT BY     LEVEL  <= 2     -- number of days wanted
    SELECT    d.a_date
    ,       x.pointnumber
    ,       MAX (x.value)   AS max_value
    FROM       days_wanted  d
    LEFT OUTER JOIN        x  PARTITION BY (x.pointnumber)
                                   ON  TRUNC (x.utctime)  = d.a_date
    -- WHERE  x.pointnumber       = 10         -- If wanted
    GROUP BY  d.a_date, x.pointnumber
    ORDER BY  d.a_date, x.pointnumber
    ;

  • Get a waveform graph to stop plotting after a given time period

    I am doing a research project looking at the effects of modifying visual feedback on a person's current force output. I have a waveform graph that plots the target force level they are trying to match (specified by me) and next to it a second plot showing their current force output (in real time). I am trying to make a condition where the current force output plot (or really the whole waveform graph) stops plotting after a 10 s time period, but can't seem to get it to work. It either plots for the whole trial, or does not plot at all. Is there a way to put a timer on a waveform graph in order to tell it to stop plotting after a specified time period?
    Thanks!

    Hi again,
    I have tried to open the .vi you sent, but I have version 8.2 (yours is in version 8.5) and cannot open it. Is there a way for you to tave the.vi so that it can be opened with earlier versions of the program?
    I have attatched my .vi to this message as well.
    Attachments:
    bimanual combined with metronome_conds.vi ‏174 KB

  • Automatic update value after time period passes

    Hi,
    In my application on page 8 I have an item which value is to be changed from one value to another depending on a time period. At first the item has value 1. Then we set it on value 2 and we also set a time period, for example 5 days. So after that period the value should automatically change on the value 1.
    On page 1 there is a region with a list entries, subjects which have the value 2 set. I want this list to change according the change of value.
    Does anyone know how to do this? I am a bit clueless...
    Thanks
    Regards,
    Leila

    There appears to be logical issue here.
    a) The value will be incremented only when user visits the Page 8 . If user does not visit Page 8 then the change will not occur
    b) If the user visits Page 8 but does not save the change (commit) even then the change would not come into effect.
    Can this not be handled through a scheduled job that runs on the underlying tables at per-determined intervals/time? Say , once a day?
    If the above 2 points do not affect you then you can try the Process route.
    i) Write a OnLoad Before Header or After header process on Page 8
    ii) In this process find out whether the required/preset interval has elapsed on not
    iii) If the criteria is met then change the value of the Page 8 as well as Page 1 items using bind variable sysntax in the Process
    :P12_ITEM := '2' ; -- or whatever you want.
    :P1_ITEM := :P12_ITEM;How to figure out the interval? If it is date/time based then use SYSDATE. If it is something else , you need to figure out the interval calculation that works for you.
    Regards,

  • How to get Portal Session Time out values of CRM system

    Hi,
    I had a requirements to pass the Portal session Time out value to the External Configurator. How can I get that value. Is there any Function Module to get this value.
    If you go to SMICM and select services, we see HTTP details. I need to get the Time out value what its showing there. How can I get that value. Is there any FM to get that value or Is there any existing code.
    Please let me know if you need any further information.
    Thanks.

    Hi
    The session time out value for CRM WEBUI is controled by parameter RDISP/PLUGIN_AUTO_LOGOUT.
    Its value is got by BSP.
    Please check in SE80 BSP application CRMCMP_IC_FRAME view hideenview.htm.
    If you want to know the session time out value for portal, I am afraid that you need to raise questions in EP's forum.
    Best regards,
    Maggie

  • How to get Portal Session Time out values.

    Hi,
    I had a requirements to pass the Portal session Time out value to the External Configurator. How can I get that value. Is there any Function Module to get this value.

    Hi
    The session time out value for CRM WEBUI is controled by parameter RDISP/PLUGIN_AUTO_LOGOUT.
    Its value is got by BSP.
    Please check in SE80 BSP application CRMCMP_IC_FRAME view hideenview.htm.
    If you want to know the session time out value for portal, I am afraid that you need to raise questions in EP's forum.
    Best regards,
    Maggie

  • How to get instantane​ous values according to elapsed time?

    How can i get the instantaneous value at a specified time (say 2.5 seconds) when my VI runs for 5 seconds?
    Any help is much appreciated. Thanks!
    noviceLabVIEWuser
    Attachments:
    Instantaneous Value.vi ‏36 KB

    I have already done the coding, so compare this to yours.  When using floating point numbers (orange wires), you should not use equals function because of rounding off errors (5 might be represented by 4.99999999 or 5.00000000001 and equal will fail).  Use the In Range function like shown here:
    - tbob
    Inventor of the WORM Global

  • How to get bpel process insantaces for perticular time period  from java

    Hi Guys,
    I want to retrieve bpel instances from java for certain ( perticular) time period ,
    Please any one help me.
    Regards
    janardhan

    Did you have a look at the listInstances(WhereCondition wc) of the com.oracle.bpel.client.Locator class?
    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/com/oracle/bpel/client/Locator.html
    Jan Kettenis

  • Report workload by calculating how many versions of SharePoint list items created in a certain time period

    I have a total of 66 SharePoint 2010 lists - yes, 66! - each lists contains between 1500 and 3200 list items.  My employees update these various list items throughout their workday.  Each update to a list item creates a new version of the list
    item.  On average each list item will have anywhere from 5 to 10 versions before it is done.  I need to create a report that tells me how many list items they've updated in a certain time frame.  I have come close but still cannot arrive at
    the data I'm looking for. 
    This is what I have so far:
    I've created a report using SQL Report Builder 2008 v3 where I've filtered it to show only items MODIFIED between, for example, Feb1 and Feb28.  Of those records, I want the report to tell me how many versions were created during that time
    frame.  The result is one list item with 5 total versions.  Versions 1.0, 2.0, & 3.0 were created on 12/12/14.  The last two versions, 4.0 and 5.0, were created on 2/24/15.  Therefore, the answer I'm looking for is 2 because they
    created 2 versions between Feb1 and Feb28.
    However I get the following results using these queries:
    If I do a =Sum(Fields!owshiddenversion.Value) in the expression field I get the total versions which is 5
    If I do a =Count(Fields!owshiddenversion.Value) in the expression field I get the instance which is 1
    Is there a way to count ONLY the number of versions created in a time period?  Is there another hidden field in SharePoint that I can use in the expression that will give me results I'm looking for?

    Hi Rafael70,
    Per my understanding that you have already get all the need fields and informaiton of the updated version of list items and now you want to calculate how many versions of SharePoint list items created in a certain time period, you can't get desired result
    using sum and count function, right?
    I have tried to tested on my local environment but because I am not clear what is value in the field "owshiddenversion", I assumed you have two datatype parameters (StartDate and EndDate) to help filter the report in a certain time period.
    Generally, if you have add the filter correctly, it will filter the correct number's updated version in this time period, I would like you to provide details information as below to help better analysis the requirements:
    Could you please provide sample data of the table.
    Please provide snapshot of the report structure you have currently designed.
    Please try to provide all the expression you have used.
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Sales report to get grand net value

    Is there a standard report where I can get the grand total of all the sales net values on the system? I am using VA05 and VA03 but I want to enter a range.

    Standard SAP SD Reports:=
    Statistic Group:
    Purpose – To capture data for Standard Reports, we require to activate Statistic Group as under:
    --> Item category (Configuration)
    --> Sales document type (Configuration)
    --> Customer (Maintain in Master data)
    --> Material (Maintain in Master data)
    When you generate statistics in the logistics information system, the system uses the combination of specified statistics groups to determine the appropriate update sequence. The update sequence in turn determines for exactly which fields the statistics are generated.
    Configuration:
    IMG --> Logistics Information System (LIS) --> Logistics Data Warehouse --> Updating --> Updating Control --> Settings: Sales --> Statistics Groups -->
    1. Maintain Statistics Groups for Customers
    2. Maintain Statistics Groups for Material
    3. Maintain Statistics Groups for Sales Documents
    4. Assign Statistics Groups for Each Sales Document Type
    5. Assign Statistics Groups for each Sales Document Item Type .....
    All Standard Reports which are available are as under:
    SAP Easy Access: Information Systems -> Logistics -> Sales and distribution ->
    1. Customer -> Incoming orders / Returns / Sales / Credit memos / Sales activities / Customer master / Conditions / Credit Master Sheet
    2. Material -> Incoming orders / Returns / Sales / Credit memos / Material master / ...
    3. Sales organization -> Sales organization / Sales office / Sales employee
    4. Shipping point -> Deliveries / Returns
    5. SD documents -> Orders / Deliveries / Billing documents ...
    & so on.
    Some of the Standard reports in SD are:
    Sales summary - VC/2
    Display Customer Hierarchy - VDH2
    Display Condition record report - V/I6
    Pricing Report - V/LD
    Create Net Price List - V_NL
    List customer material info - VD59
    List of sales order - VA05
    List of Billing documents - VF05
    Inquiries list - VA15
    Quotation List - VA25
    Incomplete Sales orders - V.02
    Backorders - V.15
    Outbound Delivery Monitor - VL06o
    Incomplete delivery - V_UC
    Customer Returns-Analysis - MC+A
    Customer Analysis- Sales - MC+E
    Customer Analysis- Cr. Memo - MC+I
    Deliveries-Due list - VL04
    Billing due list - VF04
    Incomplete Billing documents - MCV9
    Customer Analysis-Basic List - MCTA
    Material Analysis(SIS) - MCTC
    Sales org analysis - MCTE
    Sales org analysis-Invoiced sales - MC+2
    Material Analysis-Incoming orders - MC(E
    General- List of Outbound deliveries - VL06f
    Material Returns-Analysis - MC+M
    Material Analysis- Invoiced Sales - MC+Q
    Variant configuration Analysis - MC(B
    Sales org analysis-Incoming orders - MC(I
    Sales org analysis-Returns - MC+Y
    Sales office Analysis- Invoiced Sales - MC-E
    Sales office Analysis- Returns - MC-A
    Shipping point Analysis - MC(U
    Shipping point Analysis-Returns - MC-O
    Blocked orders - V.14
    Order Within time period - SD01
    Duplicate Sales orders in period - SDD1
    Display Delivery Changes - VL22
    Regards,
    Rajesh Banka
    Reward points if helpful.

  • Time Period Syntax

    Hello,
    I am trying to get a report for a list of documents within a time period.
    I want the start date as optional, in the sense, if the input criteria is not filled, it should give right from the beginning. Same with end date, if the input criteria is not filled, then the current date must be considered. How do we go about this?
    I am using the following snipet of code
    T1.DocDate between [%1] and [%2]
    How do I make input of the dates optional, since in this case, it gives me 0 output.
    Thanks
    Prajwal

    Hi,
    In Business One Version 2007 when you run the query and you do not choose any value for the date variable, SAP Business One assigns the value 01/01/1900 (January 1st 1900) as a default value instead of leaving the variable with the empty string ('').                                                            
    To reach a correct functionality of your query please modify it as following:
    ((T1.DocDate >= [%1] and [%1] <> '19000101') or [%1]='19000101')
    AND ((T1.DocDate <= [%2] and [%2] <> '19000101') or [%2]='19000101')
    Please refer to SAP note no. [1237002|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1237002].
    hope it helps,
    Regards,
    Ladislav
    SAP Business One Forum Team
    Edited by: Ladislav Meszaros on Nov 18, 2008 12:22 PM

  • Case function for time period

    I want to count the rows based on the date values and time periods of a date column. e.g.
    08/01/01 00:00 - 01:30 (row count)
    08/01/01 01:30 - 02:00 (row count) etc.
    I'm using the case function to create the time periods from the date column but I'm getting a syntax error, 'missing keyword' at between. How can I code the case statement to create the time periods. The following is the sql code I'm using.
    select TO_CHAR(START_TIME, 'yyyy-mm-dd') as process_date,
         case START_TIME
                   when TO_CHAR(START_TIME, 'hh24:mm') between '00:00' and '01:30' then '12:00 - 1:30 AM'
                   else 'unknown'
         end as process_time,
         count(*)
    from V8_Event_Vw event
    group by TO_CHAR(START_TIME, 'yyyy-mm-dd'), START_TIME
    Thanks,
    Tom

    select TO_CHAR(START_TIME, 'yyyy-mm-dd') as process_date,
    case when TO_CHAR(START_TIME, 'hh24:mm') between '00:00' and '01:30' then '12:00 - 1:30 AM'
    else 'unknown'
    end as process_time,
    count(*)
    from V8_Event_Vw event
    group by TO_CHAR(START_TIME, 'yyyy-mm-dd'),
    case when TO_CHAR(START_TIME, 'hh24:mm') between '00:00' and '01:30' then '12:00 - 1:30 AM'
    else 'unknown'
    end
    *untested (as if I really needed to say that)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for