BPM with 2 JDBC outbound interfaces and one inbound file interface

Hi,
I have a scenario where data is coming from  different databases into XI and after processing the data it creates a file at the target side. Some calculations are to be done in the middleware and the result will be sent through a file.
My question is
1. BPM will be used in this scenario?
2. There will 2 outbound interfaces(one for each database access), 2 abstract interfaces and one inbound interface(file). Please correct me if I am wrong.
3. I have to multiply the value of field from one database to a particular value in another database and get the final result. For e.g exchange rate from one database is multiplied to Transaction currency in another database and get the group currency value in the output. Can anyone give the sequence of steps in the intergration process for this scenario as I am new to BPM.
Thanks,
Aparna

Thanks a lot Liang and madhusudana for your responses.
Since I can use JDBC lookup for this in my nornal scenario I think no need for BPM.
I have created the advanced UDF for JDBC lookup code. Below is the code.
String Query = " ";
Channel channel = null;
DataBaseAccessor accessor = null;
DataBaseResult resultSet = null;
MappingTrace importanttrace;
importanttrace = container.getTrace();
// Build the Query String
Query = "Select home_cur_code FROM  gltrxcp WHERE company_code = '" + a[0] + "' ";
try{
//Determine a channel, as created in the Configuration
channel = LookupService.getChannel("BS_JDBC_send","cc_JDBClookup_rec");
//Get a system accessor for the channel. As the call is being made to an DB, an DatabaseAccessor is obtained.
accessor = LookupService.getDataBaseAccessor(channel);
//Execute Query and get the values in resultset
resultSet = accessor.execute(Query);
importanttrace.addWarning("resultset" + resultSet );
for(Iterator rows = resultSet.getRows();rows.hasNext();){
Map rowMap = (Map)rows.next();
result.addValue((String)rowMap.get("HOME_CUR_CODE"));
importanttrace.addWarning("result" + result );
catch(Exception ex){
result.addValue(ex.getMessage());
finally{
try{
if (accessor!=null) accessor.close();
catch(Exception e){
result.addValue(e.getMessage());
But I am not getting the desired result. I am getting result as 'Null'.
Can you please help in resolving this issue. I have also used trace for find out where it is passing Null and found that 'result' is coming null. Do i also need to parse it before passing it to 'result'?
Can anyone send sample code for JDBC lookup.

Similar Messages

  • Can I supress BPM for Asyn outbound and syn inbound proxy interface

    Hi all,
    Is there any other alternate to remove the BPM at asyn outbound and syn inbound proxy interface. Reason because I can create another outbound proxy interface at the receiver. But at receiver side we already invested huge code to develop the sync server proxy. So the intension is, with out disturbing the code Can I make the message flow with out BPM?
    Because the reason of removing BPM is for a simple interface like this I don't want to use BPM. souce is JDBC and receiver is ECC 6.0. I know with out BPM it can not be achieved but in PI 7.1 EHP 1 by any chance can we do?
    I mean during response mapping from server proxy shall we use look up function to achieve?

    This bean I have to use at sender channel right?
    Yes
    I mean is it is limited to JMS adapter?
    No
    You can find more information in the Wiki which deals with FILE  to RFC synchronous...using the above Module

  • I have two apple ID's, one with all my apps and one with only Mavericks. Will Mavericks update automatically if i'm not logged in to the apple ID I used to download it?

    I have two apple ID's, one with all my apps and one with only Mavericks. Will Mavericks update automatically if i'm not logged in to the apple ID I used to download it?

    Some things are mixed up here, seemingly...
    I seem to have two Apple ID's attached to my e-mail.
    An Apple ID is a valid email address, apparently. How can those be "attached to your email"... what email?
    Facetime will not verify my e-mail address because it is associated with the other account.
    This doesn't make sense. You can register multiple, even non-Apple-ID, email addresses and their aliases with FaceTime.
    So, maybe you can explain your problem better - what you want and the steps you've taken and what you have so far. If something doesn't work, please tell the exact error message, too.

  • I live in a home with two other people, and one housemate tried to sync up his content from iTunes and iCloud onto another housemate's new iPad. the iTunes library only contains my content. is there any way to retrieve the there person's iCloud?

    i live in a home with two other people, and one housemate tried to sync up his content from iTunes and iCloud onto another housemate's new iPad. the iTunes library only contains my content. is there any way to retrieve the other person's iCloud? Can they go out of my account? Their content is saved on their iPads, but can another iCloud be on the same home computer?

    The syncing of music is one way, computer to phone. See this helpful document from a fellow user. Credit goes to the author.
    https://discussions.apple.com/docs/DOC-3141

  • HT1310 when i starst my mac i get a flashing folder with a question mark. i tried rebooting and holding the option button then i get 2 boxes, one with a refresh arrow and one with a forward arrow neither of them seem to do anything. now what

    when i starst my mac i get a flashing folder with a question mark. i tried rebooting and holding the option button then i get 2 boxes, one with a refresh arrow and one with a forward arrow neither of them seem to do anything. now what

    Here is an article that describes what it is supposed to do:
    Startup Manager: How to select a startup volume
    If no Volumes are shown, it is telling you there are no potentailly bootable Volumes attached. That means your boot drive has died or the bootable image on it is unrecognizable.
    What Mac Pro ? by year, GHz, number of processors, screen size?
    What Mac OS X ?

  • Is there a cable with two Apple connections and one USB connection?

    Is there a cable with two Apple connections and one USB connection?

    it would be possible without damage to the phones if only the charging pins was used
    but it would mean the 2 phones would charge 1/2 as fast as normally

  • I have a MBP 15" with iPhoto 9. When right clicking on icon in dock 3 iPhoto libraries come up; one empty, one with 35,000 photos and one with 30,000 photos.  How can I delete the empty one and merge the other two without getting duplicates?

    I have a MBP 15" with Iphoto 9.  When I right click on icon in dock 3 iPhoto libraries come up; one empty, one with 35,000 photos and one with 30,000 photos.  How can I delete the empty library and merge the other two without getting duplicates?

    You can delete the empty one by dragging it to the trash ( test everything before emptying the trash)
    Merging libraries requires iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -  it is the only current solution to merging libraries
    LN

  • Firefox opens with a window that says "Checking for compatibility for Add-ons" then it always opens 2 tabs... one with my home page and one that says Congratulations, Firefox is up to date. How can I stop it from starting that way?

    Firefox opens with a window that says "Checking for compatibility for Add-ons" then it always opens 2 tabs... one with my home page and one that says Congratulations, Firefox is up

    Hi konee,
    You should look at [https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox this article about that specific issue] and the article [http://kb.mozillazine.org/Preferences_not_saved Preferences not saved]. These should give you all the information you need!
    If that doesn't work:
    # Type about:config in the address bar
    # Click ''I'll be careful, I promise'' if prompted
    # In the Filter input field type ''startup''
    # Double click on startup.homepage_override_url
    # Delete the text string and click ''OK''
    # Close Firefox and reopen the window to verify that it has worked.
    Hopefully this helps!

  • Inbound File Interface

    Hello,
    I have a scenario where there is an inbound file interface coming into SAP. There is no middleware . The source will be sitting in the FTP server from where it will come into SAP. The data we are talking is data which is encrypted due to the confidentiality of the data. My question is  a) where does the data get decrypted ? , secondly , how secure is this decryption environment , thirdly , how is the data decrypted , do we have standard SAP FMs available to do the same
    Thanks
    Anupam

    try to read below link.....
    decrypt your file using external OS command (SM49).
    Re: encrypt and decrypt files

  • I downloaded some videos to Premier Elements 13 from external hard drive but now the external hard drive is damaged. I tried to open the videos on the organizer which it shows the video but with a yellow ? and says missing file. Is there anyway I can open

    I downloaded some videos to Premier Elements 13 from an external hard drive but now the external hard drive is damaged. While setting up my new MAC the external hard drive was dropped and I have been told by an outside source they could not retrieve the files.  It had 4 years of photos and videos on it. I remembered that I had downloaded some of the videos from the external hard drive (before it was broke) to Adobe Organizer 13 when I installed the Adobe 13 on my MACOS X 10.9.5.  I tried to open the videos on the organizer which it shows the video but with a yellow ? and says missing file. Is there anyway I can open these videos?
    Any input is greatly appreciated!! I am sick over losing the videos and had a little hope on Adobe Organizer until I was unable to open them.  I am thinking it is due to my external hard drive not being plugged in. I thought when I transferred from the external hard drive to Adobe 13 that it would be there without the external hard drive needing to be attached but maybe I did something wrong.
    Thanks again for any help!!!!

    jnrmendonca
    It had 4 years of photos and videos on it.
    To what did your camera record those photos and videos - camera's internal memory, inserted memory card, other?
    Any remote chance that the latter may still exist for you to use to download the camera files to your new external hard drive?
    ATR

  • Problems with JDBC/Oracle version and types.

    Hello all,
    I am having a boring version problem here. We, recently, changed our Oracle 8i (8.1.7) for a Oracle 9i (9.2.0.6).
    We have several Java/J2EE applications running on JBoss and accessing that Oracle Database.
    We haven´t changed the JDBC driver version and we started to notice that a lot of cursors have been stucked and are not been closed.
    Searchin in Google and metalink we´ve decided to update ou JDBC driver version from classes12_8.1.7.1.jar for this ojdbc14.jar (9.2.0.5).
    After this change we started to have a lot of ClassCastExceptions, specially in this case:
    When my app call this procedure:
    MY_PROC(USR IN VARCHAR2, ID OUT NUMBER)
    in my Java app, using such code:
    CallableStatement call = conn.prepareCall("{ call MY_PROC(?,?) }",
    ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    call.setString(1, user);
    call.registerOutParameter(2, OracleTypes.INTEGER);
    call.executeQuery();
    BigDecimal id = (BigDecimal) call.getObject(2);
    Instead of BigDecimal, the JDBC driver returns me an Integer object, using driver version 9. With the 8i driver it works fine (although we still have the cursor problem).
    The fact is, we have a lot of points to change in our apps if we change the driver version, which is not good.
    Is there any other suitable thing we can do to solve our problem and minimize our work.
    Recall we use Java / JBoss / Oracle 9i.
    Thanks
    Daniel

    Hello all,
    I am having a boring version problem here. We, recently, changed our Oracle 8i (8.1.7) for a Oracle 9i (9.2.0.6).
    We have several Java/J2EE applications running on JBoss and accessing that Oracle Database.
    We haven´t changed the JDBC driver version and we started to notice that a lot of cursors have been stucked and are not been closed.
    Searchin in Google and metalink we´ve decided to update ou JDBC driver version from classes12_8.1.7.1.jar for this ojdbc14.jar (9.2.0.5).
    After this change we started to have a lot of ClassCastExceptions, specially in this case:
    When my app call this procedure:
    MY_PROC(USR IN VARCHAR2, ID OUT NUMBER)
    in my Java app, using such code:
    CallableStatement call = conn.prepareCall("{ call MY_PROC(?,?) }",
    ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    call.setString(1, user);
    call.registerOutParameter(2, OracleTypes.INTEGER);
    call.executeQuery();
    BigDecimal id = (BigDecimal) call.getObject(2);
    Instead of BigDecimal, the JDBC driver returns me an Integer object, using driver version 9. With the 8i driver it works fine (although we still have the cursor problem).
    The fact is, we have a lot of points to change in our apps if we change the driver version, which is not good.
    Is there any other suitable thing we can do to solve our problem and minimize our work.
    Recall we use Java / JBoss / Oracle 9i.
    Thanks
    Daniel

  • Evironment with two Netweaver systems and one BPC server

    Hi there,
    I heard it could be possible to use only one BPC microsoft server and direct one development/test netweaver system and one production NW system to exactly one BPC server?
    Can I somehow define two instances on the BPC server? How about transport management?
    We plan to implement BPC NW 7.0 or 7.5 if version is available in time.
    Thanks in advance,
    Dierk

    Hello Nilanjan,
    thanks for the immediate response!
    I understood that you can access different BPC servers using one client. That would be achivable entering different servers withtin the connection wizard?
    My question is if it would be possible to only have one physical .NET server and the dependent BPC client from where I can access two separate Netweaver servers (test/production). This would need something like a switch where the Netweaver system can be selected.
    Reason is that my customer gets his servers hosted and wants to avoid to pay for two .NET servers.
    To run development and production version of Netweaver on one physical system is not possible/recommended at all I heard.
    Kind regards,
    Dierk

  • Recovering word and one note files from broken Nok...

    I have a nokia lumia 800 with a broen screen so I can't use it.  It will cost £70 to fix it so I might try to get a new phone instead. I want to get all my word and one note documents off the phone though. Does anyone know who? I can't seem to do anything through Zune.  I am signed up to Onedrive but I don't seem to be synced to it!
    Thanks
    Clare

    download this windowsphone 7 file manner enabler.
    http://www.softpedia.com/dyn-postdownload.php?p=187855&t=4&i=1
    the connect your device to your PC and wait for it to be found.
    click on enable
    then disconnect and reboot your phone.
    reconnect to PC and now you should be able to see the basic file folders.

  • Problem with Oracle 9i disk1 and 2 zip files

    I am able to download disks 1, 2, 3 but only disk 3 unzips without any problems. I've tried unzipping it with winzip and jar. I need the database so I can study for the oracle certs. I am downloading with a cable modem on a windows 2000 box. Any help would be appreciated. Is there a way to order a cd or something?

    Mathew I had the same problem. I've installed successfully when i unzipped Disk 2 and Disk 3 files again. You should unzip disk 2 and 3 files repeatedly because they weren't saved on your hard disk. you thought you saved them on your disk but you should check again on your disk. If not found, you should try to unzip again. Hope this helps.
    Bo

  • How to Configure iCloud with multiple iCloud accounts and one apple id

    I need some help from the icloud experts. I almost have my arms around this, but not completely.
    What I want to end up with is the following:
    One account that both my wife and I use for shared contacts, calendars, photostream and find my device.
    Separate account for my email among several devices.
    Separate account for my wife for her email among several devices.
    Now what I curently have is an apple id (*.mac.com), which is the main account used for purchases, etc. It has my mail, backups, and 25GB of space as a result from MobileMe.
    I created a separate icloud account for my wife, using her Apple ID, so that her mail stayed separate from mine. However, now we have separate photo streams, contacts, etc, which is getting confusing and cumbersome.
    I would like to keep my apple id as the main account since it already has the 25GB of space. So tell me if the following make sense.
    I setup the master account using my apple id (the one with 25GB of space) for both of us, and enable the contacts and calendar syncing for all of our devices.
    I turn the mail and Safari bookmarks syncing on for my devices; but turn it off  for my wife's devices.
    Then I use my wife's account on her devices to sync her mail, bookmarks, etc.
    Would this work or is there another combination to use? Ideally a family oriented apple id would be good for the master account, but it wouldn't have the 25GB of space unless I purchased it. I'm trying to get around that if possible. I have tried to find something like this on the discussion boards but haven't had luck yet.
    Thanks in advance for any help.

    Set up your mac.com account again on devices.  Turn off Mail and other data syncing with this account on your wife's devices for data that you want to keep separate.  Then set up a second ("secondary") iCloud account on your wife's devices to sync Mail.
    If you already set up a separate iCloud account on your wife's devices, on her devices go to Settings>iCloud, tap Delete Account, then sign back in your your mac.com ID.  Turn on the data you want to share with this account across all devices; don't turn Mail on.  Then go to Settings>Mail,Contacts,Calendars>Add Account>iCloud and enter her separate iCloud credentials and turn Mail to On.
    The only downside to this approach is that her email will be fetch, not push email.  Push email is only supported in the main ("primary") account, not a secondary account.
    The limitations to be aware of with secondary accounts are that only the primary account can be used for Photo Stream, Bookmarks, Documents, iCloud Backup and Find My Device.  Also, push mail only works for the primary account; secondary account mail is fetch.

Maybe you are looking for

  • Adobe Reader 11 (XI) won't open file via command line

    Hello, I have posted this question to probably inapropriate topic earlier today, so I am repeating it again. I installed newest Adobe Reader XI today and when I tried to open certain pdf file via command line, it reported a syntax error. Now, this sy

  • Waking from sleep issues

    Hi, I have a 17" G-5 i-sight imac, running os 10.4.8, and have been having wake from sleep issues similar to what others have posted. These first showed up in late August. About 25 % of the time, when waking the computer from sleep the screen remains

  • TS1424 What about error -1202?

    What about error -1202? I've had problems with Win 7 64bit installations spanning iTunes 10 to now iTunes 11. Connecting to the store generates -1202 unexpected errors. I can't seem to find clear definition to what error code -1202 is...

  • Probelm doing a large insert. Can anyone help?

    Hi Folks. I am trying to run the following piece of code. For some reason the system hangs and crashes after about 8000 rows have been inserted. Makes no odds whether I do one big commit at the end of the process or do one every thousand rows (as wit

  • How do I remove the circular icon on my iphone that allows me to control it?

    I had an iPhone 4S with a broken power button.  A local tech enabled a feature that placed a circular, faded icon on my homescreen that allows me to control the phone.  I have since gotten a new phone and would like to disable the feature.  Anyone he