How to get the Error message from hr_contact_rel_api.create_contact

Hello All,
I am using this API for creating a contact for an employee in R12.
But, some times i am not able to create the contact successfully, and Unable to figure out proper reason for record erroring out.
I dont find any out msg data variables for this API in order to check it for the Error.
So, can any body help me how to get the ERROR Message for such APIs.
Thanks inAdvance,
Amarnadh Js

user12243334 wrote:
solved the issue on myselfIt would be nice if you could share the solution with us.
Thanks,
Hussein

Similar Messages

  • How to get the error message from a AWS code to display on the portal

    I implemented IAuthProvider, it works, within the code when authentication fails, I threw AccessDeniedException(customMessage) but when the login fails, the login screen always display the "You could not be logged in to the portal." error message, how can I get it to display the custom message? Am I throwing the wrong exception?
    TIA.

    Simpler? Uhm as far I know there doesn't exist any magic and you have just to write one or two lines of Javascript code yourself. Is that hard?

  • How to get the XML messages from JMS Queue in BPM

    I have one requirement in my application.we are sending XML messages to the JMS Queue.How to get the XML messages from JMS Queue and how to Extract the details from XMl.
    can you please send me the code to get the XML messages from the JMS Queue.
    Thank you,

    Hi,
    Sure others will have some other ideas, but here's what I typically do to get the XML from a JMS queue. Inside the Global Automatic that pops the messages off the queue you'd have logic similar to this:
    artifactInfoNodes as Any[]
    xmlObject as Fuego.Xml.XMLObject = XMLObject()
    load xmlObject using xmlText = message.textValue
    . . . Once you have this, it's a matter of deciding what you want to do with the message. Most times you'll parse the XML (using XPATH statemens), set argument variables and create a work item instance.
    Hope this helps,
    Dan

  • How can i get the error message from the thrown/raised exception?

    DB version:10gR2
    Examples for this thread taken from
    Want Stored Procs to get exectuted regardless of preceeding SPs Success or
    I have a package with several functions and procedures inside.I created a caller procedure called callProcs, which will execute various procedures within the package in the appropriate order.
    In the below example i cannot get the error message thrown from line 20
    create or replace package body mypackage
    is
    variable_proc1 number;
    variable_proc2 number;
    variable_proc3 number;
    v_result       number;
    my_exception   exception;
    procedure proc1
    is
    begin
    select 8/0 into variable_proc1 from dual;
    exception
              when others
              then raise my_exception; ----line 20
    end;
    procedure proc2
    is
    begin
    select 1 into variable_proc2 from dual;
    exception
              when others
              then
                   null;
    end;
    procedure proc3
    is
    begin
    select 3 into variable_proc3 from dual;
    exception
              when others
              then
                   null;
    end;
    Procedure caller_proc
    is
    begin
    proc1;
    proc2;
    proc3;
    v_result:=variable_proc2+variable_proc3;
    dbms_output.put_line('The output is '||v_result);
    exception
              when my_exception
              then
    dbms_output.put_line('Heyyyyy the error is '||SQLERRM); -- exception caught at line 64 of caller proc
    end;
    end mypackage;
    When i try executing the caller proc, i don't get the error. Instead i get the text User-Defined Exception as shown below
    set serveroutput on
    exec mypackage.caller_proc;
    Heyyyyy the error is User-Defined Exception
    PL/SQL procedure successfully completed.Edited by: user10633418 on Mar 10, 2009 11:30 PM

    Thank you justin.
    Sorry my earlier post was a bit ambiguous.
    I wanted the error generated at proc1 to be captured at caller proc's Exception handling section (line 64) so that i could log the error to an ERR_LOG table.
    I can actually log this error at proc1 itself like
    exception
    when others
    THEN
    error_message :='My custom message for the particular proc '||SQLERRM;
    dbms_output.put_line(error_message);
    logerror(error_message); --an autonomous error logging proc
    raise;But there is a RAISE statement in proc1's exception handling, so the exception gets propogated to caller proc's exception handling section {color:#ff0000}*and another redundant row will be created at ERR_LOG table for the same error because there is a*{color}
    logerror(error_message);--an autonomous error logging proc
    in the WHEN OTHERS section of exception handling section of the caller proc
    I want to avoid the creation of this redundant row in ERR_LOG table.

  • How to get the error message which causes Synonym Invalid?

    Hi,
    I created a synonym in USER_B for a table in USER_A.
    I have given all priveleges to USER_B from USER_A.
    I created a package. In that I am using this synonym. Its working fine.
    Today I have seen that.. the synonym is showing as invalid.
    Even I recompiled the synonym. But its still showing as Invalid in PL/SQL developer.
    Here I would like to see the error message which cause the synonym invalid.
    How can I see the error message.?
    Thank you,
    Regards,
    Gowtham Sen.

    Makes perfect sense. Oracle automatically attempts to revalidate objects when you try to use them.
    SQL> create table t (
      2  col1 NUMBER);
    SQL> create or replace procedure p is
      2   x POSITIVE;
      3  begin
      4    SELECT COUNT(*)
      5    INTO x
      6    FROM t;
      7  end p;
      8  /
    Procedure created.
    SQL> drop table t purge;
    Table dropped.
    SQL> select status
      2  from user_objects
      3  where object_name = 'P';
    STATUS
    INVALID
    SQL> create table t (
      2  col1 NUMBER);
    Table created.
    SQL> select status
      2  from user_objects
      3  where object_name = 'P';
    STATUS
    INVALID
    SQL> exec p
    BEGIN p; END;
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "UWCLASS.P", line 4
    ORA-06512: at line 1
    SQL> select status
      2  from user_objects
      3  where object_name = 'P';
    STATUS
    VALID
    SQL> Even when the procedure has a problem ... the revalidation takes place.

  • How to capture the error messages from incorrect session?

    Hi SDNs.,
    i am using BDC Session method to update transaction FB01. So my job runs daily. here i want to capture the error messages and i want to send it to mail.  Can i capture the unprocessed records???
    i think FM <b>SO_NEW_DOCUMENT_ATT_SEND_API1</b> used for sending mail? but how to capture mes or records?
    or Is there any other way to Do it???
    Thankning you.,
    Ram

    Hi Ramakrishna,
       Once you create the session, Process the session using
    the report RSBDCSUB using submit statement.
    It would list out the erroneous records.
    Hence, while submitting, just say submit RSBDCSUB in background and export output list to memory.,
    Then you can retrieve the list from memory using the FM LIST_FROM_MEMORY into the internal table and finally send the email by the fm you have already mentioned.
    Regards,
    Ravi

  • How to fectch the error message from popup?

    i am able to recognize pop message at the the time recording byt at the time of playback it's unable to find that.

    When u call a BAPI there will be Return structure. u need to pass the internal table to that function module. when the function module is executed the internal table is filled with the messages. u can loop at that internal table where message type is 'E' and process the message.
    Check this :
    DATA:IT_PERSONALDATA LIKE STANDARD TABLE OF BAPIKNA101_1 WITH HEADER LINE,
         IT_COPYREFERENCE LIKE STANDARD TABLE OF BAPIKNA102 WITH HEADER LINE,
         RETURN LIKE STANDARD TABLE OF BAPIRETURN1 WITH HEADER LINE.
    CALL FUNCTION 'BAPI_CUSTOMER_CREATEFROMDATA1'
      EXPORTING
        PI_PERSONALDATA              = IT_PERSONALDATA
      PI_OPT_PERSONALDATA          = PI_OPT_PERSONALDATA
      PI_COMPANYDATA               = PI_COMPANYDATA
      PI_OPT_COMPANYDATA           = PI_OPT_COMPANYDATA
      PI_CONSUMEREN                = PI_CONSUMEREN
        PI_COPYREFERENCE             = IT_COPYREFERENCE
      PI_CREDIT_CONTROL_FLAG       = PI_CREDIT_CONTROL_FLAG
    IMPORTING
       CUSTOMERNO                   = V_CUSTOMERNO
       RETURN                       = RETURN.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        WAIT = 'X'.
    APPEND RETURN.
    LOOP AT RETURN.
      WRITE:/ RETURN-TYPE, RETURN-MESSAGE.
    ENDLOOP.
    Regards,
    Swathi

  • Every time I sign into my Macbook, I get an error message from Automator; "The data couldn't be read because it has been corrupted.". I have never created an Automator workflow. How do I find out what Automator is trying to run and stop it?

    Every time I sign into my Macbook, I get an error message from Automator; "The data couldn't be read because it has been corrupted.". I have never created an Automator workflow. How do I find out what Automator is trying to run and stop it?

    Maybe it's set as a login item:
    - System Preferences: Users and Groups:
    - Highlight your user account in the left pane/list
    - Click "Login" tab at the top.
    See if you have an Automater action on the list
    - Note, you can select it, then right-click, and can then select "Reveal in Finder". That way you might have an idea what installed it.

  • TS4291 I can't send mail from my iPad apps, I just get the error message, 'The recipient- was rejected by the server because it does not allow relaying.' Does anyone know what this means and how to fix the problem.

    I can't send mail from my iPad apps, I just get the error message, 'The recipient… was rejected by the server because it does not allow relaying.' Does anyone know what this means and how to fix the problem.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Using a POP account with multiple devices
    http://support.apple.com/kb/ht3228
    iOS: Adding an email account
    http://support.apple.com/kb/HT4810
    iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
    http://support.apple.com/kb/ht1694
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    How to Sync Contacts with Your iPad Using iTunes
    http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    eMail Groups - You can use a third party app that many users recommend.
    MailShot -  https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    Group Email  -  https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?mt=8
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
    http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • When trying to open iphoto I get the error message "You can't open the application iPhoto because it may be damaged or incomplete." How do I fix this and get my photo's back?

    When trying to open iphoto I get the error message "You can't open the application iPhoto because it may be damaged or incomplete." How do I fix this and get my photo's back?

    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store you can find it in your Purchases List.

  • I bought an eBook from iTunes. I can view/read it perfectly on my iPhone but when I try to open the eBook file on my iPad, I get the error message, "Cannot open book. This book is protected by an incompatible technology." Any ideas for me? thx

    i bought an eBook from iTunes. I can view/read it perfectly on my iPhone but when I try to open the eBook file on my iPad, I get the error message, "Cannot open book. This book is protected by an incompatible technology." Any ideas for me? thx

    Welcome to the Apple Community.
    I have seen previous versions mentioned in a pop up message before on iCloud.com, but I'm not really sure at all how it would help, as I couldn't get it to do anything.
    The best advice I have at this time is to back up your work on your iOS device by regularly saving it to iTunes, if anything goes wrong you can then either load it into the numbers app again on the device or recover it via iTunes on your computer.
    My syncs are immediate, I never get chance to see if it works in the background, sorry.

  • When I try to move files from my mac (v10.8.5) to my external harddrive I get the error message The operation can't be completed because an unexpected error occurred (error code -50).

    When I try to move files from my imac (v10.8.5) to my external harddrive I get the error message "The operation can’t be completed because an unexpected error occurred (error code -50)." How can I resolve this? Thank you.

    Some other things to look at.
    https://www.google.com/search?btnG=1&pws=0&q=The+operation+cannot+be+completed+b ecause+an+unexpected+error+occurred+(error+code+-50

  • Sometimes when I'm trying to download an app from the app store when it is trying to load I get the error message cannot connect to iTunes store.   I am on the internet.  Any ideas?

    Sometimes when I'm trying to download an app from the app store when it is trying to load I get the error message cannot connect to iTunes store.   I am on the internet.  Any ideas?

    I have the same issue.  How did you solve it?

  • Cant's connect my Google and Yahoo calendar's. I am getting the Error message :A secure connection could't be established". Any recommendations on how to fix it? iMac/Mavericks

    Cant's connect my Google and Yahoo calendar's. I am getting the Error message :A secure connection could't be established". Any recommendations on how to fix it? iMac/Mavericks

    This article has a link for more information on finding your profile directory: [[Fix the "Could not initialize the application's security component" error message]]. On Windows 7, you can try this (either in a Windows Explorer window address bar or from the start menu search box):
    %APPDATA%\Mozilla\Firefox\Profiles
    You may see one folder in there and that's the one you want. If you see more than one, look for the one with the most recently modified files.

  • After syncing my iPhone to outlook (via cord) I get an error message from Mobile Me.  I don't even use Mobile Me. How do I get rid of it?

    After syncing my iPhone to outlook (via cord) I get an error message from Mobile Me.  I don't even use Mobile Me. How do I get rid of it?

    In your Uninstall a program control panel, uninstall the MobileMe control panel for Windows.

Maybe you are looking for