Split the  Time slot divisions

Hi Experts,
I am having a small problem. Time slot divisions.
In my selection screen I have taken Date and time fields. If I entered one date (suppose 03/01/2006) and time slot as (12:04:56 to 05:08:34).
I need the output as:
Date:03/01/2006
12:00:00-12:59:59
01:00:00-01:59:59
02:00:00-02:59:59
03:00:00-03:59:59
04:00:00-04:59:59
05:00:00-05:59:59
I need this output for every date. The date range is given at selection screen.
Is there any function module for splitting of this. Or any other solution for this. I am waiting for your reply in earlier.
Regards
Prabhakararao

Hi prabhakar,
1. Exactly as u want !
07.02.2006 09:00:00     
07.02.2006 10:00:00     
07.02.2006 11:00:00     
07.02.2006 12:00:00     
07.02.2006 13:00:00     
08.02.2006 09:00:00     
08.02.2006 10:00:00     
08.02.2006 11:00:00     
08.02.2006 12:00:00     
08.02.2006 13:00:00     
2. use this code (just copy paste in new program)
   It will give u ALL INTERVALS (as above)
REPORT abc.
DATA : mydt TYPE sy-datum,
       mytm TYPE sy-uzeit.
Screen
SELECT-OPTIONS : dt FOR sy-datum,
                 tm FOR sy-uzeit.
Init
dt-low = '20060207'.
dt-high = '20060208'.
tm-low = '090000'.
tm-high = '130000'.
mydt = dt-low.
DO. "----
Loop at Dates
  IF mydt > dt-high.
    EXIT.
  ENDIF.
  mytm = tm-low.
  DO. "----
Loop at times
    IF mytm > tm-high.
      EXIT.
    ENDIF.
    WRITE :/ mydt , mytm.
    mytm  = mytm + 3600.
  ENDDO.
  mydt = mydt + 1.
ENDDO. 
regards,
amit m.

Similar Messages

  • Splitting the Time Capsule USB port for 2 devices ??

    So if i have and external HD plugged into tc usb port and I also need to plug in a netflix ready blue ray player to the same port- is there a splitter I can buy to do this or what other options do i have?
    I have an extra airport extreme I am not using-could I run an ethernet cord to it and use that usb port for my second device without and problems?
    Thx

    First, yes it is possible to attach multiple devices to the TC's USB port. You will need a USB hub though. Some users have discovered that not all hubs are compatible with the TCs USB port. So you may need to shop around if the first one doesn't work.
    However, the USB port on the TC is designed primarily to handle external HDs or printers. That is, it is designed to make them available to your local network, not to the internet. So I have doubts that the BR player will be able to have full interest access via the TCs USB port.
    See this KB article:
    http://support.apple.com/kb/HT2421
    Hope this clarifies things a bit. Cheers!

  • Is't possible to partionate the time capsule  ?

    i'd like to split the time capsule, so my wife and i can use it for time machine. We have one computer each

    You can’t partition it but don’t need to. Just set up Time Machine on each computer individually.
    (111654)

  • Compare time slot in dates while making drag and drop..

    Hi,
    The drag and drop is working fine without conditions, but I have to check the time slots between two dates. If the time of both date are same it should not dropped else it can drag and drop. I use the code below, but not getting executed according to condition.. Please provide suggestion and ideas to get it executed..
    declare
    l_date_value varchar2(150) := apex_application.g_x01;
    l_primary_key_value varchar2(150) := apex_application.g_x02;
    l_full_time varchar2(150);
    l_time_a varchar2(150);
    l_time_b varchar2(150);
    begin
    select
    ltrim(replace(to_char(resv_start_date,'hhmiAM'),'00',' '),'0')||','|| ltrim(replace(to_char(l_date_value ,'hhmiAM'),'00',' '),'0')
    into l_full_time
    from reservation
    where resv_no=l_primary_key_value;
    select SUBSTR(l_full_time, 1 ,INSTR(l_full_time, ',', 1, 1)-1) into l_time_a from dual;
    select SUBSTR(l_full_time, INSTR(l_full_time,',', 1, 1)+1)into l_time_b from dual;
    begin
    if l_time_a<> l_time_b then
    update reservation set RESV_START_DATE = to_date(l_date_value,'RRRRMMDDHH24MISS') where Resv_no= l_primary_key_value;
    end if;
    exception when others then
    Raise_application_error(-20001,'Error'||SQLERRM);
    end;
    end;
    Thanks..

    First 3 .as are the component
    source. in the last test.mxml file i have written the drag and drop functionality.
    can any help me?? please

  • Java servlet to check availability of time slots for booking meeting

    I am keeping two time stamps into a table ie start time and end date.Start date and end date should be greater than present system date.In a java servlet i am linking and comparing the time stamps that entered through availability checking form.Availability check form , a jsp ,will take the start time and end time .After pressing the search button it will yield the available slots for choosing to book.Can you please suggest me how can i implement the logic.I have tried to use vector to store the slot info but resulted in error .

    Well, at the minimum you will need a Booking object. It will at a minimum have start and end as Date variables. You probably will also want another Date called bookedOn (or something similar) or use a boolean to indicate that the slot is no longer available.
    You will have to write a SQL query that will use the start and end dates the form supplies for time slots that match these criteria (and likely bookedOn values not equal to null). Your DAO will populate a series of Booking objects based on the query results.
    When the user selects a given slot, populate the bookedOn date or the boolean flag indicating the time slot is now taken.
    Without more requirements or where you are stuck, it's hard to help beyond that.
    - Saish
    PS: Unless you need synchronization, use List/ArrayList rather than Vector

  • Who's got the timer

    Hello,
    I have a very functional timer here that I am using but I
    would like to get some advice on how to make it better.
    Code:
    private function getDaysUntil():void {
    // creates a new five-minute Timer
    var minuteTimer:Timer = new Timer(1000, 300);
    // designates listeners for the interval and completion
    events
    minuteTimer.addEventListener(TimerEvent.TIMER, onTick);
    minuteTimer.addEventListener(TimerEvent.TIMER_COMPLETE,
    onTimerComplete);
    // starts the timer ticking
    minuteTimer.start();
    public function onTick(evt:TimerEvent):void {
    var minuteTimer:Timer = evt.target as Timer;
    lblTimeUntil.text = minuteTimer.currentCount.toString();
    public function onTimerComplete(evt:TimerEvent):void
    var minuteTimer:Timer = evt.target as Timer;
    minuteTimer.reset();
    minuteTimer.start();
    I would like to be able to split the time into minutes and
    seconds.
    Also I would like to get it to count down instead of
    up.

    Found it
    public function onTick ( evt:TimerEvent ) :void { var
    minuteTimer:Timer = evt.target as Timer; var lvSecondsRemaining:int
    = minuteTimer.repeatCount - minuteTimer.currentCount; var
    lvMinutes:int = lvSecondsRemaining / 60; var lvSeconds:int =
    lvSecondsRemaining - ( lvMinutes * 60 ); var lvSecondsText:String =
    lvSeconds.toString(); if( lvSeconds < 10 ) lvSecondsText = "0" +
    lvSecondsText; lblTimeUntil.text = lvMinutes.toString() + ":" +
    lvSecondsText; } // onTick

  • Cost component not splitting at the time of Rune the tine of Cost Estimate

    http//
    Hi,
    We are in developing phase for Product costing for coal mine project ,
    we have raise coal material with Non component BOM , and Routing is only one activity with 400- Raised Coal Qty-MT ,
    We upload the plan with Production cost center -activity type and cost element ( as per cost component -we have 10 cost component  as per below )
    RM - Blasting
    Production Overhead
    Power - Main
    Stores,Spare,Consum
    Repairs & Maint
    Lease & Hire Char-PM
    Power - Auxiliary
    Depreciation
    Over Burden
    Development
    we done the plan for Amount and Qty by KP06,KP26  and update plan price but system not calculate the cost component splitting in cost estimate as per planning while only one item showing for all cost to Production Overhead cost component
    Production Overhead cost component which assign the secondary cost element which is assign to activity type 400
    can any one help me to how we can resolve this issue
    Please find attached document

    Hi,
    Here I am providing the necessity and importance of splitting structure, will share the configuration steps once you go through the following and get the comfort level.
                        Expense Analysis and Splitting in Manufacturing Cost Centers
    Introduction In SAP Cost center work as a cost responsibility center, where all the expenses and cost are stored and analyzed for the purpose of management decision making.
    The cost could be fixed or variable in nature. The difference between variable and fixed costs can be made in various ways in product costing in CO module.
    Fixed costs represent the static costs incurred by the organization, which doesn’t change on the basis on manufacturing activities, which remain constant irrespective of production activities like rent for the premises, salaries of office staff etc.
    On the other hand, variable cost varies based on the level of production activities; if production activities increase then variable cost also increased like electricity consumes raw material charges etc.
    However all the variable cost doesn’t vary in direct proportion by quantity of goods produced.
    In this document will try to define; how the Expenses analysis and splitting of cost done in manufacturing cost centers.
    From controlling prospective, fixed cost remain constant regardless of operating activities, but if these factor changes, variable cost will fluctuate.
    Basically raw material costs represent variable cost, but in this document main focused will be given to distinguish fixed and variable activity cost.
    The segregation between fixed and variable cost is optional and is derived from the configuration and master data configured in cost center accounting and overhead accounting.
    Activity Price:
    There are different methods that could be used in cost center accounting to determine the activity price. The simple way is the manually enter “Fixed” and “Variable” Activity cost (KP26).
    However there are other methods used in Cost center Planning and Budgeting that automatically calculate the fixed and variable activity price.
    Here the focused will be given on Planning and Budgeting activity and automatic calculation of plan activity rate in cost center.
    This method aggregate planned costs by cost element and capacity by plan unit to calculate the activity price.
    Activity independent costs are segregated among different activities based on Splitting Structure, while activity dependent cost directly used for the purpose of variable activity rate calculation.   
    Fixed Activity Cost:
    In product costing all those cost, which doesn’t vary based on the activities in manufacturing cost will represent fixed cost.
    In a manufacturing cost centers there may be two or more activities performed.
    To calculate the activities rate, the fixed costs are distributed to various activities on the basis of Splitting Structure defined for cost center.  
    Variable Activity Cost:
    Variable activity cost, which directly depend upon the activity type and fluctuate based on increase or decrease in manufacturing activities. In SAP variable activity cost are directly linked to the respective activity.
    Activity Prices: Fixed and Variable Split
    In Cost Center Accounting dividing the cost between Fixed and Variable requires appropriate split to be made in the cost entered for the activity. The process is described below:
    i.  Variable cost would be planned at activity level and expenses should be maintained at cost element in the manufacturing cost center by assigning activity and cost element combination.
    In other word, the expenses should be planned on Activity type at the time of primary cost planning (KP06).
    Then the variable activity rates are calculated on Total cost planned at Activity divided by Total number of activity planned at that cost center (i.e. capacity in KP26)
    ii. Fixed cost would be planned at independent of activity type. These costs are maintained in KP06 at cost element level on manufacturing cost center.
    Then the fixed costs are distributed on various activity types on the basis of Splitting structure defined at OKEW.
    In Splitting Structure we define the rules, how the fixed cost will be distributed to Activities. For the purpose of this document, considering split of fixed cost on the basis of Capacity maintained in KP26.
    Regards,
    Pavan kumar Arvapally

  • Can I split the screen in Adobe to show more than one ducument at the same time? ie. view three different documents on one screen

    I am trying to look at three Adobe documents at the same time.  Can I split the screen to do this, otherwise I must keep flipping back and forth to read the documents.

    You can arrange the open windows in any way that suits you (assuming you're on Windows - not Touch - or Mac). You can't link the scrolling though.

  • Document Splitting at the time of Payroll Postings

    Dear All,
    I am getting a document splitting error while posting the accounting document from Payroll to FI. In my system the zero balance splitting is active for profit centre and business area. In the Hr Personal record using t-code PA20 we have maintained the cost centre and business area in each record. The payroll runs perfectly but at the time of posting the accounting document to the vendor we get the error "Balancing Field Profit Centre Not filled in item 001".
    We are using the standard document splitting rule 00000000012, document type KA, Business Transaction- 0300, Variant 001.
    The error is due to the document splitting but where to change in the splitting rule i m not getting the same. Can anybody help me with this.
    Reagards,
    Anurag Gupta

    Hi,
    Are you booking expenses of 2 or more cost center that belong to different profit center.
    As per your example you given
    There is no need of splitting the document
    If there is more then 2 expenses line item and having diff profit center in that case only system split Vendor.
    Kindly check and let us know.
    Just for confirmation check below thing also.
    1. Vendor Reconciliation account assignment to Item category (Classify G/L Accounts for Document Splitting)
    2 Expense Reconciliation account assignment to Item category  (Classify G/L Accounts for Document Splitting)
    3.Document Type which you are using. and Business Transaction & Business Transaction Variant assigned  (Classify Document Types for Document Splitting)
    Regards,
    Shayam
    Edited by: Shayam_210 on Aug 12, 2011 6:51 AM

  • Splitting the goods receipt qty at the time of COR6N

    Hello Friends,
    Actually we want to do auto goods receipt at  the time of confirmation (cor6n).I have given the PI03 control key to the operation and phase.So system shows the goods receipt item in goods  movement screen in COR6N.
    We manage all the materials in batches.So i want to split the goods receipt qty into no. of batches.
    In cor6n,in goods movement there is option for splitting, but at a time it allows me to split the qty once only.If i have to split the qty again than again i have to select the splitting option .
    i want to split at a time.How to do it/

    Hi Jitendra,
    It can be doing Batch Determination.I don't want to tell you to perform Batch Determination if you don't want.Just press icon for Batch Determination and no strategy found then do it Batch Determination without Class Selection.
    System will propose all available batches.Here split required qty as per your choice. and then press copy button.
    Regards,
    Dhaval

  • Document Splitting at the time of Bill of exchange

    Dear All,
    issue is related to Document Splitting at the time of Bill of exchange
    I booked  2 different Customer Sales through FI, but both invoice have different Profit centre.
    Entry is like
    Customer A/C Dr 1000   Pc 1100
      To Sales A/C     1000     PC 1100
    Customer A/C Dr 2000   Pc 1200
      To Sales A/C     2000     PC 1200
    Now from customer  we received a single bill of exchange, so that we booked from  it from f-36
    Now at the time of Discounting  through T-code F-33 when we mentioned both the bill with system not able to split the document.
    And showing the error Balancing field "Profit Center" in line item 001 not filled.
    Regards,
    Shyam

    Hi,
       Document splitting there in item category  001 check  and put profit center is optional.
    Regards,
    Srikanth.Madani

  • How to configure the wifi access with specific time slot for kids?

    how to configure the wifi access with specific time slot for kids?

    Which model of AirPort base station do you have? Which version of OS X is your MacBook Pro running?
    Wi-Fi access can be limited using the Timed Access feature of the AirPort routers. You would do so using the AirPort Utility.

  • Batch Split At the time of GR

    Dear all'
    PO is craeted with a material and a specific batch for the material.Now the problem is the vendor sometimes delevers the material lot wise ..It is nedded to craete a separate batch at the time of the GR  Against the particular PO each time.
    How to solve this problem ,Kindly suggest.
    Regards;
    Joydeep Mukhopadhyay

    below the item overview in MIGO is an icon with 4 arrows pointing to each corner, some say it looks like a snowflake. With this button you can distribute the received quantity to several batches or several locations.

  • PROBLEM AT THE TIME OF CREATION OF VALUATION TYPE(SPLIT VALUATION)

    Dear cons
      I want to create a valuation type ( t-code- OMWC) in configuration client. Then I will transport to quality as well as production. but it is a matter of great regret that at the time creation of valuation type no transport request no. is genereted. without TRansport request no. how can I transport to quality as well as production. pl. help me.
    nrk

    Hi,
    This is a client level configuration so Transport Requests are not getting generated directly. Here follow this procedure;
    Go to OMWC, Click on Global types. , Click on Types > Transport in the menu bar
    The sytem will prompt for a request, create the request. A new screen for selcection of Valuation cateogires & valuation types will come. You can select here & transport.
    Click on Save after selection, all the selcted items will be added to the request

  • Can you split the wired network ports through a sub router in the time caps

    I have recently switched my office from PC to Macs, (MacBookPro and IMac, with a Time Capsule (1Tb).
    I have the three wired network ports allocated to some newtwork based equipment and was wondering if I can put an network splitter in (such as a multiport D-link) to create another two wired ports?
    Thanks for any response!

    Hello JeremyHeighton. Welcome to the Apple Discussions!
    Yes, you can add an Ethernet switch to any of the Time Capsule's LAN ports to increase the number of available LAN ports for additional wired clients.

Maybe you are looking for

  • ONE LICENCE FOR MULTIPLE COMPUTERS ~ PRODUCT KEYS

    I would like to know how you can get licences to use Acrobat on more than two computers with the one serial number? If that isn't possible, are you able to just purchase serial numbers without having to buy the whole program again? Or if neither of t

  • 2.0 Ghz processor in a new Intel Mac Mini

    I have seen several people buying the Intel T2500 processor online and installing it in their Intel Mac Mini. I am seriously considering doing this myself. Other than voiding the warranty, is there any other things I need to worry about?

  • HELP, I DROPPED MY IPHONE 5S IN WATER!!

    Today, I dropped my phone in water. Wiped it off and immediately put it in rice. Have sealed the container as well. How long should I leave it in the rice?

  • Nano doesn't turn on

    GRRRRRRRRRRRR. I've had nothing but problems with this player. iTunes Store never worked and now this. The batteries ran low for the first time (I've had it for about 2-3 months and I always charged it) and after charging the Nano started just really

  • Continue to Receive Email on Topic, w/ No Subscriptions

    I continue to receive emails on a particular topic even though I show up with no subscriptions under "My Subscriptions". Anybody have any clue why or whom I could contact? PowerBook G4   Mac OS X (10.4.9)