How to set filter criteria for month and year using in timestamp input field?

Hi,
I am using jdev 11.1.2.3,
I have one problem with Report generation,,,,,,I have one report table which is in the form of VO(query based) and i want to search this table as month and year basis
but in this table(query) that field having timestamp based value.. how to search with month name and year only.. Here i am using totally query base VO's for generating
reports........ Can any one guide me.
Thank You.

You can use a inputdate, which allows you to selecte a moth, year and a day. Once the selection is made you convert it to only allow moth and date like
        <af:inputDate label="Label 1" id="id1" autoSubmit="true" value="#{bindings.myMonthYear1.inputValue}">
          <f:convertDateTime pattern="MM/yyyy"/> 
        </af:inputDate>
        <af:outputText value="Selected #{bindings.myMonthYear1.inputValue}" id="ot1" partialTriggers="id1"/>
then you have a string holding month and year only. This value you split into two variables you or pass it as a whole parameter to the query and split it there.
Another way is to add two static lovs one for month and one for year and use them to get to the filter values.
Timo

Similar Messages

  • How to set userlevel permission for GFS and NFS

    hi
    how to set userlevel permission for GFS and NFS?
    regards

    hi
    http://www.redhat.com/docs/manuals/enterprise/
    AND
    http://en.tldp.org/
    probably your best bet.
    regards

  • Data element for Month and Year

    Hello All,
    Is there any data element which will have only Month and Year.
    I have to introduce this field in a table. It should have convesion exits also.
    Ex: If i give 092009, it sould come like 09.2009
    Thank you.
    Best Regards,
    Sasidhar Reddy Matli.

    Kindly Try this code for Month and year as input and having standard F4 help..
    INCLUDE RMCS0F0M.
    TYPES : BEGIN OF TY_SELECT,
              MONTH TYPE FTI_MONTH_YEAR,
            END OF TY_SELECT.
    DATA : WA_SELECT TYPE TY_SELECT.
    SELECTION-SCREEN : BEGIN OF BLOCK SANDEEP WITH FRAME.
      SELECT-OPTIONS : S_MONTH FOR WA_SELECT-MONTH OBLIGATORY NO INTERVALS NO-EXTENSION.
    SELECTION-SCREEN : END OF BLOCK SANDEEP.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_MONTH-LOW.
      PERFORM MONAT_F4.
    SANDEEP JAIN

  • Dynamic filter by Country, month and year

    Hi,
    I have a file extracted from SAP BI and incrusted in xls format in Xcelsius.
    I have to filter data by Country, year, and month.  I´ve seen the blog of Ingo Hilgefort 'Creating an Xcelsius dashboard on top of SAP BI that has a similar expanation of what I need to do. 
    Unfortunatelly, the problem I ´m facing is how to organize the data including the months in the spreadsheet incrusted in the Xcelsius.
    What I have at the moment in the spreadsheet is a column with countries (9),  an one column by KPI (10).  Beside the last column I have the inserted data column for the countries so in the dashboard I can pick a country and shows me the KPI´s by country.  What I still don´t found is how to make the selection also by month and year.
    If anyone could help, I would be grateful.
    Thanks in advance,
    Diego

    Charles,
    It seems to be what i´m looking for.  It is perfect to see the KPI´s by country and month in a year.
    But with that spreadcheet i still cannot choose only the KPI´S year values by countries (independently of the month).
    Another question I would like to make to you (as i told you i´m making my first steps in Xcelsius) is if you write the formula =BUSCARV($C$7;$C$17:$G$23;5;FALSO) manually into the excel.
    Thanks in advance,
    Diego

  • F4 option for Month and Year

    hi
    In Selection Screen i have Month and Year as input.....
    How to give "F4" Option for both Month and Year?
    Regards
    Smitha

    hi,
    this will help u get the month in f4 help .
    similarly u can fill up the itab for year and get that f4 help too i guess.
    TABLES: T247 ,
            DFIES.
    PARAMETERS:P_MONTH LIKE T247-MNR.
    DATA: BEGIN OF ITAB OCCURS 0,
    MNR LIKE T247-MNR,
    KTX LIKE T247-KTX,
    END OF ITAB .
    DATA : LT_FIELDS TYPE TABLE OF DFIES,
           LWA_FIELD TYPE DFIES.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MONTH.
      SELECT MNR
             KTX
      FROM T247 INTO CORRESPONDING FIELDS OF TABLE ITAB
      WHERE SPRAS = 'EN'.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD    = 'P_MONTH'
          DYNPPROG    = SY-CPROG
          DYNPNR      = SY-DYNNR
          DYNPROFIELD = 'MNR'
          VALUE_ORG   = 'S'
        TABLES
          VALUE_TAB   = ITAB
          FIELD_TAB   = LT_FIELDS.

  • SELECTION SCREEN FIELD FOR MONTH AND YEAR

    Hi All.
    We are developing a 'Monthly Sales Tax(payable) Report.
    they want the report based on the date(in the selection screen it will come only month and year only.).Depends on that month and year for that select-options ,it will pick up the record.
    like if, jan 2005  to march 2006.
    then it will  pick up from 01.01 .20005 to 31.03.2006  records.
    Can any body help me to resolve this.
    Thanks in advance,
    Regards,
    Venkat

    Hi Venkat,
    Copy the following code.
    DATA :  ws_billfrom    TYPE dats,
            ws_billto      TYPE dats.
    DATA : mon TYPE fcltx.
    SELECT-OPTIONS: s_month FOR mon
                MATCHCODE OBJECT zsdhtch_sh_mnth
                OBLIGATORY. "o get values for F4
    PARAMETER :  p_year LIKE bkpf-gjahr
                 MATCHCODE OBJECT zsdhtch_sh_year
                 OBLIGATORY.
    RANGES : s_date FOR sy-datum.
    DATA : ws_fcmnr TYPE fcmnr.
    START-OF-SELECTION.
      SELECT SINGLE mnr
             INTO ws_fcmnr
             FROM t247
             WHERE ltx = s_month-low.
      CONCATENATE p_year ws_fcmnr '01' INTO ws_billfrom.
      CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'
           EXPORTING
                iv_date             = ws_billfrom
           IMPORTING
                ev_month_begin_date = ws_billfrom
                ev_month_end_date   = ws_billto.
      s_date-low = ws_billfrom.
      s_date-high = ws_billto.
      s_date-sign = 'I'.
      s_date-option = 'BT'.
      IF NOT s_month-high IS INITIAL.
        SELECT SINGLE mnr
               INTO ws_fcmnr
               FROM t247
               WHERE ltx = s_month-high.
        CONCATENATE p_year ws_fcmnr '01' INTO ws_billfrom.
        CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
             EXPORTING
                  day_in            = ws_billfrom
             IMPORTING
                  last_day_of_month = ws_billto.
        s_date-high = ws_billto.
      ENDIF.
      APPEND s_date.
      WRITE s_date.
    You can write your select statement here.  
      select * from dbtable where date in s_date.
    If 'HR_JP_MONTH_BEGIN_END_DATE' is nto there in your server, you can use 'RP_LAST_DAY_OF_MONTHS' in both cases.
    Regards,
    Susmitha.
    Dont forget to reward points for  useful answers

  • How to set persistent binding for QLA2300 (Sun branded -uses qlc driver)

    How to set persistent binding for QLA2300 (Sun branded ) HBA using qlc driver from Sun?
    Are there any CLI's for it?
    Is it done automatically?
    Is there any way by which we can infer that persistent binding is done?
    Platform: Solaris 9 on SPARC

    Persistent binding is effectively provided by STMS (MPxIO) - is there anything in particular you're wanting to do that STMS doesn't provide?

  • How to set up icloud for family and one itunes account

    I just got a new disk drive in my MACbook (now upgraded to Mountain Lion) so starting from scratch with itunes.   With 4 IOS devices in the family and only one itunes account, I would like to figure out how to backup every device to itunes.    I was able to save old itunes data on a jump drive, but did not have a Time Machine backup so I am literally starting from scratch and want to do it right. 
    I need to get data from IOS devices to itunes(via ICLOUD?)  before I hook up device to "new" disk drive on MAC.
    I am scared I will loose the data on the devices when I hook them up to the new Mac.  Any help would be appreciated...  
    Can we each have separate Icloud IDs and still have one Apple ID we use for Itunes account?

    "Can we each have separate Icloud IDs and still have one Apple ID we use for Itunes account?"
    Yes, that's the suggested way of doing it.
    As for starting from scratch - you need to decide which Apple ID to use for the mac.  If each member of the family uses the mac, then set up a seperate account for each and use the Apple ID (the one used for iCloud) to sign into icloud.  Use the common ID for itunes purchases.  I'd suggest first syncing devices to icloud to get whatever data is important (contacts, events, ...) saved.  When on the mac you connect to an iCloud account, the data (just synced from a device) will come down to the mac (for that account).
    Tell us what "data" you want to get to the new Mac?

  • How to set mac shortcuts (for mac and windows OS)

    i am having a bit of an issue.
    i run windows 7 and mac os on the same computer on different hard drives in this computer. i also have a "mac" keyboard. i am not sure how this may be different from a "windows keyboard" but the point is i need to use this keyboard because it matches the one on my laptop which is a mac.
    when i switch to windows on this machine i always end up deleting information because the CMD + X and CMD + V cut and paste shortcuts on Mac OS are not the same in windows. windows requires (currently) CTRL + X and CTRL + V. so when i got to cut and paste in windows CTRL + X (this is my habitual way of working) and then i run a CTRL + V i end up writing /over/ the text i selected with a "x" and i end up pasting /over/ the text i selected to paste over with a "v". this is because instead of running a cut and paste, this set of shortcuts in windows simply enters "x" and "y" respectively since the shortcut is not active.
    does anyone know where i set these in windows OS and in mac OS?
    also, does anyone know if it is possible to set how many UNDOS i can do in either of these OS's or to know how many i can in fact undo?
    THANKS
    long story background:
    1. while i may move to a windows keyboard on the computer i am using (because the mac keyboards these days end up losing keys and they end up very wobbly) i cannot do this for the laptop machine so this may not make a lot of sense if i end up also running windows on the laptop which is my intention at some point.
    2. CTRL + X is a very long stretch on the mac keyboard so rather than switching mac shortcuts to accommodate windows shortcuts i am thinking to switch windows shortcuts to mac ATM.
    3. this is no small issue! i just went to copy and paste this text so i could save it for myself in order to explain to someone else and i ended up overwriting with a "c". if i had not thought fast and remembered to UNDO by hitting CTRL - X and not CMD - X i might have lost all my work.

    long delay - no email of your post here
    I also realise that you can use system preferences - Keyboard - modifier keys to make cmd = ctrl or vice versa
    I'd surely ask/read elsewhere about altering windows, given the reach issue - but no qualms beyond confusion if switching/using other machines.  You might soon find you switch layouts mentally, quite easily.
    more to read:
    Remap Copy and Paste shortcuts on a Mac - Super User
    Remapping Keys and Buttons
    Microsoft Windows Keyboard remapping
    How to: Remap Apple Keyboard Command Keys to Control Keys

  • How to set RAW defaults for Contrast and Brightness?

    When I open a RAW fole in PS Elements 8 the Brightness set to 50 and the contrast set to 25.
    How to set these two values to 0 (zero) as a defaults when a RAW file opened for the first time (defaults).
    Thank you for the help.
    Leo

    I think you can set presets in camera RAW (I'm at work now so I can't tell you the exact method), but setting contrast and brightness to zero gives you an ugly image, and you will most likely move the contrast up and the brightness up, so I'm not sure you are really gaining anything by having a default of 0 contrast and 0 brightness.
    The defaults chosen by Adobe are reasonable.

  • How to set timer intervals for object + and a motion for entering stage

    Hi, I am making a simple game but I have a couple problems/queries.
    1) My game is a touch an object and you get a point game, currently the objects appear randomly over the screen, however I am trying to get it to slide into the screen similar to the Fruit Ninja game, but not limited to entering from one side, does anyone know how to set this?
    2) As I mentioned above my objects appear randomly, I have set a timer when I change the timer from 800 to another number, it just makes all the objects on the screen last for 800 milliseconds all at the same time then disappear and appear somewhere else on the screen for another 800 milliseconds and it repeats, what I am trying to do is make them come at different intervals, for example:
    Object 1 - constantly appears, so when the 800 millisecond is over, it comes back on a different part of the stage
    Object 2 - I want it to appear every 5 seconds, so when the 800 millisecond is over it will come back on the stage in 5 seconds, but not instantly like Object 1
    But I have no idea how to do this :/ anyone have the code needed for me to do this?
    Sorry for the long questions, I only asked because I really am stuck, I have been trying to do this for over 2 weeks now.
    Thanks very much.
    My Code
    [Code]
    //importing tween classes
    import fl.transitions.easing.*;
    import fl.transitions.Tween;
    import flash.utils.Timer;
    //hiding the cursor
    Mouse.hide();
    var count:Number = 60;
    var myTimer:Timer = new Timer(1000,count);
    myTimer.addEventListener(TimerEvent.TIMER, countdown);
    myTimer.start();
    function countdown(event:TimerEvent):void {
    myText_txt.text = String((count)-myTimer.currentCount);
    if(myText_txt.text == "0"){
    gotoAndStop(5)
    //creating a new Star instance;
    var star:Star = new Star();
    var box:Box = new Box();
    var bomb:Bomb = new Bomb();
    //creating the timer
    var timer:Timer = new Timer(800);
    var timerbox:Timer = new Timer(850);
    var timerbomb:Timer = new Timer(1000);
    //we create variables for random X and Y positions
    var randomX:Number;
    var randomY:Number;
    //variable for the alpha tween effect
    var tween:Tween;
    //we check if a star instance is already added to the stage
    var starAdded:Boolean = false;
    var boxAdded:Boolean = false;
    var bombAdded:Boolean = false;
    //we count the points
    var points:int = 0;
    //adding event handler to the timer;
    timer.addEventListener(TimerEvent.TIMER, timerHandler);
    //starting the timer;
    timer.start();
    function timerHandler(e:TimerEvent):void
              //first we need to remove the star from the stage if already added
              if (starAdded)
                        removeChild(star);
              if (boxAdded)
                        removeChild(box);
              if (bombAdded)
                        removeChild(bomb);
              //positioning the star on a random position
              randomX = Math.random() * 800;
              randomY = Math.random() * 1280;
              star.x = randomX;
              star.y = randomY;
              star.rotation = Math.random() * 360;
              box.x = Math.random() * stage.stageWidth;
              box.y = Math.random() * stage.stageHeight;
              box.rotation = Math.random() * 360;
              bomb.x = Math.random() * stage.stageWidth;
              bomb.y = Math.random() * stage.stageHeight;
              bomb.rotation = Math.random() * 360;
              //adding the star to the stage
              addChild(star);
              addChild(box);
              addChild(bomb);
              //changing our boolean value to true
              starAdded = true;
              boxAdded = true;
              bombAdded = true;
              //adding a mouse click handler to the star
              star.addEventListener(MouseEvent.CLICK, clickHandler);
              box.addEventListener(MouseEvent.CLICK, clickHandlerr);
              bomb.addEventListener(MouseEvent.CLICK, clickHandlerrr);
    function clickHandlerr(e:Event):void
              //when we click/shoot a star we increment the points
              points +=  5;
              //showing the result in the text field
              points_txt.text = points.toString();
                        if (boxAdded)
                        removeChild(box);
              boxAdded = false;
    function clickHandler(e:Event):void
              //when we click/shoot a star we increment the points
              points++;
              //showing the result in the text field
              points_txt.text = points.toString();
              if (starAdded)
                        removeChild(star);
              starAdded = false;
    function clickHandlerrr(e:Event):void
              gotoAndPlay(5);
    [/Code]

    The only thing that affects TopLink is the increment by, as increasing this is what allows TopLink to reduce the number of times it needs to go to the database to get additional numbers. Ie, an increment value of 1 means TopLink needs to go the database after each insert; an increment value of 50 allows it to insert 50 times before having to get a value from the sequence. The cache on the sequence object in the database affect the database access times. While it may improve the access times when the sequence number is obtained from the database, but I believe the network access to obtain the sequence is the greater concern and slow down for most applications. It all depends on the application usage and design though - an increment (and application cache) of 50 numbers seems to be the best default.
    I cannot say what effect the cache vs nocache settings will have on your application, as it will depend on the database load. Only performance testing and tuning will truly be able to tell you whats best for your application.
    Best Regards,
    Chris

  • How to set up VLAN for DATA and VOIP on SRW248G4P switch?

    Hi guys,
    I am totally new and was given this task to complete. I  really really need help.
    We are using one network 192.168.1.0
    Shared  with data and voip.
    CISCO C870, 5 switches LINKSYS SRW248G4P .
    The  email wrote:-
    On the Linksys switch;
    - create two  different VLANs one for voice and one for data.
    - put a firewall  between the two VLANs (between voice and data) and only enable certain  ports to flow to voice network (inbound tcp 8443 and ssh )
    What  should i do guys? I really need a dumb guide now.
    I know its simple for  you guys but i am not a smart IT fella. Whats the  step by step?

    If the switch is new or you have support on this, then you might try calling the support center.  Here is a link:
    https://www.myciscocommunity.com/community/smallbizsupport
    On the right hand side you can find links to the support center.
    Here is a link to the guide:
    http://www.cisco.com/en/US/products/ps9967/prod_maintenance_guides_list.html
    @ the bottom of this link you can find your switch model, you want the larger of the two.  In this guide it shows you how to create a second vlan.
    Will your router be the firewall between the two?
    Kindest regards,
    Andrew Lissitz

  • How to set default permissions for files and folders

    We have mac and windows computers on a network where we use Mac OSX Server 10.4 to share files. When files are created on windows computer, no problem, all users can read/write these files. However on our 2 macs (1 10.3 and 1 10.4), other users are blocked from using the files, only the owner has "read/write", group and others are "read only". As far as I can tell, file sharing is turned on ok in Workgroup Manager for the folders we share files from. How can we establish sharing for all users on our network?

    Niel's suggestion is good. You might also try posting your question in the Tiger Server forums. I'm sure Tiger Server has several ways of dealing with this.

  • F4 help for month and Year field in ztable please

    I have created a ztable. 
    The first field in my ztable is a primary key field and it holds MM/YYYY(eg.  08/2011).
    How ever my requirement is when ever we want to see the output, uer wants F4 help on that fields and when he selects the range , the ztable should display the values in that range.
    For eg.
    1). if user selects   01/2011  to 08/2011 using F4 Help,
    2). then the ztables should display all the records in that range.
    Thanks in advance for your help.
    Best regards,Sam
    Moderator message : Spec dumping / Outsourcing is not allowed.  Thread locked.
    Edited by: Vinod Kumar on Aug 8, 2011 11:17 AM

    Hi Sam,
    Create an F4 help using this FM
    l_t_date" has month and date
    l_f_programm = sy-repid.
        l_f_dynnr    = sy-dynnr.
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
            retfield         = 'Date'"Field name of coloum of value tab
            dynpprog         = l_f_programm
            dynpnr           = l_f_dynnr
            dynprofield      = <>"Screen field name'
            value_org        = 'S'
            callback_program = l_f_programm
            callback_form    = ''
          TABLES
            value_tab        = l_t_date"Value table for date and month
    *      FIELD_TAB        = L_T_RETURN
            return_tab       = l_t_return_tab
          EXCEPTIONS
            parameter_error  = 1
            no_values_found  = 2
            OTHERS           = 3.
        READ TABLE l_t_return_tab INDEX 1.
        IF  sy-subrc = 0 .
        <fields> = l_t_return_tab-fieldval.
        ENDIF.
    Regards,
    Amit
    then filter the ztable accordingly

  • How to set print option for a Billing document using T-code VF02

    Hi All,
    Please suggest me the way to set print option for a Billing document for T-code VF02 and please let me know how to get print preview for any particular Billing document?
    regards
    Anand.

    Enter the billing documents detail
    Goto Goto> Header>Output.
    Check the status for your output type in this screen.
    If it is green then come back to the VF03 screen.Enter the billing document number.
    Click on Billing document-->Issue output to.
    Press (CtrlShiftF1) or click on the icon beside "Print options".
    Here you can see the print preview.
    If the status is red then click on the processing log.Here you will get the error messages.
    If the status is in yellow colour,then click on the "Further Data" button
    Set "Dispatch time" as "4 Send immediately (when saving the application)"
    Before the print preview option you should make sure you have added correct output type to the relevant billing document. To do that, go to transaction VF02.
    Enter the billing document no
    Go to Menu option -> Go to -> Header -> Output
    In that screen you have to add relevant output type. (Standard output type is RD00)
    Add that & press enter key
    Highlight that line & press "Further Data" button
    Set "Dispatch time" as "4 Send immediately (when saving the application)"
    Press "Back" Button
    again select that line & go to "Communication method" button
    Set "Logical destination" as LOCAL"
    Don't mark "Print immediately" & "Release after output" ticks. If you mark them, sa soon as you save the billing document, you'll get a print out.
    Press "Back" Button
    Save
    Now form the initial "Change Billing Document" screen, Go to Menu option; Billing Document -> Issue Output to
    You can see that output type line appear.
    select that line & press "Print Preview" button or (CTRLSHIFTF1)
    You can see the print preview.
    Alternatively you can use VF31 to print multiple print outs at same time.
    If you want to get PDF outputs of billing documents, go to your printer settings in the your computer from Control Panel.
    Set PDF Writer as "Default Printer" (Right click & select "Set as Default Printer")
    Then normal way, print the billing from SAP.
    It'll automatically send to your PDF writer. You can save it to the path you want,

Maybe you are looking for

  • Cannot upgrade to windows 8.1 pro help me

    help me cannot upgrade to windows 8.1 pro cannot find the update from the the store windowssetupbox says i am not connected to internet no matter i am connected to internet windowssetupbox says this when i enter product key and click next help me ple

  • What's wrong with my iPhone 5s battery?

    I got to work this morning at 10:30 with 100% battery. I just left work now at 10PM and my phone was at 7% and then quickly died after being on it for about 3 minutes. I BARELY used my phone at all today. I checked Instagram and Facebook while on my

  • Publish a plsql code as webservice without using JDEVELOPER or APEX

    Hi All, I am looking into how can we publish a PLSQL code as web-service without using JDEV OR APEX. When I google for this one I can see only by using JDEV or APEX we can publish Code as a web-service. Is there any way in oracle, just by using simpl

  • Frustrating flash buttons

    I've upgraded from GoLive and have installed flash buttons/text on 2 sites. I started working on a 3rd site and now every time I create a flash button/text I get the message : "invalid name". Usually the name is xxx.swf. Just when I was starting to l

  • Grow Windows Partition using BootCamp or 3rd party application

    Hi, My client is using a MacBook Pro with Mac OS X Leopard and Windows Vista 32 bit. The client uses Windows most of the time. My question is, can I grow the Windows Partition using BootCamp or a 3rd party app without having to reinstall Windows?