Get the Error-Message-Number from RFC to SOAP

Hi All,
we have implemented a synchronous SOAP-Call to RFC over XI. How can I get the message-number from the raised exception in the RFC-function Module to the SOAP-Caller?
Thanks a lot
Matthias

Matthias,
For you to have an exception structure when an rfc is imported into Xi, the rfc should have an exception defined. Usually we define an ApplicationError as one of the exceptions.
The idea is that if there was an exception which you didnt handle in your rfc (BAPI return will be emplty), the exception will be returned to XI and shown in SXMB_Moni as hard error(of course there should be a message mapping avaliable in XI )
In all the other cases, since you are populating BAPIReturn which is tables parameter, you should be able see the filled structure in your response message from RFC.
Regards,
naveen

Similar Messages

  • 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.

  • HT1918 I tried to change my password to my business credit card since almost all of the music and other things I buy from iTunes is for my work. But it wouldn't take that credit card number. I get the error message, the account is not connected to my Bank

    Hopefully, my question will appear with this comment. I'm new to Apple support. I really wanted an answer from Apple's billing/accounting department. I didn't think I'd need to submit it to a whole community to get an answer. I just want to change my account number to my business credit card but every time I try I get the error message that this account is not connected to my bank. Why is that necessary? It's my WORK credit card. It's not going to be connected to my personal bank account. I'm sure I'm not the only one that purchases work-related items from iTunes. What can I do to use this credit card when I am purchasing something for work? Can anyone assist me?

    First, please be aware that you are not communicating with Apple when you post in these forums. The only people who will reply to your posts are we your fellow users. iTunes Support will never respond to posts made here.
    As to your issue, confirm with your bank that they do not block access from on-line services or otherwise have restrictions on with whom a card can be used. For some company cards, such blocks can be set up. If you confirm that no such restrictions are in place, post back and we'll go from there.
    Regards.

  • 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.

  • I plugged in my ipod and now i get the error message: Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled" - i have a MAcBook pro and now my USB ports do not work - can anyone help me ???

    i plugged in my ipod and now i get the error message: Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled" - i have a MAcBook pro and now my USB ports do not work - can anyone help me ???

    Sometimes you have to reset the SMC two or three times for it to work, don't know why. I've seen that error message before and 100% of the time it was fixed with an SMC reset. I suppose it's possible that your keyboard or mouse IS drawing too much power, do you have access to another you could try?

  • Hello Vivek here, i was trying to download apps from itunes and i could get the error message as itunes currently not available for past 2 days

    Hello Vivek here, i was trying to download apps from itunes and i could get the error message as itunes currently not available for past 2 days, is there any problem ideally or, please leave a reply
    <Email Edited By Host>

    Hi vivekanandanganesan,
    Thanks for using Apple Support Communities.  This article has some steps you can try if you are unable to connect to the iTunes Store:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Cheers,
    - Ari

  • 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

  • Everytime I try to download a song purchase from itunes I get the error message. 'Unable to Download Song' could not be downloaded at this time. I cannot even sync with itunes on the PC.

    Hi guys,
    I need some everytime I try to download a song purchase from itunes I get the error message. 'Unable to Download Song' could not be downloaded at this time. I cannot even sync with itunes on the PC.
    Kind regards
    Ian

    One correction, from the icloud I was not able to listed to the entire song.  So when you purchased the song if it wasn't downloaded to your library, chances are you have lost your opportunity to listen to it.

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

  • I cant open any pfd from explorer. i get the error message 0:104.       HELP !

    I cant open any PDF from internet explorer. I get the error message 0:104 . I already reloaded adobe and I already did the fix adobe. Help

    Hi Catherine ,
    I would like to know which version of Acrobat are you using?
    If it is Acrobat 10 , go to the "General" settings, and uncheck "Activate the protected mode at start up ".
    If this does not work ,try uninstalling Acrobat once with the help of Cleaner Tool .
    Here is the link for the same.
    http://labs.adobe.com/downloads/acrobatcleaner.html
    The try re installing it .Make sure all the third part software are disabled while you install Acrobat .
    Try these solutions and see if that works for you.
    Regards
    Sukrit Dhingra

  • I am set up mac mini and when I test the mail server by sending a mail from administrator to administrator I get the error message 'Diagnostic-Code: X-Postfix; connect to 127.0.0.1[127.0.0.1]:10024: Connection    refused'. Can any one suggest a solution

    I set up mac mini and when I test the mail server by sending a mail from administrator to administrator I get the error message 'Diagnostic-Code: X-Postfix; connect to 127.0.0.1[127.0.0.1]:10024: Connection    refused'. Can any one suggest a solution

    Thanks. Where could I possibly look for a firewall rule. I knowingly did not creat any. My system has internet coming to a Modem which then is connected to a wireless router. I have computers connecting to the router through cable as well as wireless. One of these computers has been our  mailserver using Mercury and Pegasus and that computer has a static IP address. The Mac Mini also has been assigned a different srtatic IP address. I have only set up user account, none of them an email account as I initially expect them to receive only internal mails. Is it necessary that I must set up an email id for each user while setting up the user account. My server id is server.local. So would the email id for local users be [email protected]?

  • 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

  • This is the closest community that might solve the followingroblem:  Icloud is supposed to work from a pc.  It works fine from my iphone and ipad but not my pc.  I keep getting the error message: ApplePhotostreams.exe has stopped working.

    Iclouds is supposed to work from my PC but doesn't.  Loaded the program several times.  I have all the corrected software.  I keep getting the error message: ApplePhotoStreams.exe has stopped working.  Anybody out there that uses icloud with a PC???

    I've got the same problem and can't find a solution for this problem...

  • Why do I get the error message "iTunes Match could not download because disconnected from network?  I'm connected to the internet during that time with Safari so am I not connected to the network?

    Why do I get the error message "iTunes Match could not be updated because you were disconnected from the network during processing."  I'm on the internet during all of this.  What disconnect is the message referring to?  Itunes is frozen now.  I keep clicking OK but it just comes back with no action.

    Hello FredJay,
    Thank you for contacting Apple Support Communities.
    iTunes Match needs a network connection to work, either Wi-Fi, cellular or wired. See the following:
    Make sure you have an active Internet connection
    Be sure your computer or device has an active Internet connection by loading a webpage using Safari or another web browser.
    On an iOS device with cellular support, if you are not on a Wi-Fi network, try enabling 3G cellular data1 for iTunes Match.
    For iOS 6, tap Settings > iTunes & App Stores > Use Cellular Data > On
    For iOS 5.1.1 or earlier, tap Settings > iTunes & App Store > Use Cellular Data > On
    1Fees may be associated with downloading over cellular networks; contact your wireless carrier for details.
    From:
    iTunes Store: Troubleshooting iTunes Match
    http://support.apple.com/kb/TS4054
    Regards,
    Jeff D.

  • I want to share files from iMac to MacBookPro.  In "Sharing" setup I want to check "screen Sharing" but get the error message"Screen Sharing is currently being controlled by the Remote Management service."  What do I need to FIX???

    I want to share files from iMac to MacBookPro.  In "Sharing" setup I want to check "screen Sharing" but get the error message"Screen Sharing is currently being controlled by the Remote Management service."  What do I need to FIX???

    Care to share which OS you are using? 
    Have you read for possible solutions over in the "More Like This" thread over here?-----------------------> 

Maybe you are looking for

  • How do I create a second iTunes account on my mac?

    We ahve purchased 2 iPhones, one 4 and one 4s, to instal we need to connect to iTunes but need 2 different accounts and only have one mac that we share at the moment. Any ideas on how this can be done?

  • Changes are not updating :(

    Hi- For the past few days, after I save changes (and these are simple text changes) they are not showing up on my webpage. The upload seems to be a little slow lately, but I'm not getting any error messages......it says it has uploaded. But....my cha

  • MMS not working on 3G after IOS4

    I updated to IOS4 on my iphone 3G & my mms ist working..when I send pictures the recipient tells me they get a blank message.I still have MMS messaging in my message 'folder' & I can turn it on or off..its on.what could I do to make it work again?? I

  • PROBLEM WITH LANDLINE PHONE CALLS TO FRANCE

    Hi, We do have a subscription for unlimited world, but we are getting problems to make phone calls to landline numbers in France, most of the phone numbers starting by +339 do not work. The calls do not even enter. Please let me know what can be the

  • Inspectable parameters in Flash CC do not acquire value

    When moving to Flash CC, the following problem occurred in my flash project. Consider this class definition: public class Test extends MovieClip { [Inspectable(type="String", defaultValue="val")] public var param: String;  public function Test() { tr