How to Extract Error Text from RFC.Exception within BPM?

Hi,
I have a scenario MPA -> XI <-> RFC.  A synchronous RFC call will be performed inside a BPM on a SAP system.  An exception message is expected if RFC raises exception.  However, there don't seem to be any mechanism that allows logic/step in BPM to extract the error text from the RFC exception message in order to send it out to user as an error alert.
Appreciate if anyone can shed some lights.  Thx in advance.
Regards
Chong Wah

Hi,
you can always wrap your RFC with another one
in which you'll catch the exception
and pass in a normal field back to the XI
and then do the standard as per my weblog:
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Similar Messages

  • How to retrieve error information from an exception handler?

    I have an Embedded PL/SQL block in a Pro*C
    application that uses something like the following to catch exceptions and fill a host variable with diagnostic information.
    It then re-raises the exception so that
    the global error handler specified with a
    WHENEVER SQLERROR DO ... can log the error and determine the appropriate action.
    EXCEPTION
    WHEN OTHERS THEN
    :zerrtext := 'Failure occurred at ' &#0124; &#0124; mylocator;
    RAISE;
    According to all the Oracle docs this should work; but it does not. Re-Raising the exception within PL/SQL appears to negate the assignment of the string data to the host variable. When the global error handler runs, the host variable is empty.
    The assignment works if the 'RAISE' is commenting out; but then the detailed Oracle exception data is lost, and the global error handler never gets an opportunity to run.
    Does anyone know why re-raising the exception voids the assignment within the PL/SQL exception handler; and how to prevent this from happening?

    Have you tried getting the value from 'sqlerrm'? In PL/SQL this is a built-in placeholder for the ORA-xxxx code and message when trapping exceptions.
    Hope this helps,
    - Alex
    null

  • How to extract Chinese text from font embedded text PDF?

    This is actually font embedded text PDF (Used: type 1 fonts & custom encoding) and not scanned PDF, however I am unable to extract the "Chinese language" text properly and found only the garbled text when "Copy & Paste" (or save as RTF). Kindly refer the sample PDF attached for your reference.
    Kindly advise how could I solve this problem.
    Thanks in advance for your better solution.

    As I was unable to upload the sample page PDF in my original thread, I have shared now in the following path. Kindly look into this and guide me how to extract the chinese text as UNICODE text.
    Downloading: Chinese_Text_Extraction.pdf - Uploadingit

  • How to extract specific text from a string using REGEXP

    Some- &3*1233 Test Oralce #1`2" pip, various lengths couplers Misc. Metal,,'VENDOR'), PART_NO=5966 DESCRIPTION=INV 564400 2"
    How can I extract text start from 'Test' and end before DESCRIPTION? the results I need is as follows:
    Test Oralce #1`2" pip, various lengths couplers Misc. Metal,,'VENDOR'), PART_NO=5966
    I will apprecaite if you could explain the solution.

    set define off
    with t as(
              select 'Some- &3*1233 Test Oralce #1`2" pip, various lengths couplers Misc. Metal,,''VENDOR''), PART_NO=5966 DESCRIPTION=INV 564400 2"' str from dual
    select  regexp_replace(str,'(^.*)(Test.*)( DESCRIPTION.*$)','\2') result
      from  t
    RESULT
    Test Oralce #1`2" pip, various lengths couplers Misc. Metal,,'VENDOR'), PART_NO=5966
    SQL>
    {code}
    SY.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to obtain error codes from LDAP exceptions

    Is there a way to obtain the error codes returned by LDAP services. In our application, we want to give more understandable messages and solution to rectify the issues, for the exception thrown while accessing LDAP. The NamingException does not contain error codes. Is there a way to obtain the error codes? If not, is there a neat way to handle this?
    Thanks in advance
    Sankar
    Edited by: sansun08 on Nov 14, 2009 9:40 AM

    Huh?
    If it says ignore duplicate keys then that would suggest to me that it isn't an error. If there is no error, then you won't get an error.
    So if you want an error then either remove the ignore or explicitly do a query first and create your own error if the id is already there.

  • What happens?. Unable to find error text for this exception

    I4m trying to open a workbook and before doing anything it shows me the message "Unable to find error text from this exception", after this, it appears another one "attempt to open workbook failed". Help me to find why i4m not able to open the workbook, which could be the reason.
    Thanks in advance.

    I think this has something to do with the folders that
    you are using? Have you renamed an old folder and then
    recreated another folder as its replacement?
    Christopher

  • Error- Unable to find error text for this exception

    Hi all,
    I am facing the following problem in discoverer ,Please give me your advice.
    while I am trying to open the workbook I am getting the following error
    "Unable to find error text for this exception"
    Could you please tell me how I can find why this warning is come ? or how I can solve this warning.
    if I ignore this warning then the workbook is failing to open.
    thanks and regards
    senthil kumar

    Hi,
    Are you getting this problem with the Desktop, Plus or Viewer editions? It could be that the database is generating the exception. You will need to trace the database session to see the error.
    Rod West

  • How to extract HTML page from the internet

    i am new to java, i wish to know how to extract Html page from the internet and also how to identify the differences between the images and text information?

    You can create a java.net.URL that points to the file you want to "extract" and read the HTML code (or what ever that file contains) from there using the inputstream given by URL.openStream().
    The difference between images and text... well, images are embedded in html using the img-tag. example: <IMG src="http://forum.java.sun.com/images/reply.gif" alt="Reply">. Attributes width, height, alt are sometimes left out and there may or may not be quotes around the values and everything is case insensitive... you'll be having hard time trying to parse the input so I'd suggest using existing parsers.
    What are you trying to do anyway? You can load a URL directly to a JTextEditorPane with the setPage(URL page) method...

  • HT201210 how can i retrieve texts from an earlier back up without changing all the other settings on my iphone?

    how can i retrieve texts from an earlier back up without changing all the other settings on my iphone?

    You can't. Restoring from a backup is all or none.
    You can use a utility such as this one to extract the messages from the backup on your computer but you can't re-transfer the messages to the Messages app on your iPhone.
    http://msb.macsupport-pr.com/

  • HT4994 How can i transfer texts from sim to new iphone 4s?

    Hi,
    I've just got a new iPhone 4s.When I ordered it with O2 the sales lady told me i could keep all my texts from old samsung phone by transferring them onto the new sim and then from that onto the phone. I've got as far as putting the new sim in the phone but can't find how to get the texts from the sim onto the new phone.
    Can anyone help please?
    Many thanks.

    I don' t want them to get away with crap selling and now even more appalling customer service. And i don't want to lose my texts which are now on a microsim that won't tranfer to the iphone. I just want someone to say-yes we cocked and now we're going to fix this ( different phone, money off etc) but they are telling me there's nothing i can do except drive a 50mile round trip to one of their shops (but they won't pay for petrol). I'am about to explode!!!!

  • How to extract Inventory data from SAP R/3  system

    Hi friends How to extract Inventory data from SAP R/3  system? What are report we may expect from the Inventory?

    Hi,
    Inventory management
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20handle%20inventory%20management%20scenarios.pdf
    How to Handle Inventory Management Scenarios in BW (NW2004)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Loading of Cube
    •• ref.to page 18 in "Upgrade and Migration Aspects for BI in SAP NetWeaver 2004s" paper
    http://www.sapfinug.fi/downloads/2007/bi02/BI_upgrade_migration.pdf
    Non-Cumulative Values / Stock Handling
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/93ed1695-0501-0010-b7a9-d4cc4ef26d31
    Non-Cumulatives
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/da1640dc88e769e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62ebe07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62f8e07211d2acb80000e829fbfe/frameset.htm
    Here you will find all the Inventory Management BI Contents:
    http://help.sap.com/saphelp_nw70/helpdata/en/fb/64073c52619459e10000000a114084/frameset.htm
    2LIS_03_BX- Initial Stock/Material stock
    2LIS_03_BF - Material movements
    2LIS_03_UM - Revaluations/Find the price of the stock
    The first DataSource (2LIS_03_BX) is used to extract an opening stock balance on a
    detailed level (material, plant, storage location and so on). At this moment, the opening
    stock is the operative stock in the source system. "At this moment" is the point in time at
    which the statistical setup ran for DataSource 2LIS_03_BX. (This is because no
    documents are to be posted during this run and so the stock does not change during this
    run, as we will see below). It is not possible to choose a key date freely.
    The second DataSource (2LIS_03_BF) is used to extract the material movements into
    the BW system. This DataSource provides the data as material documents (MCMSEG
    structure).
    The third of the above DataSources (2LIS_03_UM) contains data from valuated
    revaluations in Financial Accounting (document BSEG). This data is required to update
    valuated stock changes for the calculated stock balance in the BW. This information is
    not required in many situations as it is often only the quantities that are of importance.
    This DataSource only describes financial accounting processes, not logistical ones. In
    other words, only the stock value is changed here, no changes are made to the
    quantities. Everything that is subsequently mentioned here about the upload sequence
    and compression regarding DataSource 2LIS_03_BF also applies to this DataSource.
    This means a detailed description is not required for the revaluation DataSource.
    http://help.sap.com/saphelp_bw32/helpdata/en/05/c69480c357354a8846cc61f7b6e085/content.htm
    http://help.sap.com/saphelp_bw33/helpdata/en/ed/16c29a27db6e4d81a015be8673eb80/content.htm
    These are the standard data sources used for Inventory extraction.
    Hope this helps.
    Thanks,
    JituK

  • How to extract PS data from sap r/3 to bw

    Hi,
    How to extract PS data from sap r/3 to bw
    PS data like plans,budget,accurals&commitmnets
    can any one help me regarding this..
    Thanks in Advance,
    Shankar.

    HI sankar,
    you can refer the belkow link to find the details on the relevant extractors and infoproviders
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/17/416d030524064cb2b8d58ffb306f3a/frameset.htm
    Regards,
    Sathya

  • How can I copy text from one card to another while creating cards using Iphoto?

    I created two cards with different pictures using Iphoto on Macnotebook. 
    I want to use the same text message.
    How can I copy text from one card to another?

    select the text and copy (edit menu ==> copy) tehn gpo to the next card and paste
    LN

  • How do I copy text from one layer to  another?

    I have Googled this but not a single answer seems to work.
    I am using Photoshop CS4 on OS X 10.6.7.
    OK, so  I  have a layer that  has some text in it.  I would like to  be able to  simply copy that  text  from one layer  to  another, but this seems to  be impossible as the Edit Paste menu item is grayed out after I have copied it in to the clipboard.  I can paste it into  the SAME layer, but not into another layer.
    This is how I am trying to  do  this.
    In the layer  with the text, click on the "T" icon to  the left.
    Click on the text, in the layer that I  want to  copy. 
    I select the text (either  by  clicking and dragging or pressing Command-A).
    Next I press Command-C.
    Then I  click on the layer In the Layer Panel) where I want to  paste the text.
    Pressing Command-V is impossible because the Edit-Paste menu option is grayed out!!!!
    WHY??????
    Perhaps more importantly, HOW do I copy text  from one layer to  another?

    First thing you can simply right click on the Text Layer and choose Duplicate Layer.  But that will create a new Text Lay
    er identical to the one you have.
    To answer your question in your case....  Create the Text Layer.   Make a New Layer.  Or have the layer you want to paste into visible.
    Highlight the text layer in the Layer Palette and Ctrl+Click (Win) Cmd+Click(Mac) so that you see marching ants walking around your text.
    Edit>Copy.
    Then highlight your Layer you want to paste into and hit Edit>Paste or Cmd+V / Ctrl+V.

  • How do i add text from a pc to iphone

    how do i add text from a pc to iphone
    like saved docs in microsof office

    You have to first install a document management app such as "Pages" or such on your iPhone.  Search the App store for one; there are many, some Free.
    Hope this helps

Maybe you are looking for

  • How to permanently delete voice memos from iPhone 4s?

    As you can see, I have over 387 voice memos somewhere on my phone, and I want them permanently deleted. I've deleted the voice memos through the voice memos app, and these appear to be all of the deleted voice memos. I tried deleted the voice memos p

  • How can I get apple to verify my AppleID so I can buy 1 App??????

    I am not a apple guy. I bought this apple mini to run 1 app to assist me at work. I have tried for two days to buy the app, BUT I cannot because my AppleID is NOT verified. I have asked for the verification e-mail about 100 times. I am definitely NOT

  • What is the EFI boot option for mac, and why is my Mac having problems with it?

    I just updated my 2012 Macbook Pro to 10.9, and I am having some problems with it. I have a bootcamp partition on it and regularly awitch between mac and windows, and 2when I went to switch nack to my Mac side, It said EFI boot nstead of the regular

  • "Do Not Disconnect" still shows after iTunes is closed!!!

    hello, i ahve another problem i think... i have just Restored my iPod back to Factory Settings... and i put all my data back on my iPod... BUT... when itunes says its finished updating, my ipod continues to show the "do not disconnect" label. when i

  • Why is Domain required for an identity in the FIM Service?

    I have a scenario where FIM is managing identity, but not all identities have an Active Directory account. I have a flag in the FIM Portal (Service) that indicates if a particular user is entitled to an AD account or not. My provisioning setup adds o