Reg: To get One employee multiple times based on condition

Dear Friends,
I need your help regarding this Requirement.
Need to display the contractual years for every employee in the valueset.
If the emp is hired on 29-Feb-2004, then his contractual years should be as follows:
1) 29-feb-2004 to 28-feb-2005
2) 1-mar-2005 to 28-feb-2006
3) 1-mar-2006 to 28-feb-2007
4) 1-mar-2007 to 29-feb-2008
5) 29-feb-2008 to 28-feb-2009....... and so on up to current year ( *9* times)
If hired on 1-Jan-1997, then *16* times
I have developed the above logic in CASE <logic> END statement. The logic is depends on row number partitioned by Employee number. So now i need to incorporate it in SELECT statement since it will be used in Valueset. For this i need multiple rows for each employee as above number of times. So that i can create view accordingly.
Please do needful...
Thanks in advance..

If the sound has to be played again but is still being played by another event, the setFramePosition() method resets the sound and the first playing instance is cut off.
A workaround would be that each object that needs to play this sound would get its own copy, but that is not feasible due to heavy memory consumption.
So here it goes: How can I play a single sound multiple times at the same time? Is that possible?Ummmm, if you're using a clip, you'll have to maintain one copy per object that needs to play the sound concurrently. You could keep one master copy, and then create copies of the clip as necessary to play them, and then just dump the copies to decrease memory consumption.
A second idea would be to write your own Clip class. Esentially, all you would need to do is dump some sound data onto a TargetDataline to play it. It'll handle the buffering and playing at the correct speed itself. If that's all you did, you should be able to dump multiple times from the same instance and play it multiple times.
Obviously, that's just a theory. In practice, it may not work that way...

Similar Messages

  • Printing One Address Multiple Times

    Hi All,
    I am using the label format portion of Oracle Reports and I am trying to display/print one address multiple times based on the user's input. Is this possible? Any coding example would be greatly appreciated. Thank you for your help in advance.
    Michael James

    You could pass this value as a parameter to the report and add a where clause to the report that limited the numbers returned based on this parameter. This is essentially what Kevin's doing in his example (the reference to :copies_required).
    Incidentally, there's another way to do this without creating a new table of integers. You can get the same result by using the rownum pseudo column (as long as you have a table with at least as many rows as the number of times you want the address to repeat). You can then create one driving query:
    select rownum from table
    where rownum <= :number_of_copies
    and a detail query:
    select address from address_table
    Link these queries with a group link and generate a default layout. Delete any columns in the 'rownum' repeating frame and run - you should get the address repeated the number of times specified in :number_of_copies.
    Hope this helps,
    Danny

  • To print one photo multiple times on a single page

    The title of my question is the title of the page in iPhoto 8 help.
    "To print one photo multiple times on a single page"
    It says (a bit shortened) 1. Select photo 2. Click print button 3. Select paper size 4. Select print size 5 Click Customize button 6 Click Settings button 7. Select "Multiple of same photo per page from the Photos Per Page pop-up menu. 8 Click OK 9 Click Print.
    I can not find the pop-up menu referred to in Step 7. There are two "settings" buttons - neither produce a Photos Per Page pop-up menu. Settings appears if you click a double arrow to the right in the lower margin but only deals with font issues and "Print Settings" does not offer such a pop-up.
    I am using Leopard on a PowerBook G4 and just bought and installed the newest iLife 8.
    Grateful for help.

    Arthur:
    When you click on the Customize button there will be a Setting button in the next window. Click on it and in the drop down window that comes up will be the option to print multiple photos of the same photo per page.
    Select that option and click OK. You'll get the spinning cursor for a few seconds as iPhoto creates the multiple copies on the page you selected. Be sure that the print size is small enough so that you can have multiple copies of it on the paper size you selected.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Why does my iphone only send one picture multiple times when i select multiple photos to send?

    why does my iphone send one picture multiple times when i select multiple photos to send (via message or email)?

    Are you sending via Camera itself?
    That is, selecting a picture, then select forward link symbol from bottom left
    then select another picture,
    Each time make sure you see the blue check mark at bottom right of each selected picture.
    The number of " # Photos Selected" should be displayed at the top.
    Then select Mail or Message and transmit.

  • How to play one clip multiple times at the same time?

    I am writing a little game where a certain sound has to be played quite frequently. I load it as a Clip and play it with
    myClip.setFramePosition(0);
    myClip.loop(0);If the sound has to be played again but is still being played by another event, the setFramePosition() method resets the sound and the first playing instance is cut off.
    A workaround would be that each object that needs to play this sound would get its own copy, but that is not feasible due to heavy memory consumption.
    So here it goes: How can I play a single sound multiple times at the same time? Is that possible?
    Edited by: andrasz on Feb 27, 2009 12:37 AM

    If the sound has to be played again but is still being played by another event, the setFramePosition() method resets the sound and the first playing instance is cut off.
    A workaround would be that each object that needs to play this sound would get its own copy, but that is not feasible due to heavy memory consumption.
    So here it goes: How can I play a single sound multiple times at the same time? Is that possible?Ummmm, if you're using a clip, you'll have to maintain one copy per object that needs to play the sound concurrently. You could keep one master copy, and then create copies of the clip as necessary to play them, and then just dump the copies to decrease memory consumption.
    A second idea would be to write your own Clip class. Esentially, all you would need to do is dump some sound data onto a TargetDataline to play it. It'll handle the buffering and playing at the correct speed itself. If that's all you did, you should be able to dump multiple times from the same instance and play it multiple times.
    Obviously, that's just a theory. In practice, it may not work that way...

  • Getter is called multiple times

    Hi All,
    I my JSF page i am using one foreach which will read elements from an ArrayList. ArrayList is present in one PagesFlowSope-Bean.
    I am facing problem that, the getter for ArrayList is called multiple times.I want to restrict that,is there any way for doing this.
    Thanks in advance,

    Your getter gets called every time the component/page gets rendered/refreshed. If you feel that it refreshes too many times, check the partial triggers on that component or its parent. Just a thought, to avoid any logic getting called in your getter multiple times, if possible, put a empty or null check on your attribute and initialize it only if it is null/empty. In that way even if it gets called multiple times your logic to populate your ArrayList doesn't fire everytime.
    Good luck !

  • How to get the values multiple times for the specified element - ABAP IXML.

    Hi all,
             i have requirement to get the values for the specified elements multiple times. eg:., if the element is used in the xml 4 times then i need to get all the 4 values.  here is the sample xml,
    <View mmRelease="6.30" mmVersion="2.0" mmTimestamp="1180099591892" name="Comp_viewtestView" package="sap.com" masterLanguage="en">
    <AbstractView.InboundPlugs>
    <InboundPlug name="ip2">
    <ParameterizedFeature.Parameters>
    <Parameter name="ippara2">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.dictionary" name="binary" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    <InboundPlug name="hi">
    <ParameterizedFeature.Parameters>
    <Parameter name="hipara">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.ide.webdynpro.uielementdefinitions" name="Visibility" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    Here i need to store the following values in internal table, the element to get the values are,
    (1) InboungPlug name and the respective values of "Parameter name" and "Parameter type" name value.
    The output will be of 2 records & values should be
    Inbound plug name = ip2
    Parameter name    = ippara2
    Parameter type      = binary
    2nd record
    Inbound plug name = hi
    Parameter name    = hipara
    Parameter type      = Visibility
    These 2 records should be in internal table and then i will be passing to database table...
    Can anyone provide me the code for the above......
    Thanks in advance,
    Vishnu.

    I didn't get ur requirement..
    As per my understanding, upload the XML file into an internal table and then loop over the internal table and get the values for ptype and pname..
    XML ABAP  -  may b helpfull
    Edited by: Veeranji Reddy on May 7, 2009 2:10 PM

  • How to hold several photos in the "order print" function of iPhoto?  I only get one at a time.

    I cannot get more than one photo to appear in the "order prints" section of iPhoto at a time.  How do I move several photos over to order prints?

    What is your iPhoto verstion? Assuming you are having the latest version on your new mac, it should work like this:
    Select all photos at once in the event or album.
    With the photos selected, use the command "File > Order Prints" from the main menu bar.
    What happens, when you try that?
    Léonie

  • Problems printing one photo multiple times on a single page

    Im trying to print multiple photos on a page so as to not waste paper. I have a 4 X 6 photo and want to print 2, 3X3 photos on the page. If you follow the HELP directions which are
    Choose FILE > Print, Select paper Size, in my case 4X6. click on customize, Click Settings button then choose "Multiple of the same photo per page"
    The "Multiple photo per page" option is grayed out. After troubleshooting it appears the software is telling me that two 3X3 photos cant fit in a 4X6 inch wide space and wont let me try. I was able to get around the problem by printing two 2.9 inch photos.
    The software should be friendlier - Allow me to print 2 photos that are a exact fit to the paper. If the photo needs to be adjusted the software should do the adjustments in the background.
    If Im having a problem here Im sure others are too.

    Eric
    Welcome to the Apple user to user assistance forums
    Note that this is NOT a reporting path to Apple - iPhoto menu ==> provide iPhoto feedback to do that
    No one but us users here - and I do not see a question in your post - just a rant and how you found a work around
    Note that in general you DO NOT want software to change your specs - if you need a 3"x3" print you do not want the software to change it to 2.9" x 2.9" in the background - if it can not do what you requested then not doing it and having you adjust the request is the most appropriate path IMHO
    LN

  • When we send a job to the printer (C7280) it will print that one job multiple times even though we

    When we print a job to the C7280 All in one it prints multiple copies when sent from our Mac Book Pro.

    You can have a separate AppleID only for iMessage and keep using the other one for iTunes.
    Just change the AppleID used for iMessage in Settings > Messages > Receive At

  • Printing one address multiple times on the same label sheet

    Does anyone know how to print the same address on all 20 labels of a label sheet. So far I can only figure out how to print 20 different addresses. Any help would be appreciated. Thx.

    Greetings,
    That's not a feature of Address Book. You can do that with a program called pearLabelizer, which is free. If you want to print groups from Address Book, it pulls the information for you and prints the labels; if you just want to print one address onto multiple labels, you can type it in or paste it in from somewhere, select all the labels and then Print and it will be done for you.

  • Printing one photo multiple times on a single page

    Hi I am trying to follow the instructions in iphoto HELP to let me print multiple copies of the same photo on one page. I can set it in the drop down menu but I can not see where to select the amount of photos on the page ie. 2, 4 6 of the same photo. Can anyone help ?

    sorry I sorted it myself works ok now.

  • ManagedBean getter Method called multiple times

    Hi,
    i have notice that the get method is called so often if i initialize a List.
    Maybe you see a solution?
    ManagedBean
    @ManagedBean(name = "videoBean")
    @SessionScoped
    public class VideoManagedBean extends GeneralManagedBean {
            @PostConstruct
            private void init() {
                this.newVideos = videoSessionBean.getNewVideos();
            public List<VideoEntity> getNewVideos() {
                System.out.println("---------getNewVideos--------------");
                return newVideos;
    }Xhtml
        <html xmlns="http://www.w3.org/1999/xhtml"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:ui="http://java.sun.com/jsf/facelets"
              xmlns:c="http://java.sun.com/jsp/jstl/core"
              xmlns:p="http://primefaces.prime.com.tr/ui">
            <h:head>
                <meta http-equiv="content-type"
                      content="application/xhtml+xml;charset=utf-8" />
            </h:head>
            <h:body>
                <ui:composition template="/WEB-INF/template/mainTemplate.xhtml">
                    <ui:define name="content">
                        <h:form>
                            <p:dataTable var="vid" dynamic="true" value="#{videoBean.newVideos}">
                            </p:dataTable>
                        </h:form>
                    </ui:define>
                </ui:composition>
            </h:body>
        </html>The logfile shows:
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------
        INFO: ---------getNewVideos--------------Is that normal? I never read about this problem

    Whoa there, jumping to conclusions calling this a problem right from the start.
    Yes its expected behavior. The getter can get called from several JSF lifecycle phases. I suggest you study what they are, otherwise you'll run into plenty more of these head scratching moments.

  • IDOC -XI-SOAP one sender different  receivers based on condition

    Hi All,
    I have an IDOC to SOAP scenario.
    For each record based on the input flag XI has to send the  any one of the request ...like either create or update or delete request. All these message types are a part of single WSDL.
    How can i do it?
    Thanks in Advance
    Jyothsna

    hi There are two ways you can do this:
    1. Without BPM - Since you have to create all the target messages adn you want either the 1st and second, or the first and third: create two multi-mapping with one and two, and one and three. In the receiver determination check the condtion based on which you decide the second or the third message has to be created and route it to the correct mapping accordingly.
    2. with BPM, create all the target mapping. In the BPM check the condtion in the switch and do a send accordingly.
    You can do this either on Receievr Determination or on Interface Determination.
    Add multiple Receievrs/ Interfaces and then add the conditons on which the target should be choosen
    to use Xpath for your receiver det. ref these blogs;
    a combination of logics should help you in this case ...
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    pls reward points if solution found helpfull
    regards
    chandra.k

  • How to copy values in a multiple block based on conditions....

    hi
    i have a multiple block having 5 records and 10 columns...what i want to do is that
    when i am in the 2 record and if the values in the 2 to 5th column is same when compared with the values of the same column in 1st record....copy the values of columns 6 to 9 in 1 record to 2nd record...the same some times i may need to do with 3 and 2nd record when i am in 3 rd record...etc...like to the rest records...
    pls help
    Kris

    Create a POST-TEXT-ITEM trigger on column 2 to 5 that calls the same procedure (A).
    Create a procedure A
    with the following logic
    - remember the current record (incl. contents of column 2 to 5) (name new-record)
    - go to first record
      while continue loop
        if new-record.column2 = this-record.column2 (and that also for 3, 4 and 5)
        then
            new.record.column6 := his-record.column6 (and that also for 7,8,9 and 10)
            continue := false;
        end if;
        continue :=  ( this-record = last-record )
        if continue
        then
          next record
        end if;
      end loop

Maybe you are looking for