I want to get increment only amount and its percentage of increment from HR

Dear Sir,
I want to get increment only amount and its percentage of increment can you plz help me how to get it
please find below mentioned query.
Regards
select
papf.employee_number as employee_number,
papf.last_name as last_name,
papf.middle_names as middle_name,
papf.first_name as first_name,
papf.known_as as preferred_name,
ppt.user_person_type as employment_type,
ppp.change_date as change_effective_date,
cur.currency_code as currency,
ppp.proposed_salary_n * per_saladmin_utility.get_annualization_factor(paaf.assignment_id , to_date(sysdate)) as current_salary_annual,ppp.proposed_salary_n,
per_saladmin_utility.get_previous_salary(paaf.assignment_id,ppp.PAY_PROPOSAL_ID) PREVIOUS_SAL,
ppp.proposal_reason as sal_proposla_resaon,
ppp.attribute2 as performance,
ppp.attribute3 as gandac,
ppp.attribute4 as NINEBOXPOSITION,
ppp.attribute1 as RPR
from
per_all_people_f papf,
per_all_assignments_f paaf,
per_pay_proposals ppp,
per_pay_bases ppb ,
pay_input_values_f piv,
pay_element_types_f pet,
fnd_currencies_tl cur,
per_person_type_usages_f pptu,
per_person_types ppt
where 1=1
and papf.employee_number in (127)
--and ppp.change_date >= ’01-Jan-2005?
and papf.current_employee_flag = 'Y'
and sysdate between papf.effective_start_date and papf.effective_end_date
and papf.person_id = paaf.person_id
and sysdate between paaf.effective_start_date and paaf.effective_end_date
and paaf.assignment_id = ppp.assignment_id
and paaf.pay_basis_id = ppb.pay_basis_id
and ppb.input_value_id = piv.input_value_id
and piv.element_type_id = pet.element_type_id
and pet.input_currency_code = cur.currency_code
and papf.person_id = pptu.person_id
and pptu.person_type_id = ppt.person_type_id
order by papf.employee_number, ppp.change_date desc
Edited by: user10941925 on Jan 20, 2012 2:37 AM

Maybe (taking it literally)
select proposed_salary_n - PREVIOUS_SAL increment,
       100 * (proposed_salary_n / PREVIOUS_SAL - 1) increment_percentage
  from (select papf.employee_number as employee_number,
               papf.last_name as last_name,
               papf.middle_names as middle_name,
               papf.first_name as first_name,
               papf.known_as as preferred_name,
               ppt.user_person_type as employment_type,
               ppp.change_date as change_effective_date,
               cur.currency_code as currency,
               ppp.proposed_salary_n * per_saladmin_utility.get_annualization_factor(paaf.assignment_id,to_date(sysdate)) as current_salary_annual,
               ppp.proposed_salary_n,
               per_saladmin_utility.get_previous_salary(paaf.assignment_id,ppp.PAY_PROPOSAL_ID) PREVIOUS_SAL,
               ppp.proposal_reason as sal_proposla_resaon,
               ppp.attribute2 as performance,
               ppp.attribute3 as gandac,
               ppp.attribute4 as NINEBOXPOSITION,
               ppp.attribute1 as RPR
          from per_all_people_f papf,
               per_all_assignments_f paaf,
               per_pay_proposals ppp,
               per_pay_bases ppb,
               pay_input_values_f piv,
               pay_element_types_f pet,
               fnd_currencies_tl cur,
               per_person_type_usages_f pptu,
               per_person_types ppt
         where 1=1
           and papf.employee_number in (127)
--         and ppp.change_date >= ’01-Jan-2005?
           and papf.current_employee_flag = 'Y'
           and sysdate between papf.effective_start_date and papf.effective_end_date
           and papf.person_id = paaf.person_id
           and sysdate between paaf.effective_start_date and paaf.effective_end_date
           and paaf.assignment_id = ppp.assignment_id
           and paaf.pay_basis_id = ppb.pay_basis_id
           and ppb.input_value_id = piv.input_value_id
           and piv.element_type_id = pet.element_type_id
           and pet.input_currency_code = cur.currency_code
           and papf.person_id = pptu.person_id
           and pptu.person_type_id = ppt.person_type_id
         order by papf.employee_number,ppp.change_date desc
order by employee_number,change_effective_date descRegards
Etbin

Similar Messages

  • Get SAP user Id and External E-mail Id From Position in SRM

    Hello All,
    I am fetching Position from Ztable, And i want to get SAP User Id and External E-mail Id from this Position. Is there any Function Module or any table through which can i get it? Please suggest me ASAP.

    Hi,
    I think FM BAPI_USER_GET_DETAIL will do. Structure ADRESS contains everything.
    If you like to display at screen - use BAPI_USER_DISPLAY.
    Kind regards,
    HP

  • I just got my iphone and i want to get all my apps and music from my ipod onto my iphone. the only problem is that my itunes is not recognizing my iphone in the devices. in fact there are no devices at all listed. Please help!

    I just got my iphone and i want to get all my apps and music from my ipod onto my iphone. the only problem is that my itunes is not recognizing my iphone in the devices. in fact there are no devices at all listed. Please help!

    See either:
    iPhone not recognized in iTunes for Mac
    iPhone not recognized in iTunes for Windows

  • HT3209 i want to get old purchased songs and albums back onto my ipod. havent been connected in very long time. now old purchases have this cloud thing on them and i dont know how to access them. someone please help!

    i want to get old purchased songs and albums back onto my ipod. havent been connected in a couple years. old purchases have a cloud on them and wont let me access them. someone please help!

    I have tried that as well.  The purchased songs are not in my playlists and they are still there.  I manually deleted them on the phone but the sync puts them right back on there.
    I only sync playlists and they aren't on there. 

  • I have a 2007 (Imac7,1) running Snow Leopard (10.6.8).  What is the latest OX I can upgrade to?  I want to get t the Cloud and I can't

    I have a 2007 (Imac7,1) running Snow Leopard (10.6.8).  What is the latest OX I can upgrade to?  I want to get t the Cloud and I can't

    Minimum requirements for iCloud is v10.7.5 Lion.
    See if your Mac can run Lion >  OS X Lion - Technical Specifications
    You can purchase Lion here > OS X Lion (10.7) - Apple Store (U.S.)
    After the purchase Apple will send you an email notification with a redemption code you can use at the App Store to downlaod Lion.
    BEFORE you do that, see if your Mac can Mavericks  >  OS X Mavericks: System Requirements
    If so, you don't need to purchase Lion.
    You can download Mavericks from the App Store for free.
    Read prior to upgrading from v10.6 > 
    Upgrading to 10.7 and above, don't forget Rosetta! | Apple Support Communities

  • I no longer can get "Tools" or "Options" at the top of my screen. Google and Yahoo toolbars dominate the entire top of the screen. I want to get rid of them and go backk to a regular screen shot. How???

    I can no longer get "Tools" or "Options" at the top of my screen. Google and Yahoo toolbars dominate the entire top of the screen. I want to get rid of them and go back to an original screen shot. How?

    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(~~red:Linux & OSX see~~: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M then release the key
    <u>''Windows'' Method 2.</u> Tap once on the F10 key, while the Menu bar is visible, choose "View > Toolbars", click "Menu Bar" so that a check mark is placed next to Menu Bar
    <u>''Windows'' Method 3.</u> Tap once and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar so that a check mark is placed next to Menu Bar
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See:
    http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    http://kb.mozillazine.org/Toolbar_customization#Restoring_missing_menu_or_other_toolbars
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''
    '''[http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar How to customize the toolbar]'''

  • My computer died when I was syncing music from iTunes onto my iPad. I can reset it and get it running, but I want to get back my photos and videos. How do I get back photos and videos in recovery mode?

    My computer died when I was syncing music from iTunes onto my iPad. I can reset it and get it running, but I want to get back my photos and videos. How do I get back photos and videos in recovery mode?

    Clucktastic wrote:
    How do I get back photos and videos in recovery mode?
    Once the Device is asking to be Restored with iTunes... it is too late to save anything...
    See Here  >  http://support.apple.com/kb/HT1808
    Once you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • Hi I want to get an acrobat aplication and SDK for converting .tiff and .jpg to OCR PDF and, add wat

    Hi I want to get an acrobat aplication and SDK for converting .tiff and .jpg to OCR PDF and, add watermark and reducing size of files, all in one product

    Yes, Acrobat Pro can do that. The SDK is free t o download.

  • My ipod doesn't want to send videos only pictures and message on iMessage please help!

    My ipod doesn't want to send videos only pictures and message on iMessage please help!

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>Safari and Clear History, Data and Cookies.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

  • I just purchased harry potter and the deathly hallows digital copy but i just synced my ipod and its not there. i went back to get the copy again and its sasy the cose can only be used once. I dont have the movie and now i cant get it at all.

    I just purchased harry potter and the deathly hallows digital copy but i just synced my ipod and its not there. i went back to get the copy again and its says the code can only be used once. I dont have the movie and now i cant get it at all. i paid for it when i bought the movie but now i dont own it at all. i feel cheated, somebody please help!

    Not Charge
    - See:      
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar 

  • I have set a strong password for my iPhone 5s, now I want to get rid of it and set a numeric 4 digit password. How to do that ??

    I have set a strong password for my iPhone 5s, now I want to get rid of it and set a numeric 4 digit password. How to do that ??

    go to settings>general>passcode lock and "enable simple passcode"

  • I want to get a Mac Air and use my MacBook as a slave when using GoToMyPC. Good idea?

    I want to get a Mac Air and use my MacBook as a slave when using GoToMyPC. Good idea?

    Why?

  • My iphone 4s doesnt want to get recognized in itunes and windows 7

    my iphone 4s doesnt want to get recognized in itunes and windows 7 and idk what to do

    can u please help if u know what to do

  • I really want to get IMAQ Case Image and IMAQ Arry to Image.vi files

    Hello!
    Although I already installed LabVIEW8.2 and NI-IMAQ, I do not have  IMAQ Case Image and IMAQ Arry to Image.vi files.
    To use infrared camera, I need them.
    I really want to get IMAQ Case Image and IMAQ Arry to Image.vi files.
    How can I get these files?
    Please, let me know the methods.
    Sincerely!
    Solved!
    Go to Solution.

    Please stick to a single thread for same type of questions. continue in your original post here.

  • Amount and quantity to be proposed from PO in case of IR of PO before GR

    i have a case when i want to make invoice (MIRO) based on PO before doing GR, the amount and quantity are blank when i reference the PO number in MIRO- GR based IV is unchecked in PO.
    Please help me why the amount and quantity field are blank and is it possible through some setting that in case of IR of PO without GR the amount and quantity should be proposed from PO
    Regards,
    Garima

    I don't think in standard process it is possible...one way is to do the GR before custom miro but logically & technically it willbe a wrong process
    Regards,
    Indranil

Maybe you are looking for

  • OBIEE 10G installation Error On Windows 7 64 Bit

    Hi, I am trying to install the 10G application on my laptop . I am getting the following error Mar 29, 2013 11:40:45 AM), Install.product.install, com.installshield.wizard.platform.win32.Win32RegistryException, err, Error while processing registry fi

  • Height of JPanel in SplitPane can only get bigger?

    Hi, I've got a JPanel in the bottom part of a JSplitPane. In the PaintComponent I use the height of the panel in some calculations (to make sure what i want to draw stays visible). So I take the height of the JPanel (getHeight). When I change the div

  • Someone please help me-trouble with my ipod

    Hey My Ipod wouldn't let me put songs on it for a while so then I re-installed itunes and now it works but like before none of my playlists will copy onto my ipod. No matter what no playlists will work. Please if you have any info on this I would gre

  • Scheduling the BPM

    Hi,    I have a requirement where i need to schedule BPM for 1 hours and also it has to get ping the weservices and get the data from it.      Can we configure BPM so that it can start the scenario to webservice and retrieve the data.      if so how

  • QT Uncompressed files display with White Screen

    I'm stumped. I have a few QT files that are uncompressed 8 bit. On my new 8 Core Intel Mac, a G5, and a Mac Mini I can see this file just fine. We're running 10.4.9 and QT 7.1.6. The Mac Minis and G5 are bare bones and have no codecs listed in the Li