Query to retrieve Currency Code for Employee Salary

Hi,
I'm stumped by this issue.  Does anyone know what table(s) contain the employee's salary currency code?
Thanks!
Bruce Marcoux

Did you check the business components for the salary page ?
Check the VO query -
select fct.name as currency ,fct.currency_code as currency_code from per_pay_bases ppb ,pay_input_values_f piv ,pay_element_types_f pet ,per_all_assignments_f paa ,fnd_currencies_tl fct where paa.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 fct.currency_code = pet.input_currency_code and fct.language = USERENV('LANG') and paa.assignment_id = :1 and :2 between nvl(paa.effective_start_date,hr_general.start_of_time) and nvl(paa.effective_end_date,hr_general.end_of_time) and :3 between nvl(pet.effective_start_date,hr_general.start_of_time) and nvl(pet.effective_end_date,hr_general.end_of_time) and :4 between nvl(piv.effective_start_date,hr_general.start_of_time) and nvl(piv.effective_end_date,hr_general.end_of_time) 

Similar Messages

  • For the ISO code TRY there is no unique SAP currency code for ALE

    Hi,
    I was trying to download cost centres from FICO to SAP HR via BD17.
    These are Turkish cost centres.
    I received an error: For the ISO code TRY there is no unique SAP currency code for ALE
    What is missing and how can it be fixed? I guess it is sth on ALE side so probably requires some config from Basis?
    Or correct me if I'm wrong.
    Thanks in advance!
    Monika.

    Hi satya,
    Not sure if this might help ... check out this OSS note "Note 313772 - Performance problem in CURRENCY_CODE_SAP_TO_ISO"
    Regards
    Genie

  • For the ISO code there is no unique SAP currency code for ALE

    While entering in incomming invoice , we got this error message.
    "For the ISO code there is no unique SAP currency code for ALE" .Any idea what this error is related to ?
    Thanks
    SN

    Hi satya,
    Not sure if this might help ... check out this OSS note "Note 313772 - Performance problem in CURRENCY_CODE_SAP_TO_ISO"
    Regards
    Genie

  • Accounting document currency code for transfer between company code

    Hi;
    We have one business process here. 2 plant with 2 different company code.
    Plant P1 -> Company code C1
    Plant P2 -> Company code C2
    Now we make material movement between P1 and P2 via MIGO_GR , movement type 301. Accounting document will be generated when MM document posting.
    From SAP standard, the accounting document currency will pick up from company code currency code.
    For example
    C1 -> currency USD
    C2 -> currency EUR
    But now we would like to generate the accouting document with different currency code, for example accounting document under C1 will be EUR? is that possible except to change the company code currency. Because company code currency change will be a big impact.
    Thanks in advance
    BR Tim

    Hi,
    Go to SPRO --> Financial Accounting (New) >Financial Accounting Global Settings (New)>Ledgers>Ledger>Define Currencies of Leading Ledger
    Click on Define Currencies of Leading Ledger  define currency
    Thanks,
    Raviteja

  • Currency codes for Switzerland -  e-dec Export

    Hello Experts
    I have a question about uploading currency codes for GTS. We use GTS 7.2 for e-dec Export Switzerland.
    General question/issue: The Swiss customs authorities told me, that the currency codes have to be up-to-date on a daily basis for exports. But the documentation from SAP says, that the Swiss customs authorities supply the currency codes on a regular basis. Between two update intervalls the codes should be valid.
    Question 1: Do we have to download/upload currency codes on a daily basis to ensure that the codes are corresponding to the actual inter-banking course? if we have to upload the codes daily we need an automatic interface for that.
    Question 2: Does anybody know, who is providing the currency codes which can be uploaded in the correct format?
    Question 3: I am a little bit confused about the currency topic. Could you tell me how you are handling this topic (like a "best practice"? )
    Thanks very much for your inputs and hints.
    Cheers,
    Andreas

    Hallo,
    ich schreibe mal in deutsch, da es sich um "schweiz"-Probleme handelt.
    Zum Ersten Teil: Es ist zwingend die Tarifnummer zu wählen, die stat. Warennummer ist nur für die EU gedacht. Andernfalls gibt es Probleme bei der Übertragung der Daten an den Zoll!
    Das Nummerschema der Tarifnummern muss im Customizing für den Export gepflegt werden (Allg. Einstellungen -> Nummernschemata -> Nummernschema der Tarifcodenummern für Zollabwicklung zuordnen
    Zum Zweiten Teil: Das ist nur notwendig, wenn tatsächlich bewillingsstellenpflichtige Waren exportiert werden, ansonsten reicht es, einen Datenvorschlag zu implementieren, der in Abhängigkeit der Tarifcodenummer den Bestätigungscode "FREI" enthält. Um das Compliance Management für edec voll zu nutzen, sind unter 7.2 noch einige Modifikationen notwendig, dazu gibt es auch einen detaillierten Hinweis.
    Freundliche Grüsse
    B. Krapf

  • Query for Employee Salary Details

    Hi,
    I have requirement like to generate pay slip using XML Reports. I am unable to get Salary details in my query. How I will get the Salary details (All Element Values), what are all the effected tables.
    Thanks
    Madhu..

    You get alternatively use the pay_balance_pkg.get_value(<pAssignmentActionId>,<definedbalanceid>) to get the Net Payments values
    where pAssignmentActionId is Assignment Action id of Payroll Run.
    definedbalanceid is Defined Balance Id of <TOTAL_PAY>ASGPTD
    <TOTAL_PAY> Can be found from Balance screen whose "Use For Remuneration" flag is checked.

  • Currency change for Employee group level

    Hi Guru's,
    I am configuring Currency for all the Employee groups 1,2,3,4,etc.i am trying it in V_T510F_B,Can any one confirm if this is right or is there any way to configure the currency for all the employee group in one table ..
    Regards,
    Reddy

    Hi,
    Their is a currency change going on so now we are changeing the existing currency to EUR,so our requirment is that all the EG & ESG should get the currency EUR instead of the earlier one "JOD",
    All the EG & ESG will have same currency EUR.
    But after our finance team has changed the currency in Company code level still i can see the old currency .
    Regards,
    Reddy

  • Query to retrieve the second highest managers salary

    select * from employees where salary=(select max(salary) from employees e where employee_id=e.manager_id and salary<(select max(salary) from employees)
    this is not executing . . .can anyone suggest new one

    Hi,
    987184 wrote:
    hii,
    it is displaying as invalid character at sal_rank=2
    select salary from (
    ( select salary
    , dense_rank() over (order by salary) as sal_rank
    from employees
    where job_id = 'PU_CLERK'
    where sal_rank = 2;
    /You have unbalanced parentheses. You have 4 left '('s, but only 3 right ')'s
    You may have noticed that this site normally doesn't display multiple spaces in a row.
    Whenever you post formatted text (such as query results, as well as code) on this site, type these 6 characters:
    \(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
    Why do you end the statement with a ';', and then a '/'?  Won;t either of them do what you want, without the other?
    Remember that the default sorting order is <b>ASC</b>ending (smallest first).  In this problem, don't you want <b>DESC</b>ending order (largest first)?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Cannot find source code for Employee Benefit application

    Hello,
    I am trying to find the Employee Benefit Sample Application which used to be provided by Oracle at http://otn.oracle.com/sample_code/products/ias/content.html. Unfortunately I couldn’t find the source code anywhere, neither by searching through oracle sites, nor through the internet.
    Could someone please help me get it, since I just started working on applications based on this model and it is really important for me to have a complete example that works.
    Thanks in advance,
    Stefanos

    Hello,
    This sample application used to work on older versions which is no longer supported. This is the reason, it has been removed.
    Thanks.

  • Code for employee worked hours calculation

    Hello everyone,
    I need some help with an ABAP code:
    I have records coming in with Employee ID, Date and Worked hours along with some other fields.
    I need to look up the employee id aginst another table to figure out if the employee depends to a particular state or not and the date is holiday or not from different table.
    Also I would like to see if worked hours are more than 8 and put the extra hours into a differemt field for calculating if the total hours in a week exceed 40.
    Can you please help with this code?
    Thanks,
    Raj

    >
    Raj Coppar wrote:
    > Hello everyone,
    >
    > I need some help with an ABAP code:
    >
    > I have records coming in with Employee ID, Date and Worked hours along with some other fields.
    >
    > I need to look up the employee id aginst another table to figure out if the employee depends to a particular state or not and the date is holiday or not from different table--- u can use FM BKK_CHECK_HOLIDAY to find out the given date is holiday or not ? Also I would like to see if worked hours are more than 8 and put the extra hours into a differemt field for calculating if the total hours in a week exceed 40.
    >
    > Can you please help with this code?
    >
    > Thanks,
    > Raj

  • How to create the Query and T Code for Special Reports

    Dear Freinds,
    Could any one advise the process to create the Query and the T code for some special combination of reports. Where can we find the documentation on this if that exists?
    Thanks for the help.
    Regards
    Moderator: Please, search SDN - you'll find the answers

    HI
    Go to Tools -->ABAP WorkBench -->Utilities --> SQVI QuickViewer ( Query Builder)
    Go to Tools -->ABAP WorkBench -->Utilities -->SAP Query -->SQ01,SQ02,SQ03
    first create Infosets in SQ02, Assign Infoset to UserGroups in SQ03 and create a Query in SQ01.
    Create a Transaction Code in SE93.
    regards
    Venkat

  • Two codes for the same Currency

    I am in a difficult situation.
    In our system, for EURO currencies, two codes have been defined and are available for process.  I found one EUR and EURO both representing the same currency Euro.  Because of this users are getting confused which one to be used. 
    I am also scared to delete one of them as I dont know its implications as it is a production  system.
    Kindly offer your help to tackle the above issue

    Dear:
                Once you define currency code and assigned it your company code in OBY6, all documents will be posted with the currency code you assigned. Two currency code for one company code cant be assigned simultaneously, Hence you can delete the currency code which is not assigned to your company code to avoid future posting and confusion.
    Regards

  • Currency Code of a Legal Entity - R12

    Hi,
    I need to find out the currency code for a Legal Entity in a R12 instance
    Based on what I have read and from e-TRM, I have written the following queries:
    select gsb.currency_code
      from hr_operating_units hou,
           xle_entity_profiles xep,
           gl_ledgers gsb
    where hou.default_legal_context_id = xep.legal_entity_id
       and hou.set_of_books_id = gsb.ledger_id
       and xep.legal_entity_id = 9999;       
    select currency_code
      from gl_ledger_le_v
    where legal_entity_id=9999
       and ledger_category_code='PRIMARY';Which of these two is more accurate or is there some other way in which I can obtain the Legal Entity currency?
    Thanks,
    Sujoy
    Closing this thread as there have been no answers. I went with the second query.

    Hi Sandeep and thanks for your quick response.
    Our business problem is that this entity is very high volume pertaining to open purchase orders and invetory transactions. In essense the business stays exactly the same, the only change is that it will move to another country with an ownership change. We want the current R12 ledger, company and inventory orgs to stay the same. If the new entity cannot assume the current structure, we have a huge setup and conversion task to make the change.
    Again thanks for your quick response.

  • Transaction code for live cache

    Hi experts,
    Please help for the following query.
    Log on to the liveCache with the SQL Studio/dbmcli as the liveCache user, and execute the following command
    SELECT count(*) from "/SAPAPO/ORDKEY"
                    where simid = '<noted VRSIOID>'
    I dont know the transaction code for live cache please suggest me how i login and exectue the query.

    Hi,
    The transaction code for live-cache is 'DB59'. Please let us know if you require further inputs.
    Regards,
    Birendra

  • SAP Currency code?

    Dear all,
    When I am going create and save export BP and check in SMW01.
    the error comes
    "For the ISO code USD there is no unique SAP currency code for ALE"
    I put the currency USD and Country is Bangladesh in BP.
    pls help me out
    Regards
    Jayesh

    Hi!
    Please check section 3.2.1 of the Best Practice Documentation for B09 to see if you have duplicate entries.
    Extracted text:
    Before starting the Customizing replication, verify that entries for the ISO codes are unique in the following ECC tables:
    •     Language keys (T002 field LAISO)
    •     Currency codes (TCURC field ISOCD)
    •     Countries (T005 field INTCA).
    Although SAP delivers these tables in a consistent state, duplicate ISO entries can occur because this is not a key field in those tables (especially if own entries have been set up with copy functions).
    Procedure
    1.     Access the activity using one of the following navigation options:
    Transaction code     SE16
    SAP ECC menu     Tools &#61664; ABAP Workbench &#61664; Overview &#61664; Data Browser
    2.     In the table name field enter T002.
    3.     Choose Table Contents (Enter).
    4.     Choose Execute (F8).
    5.     Check the column LAISO for duplicate entries.
    6.     Repeat these steps for the other tables.
    If duplicate ISO codes are detected, they have to be replaced by new ISO codes. The final result has to be that all tables mentioned hold unique ISO code entries. Multiple entries with empty ISO codes are possible.
    Duplicate entries cannot be deleted directly in transaction SE16. If you want to delete database records please get advice from experienced consultants or enter an SAP message.
    BR
    /fredric

Maybe you are looking for

  • Outputting Multi-Channel audio to DA-88

    I am trying to layback 8 channels of audio to a DA-88. I am sending 8 channels of AES out of my Multibridge extreme to a IF88-AE AES to TDIF converter that feeds the DA-88 deck. I am able to see the audio on all 8 channels of the DA-88 deck when play

  • Connect to a guest Virtual Machine question

    I'm new to Oracle VM and i have a question. If you have installed to a server Oracle VM 3.1.1 and then you have a second physical machine with your VM Manager in it and you have created several virtual guest machines with Linux, Windows and etc... Ca

  • How can i get apps with out using credit card info because i do not have a card ?

    how can i get apps with out using credit card info because i do not have a card ?

  • Strange folder in hard rive

    i have found a strange folder in my hard drive which i have not created. i am only the user using this mac. its called private... i found this after running omnidisksweeper. i don't know i can delete this or not... do u have any idea????... i am not

  • Copy command called through FM SXPG_CALL_SYSTEM not performed properly

    Hi  Gurus, I am calling the FM SXPG_CALL_SYSTEM with the command name as COPY maintained for windows NT server and I am passing the additional parameters with the file names ( source file <space> destination file). Source files can be picked using wi