Updating Username in BP

Hi All,
   I need to Update the User name in the Transaction BP in identification Tab .....
PL. let me know are there any BAPIs or function modules to do this ...
I tried BAPI_IDENTIFICATION_ADD by passing the category as 'BUP003' but its not working....
Thank you...
Girish.

Hi ,
Plesae use the FM 'CRM_BUPA_CREATECENTRALPERSON'
CALL FUNCTION 'CRM_BUPA_CREATECENTRALPERSON'
        EXPORTING
          IV_BU_PARTNER_GUID = EX_GUID
          IV_USER_ID         = USERNAME.
Regards
Sidd

Similar Messages

  • TS1702 How do change the old Apple ID username and password to the updated username and password for the apps store?

    How do you change the old Apple ID username and password to the updated username and password in order to get updated apps from the app store?

    cbkitche wrote:
    How do you change the old Apple ID username and password to the updated username and password in order to get updated apps from the app store?
    Do you mean you kept the same account but you only updated your AppleID?
    Just log out and log back in with new ID.
    Note that the AppleID is embedded into the item at purchase and cannot be changed.
    However, when you change your AppleID, it will link the old account name to the new account name so you will not have any problems updating apps using the new AppleID.

  • Updating username and password via JDBC

    Hello,
    Curious has anyone developed sample code that would do the following.
    1. Using getConnection one passes in a username and passsword.
    2. Let's say the the DB password passed is wrong but I want to update the users old password with the new password I just passed?
    Anyone have samples that might do this. ie. gets a return of bad password, reconnects as admin DB user, updates person's password, reconnects as orgianal username and password that previously failed?
    Thanks,
    BP

    Hi,
    you can also validate an FND login using the FND_WEB_SEC.validate_login package if it's easier.
    Brenden

  • Function Module for updating Username( last changed by field)-

    Hi,
    Do we have any standard RFC function modules/BAPI available for updating a field in R/3 ( for eg:"last changed by field" of an item of a notification(plant maintenance).
    As the FM is an RFC FM, it always updates this field with the RFC user name.My requirement is to update this field  by a value(user name) which is either keyed in in the FM or an SAP login name.
    This requirement is for a scenario in the mobile application as I need to update the notification item details by the user(mobile user- the mobile user name is available in R/3 also.) who is updating the notification item in the mobile.When synchronisation is done ,the filed gets updated by the RFC username which is used to exceute the BAPI wrapper..
    Do we have an option to change the user name?
    Regards,
    Muralikrishna T

    Hi
    try these.
    READ_TEXT_INLINE-Like READ_TEXT. In addition, it passes the first few text lines to a second lines table.
    EDIT_TEXT_INLINE-----Merges the inline lines with the other text lines and calls the text editor.
    Thanks,
    usha

  • Seem to have multiple apple ids one on computer one on iPod cannot use iTunes because password for old id not recognized cannot update user name for ipod

    cannot update username on ipod for itunes
    why are they all different. Why don't I have just one id?
    I cannot update apps.
    password for username not recognized
    I want one apple id for everything
    one password for everything
    I cannot retrieve or reset anything for itunes to update apps

    It appears that you have apps on the iPod that wer purchased with more than one iTunes account.  If one from more than one iTunes account need updating, you need to update them one at a time (not update all) until all the remianing apps were purchased from one account.  You may need to change the accont the iPId is signed into by go to Settings>Store and signing out and in.
    Accounts can't be merged.

  • 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);
    ?>

  • How to capture username in ABAP table

    Hi experts,
    I have this case:
    A webdynpro application calling a BAPI throught adaptive RFC.
    The problem is the last updated username captured in my ABAP tables is the one supplied when i created the logical system names. (JCO)
    What i actually want to capture is username of the user who login.
    What am i missing ?
    Thanks a lot.
    Regards,
    Daniel

    Hi Daniel
    Use the foll. code to get the user id
    IWDClientUser clientUser = WDClientUser.getCurrentUser();
    Pass this is as a parameter to RFC. Your ABAPer will have to do a change in RFC to capture and insert this User id in the respective table.
    Regards
    Nikhil Bansal
    xxxxxxxxxxxxxxxxxxxxxxxxxx
    Edited by: Armin Reichert on Feb 18, 2008 7:24 PM

  • DeploymentException updating webapp in  WLS 7.0 SP2, Solaris 8

    Any help would be greatly appreciated...
    My webapp is in exploded format.
    This is the command I run
    $JAVA_HOME/bin/java weblogic.deploy -debug -port 7011 -host localhost update passwd
    testleads /data/testleads
    And these are the exceptions
    From the command line itself
    weblogic.j2ee.DeploymentException: Server returned HTTP response code: 401 for
    URL: http://localhost:7011/wl_management_internal2/wl_management
    at weblogic.deploy.deploy(deploy.java:702)
    at weblogic.deploy.runBody(deploy.java:364)
    at weblogic.utils.compiler.Tool.run(Tool.java:126)
    at weblogic.deploy.main(deploy.java:1697)
    In the ADMIN SERVER's log
    <Jun 17, 2003 2:39:45 PM CDT> <Error> <Management> <141009> <Error in file distribution
    servlet while processing request of type "wl_upload_request", javax.security.auth.login.FailedLoginException:
    Authentication Failed: User javax.security.auth.login.FailedLoginException: Authentication
    Failed: User denied
    javax.security.auth.login.FailedLoginException: Authentication Failed: User javax.security.auth.login.FailedLoginException:
    Authentication Failed: User denied
    at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:194)
    at weblogic.security.service.DelegateLoginModuleImpl.login(DelegateLoginModuleImpl.java:70)
    at java.lang.reflect.Method.invoke(Native Method)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
    at javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:449)
    at weblogic.security.service.PrincipalAuthenticator.authInternal(PrincipalAuthenticator.java:325)
    at weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:278)
    at weblogic.management.servlet.FileDistributionServlet.doPost(FileDistributionServlet.java:220)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    I tried passing the username, but that throws a different exception
    $JAVA_HOME/bin/java weblogic.deploy -debug -port 7011 -host localhost update -username
    system passwd testleads /data/testleads
    Attempt to use old deployment protocol, load, on application, sprintleads, already
    deployed via 2 phase deployment protocol.
    Start server side stack trace:
    weblogic.management.DeploymentException: Attempt to use old deployment protocol,
    load, on application, sprintleads, already deployed via 2 phase deployment protocol.
    at weblogic.management.mbeans.custom.Application.load(Application.java:514)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:417)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:952)
    at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
    Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:821)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    End server side stack trace

    Thanks a bunch! That was very useful.
    For others, the command thats working for me is....
    $JAVA_HOME/bin/java weblogic.Deployer -adminurl $ADMIN_URL -user $WLS_USER -password
    $WLS_PW -name testleads -activate /
    I had to say '/' at the end for all the files in my webapp to get updated. It
    specifies the root of the webapp directory.
    "Mark Griffith" <[email protected]> wrote:
    weblogic.deploy is deprecated use weblogic.Deployer
    java weblogic.Deployer -examples
    ****Update JSP in a deployed webapp
    java weblogic.Deployer -adminurl url -user user -password password
    -name myapp -activate mywar/index.jsp
    The path of JSP to be updated is relative to the root of the
    application. If a directory is specified the entire subtree is
    updated.
    Full documentation on this tool is available at:
    http://edocs.beasys.com/wls/docs70/programming/deploying.html
    Cheers
    mbg
    "Kailash" <[email protected]> wrote in message
    news:[email protected]...
    Any help would be greatly appreciated...
    My webapp is in exploded format.
    This is the command I run
    $JAVA_HOME/bin/java weblogic.deploy -debug -port 7011 -host localhostupdate passwd
    testleads /data/testleads
    And these are the exceptions
    From the command line itself
    weblogic.j2ee.DeploymentException: Server returned HTTP response code:401
    for
    URL: http://localhost:7011/wl_management_internal2/wl_management
    at weblogic.deploy.deploy(deploy.java:702)
    at weblogic.deploy.runBody(deploy.java:364)
    at weblogic.utils.compiler.Tool.run(Tool.java:126)
    at weblogic.deploy.main(deploy.java:1697)
    In the ADMIN SERVER's log
    <Jun 17, 2003 2:39:45 PM CDT> <Error> <Management> <141009> <Errorin file
    distribution
    servlet while processing request of type "wl_upload_request",javax.security.auth.login.FailedLoginException:
    Authentication Failed: Userjavax.security.auth.login.FailedLoginException: Authentication
    Failed: User denied
    javax.security.auth.login.FailedLoginException: Authentication Failed:User javax.security.auth.login.FailedLoginException:
    Authentication Failed: User denied
    atweblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAP
    AtnLoginModuleImpl.java:194)
    atweblogic.security.service.DelegateLoginModuleImpl.login(DelegateLoginModuleI
    mpl.java:70)
    at java.lang.reflect.Method.invoke(Native Method)
    atjavax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
    atjavax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
    atjavax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
    at java.security.AccessController.doPrivileged(Native Method)
    atjavax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
    atjavax.security.auth.login.LoginContext.login(LoginContext.java:449)
    atweblogic.security.service.PrincipalAuthenticator.authInternal(PrincipalAuthe
    nticator.java:325)
    atweblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthe
    nticator.java:278)
    atweblogic.management.servlet.FileDistributionServlet.doPost(FileDistributionS
    ervlet.java:220)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1058)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :401)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :306)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5445)
    atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:780)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3105)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2588)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    I tried passing the username, but that throws a different exception
    $JAVA_HOME/bin/java weblogic.deploy -debug -port 7011 -host localhostupdate -username
    system passwd testleads /data/testleads
    Attempt to use old deployment protocol, load, on application, sprintleads,already
    deployed via 2 phase deployment protocol.
    Start server side stack trace:
    weblogic.management.DeploymentException: Attempt to use old deploymentprotocol,
    load, on application, sprintleads, already deployed via 2 phase deploymentprotocol.
    atweblogic.management.mbeans.custom.Application.load(Application.java:514)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    ..java:732)
    atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:7
    14)
    atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:417)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    atweblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerI
    mpl.java:952)
    atweblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
    Source)
    atweblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
    atweblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
    atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:821)
    atweblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
    atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
    0)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    End server side stack trace

  • Update hidden column using Apply MRU

    I want to update username which is a hidden column with an value when I submit update using ApplyMRU. How can I do it?
    Apex 4.1, Browser IE/FireFox, Using Form Tabular with ApplyMRU.

    Can someone help on this?

  • Change username for a application

    Hi,
    I have created an application which is using stor proc ....
    Due to some changes I have to chnage the db username and pass.
    In database navigator i opend my app connection and changed username and password. Test connection is also successfull .
    But when i run my application i am receving following error-
    *<Nov 9, 2010 6:33:50 PM SGT> <Error> <HTTP> <BEA-101020> <[ServletContext@10641940[app:sqe_application1 module:sqe path:/sqe spec-version:2.5]] Servlet failed with Exception*
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
    *     at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:207)*
    *     at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)*
    *     at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:589)*
    *     at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:322)*
    *     at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)*
    *     Truncated. see log file for complete stacktrace*
    Caused By: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Do i have to change the username or password at any other place also ...
    Any idea?

    You are right Jhon I am using Jdev 11g
    I have tried folloiwng options-
    in my XXmodel.jpx i edit my connection and update username and password.
    In application resource ->connections->database property i am able to see new username and pass.
    In database navigator also new user name and password is avaliable but applictaion not running same error.
    I deleted the connetcion and created a new one but not working :(
    Any other pointer...

  • Update with the duplicate record

    I am working on my update page and I ran into the problem
    where it allows updating the duplicated record. My code is working
    for the second time when I tried to update the same name.
    For example, I have the username A, B and C from the
    database.
    First time: Update username from B to A. It allowed me to do
    it since there is username A already in the table. (NOT RIGHT)
    Second time: Update username from C to A. It stopped me due
    to duplicated record
    NOT QUITE RIGHT, IT SHOULD BE STOPPED ME AT THE FIRST TIME??
    Thanks

    You probably should change the first query so it doesn't
    consider a row with the same id:
    <cfquery name="get_dupecheck" datasource="#ds#">
    select user_name
    from users
    where trim(user_name) ='#trim(form.user_name)#'
    and user_id !=#user_id#
    </cfquery>
    If any rows are returned from get_dupecheck then you don't
    want to do the update.
    <cfif get_dupecheck.RecordCount gt 0>

  • Running simple update on 200000 records

    Hi,
    I have two tables:
    TABLE MAILLISTSUB (
    ID      VARCHAR2(20) NOT NULL,
    USERNAME     VARCHAR2(60) NULL
    TABLE MEMLOGIN (
    USERNAME      VARCHAR2(13) NOT NULL,
    PASSWORD      VARCHAR2(50) NOT NULL,
    USERID      NUMBER(20,0) NOT NULL,
    EMAIL      VARCHAR2(60) NOT NULL,
    STATUS      NUMBER(5,0) NOT NULL,
    AUTOLOGIN      VARCHAR2(32) NULL,
    ACTIVE_DATE      DATE NOT NULL,
    RENEW_DATE      DATE NOT NULL,
    NAME_FIRST      VARCHAR2(32) NULL,
    NAME_LAST      VARCHAR2(32) NULL,
    GENDER      VARCHAR2(1) NULL,
    BIRTH_DATE      DATE NULL,
    HHOLD_INCOME     NUMBER(5,0) NULL,
    INDUSTRY      NUMBER(5,0) NULL,
    JOB_TITLE      NUMBER(5,0) NULL,
    COUNTRY      VARCHAR2(2) NULL,
    DONTMAIL      VARCHAR2(1) NULL,
    ZIP      VARCHAR2(10) NULL,
    COMMENTS      VARCHAR2(50) NULL,
    STATUS_INFO      VARCHAR2(10) NULL,
    FREE_SUB_ID      VARCHAR2(8) NULL,
    PHONE      VARCHAR2(30) NULL,
    ADDRESS      VARCHAR2(80) NULL
    I want to run a query, that will update username field in MAILLISTSUB as the EMAIL from table MEMLOGIN where the USERNAME in MAILLISTSUB is the same as in MEMLOGIN (i decided to use email instead of username and i have to update the table)
    UPDATE MAILLISTSUB mlSub
    SET USERNAME = (
    SELECT email
    FROM MEMLOGIN ml
    WHERE mlSub.USERNAME = ml.username or mlSub.USERNAME = to_char(ml.userid) or mlSub.USERNAME = ml.email)
    I was trying to run this query on 200,000 records. it's running for already 2 hours!!!
    is there a way to optimize it?
    Thanks!
    Odelya

    The best way to check is:
    v$session (specifically the column "server") which says the connections dedicated or shared. So, if you want to check, make a connection over sqlnet and query the v$session table.
    By the way do you mean MTS or Dedicated??
    Christopher Soza
    Oracle BI DBA
    Orix Consultancy Services Ltd
    b: http://sozaman.blogspot.com

  • Can't Update Lighthouse attributes :(

    Hi all,
    I have a custom workflow I am working on. The custom workflow is being used by administrators to change a users user name. I am having a weird problem. I check out the View, set a bunch of data (username, email, etc) and then check in the view. The data is all being updated on the Resources, but not on Lighthouse. Afterwards, I then open the user under edit, and go to save, and it wants to save over the newer values on the resources with the older values in lighthouse.
    I don't know why the Lighthouse attributes are not getting updated...
    Here is the workflow:
    <!-- MemberObjectGroups="#ID#Top" createDate="Fri Jun 29 10:05:49 PDT 2007" extensionClass="WFProcess" id="#ID#B1B91E225EF0A6F9:1979EB:1136EF5F51B:-7FD0" name="UO_changeUsername" visibility="runschedule"-->
    <TaskDefinition id='#ID#B1B91E225EF0A6F9:1979EB:1136EF5F51B:-7FD0' name='UO_changeUsername' lock='Configurator#1184960068433' creator='Configurator' createDate='1183136749878' lastModifier='Configurator' lastModDate='1184959768387' lastMod='719' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
    <Form name='uoChangeUsernameForm' objectLocationID='objectName=UO_changeUsername&isBegin=true&objectPath=81&objectType=TaskDefinition'>
    <Display class='EditForm'/>
    <defvar name='singleId'>
    <block name='singleIdVariable' trace='true'>
    <cond>
    <eq>
    <length>
    <get>
    <ref>form_inputs</ref>
    <s>userObjectIds</s>
    </get>
    </length>
    <i>1</i>
    </eq>
    <s>true</s>
    <s>false</s>
    </cond>
    </block>
    </defvar>
    <defvar name='userAccountId'>
    <cond>
    <eq>
    <ref>singleId</ref>
    <s>true</s>
    </eq>
    <block name='fetchTheId' trace='true'>
    <get>
    <get>
    <ref>form_inputs</ref>
    <s>userObjectIds</s>
    </get>
    <i>0</i>
    </get>
    </block>
    </cond>
    </defvar>
    <Field name='theUser'>
    <Derivation>
    <block>
    <set name='session'>
    <invoke name='getAuthenticatedContext'>
    <new class='com.waveset.session.InternalSession'/>
    <s>Configurator</s>
    </invoke>
    </set>
    <invoke name='getView'>
    <ref>:display.session</ref>
    <concat>
    <s>User:</s>
    <ref>userAccountId</ref>
    </concat>
    <map>
    <s>authorized</s>
    <s>true</s>
    <s>Form</s>
    <s>UO Empty Form</s>
    </map>
    </invoke>
    </block>
    </Derivation>
    <Validation>
    <cond>
    <not>
    <eq>
    <ref>theUser.accounts[Lighthouse].accountClaimed</ref>
    <s>true</s>
    </eq>
    </not>
    <s>You may not modify unclaimed accounts.</s>
    </cond>
    </Validation>
    </Field>
    <Field name='theUser.waveset.accountId'>
    <Display class='Label'>
    <Property name='title' value='Account ID'/>
    </Display>
    </Field>
    <Field name='newUsername'>
    <Display class='Text'>
    <Property name='title' value='New Username'/>
    </Display>
    <Validation>
    <block name='validation' trace='true'>
    <cond>
    <neq>
    <rule name='UO Username Library:existsInAuth'>
    <argument name='potentialUsername'>
    <downcase>
    <ref>newUsername</ref>
    </downcase>
    </argument>
    </rule>
    <i>0</i>
    </neq>
    <s>The username you have selected is already in use. Please choose a different username.</s>
    <cond>
    <neq>
    <rule name='UO Username Library:alphanumericOnly'>
    <argument name='inputString' value='$(newUsername)'/>
    </rule>
    <ref>newUsername</ref>
    </neq>
    <s>The username may only contain alpha-numeric characters. No other character types are allowed.</s>
    </cond>
    </cond>
    </block>
    </Validation>
    </Field>
    </Form>
    <Extension>
    <WFProcess name='UO_changeUsername' title='UO_changeUsername' maxSteps='0'>
    <Variable name='theUser' input='true'/>
    <Variable name='newUsername'/>
    <Variable name='error'/>
    <Activity id='0' name='start'>
    <ReportTitle>
    <s>start</s>
    </ReportTitle>
    <Transition to='Update Username Attributes'/>
    <WorkflowEditor x='56' y='41'/>
    </Activity>
    <Activity id='1' name='end'>
    <ReportTitle>
    <s>end</s>
    </ReportTitle>
    <WorkflowEditor x='362' y='514'/>
    </Activity>
    <Activity id='2' name='ReProvision User'>
    <ReportTitle>
    <s>ReProvision User</s>
    </ReportTitle>
    <Action id='0' name='Set Process View'>
    <ReportTitle>
    <s>Set Process View</s>
    </ReportTitle>
    <expression>
    <block>
    <set name='theUser.viewOptions.Form'>
    <s>UO Empty Form</s>
    </set>
    </block>
    </expression>
    </Action>
    <Action id='1' name='ReProvision' application='com.waveset.session.WorkflowServices'>
    <ReportTitle>
    <s>ReProvision</s>
    </ReportTitle>
    <Argument name='op' value='checkinView'/>
    <Argument name='view'>
    <ref>theUser</ref>
    </Argument>
    </Action>
    <Transition to='end'/>
    <WorkflowEditor x='337' y='359'/>
    </Activity>
    <Activity id='3' name='Update Username Attributes'>
    <ReportTitle>
    <s>Update Username Attributes</s>
    </ReportTitle>
    <Action id='0' name='Update Attributes'>
    <ReportTitle>
    <s>Update Attributes</s>
    </ReportTitle>
    <expression>
    <block name='ifAccountIDNeedsToChange'>
    <block name='setting' trace='true'>
    <set name='theUser.update.accounts[Lighthouse].changes[Uname].old'>
    <ref>theUser.accounts[Lighthouse].Uname</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[Uname].new'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].selected'>
    <s>true</s>
    </set>
    <set name='theUser.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.attributes.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.accounts[LDAP].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accounts[LDAP].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[email].new'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[email].old'>
    <ref>theUser.accounts[Lighthouse].email</ref>
    </set>
    <set name='theUser.accounts[Lighthouse].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.waveset.email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.waveset.accounts[Lighthouse].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.accounts[LDAP].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <append name='theUser.update.toUpdate'>
    <s>Lighthouse</s>
    </append>
    <set name='theUser.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accountId'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.accounts[Lighthouse].accountType'>
    <s>TEST</s>
    </set>
    </block>
    </block>
    </expression>
    </Action>
    <Action id='1' name='Update Auth DB'>
    <ReportTitle>
    <s>Update Auth DB</s>
    </ReportTitle>
    </Action>
    <Transition to='ReProvision User'/>
    <WorkflowEditor x='212' y='189'/>
    </Activity>
    </WFProcess>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    <Properties>
    <Property name='editorOriginalName' value='UO_changeUsername'/>
    </Properties>
    </TaskDefinition>

    Hi all,
    I have a custom workflow I am working on. The custom workflow is being used by administrators to change a users user name. I am having a weird problem. I check out the View, set a bunch of data (username, email, etc) and then check in the view. The data is all being updated on the Resources, but not on Lighthouse. Afterwards, I then open the user under edit, and go to save, and it wants to save over the newer values on the resources with the older values in lighthouse.
    I don't know why the Lighthouse attributes are not getting updated...
    Here is the workflow:
    <!-- MemberObjectGroups="#ID#Top" createDate="Fri Jun 29 10:05:49 PDT 2007" extensionClass="WFProcess" id="#ID#B1B91E225EF0A6F9:1979EB:1136EF5F51B:-7FD0" name="UO_changeUsername" visibility="runschedule"-->
    <TaskDefinition id='#ID#B1B91E225EF0A6F9:1979EB:1136EF5F51B:-7FD0' name='UO_changeUsername' lock='Configurator#1184960068433' creator='Configurator' createDate='1183136749878' lastModifier='Configurator' lastModDate='1184959768387' lastMod='719' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
    <Form name='uoChangeUsernameForm' objectLocationID='objectName=UO_changeUsername&isBegin=true&objectPath=81&objectType=TaskDefinition'>
    <Display class='EditForm'/>
    <defvar name='singleId'>
    <block name='singleIdVariable' trace='true'>
    <cond>
    <eq>
    <length>
    <get>
    <ref>form_inputs</ref>
    <s>userObjectIds</s>
    </get>
    </length>
    <i>1</i>
    </eq>
    <s>true</s>
    <s>false</s>
    </cond>
    </block>
    </defvar>
    <defvar name='userAccountId'>
    <cond>
    <eq>
    <ref>singleId</ref>
    <s>true</s>
    </eq>
    <block name='fetchTheId' trace='true'>
    <get>
    <get>
    <ref>form_inputs</ref>
    <s>userObjectIds</s>
    </get>
    <i>0</i>
    </get>
    </block>
    </cond>
    </defvar>
    <Field name='theUser'>
    <Derivation>
    <block>
    <set name='session'>
    <invoke name='getAuthenticatedContext'>
    <new class='com.waveset.session.InternalSession'/>
    <s>Configurator</s>
    </invoke>
    </set>
    <invoke name='getView'>
    <ref>:display.session</ref>
    <concat>
    <s>User:</s>
    <ref>userAccountId</ref>
    </concat>
    <map>
    <s>authorized</s>
    <s>true</s>
    <s>Form</s>
    <s>UO Empty Form</s>
    </map>
    </invoke>
    </block>
    </Derivation>
    <Validation>
    <cond>
    <not>
    <eq>
    <ref>theUser.accounts[Lighthouse].accountClaimed</ref>
    <s>true</s>
    </eq>
    </not>
    <s>You may not modify unclaimed accounts.</s>
    </cond>
    </Validation>
    </Field>
    <Field name='theUser.waveset.accountId'>
    <Display class='Label'>
    <Property name='title' value='Account ID'/>
    </Display>
    </Field>
    <Field name='newUsername'>
    <Display class='Text'>
    <Property name='title' value='New Username'/>
    </Display>
    <Validation>
    <block name='validation' trace='true'>
    <cond>
    <neq>
    <rule name='UO Username Library:existsInAuth'>
    <argument name='potentialUsername'>
    <downcase>
    <ref>newUsername</ref>
    </downcase>
    </argument>
    </rule>
    <i>0</i>
    </neq>
    <s>The username you have selected is already in use. Please choose a different username.</s>
    <cond>
    <neq>
    <rule name='UO Username Library:alphanumericOnly'>
    <argument name='inputString' value='$(newUsername)'/>
    </rule>
    <ref>newUsername</ref>
    </neq>
    <s>The username may only contain alpha-numeric characters. No other character types are allowed.</s>
    </cond>
    </cond>
    </block>
    </Validation>
    </Field>
    </Form>
    <Extension>
    <WFProcess name='UO_changeUsername' title='UO_changeUsername' maxSteps='0'>
    <Variable name='theUser' input='true'/>
    <Variable name='newUsername'/>
    <Variable name='error'/>
    <Activity id='0' name='start'>
    <ReportTitle>
    <s>start</s>
    </ReportTitle>
    <Transition to='Update Username Attributes'/>
    <WorkflowEditor x='56' y='41'/>
    </Activity>
    <Activity id='1' name='end'>
    <ReportTitle>
    <s>end</s>
    </ReportTitle>
    <WorkflowEditor x='362' y='514'/>
    </Activity>
    <Activity id='2' name='ReProvision User'>
    <ReportTitle>
    <s>ReProvision User</s>
    </ReportTitle>
    <Action id='0' name='Set Process View'>
    <ReportTitle>
    <s>Set Process View</s>
    </ReportTitle>
    <expression>
    <block>
    <set name='theUser.viewOptions.Form'>
    <s>UO Empty Form</s>
    </set>
    </block>
    </expression>
    </Action>
    <Action id='1' name='ReProvision' application='com.waveset.session.WorkflowServices'>
    <ReportTitle>
    <s>ReProvision</s>
    </ReportTitle>
    <Argument name='op' value='checkinView'/>
    <Argument name='view'>
    <ref>theUser</ref>
    </Argument>
    </Action>
    <Transition to='end'/>
    <WorkflowEditor x='337' y='359'/>
    </Activity>
    <Activity id='3' name='Update Username Attributes'>
    <ReportTitle>
    <s>Update Username Attributes</s>
    </ReportTitle>
    <Action id='0' name='Update Attributes'>
    <ReportTitle>
    <s>Update Attributes</s>
    </ReportTitle>
    <expression>
    <block name='ifAccountIDNeedsToChange'>
    <block name='setting' trace='true'>
    <set name='theUser.update.accounts[Lighthouse].changes[Uname].old'>
    <ref>theUser.accounts[Lighthouse].Uname</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[Uname].new'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].selected'>
    <s>true</s>
    </set>
    <set name='theUser.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.attributes.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.accounts[LDAP].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accounts[LDAP].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[email].new'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[email].old'>
    <ref>theUser.accounts[Lighthouse].email</ref>
    </set>
    <set name='theUser.accounts[Lighthouse].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.waveset.email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.waveset.accounts[Lighthouse].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.accounts[LDAP].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <append name='theUser.update.toUpdate'>
    <s>Lighthouse</s>
    </append>
    <set name='theUser.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accountId'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.accounts[Lighthouse].accountType'>
    <s>TEST</s>
    </set>
    </block>
    </block>
    </expression>
    </Action>
    <Action id='1' name='Update Auth DB'>
    <ReportTitle>
    <s>Update Auth DB</s>
    </ReportTitle>
    </Action>
    <Transition to='ReProvision User'/>
    <WorkflowEditor x='212' y='189'/>
    </Activity>
    </WFProcess>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    <Properties>
    <Property name='editorOriginalName' value='UO_changeUsername'/>
    </Properties>
    </TaskDefinition>

  • AMFPHP  Update problem

    Hello All,
    I am using AMFPHP and trying to update a record in a database.
    My database contains teh following fields,  "ref" "username" "password" "locked"
    I am then using this PHP code
    <?php
    class jobs
    var $db_host = 'localhost';
    var $db_name = 'videochat';
    var $db_user = 'videochatadmin';
    var $db_pwd = '24627930';
    var $ID_No = '7';
    function jobs()
    $this->methodTable = array(
    "getJobs" => array(
    "description" => "Info Database",
    "access" => "remote"
    function update($ref)
    $mysql = mysql_connect($this->db_host, $this->db_user, $this->db_pwd);
    mysql_select_db( $this->db_name);
    $sql = "UPDATE usernames SET locked ='yes' WHERE ref ='$ref'";
    ?>
    But when using the AMFPHP browser, or by callling the script form my app, it dosent change the record.
    I have even tried making a standalone php script to see if i can run that and change it, but that dosent work either
    <?php
    $hostname_conn = "localhost";
        $username_conn = "";
        $password_conn = "";
        $conn = mysql_connect($hostname_conn, $username_conn, $password_conn);
        mysql_select_db("users");
        $sql = 'UPDATE `videochat`.`usernames` SET `locked` = \'yes\' WHERE `usernames`.`ref` = 47 LIMIT 1;';
    ?>
    Any idea's on how i can get it to work ?  I would rather use a standalone PHP script, much the same as the one above, as i will be able to pass variables into it easier using HTTPService in flex,  but as i say, i cant get it to edit the database . . . .

    hi,
    you aren't running the query
    function update($ref)
    $mysql = mysql_connect($this->db_host, $this->db_user, $this->db_pwd);
    mysql_select_db( $this->db_name);
    $sql = "UPDATE usernames SET locked ='yes' WHERE ref ='$ref'";
    $Result = mysql_query( $sql);
    return $Result;
    David

  • IOS IPS Automatic Signature Update

    I will use cisco1941w.
    I'd like to know, how to configure at CLI and where is the URL.
    Is the bellow correct?
    CLI
    Router(config)# ip ips auto-update
    Router(config-ips-auto-update)# occur-at 0 0-23 1-31 1-5
    Router(config-ips-auto-update)# url https://www.cisco.com/cgi-bin/front.x/ida/locator/locator.pl
    Router(config-ips-auto-update)# username XXX password XXX
    URL
    https://www.cisco.com/cgi-bin/front.x/ida/locator/locator.pl

    Hello,
    A. Hete is what the six files do:
    • ios-ips-sigdef-default.xml: contains all the factory default signature definitions
    • ios-ips-sigdef-delta.xml: contains signature definitions that have been changed from the default
    • ios-ips-sigdef-typedef.xml: is a file that has all the signature parameter definitions
    • ios-ips-sigdef-category.xml: has all the signature category information, such as category ios_ips basic and advanced
    • ios-ips-seap-delta.xml: contains changes made to the default SEAP parameters
    • ios-ips-seap-typedef.xml: contains all the SEAP parameter definitions
    B. So the signature file (.pkg) is decompressed into these files and then 'idconf' loads them in memory.
    Hence to copy signature database of one router to the other, we need to copy atleast first 4 files.
    You only need to distribute the SEAP configuration if you modified any of the Signature Event Action Override configuration:
    We do not have one single file that contains all the signatures.  The signature package is installed in a certain way.
    Hence we will need atleast first 4 files to copy of signature database from one router to the other.
    C. Secondly, I dont know if auto-update will accept a file in .xmz package, I have not tested this.
    But I am guessing it will look for a .pkg file and decompress it.
    With copying a .xmz file, you may have to manually load it into memory using 'idconf' command.
    D. Hence there is no one single configuration file that you copy off the external ftp server.
    I guess, the only thing you can do is to have different routers update signatures at different times to reduce load on the network.
    It is also not necessary to check for signature updates every hour.
    Normal rate of adding new signature releases is every few days, so even if you check around once a day that should be ok.
    Sid Chandrachud
    TAC Security Solutions
    Customer support engineer

Maybe you are looking for