Table name required to find tax value in each PO items

Hi Guys,
Need table name where the Tax percentage or amount is maintained for each po line items.
I tried in KOMG but it a structure and i cannot able to fetch the values.
Let me know if more details are required for better requirement identification
Regards
palani

hi
TAX TABLES
for excise check table J_1IEXCHDR for header
J_1IEXCDTL for item excise
The Table name used to find the Tax Values are
KOMV: Pricing Communications-Condition Record
KONV: Conditions (Transaction Data)
From the above tables you can refer the fields below.
KAWRT
KBETR
Fetch the corresponding records based on the field
KNTYP
regards
kunal

Similar Messages

  • Tax value of each line item in the invoice.

    Dear All,
    We got a requirement to develop a report showing the tax amount of each individual line item.
    RBKP table shows the total tax at the header level,how to get the tax amount at the item level.
    Thank you.

    Try the BSET/BSEG table

  • SAP DBTech JDBC: [259] (at 26): invalid table name:  Could not find table/view RS_POOL_CLUSTER_TABLES in schema SYSTEM: line 1 col 27 (at pos 26)

    Hi Gurus,
    I am trying to load a HANA column table using the import function and get the following error even though the mappings from the file to the table are 1:1.
    I get the following errors:
    Error 1: SAP DBTech JDBC: Result set is positioned before first row.
    Error 2: SAP DBTech JDBC: [259] (at 26): invalid table name:  Could not find table/view RS_POOL_CLUSTER_TABLES in schema SYSTEM: line 1 col 27 (at pos 26)
    With the following stack trace:
    com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [259] (at 26): invalid table name:  Could not find table/view RS_POOL_CLUSTER_TABLES in schema SYSTEM: line 1 col 27 (at pos 26)
      at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:334)
      at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:165)
      at com.sap.db.jdbc.packet.ReplyPacket.buildExceptionChain(ReplyPacket.java:100)
      at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:1141)
      at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:888)
      at com.sap.db.jdbc.StatementSapDB.sendCommand(StatementSapDB.java:929)
      at com.sap.db.jdbc.StatementSapDB.sendSQL(StatementSapDB.java:978)
      at com.sap.db.jdbc.StatementSapDB.execute(StatementSapDB.java:256)
      at com.sap.db.jdbc.StatementSapDB.executeQuery(StatementSapDB.java:401)
      at com.sap.db.jdbc.trace.Statement.executeQuery(Statement.java:131)
      at com.sap.ndb.studio.bi.dataprovisioning.util.DBUtil.getPoolTables(DBUtil.java:200)
      at com.sap.ndb.studio.bi.dataprovisioning.util.DBUtil.getTablesToHide(DBUtil.java:188)
      at com.sap.ndb.studio.bi.filedataupload.ui.wizards.pages.SelectTableDialog.createDialogArea(SelectTableDialog.java:108)
      at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:775)
      at org.eclipse.jface.window.Window.create(Window.java:432)
      at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)
      at com.sap.ndb.studio.bi.filedataupload.ui.wizards.pages.SelectTableDialog.create(SelectTableDialog.java:186)
      at com.sap.ndb.studio.bi.filedataupload.ui.wizards.pages.ImportFileSelectionWizardPage$14.widgetSelected(ImportFileSelectionWizardPage.java:779)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
      at org.eclipse.jface.window.Window.open(Window.java:802)
      at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:152)
      at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:279)
      at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
      at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
      at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
      at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
      at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
      at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:420)
      at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
    I'm sure many of you have come across this before. Any help will be much appreciated.
    Thanks in advance

    Hello Akhtar,
    Have you tryed to delete the heador row from your file?
    I received the same error when loading a csv file, but when I delete the heador row it worked.
    Best Regards,
    Juliana Genova

  • Bw table names required

    i require
    1>     Table name for new requests loaded in ODS / Functional Module.
    2>     Table name for number of packets loaded in each request.
    plz help..

    RSREQDONE

  • P.O. with different Tax codes for each line item.

    Hi
    I would like to know how the IV has been done for the P.O. with differnt tax codes for each line item. Since in MIRO at header level we can select only one tax code.

    Hi
    Raju,
    It means we can post only one invoice at time i.e.for line item same taxcode is there.
    e.g. If line item 10 has tax code A1, 20 has A2 then on header i can only select either A1 or A2 tax code & post invoice of that line item.

  • GL Table Name Require

    Hi,
    I want to know in which GL table i can get following information.
    GL Code     Document No.     Posting Date     Entry Time     Amount.
    Regards,
    Nilesh Surve.
    Moderator: Please, search before posting

    Hi Nilesh,
    You can not find this information in one single table. Please try the below easiest method to get information:
    Execute transaction SQVI
    Give some name and create
    Pop Up apprears, give titile and in Data Source select, table join
    Press Shift+F1
    Give table name BKPF
    Press Shift+F1 again
    Give table name as SBIS or BSAS depending upon the requirement to get clear item or open items
    Press back butto
    Expand the nodes in left side of screen
    Select the items based on which you want to extract the data from table and select the filed for output which you wnat to see in ouput
    Press execute button.
    Belive me by this time you have already created a SAP quick viewer query and by executing you will have the required data.
    Hope this helps!!!
    Murlidhar Khatri

  • Tables name required

    dear Friends
    Please let me know in which tables the following Datas are stored
    1. PO
    2. PR
    3. GR
    4. Invoice
    5. FBL1N
    Sakthi.K

    Hi, here are all the tables U asked for - even more:
    MM-PUR (Purchasing)
    EBAN           Purchase Requisition                            
    EBKN           Purchase Requisition Account Assignment         
    EBUB           Index for Stock Transport Requisitions for Materi
    EINA           Purchasing Info Record: General Data            
    EINE           Purchasing Info Record: Purchasing Organization D
    EIPA           Order Price History: Info Record                
    EKAB           Release Documentation                           
    EKAN           Vendor Address: Purchasing Document             
    EKBE           History per Purchasing Document                 
    EKBEH          Removed PO History Records                      
    EKBZ           History per Purchasing Document: Delivery Costs 
    EKBZH          History per Purchasing Document: Delivery Costs 
    EKEH           Scheduling Agreement Release Documentation      
    EKEK           Header Data for Scheduling Agreement Releases   
    EKES           Vendor Confirmations                            
    EKET           Scheduling Agreement Schedule Lines             
    EKETH          Scheduling Agreement Schedules: History Tables  
    EKKI           Purchasing Condition Index                      
    EKKN           Account Assignment in Purchasing Document
    EKKO           Purchasing Document Header                       
    EKPA           Partner Roles in Purchasing                      
    EKPB           "Material Provided" Item in Purchasing Document  
    EKPO           Purchasing Document Item                         
    EKPV           Shipping-Specific Data on Stock Tfr. for Purch. D
    EKRS           ERS Procedure: Goods (Merchandise) Movements to b
    EKUB           Index for Stock Transport Orders for Material    
    EORD           Purchasing Source List                           
    EQUK           Quota File: Header                               
    EQUP           Quota File: Item                                 
    T024           Purchasing Groups                                
    T024E          Purchasing Organizations                         
    T024W          Valid Purchasing Organizations for Plant         
    T024Z          Purchasing Organizations                         
    T027A          Shipping Instructions, Purchasing                
    T027B          Texts: Shipping Instructions                     
    T027C          Codes for Compliance with Shipping Instructions  
    T027D          Compliance with Shipping Instructions: Texts     
    T069           Certificate Categories                           
    T069Q          Control Data for Source Determination and Checkin
    T069T          Certificate Categories: Text Description         
    T160           SAP Transaction Control, Purchasing              
    T160B          SAP Transaction Control, List Displays, Purchasin
    T160C          SAP Transaction Control for List Displays in CALL
    T160D          Function Authorizations: Purchase Order          
    T160E          Function Authorizations: Purchasing: Descriptions
    T160I          Control of Intrastat Reports                    
    T160J          Text Table for Intrastat Reports                
    T160L          Scope of Purchasing Lists                       
    T160M          Message Control: Purchasing (System Messages)   
    T160O          Description of Scope of List                    
    T160P          Entities Table Routines                         
    T160Q          Scope of List: Buyer's Negotiation Sheet: Routine
    T160R          Routines for Buyer's Negotiation Sheet          
    T160S          Selection Parameters for Purchasing Lists       
    T160T          Description of Selection Parameters             
    T160V          Default Values for Purchasing                   
    T160W          Description for Default Values for Purchasing Ope
    T160X          Scope of List: Buyer's Negotiation Sheet        
    T160Y          Scope of List: Buyer's Negotiation Sheet: Descrip
    T161           Purchasing Document Types                       
    T161A          Linkage of Requisition Doc. Type to Purchasing Do
    T161B          Default Business Transaction Type for Import    
    T161E          Release Codes                                   
    T161F          Release Point Assignment for Purchase Requisition
    T161G          Release Prerequisite, Purchase Requisition      
    T161H          Fields for Release Procedure, Purchase Requisitio
    T161I          Determination of Release Strategy               
    T161M          Fine-Tuned Control: Message Types               
    T161N          Message Determination Schemas: Assignment       
    T161P          Check of Document Type, Document Category, Item C
    T161R          REORG Control, Purchasing                       
    T161S          Release Indicator, Purchase Requisition         
    T161T          Texts for Purchasing Document Types             
    T161U          Texts for Release Indicator                     
    T161V          Shipping-Specific Data for Stock Tfr. for Purch.
    T161W          Order Types for Stock Transfer                  
    T161Z          Additional Checks for Outline Agreements on Reorg
    T162           Field Selection, Purchasing Document            
    T162K          Field Selection, Account Assignment Fields, Purch
    T162T          Description of Field Selection Reference Key    
    T162X          Description of Field Groups from T162/T162K     
    T162Y          Groups: Field Selection                         
    T163           Item Categories in Purchasing Document          
    T163A          Check Item Category/Account Assignment Category 
    T163B          Purchase Order History Categories               
    T163C          Texts for Purchase Order History Categories     
    T163D          Assignment Internal/External Confirmation Categor
    T163E          Confirmation Categories                         
    T163F          Confirmation Categories: Descriptions           
    T163G          Confirmation Control                            
    T163I          Texts for Account Assignment Categories         
    T163K          Account Assignment Categories in Purchasing Docum
    T163KS         Assignment of Tax Indicator to Account Assignment
    T163L          Confirmation Control Keys                       
    T163M          Confirmation Control Keys: Description           
    T163P          Release Creation Profile                         
    T163S          Description for Release Creation Profile         
    T163X          "Zombie" T163X                                   
    T163Y          Texts for Item Categories                        
    T165K          Copying Options: Header Texts                    
    T165P          Copying Options: Item texts                      
    T166A          Supplement Text in Purchasing Document Printouts 
    T166C          Print-Relevant Purchasing Document Changes       
    T166K          Header Texts in Purchasing Document Printouts    
    T166P          Item Texts in Purchasing Document Printouts      
    T166T          Change Texts in Purchasing Document Printouts    
    T166U          Headings in Purchasing Document Printout         
    T167           Number Range Management for Purchasing Master Dat
    T167T          Transaction Description                          
    T168           Screen Control, Purchasing                       
    T168F          Function Codes, Purchasing                       
    T168T          Screen Titles                                    
    T16FB          Release Indicators: Purchasing Document          
    T16FC          Release Codes                                    
    T16FD          Description of Release Codes                     
    T16FE          Descriptions of Release Indicators: Purchasing Do
    T16FG          Release Groups                                   
    T16FH          Descriptions of Release Groups                   
    T16FK          Release Statuses                                 
    T16FS          Release Strategies                               
    MM-IM (Inventory Mmgt):
    CHVW            Table CHVW for Batch Where-Used List            
    CHVW_IDX        Batch Where-Used Index Table for Selection of Da
    IKPF            Header: Physical Inventory Document             
    ISEG            Physical Inventory Document Items               
    MARI            Short document: material movement               
    MIGO_INIT       Control Table for Operation in Transaction MIGO 
    MKPF            Header: Material Document                       
    MKPF_ARIDX      Index table for single doc. access to archive MM
    MMIM_PRED       MM-IM Temporary Data                            
    MMIM_PREDOC_ORG Parked Material Documents, Organizational Data  
    MMIM_REP_PRINT  Print Settings, Reporting MM-IM                 
    MSEG            Document Segment: Material                      
    RESB            Reservation/dependent requirements              
    RKPF            Document Header: Reservation                    
    MM-MR (Incoming Invoices)
    BSIM  Secondary Index, Documents for Material
    K003  Sales Tax, Germany                                       
    RKWA  Consignment Withdrawals                                  
    T066  Screen Selection, Invoice Verification                   
    T066K Window Coordinates, Invoice Verification/Valuation       
    T169  SAP Transaction Control, Invoice Verification/Valuation  
    T169A Posting String for Invoice Verification                  
    T169B Notifiable PO Supplement Types                           
    T169D Invoice Verification: Amount Check                       
    T169E Tolerance Limit Keys                                     
    T169F Transaction-Dependent Defaults: Invoice Verification     
    T169G Tolerance Limits, Invoice Verification                   
    T169K Default Values, Account Maintenance                      
    T169O Account Assignment Block: Fields To Be Excluded from IV  
    T169P Parameters, Invoice Verification                         
    T169R MR Document Reorganization - Document Validity Period    
    T169S Tolerance Limit Keys                                     
    T169T Text Table for Tolerance Limits                          
    T169V Default Values, Invoice Verification                     
    T169W Posting Strings (Values) for SAPMM08R                    
    T169X Transaction Texts: Invoice Verification                  
    MM-MRM    
    RBCO         Document Item, Incoming Invoice, Account Assignment
    RBDIFFKO     Invoice Verification - Conditions                  
    RBDIFFME     Batch Invoice Verification - Quantity Differences  
    RBDRSEG      Batch IV: Invoice Document Items                   
    RBKP         Document Header: Invoice Receipt                   
    RBKPB        Invoice Document Header (Batch Invoice Verification
    RBKP_BLOCKED Logistics Invoice Verification: Blocked Invoices   
    RBSELBEST    Invoice Receipt, Purchasing Documents Selection    
    RBSELERFB    Invoice Receipt, Service Entry Sheet Selection     
    RBSELFRBR    Invoice Receipt, Bills of Lading Selection         
    RBSELLBLN    Invoice Receipt, Bills of Lading Selection         
    RBSELLIFS    Invoice Receipt, Delivery Notes Selection          
    RBSELWERK    Invoice Receipt, Plants Selection                  
    RBTX         Taxes: Incoming Invoice                            
    RBVD         Invoice Document - Aggregation Data                
    RBVDMAT      Invoice Verification - Aggregation Data, Material  
    RBVS         Invoice Verification: Split Invoice Amount         
    RBWS         Withholding Tax Data, Incoming Invoice             
    RBWT         Withholding Tax Data, Incoming Invoice             
    RSEG         Document Item: Incoming Invoice                    
    T003R        Number Ranges RE_BELEG (Logistics Invoice Verificat
    T003S        Document Types for Storing Documents (Log. IV)     
    How to get these? - Call SE16 and Press <F4> and seelect in the Pop-Up
    "SAP Applications" and then browse through "MM" . . .
    Hope this helps - plse reward if helpful.

  • From Table name how to find cube/dso ?

    guys,
    How do i find cube name from the table ?
    i have something like thid.../BIC/B00004500023 , what is it? and which cube does it belongs?
    thanks

    Hi,
    As suggested enter the values in ODSNAME_TECH filed of table RSTSODS in SE16.
    From which you will find PSA table name in ODSNAME field which will guids you to see Info Source then the related cube.
    I hope it will help.
    Thanks,
    S

  • Table name for open PO commitment Value

    Hi Expert,
    Please provide the Table name where I can get the (open PO commitment value from Project).
    BR,
    Morshed Alam

    Table is COOI :Commitments Management: Line Items, but you have to pass the Object no. of the object to get the commitment.
    Better approach is to use the std. report CJI5 - Commitment line item..
    With Regards
    Nitin P.

  • Table Name where we maintain Tax Rates in SAP?

    Is there a standard table to mainatain the tax rates in SAP?
    I think we maintain the tax rates via tcode FTXP, but are they stored in some table?

    These entries will not be store in a single table it will be in many tables. Usually maximum SAP transactions data will be stored in many tables.
    I can tell you those tables start with T68
    You can go to SE11
    Table name : T68*
    F4
    Now you can go to whcihever table you want
    Hope above helps you
    Regards
    Siva

  • Table names for with holding tax

    Hi all,
    please can any body tellme  few  table names  for withholding tax
    thanks

    hii...
    you can use...
    A399                           Withholding tax code - country-specific
    others are
    /CCEE/FISISTGRD                Reasons for Reversal enabling to change t
    /CCEE/SIFICUSTPR               Mapping table for customer procedure numb
    A399                           Withholding tax code - country-specific
    BSIUDTT                        HR-US: BSI test data (tax record)
    BTXEMPT                        BSI: Employee tax results
    BTXERES                        BSI: Employee/Employer tax
    CIMSYN                         Syntax Description for Extensions
    COMC_R3_FIELDS                 Assignment of R/3 material master fields
    CRMRDTRMSG                     Check Results Management: Texts of Messag
    DFKKARREPCONTST                ARGENTINA: Legal report sales tax control
    EDISYN                         Syntax Description for Extended Basic Typ
    EDSYN                          IDoc syntax after 3.0
    ETXDCH                         External tax document: header info
    ETXDCI                         External tax document: line item info
    ETXDCJ                         Ext. tax document: tax rates and amounts
    regards

  • Crm table names required

    Hi
    i want to get all the activities/leads/opportunities id's for particular sales org created in last 6 months
    could u please kindly suggest how can i develop quickviewr query (SA38)and what are the table name that i should use for linking to extract o/p
    As it is an urgent requirement i request you to kindly throw some light on this
    Regards
    Vinay

    hi,
    why dont you use the standard search functionality. Once you get the result then do the change layout and filter out the records.
    For activities you can use the Activity monitor and for Oppurtunities, lead and order toy can use the standard search functionality.
    Hope this helps.
    Regards
    Arun Kumar
    <b>Reward Points if it helps you</b>

  • Table names required in BPS

    Hi ,
    Can anybody please tell me the table names from where i can find the following information ?
    Planning folder names
    Planning profile
    Planning layout
    BPS  programs
    FOX functions
    exit function
    I had a look at the UPC_* , UPS_* tables but couldnt identify the above mentioned objects .
    Regards
    Ankush

    Hi,
    These are the tables
    UPC_PROFILE - Planning Profile
    UPB_PS_PROP - folders
    UPP_PARAMT - plng layouts
    UPF_PARGD - Plng functions
    TFDIR - Exit functions
    Regards,
    Bindu

  • Reg:Table name require

    Hi ,
    Can you pls tell me what is the table name for open and closed items.

    Please check BSID for Open items  and BSAD for Cleared items.
    Regards,
    Sash

  • Urgent ...Table name Require for appraisal competency

    Hi All,
    can some one help me to sort out this issue.
    how can i know where the appraisal competency information is storing(i mean table names).
    i mean when appraiser enter the competency for his appraise.
    Thanks.
    Edited by: user627525 on Mar 17, 2009 4:35 AM

    Or try this query is you want a rating that gives u a number 0-5 for performance rating. I did this query a while ago. it also gives rating for the last 3-4 years. HR also wanted the rating rounded off. so i included that but i am sure u dont need it
    select distinct peo.person_id
    ,AK.AK_RATING "Final 2005/6"
    ,AK_DATE
    ,AC.AC_RATING "Final 2006/7"
    ,AC.AC_Date
    ,AF_Rating "Final 2007/8"
    ,AF_DATE
    ,nvl(to_char(AG.AG_Rating),'Not Yet Reviewed') "Current Rating 1st 6 mnths"
    ,nvl(to_char(AR.AR_RATING),'Not Yet Reviewed') "Current Rating 2nd 6 mnths"
    ,AG_DATE
    from hr.per_all_people_f peo,
    hr.per_all_assignments_f paa
    ,(SELECT DISTINCT peo.person_id AK_person_id
    ,pr.performance_rating AK_rating
    , pr.review_date AK_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2006' and '31-Oct-2006' ) )AK
    ,(SELECT DISTINCT peo.person_id AP_person_id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AP_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2006' and '31-Oct-2006' ) )AP
    ,(SELECT DISTINCT peo.person_id AC_person_id
    ,pr.performance_rating AC_rating
    , pr.review_date AC_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2007' and '31-Oct-2007' ) )AC
    ,(SELECT DISTINCT peo.person_id AA_person_id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    , pr.review_date AA_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2007' and '31-Oct-2007' ) )AA
    ,(SELECT pr.person_id AF_Person_Id,
    pr.performance_rating AF_Rating,
    pr.review_date AF_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2008' and '31-Oct-2008' )AF
    ,(SELECT pr.person_id AB_Person_Id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AB_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2008' and '31-Oct-2008' )AB
    ,(SELECT pr.person_id AG_Person_Id,
    pr.performance_rating AG_Rating,
    pr.review_date AG_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-Nov-2008' and '30-Apr-2009' )AG
    ,(SELECT pr.person_id AQ_Person_Id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AQ_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-Nov-2008' and '30-Apr-2009' )AQ
    ,(SELECT pr.person_id AR_Person_Id,
    nvl(pr.performance_rating,0) AR_Rating,
    pr.review_date AR_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2009' and '31-Oct-2009' )AR
    ,(SELECT pr.person_id AU_Person_Id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AU_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2009' and '31-Oct-2009' )AU
    where peo.person_id = paa.person_id
    and trunc(sysdate) between peo.effective_start_date and peo.effective_end_date
    and trunc(sysdate) between paa.effective_start_date and paa.effective_end_date
    AND peo.CURRENT_EMPLOYEE_FLAG = 'Y'
    AND paa.PRIMARY_FLAG = 'Y'
    AND paa.ORGANIZATION_ID != 1301
    AND peo.EMPLOYEE_NUMBER != '0000001'
    AND peo.BUSINESS_GROUP_ID = '82'
    and AC.AC_person_id(+) = peo.person_id
    AND AF.AF_PERSON_ID(+) = PEO.PERSON_ID
    and AG.AG_PERSON_ID(+) = PEO.PERSON_ID
    and AK.AK_PERSON_ID(+) = peo.person_id
    AND AA.AA_PERSON_ID(+) = PEO.PERSON_ID
    AND AB.AB_PERSON_ID(+) = PEO.PERSON_ID
    and AP.AP_PERSON_ID(+) = PEO.PERSON_ID
    and AR.AR_PERSON_ID(+) = PEO.PERSON_ID
    and AQ.AQ_PERSON_ID(+) = PEO.PERSON_ID
    and AU.AU_PERSON_ID(+) = PEO.PERSON_ID
    order by peo.person_id -- , pr.review_date desc

Maybe you are looking for

  • Time stamp problem

    Hi Every one,    I have file to upload from application server.        file name is like 'PPRICE'TIMESTAMP'.CSV' from this file name i have to read the TIMESTAMP I can read it like tstamp = file+10(leng of timestamp). now this tsamp is in character f

  • Tint2 opacity with panel_dock

    Hi, i've just installed openbox (again) to play around a little. I'm trying to get transparency working with no success. I'm using pcmanfm to create my desktop and i've set a wallpaper with it - cairo-compmgr is doing the composite stuff right now. N

  • INSERT OPERATIONS

    HI EXPERTS, AM USING JDEV 11.1.1.5.0 USING ADFBC EXPERTS, HERE I LEAV OUT PICTURES. DUE TO MY POOR ENGLISH IT MAKE A THREAD TOO LONG FOR UNDERTANDING. STEP1: http://www.4shared.com/photo/unkvc2eu/STEP1.html STPE2: http://www.4shared.com/photo/6zmEGgN

  • OSX 10.6.6 software update - macbook pro

    Quando tento actualizar o software (tenho o osx 10.6.6) dá-me a mensagem; A Actualização de Software não conseguiu verificar se existem actualizações porque ocorreu um problema na rede. O que devo fazer? Obrigado When I try to uptade my OSX 10.6.6 so

  • No speaker sound from iPad

    Does anyone know a fix for speaker sound lost with apps, headset works fine, as does music?