Which API updates employee info

Hi,
we are working in oracle applications 11i
I need update /add existing employee info in PER_ALL_PEOPLE_F table . Especially EMAIL_ADDRESS column. I can see that we add or update email address from Office Details Tab in People -> Enter and Maintain form.
So which API can I use to update employee emails???
thank you...

Hi,
this is a sample of updating Person API:
hr_person_api.update_person
(p_validate => FALSE
,p_effective_date => TRUNC(SYSDATE)
,p_datetrack_update_mode => 'CORRECTION'
,p_person_id => l_person_id
,p_object_version_number => l_object_version_number
,p_national_identifier => lcursor.national_id
,p_employee_number => l_employee_number
,p_effective_start_date => l_effective_start_date
,p_effective_end_date => l_effective_end_date
,p_full_name => l_full_name
,p_comment_id => l_comment_id
,p_name_combination_warning => l_name_combination_warning
,p_assign_payroll_warning => l_assign_payroll_warning
,p_orig_hire_warning => l_orig_hire_warning
regards,
taha

Similar Messages

  • TCA API's to create and update employee vendors

    Hi All,
    We are doing an upgrade from 11.5.9 to R12 and I am looking for the Trading Community Architecture API's to create and update employee vendors for the HR Interface.
    We also need to change to use the Cash Management API's to create and Update Bank Accounts.
    Please help.
    Thanks in advance
    Regards,
    Sonia

    Hi Srini,
    Can you help me with the API's under Financials Receivables suite -> Trading Community in the Intergration Repository responsibilty? I am looking for the API's to create and update employee vendors
    Thanks so much
    --Sonia                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Which API need to call to update oracle database

    Hi,
    Does anybody know which APIs should be called in which order to update the oracle database base on the payroll run result conducted by 3rd party payment system?
    reply to [email protected] will be highly appreciated!
    Thankss

    Hi,
    Sorry for misleading. The scenario is client only install HR, payroll be run by third party system . they need me to handle the backfeed the payroll data to oracle system. Can I use API to do that ? What is the whole procedure?
    Thanks a lot for help me out!
    S

  • How to Update employee Effective Start Date

    Guys
    i am getting error while making terminate of an employee the error is being occurred as "the Person Must Exist as an Employee at the Time Specified by date start". after lot of finding, Ii came to know that the problem is being occur due to mismatch effective start date & original date of hire. so i need to update effective start date instead of Date Start(Hire date).Can you tell any one, Which api need to use update for this issue,
    Kindly help me.

    There is no API to update effective Start Date column.
    Your case falls into the type of data corruption in application tables. You either need to correct the data by yourself or take the help of Oracle support to correct the person data.
    If you decide to correct the data without taking help from Oracle support, you can always take help of these forums in doing the same. we will be more than happy to help you. :)

  • BAPI to update Employee position?

    Hi All,
    what is the BAPI to update an employee's job title/position.
    Thanks
    Thruna
    Moderator message: please (re)search yourself before asking.
    Edited by: Thomas Zloch on Nov 4, 2010 10:51 PM

    very nice explaination on Bapis is given on this link please check.
    without so much technical stuff and in simple terms u can say. They are Function Modules only that they are SAP provided Remote function calls. meaning. Function modules can be used only within SAP, where as Bapis can be used from outside SAP,thru external applications.
    if u want to understand using an HR example.
    consider ur company has Intranet portal or any other front end which all the employees are comfortable using. but the company wants to use SAP. and they r not comfortable with SAP interface.they want to continue using their own old portal for various reasons.
    in such scenarios, although front end is different portal, it connects to SAP in the back end. the employers do not know that whenever they r changing their phone no/email id etc in thier portal in back end its getting changed in his employee master in IT0105 in SAP.
    So how are tey able to acheive this? inputing data in different system but updating SAP system? well thats where BAPIS come into picture. SAP has exposed certain functions to be accessed remotely thru external systems..for such functions it provided BAPIS. in this case of communication SAP provided
    BAPI_EMPLCOMM_CHANGE Change communication
    BAPI_EMPLCOMM_CREATE Create communication
    BAPI_EMPLCOMM_DELETE Delete communication
    BAPI_EMPLCOMM_DELIMIT Delimit communications
    BAPI_EMPLCOMM_GETDETAIL Read communication This is just an example.
    go to TCODE: BAPI and check out all the bapis.
    go to TCODE: SE37 give a bapi name and read documentations/see source code/etc.
    Bapis manipulate SAP business objects,thru API methods.
    with this descriptions as a base, try making sense out of what BAPI is by reading above link and other material.and come back with more precise quesions.
    To use bapis u require different authorisations..usually authorisation object s_rfc is given
    inputs given by hurser
    this may be helpful
    sikindar

  • Issue with updating Security Info on my Microsoft ID

    I am stuck in a vicious circle trying to sort an issue with my Microsoft account.
    I need to remove an old, defunct, email address and add a load of new security info however, depending on whether the date format on the page I keep being directed to is UK or US, either the updates haven’t happened or they won’t
    be happening until next month – which seems ridiculous!
    I’m trying to sign up for a Windows Store developer account to publish a Windows 8 app. I’m using my MSDN subscription to register for this (for free) but there is a step I can’t get past because it insists on sending a code to
    my old email address – to which I have no access. It is picking up this address from my Microsoft Account Security info – however, I updated this info weeks ago. This is the screen I see (I’ve blurred out some of it as it seemed foolish to publish all my security
    info J
    It says my old address will be removed on 03/04/2013 and my new info added on that same date. Does anyone know if this is UK date format 3<sup>rd</sup> April – in which case it’s a long wait or a US date 4<sup>th</sup>
    March in which case it didn’t happen? I’ve tried phoning 5000 and the Microsoft Customer support lines but neither of them have a clue where to start. They just keep asking me if I’ve forgotten my password – which I haven’t.
    Does anyone know how I can resolve this? My only option at the moment is to wait until 3<sup>rd</sup> of April and see if anything changes – which is not ideal.
    Cheers,
    Rob

    Hello,
    The Microsoft account forum has been retired and all account related questions must now be asked online
    here.
    Select the issue you need help with and fill out the requested details on the next page.
    You need to be signed in with a Microsoft account to access the form. If you are unable to access your primary account, you can use an alternate account (if you have one) or create a new one at
    https://signup.live.com
    You can read further information about blocked accounts
    here.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Logged-in user info doesn't display after the user updates their info

    I created 2 pages. Page 1 has a recordset that displays only the users username and password, I did a filter on this recordset as username = session var = MM_Username. when they click update, which is just a link to page 2, they go to page 2 which has a recordset that filters their user info the same way and allows them to update their username and password. I used an update behavior on this page as well. So, when the user updates their info it DOES change the database info and works great.
    The problem: When the user goes back to page 1 to see their updated username and password that they just updated, it is BLANK. no info displays on screen, even when I refresh the page. it's if the MM_Username var is not refreshing while logged-in. Because when the user logs out and logs back in, it DOES display new username and password on page 1.
    Now it DOES work when I take the filter off of page 1's recordset, but this won't do me any good b/c the user should of course only see their info.
    I am running DW CS3, php, and mysql.
    Please Help! thanks.

    PAGE 1
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", 
    $theNotDefinedValue = "")
       $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : 
    $theValue;
       $theValue = function_exists("mysql_real_escape_string") ? 
    mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
       switch ($theType) {
         case "text":
           $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
           break;
         case "long":
         case "int":
           $theValue = ($theValue != "") ? intval($theValue) : "NULL";
           break;
         case "double":
           $theValue = ($theValue != "") ? "'" . doubleval($theValue) . 
    "'" : "NULL";
           break;
         case "date":
           $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
           break;
         case "defined":
           $theValue = ($theValue != "") ? $theDefinedValue : 
    $theNotDefinedValue;
           break;
       return $theValue;
    $colname_rsUpdateUser = "-1";
    if (isset($_SESSION['MM_Username'])) {
       $colname_rsUpdateUser = $_SESSION['MM_Username'];
    mysql_select_db($database_kh_space, $kh_space);
    $query_rsUpdateUser = sprintf("SELECT username, parentEmail FROM users 
    WHERE username = %s", GetSQLValueString($colname_rsUpdateUser, "text"));
    $rsUpdateUser = mysql_query($query_rsUpdateUser, $kh_space) or 
    die(mysql_error());
    $row_rsUpdateUser = mysql_fetch_assoc($rsUpdateUser);
    $totalRows_rsUpdateUser = mysql_num_rows($rsUpdateUser);
    ?>
    PAGE 2
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", 
    $theNotDefinedValue = "")
       $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : 
    $theValue;
       $theValue = function_exists("mysql_real_escape_string") ? 
    mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
       switch ($theType) {
         case "text":
           $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
           break;
         case "long":
         case "int":
           $theValue = ($theValue != "") ? intval($theValue) : "NULL";
           break;
         case "double":
           $theValue = ($theValue != "") ? "'" . doubleval($theValue) . 
    "'" : "NULL";
           break;
         case "date":
           $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
           break;
         case "defined":
           $theValue = ($theValue != "") ? $theDefinedValue : 
    $theNotDefinedValue;
           break;
       return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
       $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
       $updateSQL = sprintf("UPDATE users SET username=%s, password=%s 
    WHERE userId=%s",
                            GetSQLValueString($_POST['username'], "text"),
                            GetSQLValueString($_POST['password'], "text"),
                            GetSQLValueString($_POST['userId'], "int"));
       mysql_select_db($database_kh_space, $kh_space);
       $Result1 = mysql_query($updateSQL, $kh_space) or die(mysql_error());
       $updateGoTo = "confirmation.php";
       if (isset($_SERVER['QUERY_STRING'])) {
         $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
         $updateGoTo .= $_SERVER['QUERY_STRING'];
       header(sprintf("Location: %s", $updateGoTo));
    $colname_rsUpdateUser = "-1";
    if (isset($_SESSION['MM_Username'])) {
       $colname_rsUpdateUser = $_SESSION['MM_Username'];
    mysql_select_db($database_kh_space, $kh_space);
    $query_rsUpdateUser = sprintf("SELECT userId, username, password, 
    parentEmail FROM users WHERE username = %s", 
    GetSQLValueString($colname_rsUpdateUser, "text"));
    $rsUpdateUser = mysql_query($query_rsUpdateUser, $kh_space) or 
    die(mysql_error());
    $row_rsUpdateUser = mysql_fetch_assoc($rsUpdateUser);
    $totalRows_rsUpdateUser = mysql_num_rows($rsUpdateUser);
    ?>

  • Item text in Purchase Order getting updated with info. record Purchase Order Text

    Hello All,
    I am working in a roll out project and facing issue in text repeating twice for the line item in the Purchase Order for the new company code for which rollout is happening
    Issue:
    Item text in Purchase Order getting updated with info. record Purchase Order Text
    01) PO Text is maintained in the material master under "Purchase Order Text" tab
    02) The PO text that is maintained in material master is getting updated in the Purchase Info. Record
    03) When Purchase Order is created, the "Item Text" gets updated in the Purchase Order automatically only for the new company code for which rollout is happening. when printed, this results in the text getting duplicated twice
    03.1) this behavior is not observed in the Plants/ Company code that is already Live
    Configurations in the system:
    The copying rules for the "Texts for Purchase Orders" is
    Source Object = "Info Record", Source Text="Purchase Order Text", Fix="*"
    We have modified the Purchase Order form to print one of  the condition types maintained for calculating the tax. Other than this there is no change to the plants that are already live.
    I could not locate any "Purchase Organization" / "Company Code" / "Plant specific configuration.
    Am I missing any configuration or where can I look in what is causing this error.
    Request help from the experts in the forum.
    with Regards,
    Dhandapani R

    There is no company/purchasing/plant specific customizing for purchase order text.
    The customizing copying rules for the "Texts for Purchase Orders" affects all equally .
    If the text in the purchase order in ME23N is already filled different to other plants, then you either have a modification in place, or the texts are differently maintained in the referenced data (vendor, material, info record, contract)

  • Unsure of which software update is right for my computer.

    I am using an early version of the MacBook (black). I want to update my software so that I can run the latest version of iTunes, but I don't think that my MacBook can run Mountain Lion. Which software update would be best for me?

    The Early 2006 model 1,1 Core Duo can only run a maximum of 10.6 Snow Leopard.
    The models Late 2006 Core 2 Duos 2,1 through Early 2008 4,1 can only run a maximum of 10.7 Lion.
    The Late 2008 model 5,1 Aluminum Unibody through the Mid 2010 White Unibody model 7,1 can run 10.8 Mountain Lion.
    To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info. When System Profiler comes up check the Model Identifier.

  • Updating employee in asset master

    Hi
    There are several laptops and mobile phones which are given to employees. I need to track employee-wise assets. So i need to update employee name in asset master
    But here there is no HR module so personnel numbers are not available. Employees are created as a vendors only.
    I thought of evaluation group. But updating evaluation groups everytime at the time of addition / exit of new employees would be a configuration.
    So let me know how this requirement can be fulfilled.

    Hi Meenu
    I have seen many companies in this scenario...What they do is even though they dont have HR Module, they still create Personnel No.s in HR.... You dont need any separate license for that... Just a bare minimum settings are required to create Personnel No.s
    Asset Master has field Personnel No available in the screen layout... So, you dont need to do any Z development in this option
    Option 2 - Use AIST002 and add the field Vendor No in the asset master as said above...
    Option 3 - Use a Stat IO or WBS created with Personnel No as the IO / WBS No...
    Easiest is option 3, but it is a work around
    Moderate is option 1 - This is Std solution... You can also Personnel No in lot of FI postings related to employees.. Eg: To track their vehicle expenses or Mobile expenses, etc...
    Complex one is option 2.... This is a Z Dev....
    br, Ajay M

  • Which API for Additional Assignment Details?

    Hi All
    I have two segments for the Additional Assignment Details DFF, first 'Mobile Provided' and second 'Food Allowance'. For this i want to pass 'yes' or 'no' for the employees.
    Which API I can use for this?
    Regards
    Rahman

    Use the 'hr_assignment_api.update_emp_asg' API and pass the values for the DFF in the attributes depending on the attributes you choose while registering a DFF...
    Ex:
    p_ass_attribute1 => 'Mobile Provided',
    p_ass_attribute2 => 'Food Allowance'
    Best Regards
    Arun Kumar S.R
    Apps Associates

  • Update memory info failed

    We have an Oracle SQL query which runs in seconds directly on the database but when we put it in InfoView it runs for several minutes.
    We ran a trace on the query in InfoView and received thousands of lines of this:
    **WARNING:CCDZMgr:Update memory info failed [cecdzmgr.cpp;1161]
    Has anyone seen this before?  Is it something we can repair or do we have to live with it?
    Thanks
    Josh

    HI Josh,
    I have seen this in almost every 3.X log. We've looked into this and found that it's nothing to worry about. If things are running slow, you'll need to look in another direction.
    Hope this helps.
    Bill
    Edited by: Bill Walker on Feb 7, 2009 3:17 AM

  • Error updating eDirectory info on a Pool

    Hi all,
    I have several problems with pools/imanager. Main problem is that when I am updating eDirectory info
    for a pool, I have a great error:
    Error: Storage Error
    IPRINT_POOL: Cannot update eDirectory for this pool. Error Number: Unknown error with error code: -672.
    I have to say that I have deleted this pool and recreating again, I think that first time I dont have any errors.
    The other error is when I try to create a pool via "cluster options" on the selected cluster, (selecting the cluster, click on new, pool)
    when I write the name of the pool (then press TAB to write the IP), I have
    Code:
    Error: Clustering Error
    Unknown error with error code: 499.
    Any help will be welcome, I am a little lost with this thing... :(

    You can try a couple of things since the disk is visible there (even though the problem is in device or file system).
    1. Try to read the first sector from the disk.
    Example:
    dd iflag=direct count=1 bs=512 if=/dev/sda > /dev/null
    Replace "sda" with the name of your shared disk.
    2. If you can read from the disk, run "evms_activate" and check again.
    If none of the above works, please post it on NSS/Storage forum.
    Regards,
    Changju
    Originally Posted by antoniogutierrez
    Updated NSS info on eDirectory solved, user SERVERadmin was missing on eDirectory.
    Now, my problem is that I cant see pools on the second node on the cluster. If I run nss /pools I dont see anything, but I can see the cluster SBD partition and a 5 GB disk (this disks is used on the first node for the NSS Pool).
    The second node is a virtual node, which has assigned the LUN of the shared disk.
    Thanks!

  • The apple id associated with my itunes is no longer good because that email address has been deleted what do i do to update the info

    the apple ID that is associated with my itunes is no longer valid because the email address has been deleted,how can i update my info without my old email and password?

    how is what blocked?  the email address? or apple ID... As for the ID, its not bocked but when i entre the password it says... " Your Apple ID has been diabled for security reasons. to enable your account, reset your password on appleid.apple.com" which i did, after i have entred the apple ID, it gives me two options to either change my password by sending it to my email acccount used, first time i clicked use email to reset pasword. i then went to msn to long into that email and msn says that this account has been blocked due to the password being entred to many times to activsate this clcik link beloew and so i did, it then took me the security queastion and the alternative email used within that account is completly different to what put in when i first made that account 2 years ago, the security question to that email is in portugues/ spanish and im neither, so clarely someone has hacked into that email and blocked it... and this why i cant change the password for my apple ID..

  • I lost some of my contacts which was updated during last one year

    i lost some of my contacts which was updated during last one year when reset the Iphone 4s it took the data from december 2012

    No I have not checked to see if the netbook is still authorized. Where do I go to do that? In the Account info? If so, you cannot view which computers are authorized. And I'm sure it is, I usually don't mess with that part of it. It was just weird that I connected it to my Mac, and then after disconnecting it, a few of the apps just disappeared. And as I mentioned before, the "apps" portion in iTunes when I connect the Touch to the netbook is grayed out and I cannot even back up the apps from it to iTunes. When I clicked on Sync apps, it asked me if I was sure and says "are you sure you want to sync this ipod to this music library, all application will be replaced with the apps in this music library"
    I found that odd because my iPhone does that, the iPod Touch should not. (I've owned an older model Touch, which it did not do this) It should allow me to backup all apps from it to iTunes.
    That's the one thing I hate about the iPod Touches and iPhones being connected to iTunes. You constantly have to "sync" to backup, I like to manually do that on my own app by app.

Maybe you are looking for