Query Employee ID number and GRE

Can you help me with a sql query, please?
I need a list of all employees, their employee ID number and their GRE.
I will show various other fields, which I have already identified.
I don't know where to find their GRE?

Slightly modified version of query what Ankur gave:
SELECT papf.person_id employee_id, papf.employee_number, hsck.segment1 gre
FROM per_all_people_f papf,
per_all_assignments_f paaf,
hr_soft_coding_keyflex hsck
WHERE paaf.soft_coding_keyflex_id = hsck.soft_coding_keyflex_id
AND paaf.person_id = papf.person_id
and papf.employee_number = &employee_number
Regards
Arun Kumar S.R
Apps Associates

Similar Messages

  • Compare the result of a query with a number and return a message

    Hello,
    I have the following query in oracle 9i:
    SELECT COUNT(*)
    FROM hourly_files
    WHERE date_received = TO_DATE((SELECT TO_CHAR(SYSDATE - INTERVAL '1' DAY,'DDMMYYYY')
    FROM DUAL), 'DDMMYYYY');
    This will produce a count of the required rows
    I need to compare the output number with another hardcoded number (threshold) and print an appropriate message e.g.
    if the output of the above query is 18000 and the threshold number is set to 20000, then output a meesage:
    Number of files received less than 2000
    Any help will be much appreciated !
    Thank you.

    SQL> ed
    Wrote file afiedt.buf
      1  SELECT CASE WHEN COUNT(*) >5 THEN 'Number is > than 5'
      2              WHEN COUNT(*) <1 THEN 'Its less than 1'
      3  ELSE 'Its in between'
      4  END
      5  FROM emp
      6* WHERE deptno=20
    SQL> /
    CASEWHENCOUNT(*)>5
    Its in between
    SQL> SELECT COUNT(*) FROM emp
      2  WHERE deptno=10;
      COUNT(*)
             3

  • Employee wise Budget and Expense Tracking in FM-BCS

    Hi Experts,
    We have Activated FM-BCS to one of our client for budget tracking.  Our client needs Employee wise expenses tracking for better and effective control. There is a requirement of capturing the budget Amount and Actual Amount on the basis of Expenses wise, Department Wise and Employee wise.  For Example: Client wants to maintain the budget Employee wise Department wise and Expenses. Like
    Employee No (PERNR): 1234
    Department (Cost Center): Marketing
    Expenses (GL Code): Telephone Expenses
    Grouping of Expenses: Operating Expenses
    Tracking Method: How much one Employee 1234 has budget for Telephone expenses and how much he has spend over a particular period.
    So we have mapped as follows in FM-BCS to address the above issue:
    Cost Center = Fund Center
    GL Code = Commitment Items
    Group of Expenses = Fund
    Through FMBB, we have given the budget values as follows:
    Fund+Fund Centers+Commitment Items.  And actuals also we could capture.
    But we are not able to map the Employee numbers in FM. How to accommodate / map the employee nos to FM Account Assignments. Can we map employee numbers to Funded Programs (700 employees in number and Overhead GL codes are around 50)
    Regards,
    Babjee

    Hi,
    To start with, choosing 'fund' for representing group of expenses, does not make much sense. Your expenses are already mapped by commitment items, being representative object for G/L. If you want to group those, you can use simple hierarchy of commitment items. 'Fund', when used properly, belongs more to budget domain, rather than to the expenses. For example, it could represent the source of the budget.
    Secondly, having budget control on employee level sounds bit strange. Is your client going to budget 700 employees with different combinations of G/Ls? For what reason? And what happens if employee exceeds the budget? They won't pay him? All this does not make much sense. I understand, if you want to collect statistical data on the expenses made by employees. You can do it either via CO (internal order) or via self-developed reports based on PERNR.
    Regards,
    Eli

  • I have 1 employee, and want to let her use PhotoShop LE on her computer.  Can I do this?  She can register with my serial number and password, etc., and it would not be for commercial use.

    I have PhotoShop LE installed on my computer, but have one employee in a family based research operation.  Can my employee install PhotoShop LE on her laptop, use my serial number and ID, and be legal?

    I guess you have posted on the wrong forum. This forum is for Photoshop Elements and your query seems to be more related to Ps Lightroom.
    Anyways, not sure about the legal implications, but technically Adobe allows the users to use the product with same serial number on two machines so as far as you have a valid and legitimate serial number registered in your name, YOU can use the product on two machines.
    I am although slightly confused when you say "1 employee..." and "not be for commercial use..".

  • Query to separate the number and character

    Hi,
    I have the string like '1000xyza' and query should return 1000 only.
    example data:
    source string = '1000xyz'
    output = 1000
    source string = '1000 xyz'
    output = 1000
    I need to use this logic in trigger, and currently I'm checking character by character in for loop to get number and it is taking long time to execute.
    Please suggest better way
    Thanks for help
    Thanks,
    Vijay

    maybe this will somehow help.
    SQL> With virtual_table AS
      2    (Select '1000xyz' str From dual
      3     Union All
      4     Select  '1000 xyz' str From dual)
      5  select vt.str,
      6         trim(translate(vt.str,'1234567890 ',' ')) char_string,
      7         translate(vt.str,translate(vt.str,'1234567890',' '),' ') numbers
      8    from virtual_table vt;
    STR      CHAR_STRING NUMBERS
    1000xyz  xyz         1000
    1000 xyz xyz         1000
    SQL>

  • Query to find first and last call made by selected number for date range

    Hi,
    query to find first and last call made by selected number for date range
    according to filter:
    mobile_no : 989.....
    call_date_from : 25-april-2013
    call_date_to : 26-april-2013
    Please help

    Hi,
    It sounds like you want a Top-N Query , something like this:
    WITH    got_nums   AS
         SELECT     table_x.*     -- or list columns wanted
         ,     ROW_NUMBER () OVER (ORDER BY  call_date      ) AS a_num
         ,     ROW_NUMBER () OVER (ORDER BY  call_date  DESC) AS d_num
         FROM     table_x
         WHERE     mobile_no     = 989
         AND     call_date     >= DATE '2013-04-25'
         AND     call_date     <  DATE '2013-04-26' + 1
    SELECT  *     -- or list all columns except a_num and d_num
    FROM     got_nums
    WHERE     1     IN (a_num, d_num)
    ;This forum is devoted to the SQL*Plus and iSQL*Plus front ends. This question doesn't have anything to do with any front end, does it? In the future, you'll get better response if you post questions like this in the PL/SQL.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the SQL forum FAQ {message:id=9360002}

  • Sales order query - display invoice date and invoice number

    I have a query that is reading information from both the ORDR and RDR1. How do I link to AR invoice to get the invoice number and invoice date if the line item of the sales order has been shipped (we do not use deliveries so the AR invoice is the next document after the sales order.
    Thanks

    Hi Keith,
    The link between ORDR and RDR1 to invoice:
    RDR1.trgetentry = OINV.DocEntry
    or
    INV1.BaseEntry = ORDR.DocEntry
    Use which is more appropriate to your query
    Regards,
    David

  • Query to get number of invoice created by user between from and to date

    Dear All
    I need Query to get number of invoice created by user on day and his orgainization between from and to date.
    thanks

    select count(*) from ap_invoices_all where created_by = :p_User_id
    and trunc(creation_date) between :p_from_date and :P_to_date;
    Thanks/SRK

  • Query for Customer site Phone number and Fax number  in Oracle Apps

    Dear All,
    Can anyone guide me how to write qurey for Customer site phone number and Fax number for Acive customers.
    Thanks in advance.
    Best Regards
    NRC

    Hi Team,
    This is a shipping report in header level we have the customer information with site address. The requirement is along with site address we need to show the phone number and Fax number .For this we need to write the formula column.Thes are the comes through HZ parties only. I have no idea how to achieve this.
    Best Regards
    NRC

  • Report ( invoice number and delivery number)

    Hi
    Is there any report in SAP, which can show invoice number and delivery document number, I know the SAP table, but is SAP standard report available?
    Example:PO: 5500075241, plant abraod delivery number 3510000174 and plant abroad Invoice number 3550000019, we need report which gives Delivery and Invoice no.
    thanks

    No standard reports shows both delivery and billing references in a single report.  You can develop a query in SQVI by table joining VBFA, LIKP and VBRK.
    thanks
    G. Lakshmipathi

  • Run Report with Pass Number and Varchar Lexical Parameter values

    Dear Sir/Madam
    Due to an urgent change required to a report I would most appreciate it if you can please advise me if it is possible to get this report working by either passing in multiple lexical parameters or one signle lexical parameter when calling the SRW.RUN_REPORT command with the following methods:
    Firstly: When calling report with a run_no and spr_cd passed in through one lexical:
    cmd_line: REPORT=D:\DEV\REMITTANCE.rdf BACKGROUND=YES BATCH=NO DESFORMAT=PDF DESTYPE=FILE DESNAME=D:\DEV\REMITTANCE.pdf
    CP_L_PARAM=RUN_NO=TO_NUMBER(28) AND SPR_CD=SUPP1
    Both with a TO_NUMBER and without, whereby I attempt to do a SUBSTR within the query of the called report to derive the RUN_NO Oracle Reports fails to accept the SUBSTR.
    Secondly: I am now trying to call the with passing two lexical parameters into the report as follows:
    cmd_line: REPORT=D:\DEV\REMITTANCE.rdf BACKGROUND=YES BATCH=NO DESFORMAT=PDF DESTYPE=FILE DESNAME=D:\DEV\REMITTANCE.pdf
    CP_L_RUN_NO=||TO_CHAR(lv_run_no)|| CP_L_SPR_CD=||lv_spr_cd;          
    NOTE: The above is an output of the actual command line and not what is passed into the command line, thus the quotes are missing. Please also note that the report is running fine with the only a hard coded RUN_NO value PASSED without the SPR_CD.
    Unfortunately this is also causing issues as the RUN_NO is a number and as you know you can only pass in strings.
    Your urgent help is required on this matter please as our client is expecting a solution this afternoon.
    Hope to hear form you soon.
    Kind regards
    Andrew Mason

    Dont Worry I've worked it out...

  • Purchase order number  and there in voice number

    Hi
       can Any buddy help me to find the PO number and its corresponding Invoice document number from table LFB1.
    LFB1->PO->Invoice num.
    thanks
    imran

    Hi,
    LFA1-LIFNR has a link to EKKO-LIFNR.
    Pick the respective EBELN and link with Sales table VBAK and VBAP with PO refrence number. Pick the sales order number VBELN for that document and query VBFA ( slaes document flow table ) and find the respective invoice number.
    Regards,
    Chandanroop

  • Query to know number of columns in a table

    please can anyone suggest me a query to know number of columns in a table i.e.
    if I want to know how many number of colums are present in a specific table then what would be the query
    Message was edited by:
    user625519

    Give this a shot:
    SELECT table_name,count(*) as "# of Columns"
    FROM dba_tab_cols
    WHERE table_name = <table name>
    GROUP BY table_name
    ORDER BY table_name;There are other views as well such as USER_TAB_COLS and ALL_TAB_COLS.
    HTH!

  • Building a multiprovider to join Requisition Number and Purchasing Document

    Hi,
    I've built a multiprovider that is made up of two ODS's.  ODS #1 has the Requisition Number and ODS #2 has the Purchasing Document Number along with other info objects that I need for my query.  When I execute my query, the Requistion Number field populates with "#" but all the other fields are fine.  I know requistion numbers exist for these PO's but they are not displaying.  Does anyone know what I'm doing wrong?
    Thank you for your help!

    Hi,
    Check whether the requistion number is filled in the ODS or not. Secondly, check the identification for this by going in the Cube and hitting the "IDENTIFICATION" pushbutton.
    Hope this helps..
    PB

  • Table Link for EQUNR (Eqpt Number) and GEWRK (Main Work Center)

    Hello,
    I need to fetch the main work center from equipment master. I need a direct table link between the equipment number and mainwork center. We are getting a link of equipment number (EQUNR) to work center (ARBPL) and a link of work center (ARBPL) to main work center (GEWRK). But the problem with this scenario is - main work center is not getting fetched from equipment master once work center is missing.
    We want a direct link through some table between EQUNR and GEWRK.
    Puneet

    Hi Puneet,
    Appreciate your problem !
    Many a times in such a situation (which I presume exists where no direct link is available between fields); we have 2 clear cut approaches -
    Approach 1:
    Develop a SAP Query, Functional Area/Infoset, and User Group ( using T code :SQ03,SQ02,SQ01 respectively )
    While developing Functional Area feed in these 2 tables (Table 1- equipment number (EQUNR) & work center (ARBPL) and Table 2 - work center (ARBPL) to main work center (GEWRK) with  work center (ARBPL) as the Primary Key- bridge to join these 2 tables.
    In SAP Query Development; you may take Plant as the Selection Field or any other field as per business requirement to make a search in the query.
    Now when you execute this query, you will get a complete Download of (EQUNR),work center (ARBPL)  and main work center (GEWRK) in one table.
    For SAP Query, you may also approach your ABAP Team Member. This is a cleaner approach than the other one.
    Approach 2:
    Take SE16 download of the Table 1 and Table 2 and join them in Excel (using vlookup if required).This approach is however limited to the data volume that you have to process.
    Please let me know, if you get stuck !
    Thanks,
    RAVI.

Maybe you are looking for

  • Problem installing vista/xp on a mac pro, installers don't see bootcamp

    hello there! recently, a video post production studio i work for purchased a new penryn-based mac pro (2x3.0 ghz, 6gb ram, nvidia 8800gtx). yesterday i wanted to install vista onto it to be able to help other windows machines in the studio with 3d st

  • BlackBerry World in Iran

    Hello, Will BlackBerry open BlackBerry World (like Apple and Google) in Iran ? http://www.apple.com/legal/more-resources/gtc.html OFAC IRANIAN GENERAL LICENSE D On May 30, 2013, OFAC issued Iranian General License D, authorizing the exportation or re

  • How to find that 2 references are pointing to same obejct??

    how to find that 2 references are pointing to same obejct?? i feel that hashCode and equals will not work as far as i understood from javadoc

  • Doesn't launch - hangs

    I have installed this twice and rebooted. No change. When I click to launch media player, the little orange box displays and says "reading preferences...." and never goes away. I click the media player to launch it again and the tool opens up. But no

  • Canon G15 RAW file import issue

    I have a new Canon G15 and am not able to import RAW files into iPhoto.  I get an error message the says the file is a unreconized format (CR2).  I have Lion OS 10.7.5 and iPhoto 9.4.2 and have updated camera RAW campatiblity.  Thanks