SOAP to FILE using BPM to catch exception and save error into the table

Hi All
My scenario SOAP to FILE using BPB is working fine but now I have a requirement to catch an exception if something wrong happened on a runtime and save it into the tracking table, is that possible, if it is please point me to the similar step by step scenario.
Thanks in advince,
Yonela

Yonela:
As your original requirement is to save the eorr data into your database table, however, you was mis-leaded to alerting field.
You are using BPM now, then that is the reason that I suggested to use excpetion branch.
It does not matter SOAP to File seneario, it does not have to be SAP - RFC scenario, your BPM willl interact with database system.
First you have block which include all the steps that possible generate exception: like Transformation step, and your final Aync send step (which will send data to file).
Secondly, define a exception handler for that block.
3. Modify each steps that posssible generate exception: e.g. transformation step, send step, add exception handler to them.
4. Create exception branch in side the block
5. Add another send step inside your exception branch, which will call RFC, RFC will write data to your table.
6. If you want, you can add a control step in exception branch to trigger a alert, or terminate current process.
At run time, any steps that trigger exeption,will cause your exception branch executed, and RFC will be called to insert data into your database table.
Regards
Liang

Similar Messages

  • File to file using bpm

    Kindly help in this regards.. its a file to file Bpm collect message scenario
    1) my ? is i am having two sender data types i combined in message mapping and mapped to target structure but when i want to send file how can i send two diffrent files.
           1) wht i did is when i press test button i gave details of datatype1 and removed the other xml code   and paste it in notepad and anmed as file1 and i repeat the same thing for file 2 aslo.
    2) i did this scenario by seeing saptechnical (file to file using bpm)
    plz help me out how to achieve this probs.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">MESSAGE_NOT_USED</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Message is not used by any processes</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi Raju,
    As per my understanding you want to merge two files and send it to the target. Then you can do it with and without BPM. But, since you are using BPM then you have to create Integration Process in IR and design it like:
    2 receiver step
    1  sender step and 1 transformation step
    Follow these steps:
    Create 2 Source DT, 1 Target DT
    Create 2 Source MT, 1 Target MT
    Create 2 Outbound MI, 2 Abstract MI for Source MT, create 1 Inbound MI and 1 Abstract MI for Target MT.
    Create Message Mapping. Insert 2 Outbound Source and One Inbound Target and MAp it whatever you want.
    Create Interface mapping in same way as Message mapping only difference will be use Abstract interface in both sides.
    Now go to BPM.
    Create BPM with steps like this
    Start -> Fork -> Two receive (define co relation)-> after fork Transformation step (Give IM) -> Receiver Dtrm -> Send -> end.
    Configure ID -
    Create 2 sender Agreement (2 communication channel (Bus Sys to IP )), 1 receiver agreement (1 CC, IP to Business System)
    I hope it will be helpful for you.
    Thanks
    Nutan

  • Collect Multiple IDOC(Single IDOC type) to single file using BPM

    Hi All,
    When i am generating multiple IDOC for the same message type, i am getting multiple payload for the same as a result i used to get multiple files generated in application server.
    Now if i use BPM only to collect multiple IDOC to a file then what all the steps that i need to follow for the same.
    Ex: I want to post 10 IDOC for a single IDOC type,, Now using BPM in XI i want to collect all the 10 IDOCs with multiple payload into one single message and then want to process this in XI to generate the file.
    It would be glad if anyone refer me a good step by step blog for the same.
    Thanks in advance,
    Jay

    Thanks a lot Abhisek.
      I have also got a blog explaining the exact thing. But in the blog the ID part was missing which is present in the link you have provided.
    I will be glad if you can through some light on the ID part,, however the IR part and the BPM part is now mostly okay to me.
    I will configure this today only,, and may seek your help for any huddle.
    Thanks a lot once again.
    Regards,
    Jay.

  • Multiple IDocs to File using BPM

    Hi All,
    I have configured a scenario of multiple IDocs to file using BPM.  In this scenario while I am triggering IDoc from R/3 system it is sent to the external program.    I am getting in the status record of WE05 as IDoc is sent to an external system with status code 03. But I am unable to view the same message in moni of the XI system.
    Also I have checked the ALE settings on both the sender and receiver side and it is fine.
    Also in SM58 nothing is there in queue.
    Can anyone solve this issue of mine?
    Cheers,
    Neethu.

    Hi,
    in many cases it's a problem with the RFC connection. You should try an authorization test in SM59 of the R/3 system.
    This might also be useful:
    http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/frameset.htm
    Regards
    Patrick

  • Merging two files using BPM

    Hello frens,
    I have to do a scenario which will merge to files into one file using BPM....
    Means for example :
    File 1 contains these fields:
    First Name
    Last Name
    File 2 :
    First Name
    Last Name
    The output File which I required is :
    First Name
    Last Name
    First Name
    Last Name
    Can anyone send me the step by step procedure fr this scenario?
    Thanks in advance

    HI go through these links,
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Many other examples can be found under the following link at help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    And some weblogs
    https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    /people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****
    /people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
    Also have a look at these seminars,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
    go through these links,
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Many other examples can be found under the following link at help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    And some weblogs
    https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    /people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****
    /people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
    Also have a look at these seminars,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
    go through these links,
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Many other examples can be found under the following link at help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    And some weblogs
    https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    /people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****
    /people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
    Also have a look at these seminars,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
    Note: reward points if solution found helpfull
    Regards
    Chandrakanth.k

  • About File To File using BPM

    Hi,
    Can any body send the file to file scenario using BPM and also  some other typical scenario's on BPM with screenshots.
    Thanks in advance .
    Regards,
    Prem.S

    hi
    these r some useful blogs for bpm scenarios.
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    FILE TO FILE SCENARIO USING BPM
    Interface mappin in File to File using BPM
    /people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    /people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Regards
    rajesh

  • Regarding file 2 file using BPM

    Hi Experts,
                     In file to file using BPM scenario my file is being picked in the server but it is not displaying again after polling interval. please help me one this issue as early as possible.

    Hi,
    File is picked up from the server is ok, but it does not mean that it reached to IE.
    Just go to RWB-Component MonitoringAdapter EngineCommunication Channel MOnitoring. and check the Sender File adapter from there and let us know the status??
    If it is in Error it cannot be delievered to IS and BPE, so first check it
    Thanks
    Farooq.

  • Joining data in multiple files into a single file using BPM

    Hello All,
             Can someone kindly give me any documentation or step by step procedure to join data in multiple file and display it all in one single file, using BPM.
    Thanks in advance,
    XI_Novice

    hi,
    Check this blog also...
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    regards

  • Integrtion Scenario using BPM with two sender and multiple receiver

    integrtion Scenario using BPM with two sender and multiple receiver
    How many Application Components are required?

    Hi Vinod,
    1) In integration repository you can have one or many software components it depends on your landscape orchestration
    2) In integration direcory you need at least one service for bpm and one or many for each system in your bpm
    also each connection between systems and bpm must have receiver determination and so on.
    Advice: Please treat BPM as a separate system.
    best,
    Wojciech

  • How do I download and saves html files off my website to store and save using Dreamweaver CS3?

    How do I download and saves html files off my website to store and save using Dreamweaver CS3?
    I need to save all files from web and store onto a drive to reupload to a new domain name.  I use Dreamweaver CS3.

    First define your Local Site folder in Dreamweaver.  DW will use this folder to store your site files.
    Go to Manage Sites > New or Edit site.  See screenshots.
    Servers:  Enter your remote server's log-in details.  When complete, hit TEST to see if the connection is working.  If all is well, hit SAVE.
    From the Files Panel (F8), click on Remote Server to show the files that are currently there.  Click the green Down Arrow to GET files from remote server to your local site folder.
    Nancy O.

  • HT1338 I use  Outlook for my email, and about 90% of the time when I wont to attach a pdf or jpg file it failes and the email masage crashs. The only was I can get my Outlook to work is if I swich to Firefox.

    I use  Outlook for my email, and about 90% of the time when I want to attach a pdf or jpg file it failes and andout 50% of the time when I'm trying to send a standered text email I also failes and the email masage crashs. The only way I can get my Outlook to work is if I switch to Firefox. I would rater not have to swich all my bookmarks over to Firefox.
    Has any one eals had this problem?

    That's an Outlook issue. You'll probably get better responses posting on the Office for Mac forums.

  • I accidently created files using a Free Trial version of InDesign. Now the files are gone. Where did they go? How do I get them back? I pay for this service...

    I accidentally created files using a Free Trial version of InDesign. Now the files are gone. Where did they go? How do I get them back? I pay for Creative Cloud... but used the wrong login apparently.

    Files you save don't disappear, even if you no longer have the software that created them. They're right where you saved them.

  • What makes a file unreadable or readable when trying to move it into the library

    What makes a file unreadable or readable when trying to move it into the library

    Any more info? It could be many things including what you are doing - you do not "move" anything to the iPhoto library - you use iPhoto (or image capture) to "import" into iPhoto
    We know nothing except what you tell us so full information and correct terminology is critical to getting valid answers - the more that is left to one guessing and assuming the better the chance of a bad answer
    LN

  • I have a mac air and an iMac and both have Pages. I use Pages on my air and save all documents to iCloud. I can see them on my iMac but it won't open with Pages. It becomes visible if I change it to open with preview but I can't interact with it.

    I have an mac air and an iMac 5k - pages runs on both.  I use pages on my air and save all my documents to iCloud drive. I can see the documents on my iMac but some won't open in pages which is bizarre? They will open if I change it to open with preview but then all I can do is read it  - I can't add to the document - All I want is to be able to see all my documents on all my devices and to be able to have them sync so I can add to the documents from  any of my devices. I also have an iPhone 6 and an iPadair2 but I would be happy just to have the iMac and macair sync for starters. I have folders within folders in my documents,. The folders which contain pdf's and individual files open OK . The one I am having difficulty with is the file which I use for ongoing correspondence - in other words it is quite long - I keep adding to it  ( by copying letters in and letters out so I can see a sequential history of what has been going on by scrolling down ) in date order so that it could be 1 - 100 pages long - but I don't think the size is a problem. I don't understand why some folders can open and others not . Has anyone any suggestions please. I have been trying to get this to work for months since iCloud drive came in. It has got much better but it is still not good enough  - or maybe it's me?

    All I can suggest is that you open that file on the MBA and save it as a new file, then see if you can open the new one on the iMac.

  • How can I do to acquire and save date in the same time and in the same file when I run continual my VI without interrupti​on.

    I've attached a VI that I am using to acquire amplitude from Spectrum analyzerse. I tried to connect amplitude ouput to the VI Write Characters To File.vi and Write to Spreadsheet File.vi. Unfortunately when I run continual this VI without interruption, labview ask me many time to enter a new file name to save a new value.
    So, How can I do to aquire and save date in the same time and in the same file when I run continual my VI for example during 10 min.
    Thank you in advance.
    Regards,
    Attachments:
    HP8563E_Query_Amplitude.vi ‏37 KB

    Hi,
    Your VI does work perfectly. Unfortunately this not what I want to do. I've made error in my last comment. I am so sorry for this.
    So I explain to you again what I want to do exactly. I want to acquire amplitude along road by my vehicle. I want to use wheel signal coming from vehicle to measure distance along road. Then I acquire 1 amplitude each 60 inches from spectrum analyzer.
    I acquire from PC parallel port a coded wheel signal coming from vehicle (each period of the signal corresponds to 12 Inches). Figure attached shows the numeric signal coming from vehicle, and the corresponding values “120” and “88” that I can read from In Port vi.
    So I want to acquire 1 time amplitude from spectrum analyser each 5
    period of the signal that I am acquiring from parallel port.
    So fist I have to find how can I count the number of period from reading the values “120” and “88” that I am acquiring from In Port (I don’t know the way to count a number of period from reading values “120” and “88”).
    Here is a new algorithm.
    1) i=0 (counter: number of period)
    2) I read value from In Port
    3) If I acquire a period
    i= i+1 (another period)
    4) If i is multiple of 5 (If I read 5 period)
    acquire 1 time amplitude and write to the same
    file this amplitude and the corresponding distance
    Distance = 12*i). Remember each period of signal
    Corresponds to 12 Inches).i has to take these
    values: 5,10,15,20,25,35,40,45,50,55,60............
    5) Back to 2 if not stop.
    Thank you very much for helping me.
    Regards,
    Attachments:
    Acquire_Amplitude_00.vi ‏59 KB
    Figure_Algorithm.doc ‏26 KB

Maybe you are looking for

  • All images in Project not showing up

    I have 2000 images in a project but for some reason I can only get one subset of them [89 images] to show up. I have checked to show all, I've gone into smart albums and they all show up but only 89 show up when I want to open the entire project...Th

  • 7-pass erase: did it work?

    Hello, I posted this question at the end of another thread, but I thought I'd start a new one.. I'm selling my old iMac G5 20" (purchased in '05) and erasing personal data for security reasons, etc.. I booted from install disk and set my mac to 7-pas

  • Creating Password Protected MS WORD File

    Hi, i reported a program which creating password protected ms excel file using OLE2 objects in local harddisk of computer. can i report same program with ms word file? Can somebody help me pls? Thanks.

  • HT4714 Compressor crashing after update to 4.1

    Compressor is crashing on my macbook pro (mavericks) after 4.1 update. this happens from within iMotion5 as well as when using as stand alone app.

  • Issues with CS5 Illustrator .ai files

    I just recently purchased CS5 Illustrator. After creating the file as an .ai file, I am having an issue with reopening the file. I get an error. Any suggestions?