How to insert data coming from 2 different file adapters in to one DB adapt

Hi
i want insert data in to database containing two diffferent tables, so i imported tables in to DB adapter by creating relation ships.But, data for two tables are in xml format & two are in different locations.So, i used 2 file adapters to get data from 2 different & i used BPEL(Define service later) Service. now in bpel i used receive activity to receive one file adapter data ( i checked create instance in receive) then used transform activiy for tranformation & finally invoke activity to invoke DB adapteer........similarly i repeated sequetially to 2 file adapter, by keeping 2nd receive(no need to check create instance) next to invoke.*Problem is after deployment finished only data coming from 1st receive is inserting to the table...& 2 nd receive not working it showing as Pending & showing as Asynchronus Call back inte console*
I configured all the adapters perfectly..........Can any one can help me how to Commit 2 nd receive to insert data in the 2nd table
Regards,
jay

Thank u both for ur replay.........
I am doing this in 11g there is no problem regarding transform activity.
My requirement is
two different files from two different folders in a drive & we can't use one file adapter bcoz both have different columns(only few are common columns) so we use two different xsd's .So, i am using two file adapters to insert in database having two different tables with respect to two different files data coming from two file adapters. i am using one DB adapter to insert bcoz both tables are in same database with relationships & i used BPEL(define service later) .
NOW PLEASE SUGGEST ME THE FLOW IN BPEL TO INSERT BOTH FILES IN THERE RESPECTIVE TABLES IN DATABASE.
The flow i did 1st file adater--->receive--->transform---->invoke----->DB adapter.....Then again repeating this as keeping 2nd receive below 1st invoke
2nd file adapter-------->2nd receive---->2nd invoke------>same DB adapter
MY problem is only data coming from 1st process is inserting & 2nd one is not working as i discussed earlier........I USED READ FILE OPTION, UNCHECKED DELETE FILES OPTION & SET DIFFERENT POLLING FREQUENCY FOR BOTH FILE ADAPTERS.
I tried to set correlation but it is not working & later tried i kept non-blocking invoke as TRUE in DB adapter also didn't work...........also i tried this transaction property in bpel component _<property name="bpel.config.transaction"_
many="false" type="xs:string">required / requiresNew</property>...............BUT NO CHANGE...........
Regards,
jay
Edited by: 910162 on Apr 5, 2012 12:38 AM

Similar Messages

  • How to update dunning data coming from a file to data base

    Hi,
    we have a requirement wherein we are getting the dunning level, dunning date and reason code data for  customer accounts from a file and they have to be updated in the customer master data (knb5 table) and document level (bseg-rstgr).
    If anyone knows about any function modules or bapi which can fulfill this requirement please let us know asap.
    Thanks,
    Simmi

    CSFGF wrote:
    Hi ,
    I want to store the data into text file,which is coming from visa-read.
    I tried visa read to file ,but it's not working.
     Am new to labview plz help me out.
    Thanks in advance. 
     Share the code you have so far with us so that we can check what's going wrong.

  • Question about insert date value from xml file

    I want insert value into table from xml file. Every time I inserted value of date type into the table, I got the unpasable error message as following:
    oracle.xml.sql.OracleXMLSQLException: Exception 'java.text.ParseException:Unpars
    eable date: "2000-04-19 00:00:00.0"' encountered during processing ROW element
    Thanks for anyone that can fix my problem or give me any suggestion.
    email: [email protected]

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by matmnwx:
    I want insert value into table from xml file. Every time I inserted value of date type into the table, I got the unpasable error message as following:
    oracle.xml.sql.OracleXMLSQLException: Exception 'java.text.ParseException:Unpars
    eable date: "2000-04-19 00:00:00.0"' encountered during processing ROW element
    Thanks for anyone that can fix my problem or give me any suggestion.
    email: [email protected]<HR></BLOCKQUOTE>
    Use:
    OracleXMLSave sav = new OracleXMLSave(conn,tabName);
    sav.setDateFormat(<hier the date format in the XML-File>);

  • How to store as single record data coming from different ods to cube

    Hi All,
            we have the scenario like .
    Same contract values are uploaded from 3 ods to cube.In the cube this information is stored as 3 different records.
    Is there any option having same contract no and same fiscal period values should be stored as single record in cube.
    Thanks in advance.
    Regards,
    Shradda.

    Hi Shradda,
    On Performance Side .....consider below points
    1. Indexes on Cube ( That delete indexes before load and create them after Load ).
    2. Aggregate Design ( Decision on Base Aggregates, roll up Hierarchy , BW Statistics etc ).
    3. Partition of InfoCube ( Basically decision on No. of Partition )
    4. Data Package Size ( Always try to have larger Data Package so that preaggreation will reduce the no. of Data Records ).
    Best is Service.sap.com on BI page u will find material for performance . THat will help you .
    To assign points on the left of screen u will get radio buttons for assigning points for each person who has responded .
    Regards,
    Vijay

  • How to send data coming from modem to a text file

    hi frnds
    I have a modem program in which i can receive sms and call details.What i want is i want to store those msgs to a text file.
    The String variable to which that data is going is in readData() method of some Receiver.java file.
    I tried like this
    FileOutputStream file = new FileOutputStream(new File("modem.txt"));
    Receiver rcvr = new Receiver(); // here i am getting error " the constructor Receiver() is undefined
    String data = rcvr.readData(str);// here error is str cannot be resolved.
    file.write(data); // here i am getting error "Syntax error on token "data", VariableDeclaratorId expected after this token"
    can anyone help me ???

    You need to go and read some Javadoc for all the methods you are trying to call. While you're there have a look in java.io for methods that can write a String.

  • How to read data chanels from a file?

    Hi,
    I have some .CSV files, that have inside tree chanels( load force; opening force;travel distance) captured from two motors.
    I want to load more CSV files and analyze only two chanels ( opening force  and  travel distance) and send them to a report (travel distance to X-axis, and Opening force to Y-axis), but in the report to be all the chanels from all the CSV files that I loaded. ( to do a multi-load)
    My question is how can I read from the csv files the chanels that I am interested and then analyze them?
    I use this exemple from HELP to load the data:
    Dim MyFileNames, iCount
    Call FileNameGet("ANY", "FileRead","D:\BOF-MIU\BOF Archive\", "CSV data (*.CSV),*.csv", "All.lst", True, "Data selection"
    MyFileNames = Split(FileDlgFileName,"|"
    For iCount = 0 To Ubound(MyFileNames)
      Call DataFileLoad(MyFileNames(iCount))
    Next
    ' and then I try to analyze, but I don't know how to split the csv file to get only the chanels that I want
    Call ChnSmooth(filedlgfile &"[1]/Axis 1: Position (uu)","/Smoothed",12,"maxNumber" '... Y,E,SmoothWidth,SmoothType
    Thank you for your time.
    Solved!
    Go to Solution.

    Hi Marse,
    I'm very pleased that the "CSV" DataPlugin that ships with DIAdem enabled you to load your data files, that's one step down.  I think I understand what you mean by "I don't know how to split the csv file to get only the chanels that I want".  I think you want to load only the last 2 channels from each selected CSV file.  Here's how to do that-- first select the CSV files you want to load in the NAVIGATOR, then run the following VBScript
    FilePaths = GetNaviSelFiles()IF NOT UBound(FilePaths) > 0 THEN Call AutoQuit("No CSV files selected in the NAVIGATOR")Call DataDelAllFOR j = 1 TO UBound(FilePaths) FileName = NameSplit(FilePaths(j), "N")Call GroupCreate(FileName) Call GroupDefaultSet(GroupCount)Call DataFileLoadSel(FilePaths(j), "CSV", "[1]/[3-4]") ChnName(CNoXGet(GroupCount, 1)) = "Opening Force"ChnName(CNoXGet(GroupCount, 2)) = "Travel Distance"NEXT ' j Function GetNaviSelFiles() Dim i, j, iMax, Elements, FilePaths Set Elements = Navigator.Display.CurrDataProvider.Browser.SelectedElementsj = 0iMax = Elements.CountReDim FilePaths(iMax) FOR i = 1 TO iMax IF Elements(i).IsKindOf(eComputerFile) OR Elements(i).IsKindOf(eSearchFile) THENPath = Elements(i).Properties("FullPath").ValueIF UCase(NameSplit(Path, "E")) = "CSV" THENj = j + 1FilePaths(j) = Path
    END IF ' CSV fileEND IF ' Selected NAVIGATOR FileNEXT ' Selected NAVIGATOR Element ReDim Preserve FilePaths(j) GetNaviSelFiles = FilePathsEnd Function ' GetNaviSelFiles() 
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to insert date picker from drop down calendar in forms

    I want to insert a calendar to select the date from in the 'Date of Training' column in my forms instead of manually typing in the date each time - how do I do this please?

    There's no built-in calendar component in Acrobat forms. There are some third-party ones, though. The main ones are a free one that uses fields by FormRouter and a paid tool which uses a dialog object, developed by Max Wyss.

  • How to verify Data coming from R/3 to PSA

    Hi mates,
    I want to know MUST the 'No. of Records' returned from a RSA3 in R/3 be the same with the No of Records in PSA ? (if there are no manipulations ?)
    Also, how to I check how many data records has been loaded in the PSA ?
    Please advice

    Hi John,
       Yes, the nuber of records transferred from R3 should the number of records in PSA.
       The number of records in RSA3 gives the number of records collected to be sent in R3.
       To know the number of records in PSA, -> RSMO-> CLICK THE  2ND ICON FROM RIGHT(LIKE A COLORED STACK)-> tHIS WILL POP A SCREEN THAT WILL GIVE YOU INFO ON THE NUMBER OF RECORDS. It actually gives total number of packets and number of records in each packet etc.
       Hope this helps you..
    Thanks,
    Raj

  • How to embed assets (GUIs) from different files, which are sharing common assets (BGs, Buttons)?

    I'm working in a bigger game project with a lot of Popups and GUIs. We use [Embed ...] in the code, to be able to implement the user interfaces.
    At the moment we have all GUIs in only one FLA, as they are sharing a lot of assets. The problem is, when several people work on the file, it can be difficult to merge the results, so we are looking for a way to put each GUI in an own file. The problem are the shared assets.
    We tried a runtime shared library, but this does not work with [Embed] (actually, we don't want to load extra files).
    We tried an authortime shared library, but this just creates (synchronized) copies in each FLA, so in the target SWF with the embeds, we have duplicated assets.
    Does anybody have a solution for this problem?
    Thanks!

    Well...shame about me...The solution is don't use " ../ " !!!
    If you just start with the folder name (f.e. assets) , it locates this folder in the same directory as your swf...
    ..I ll get myself a new user name now

  • FM for validating date coming from a file

    HI All,
    I have to validate date that needs to be validated before passing it to DB.
    Is der any FM for same
    I tried CONVERT_DATE_TO_INTERNAL.
    But it accepts date only in one specified format.

    hi,
    try this
    Use Function module DATE_CHECK_PLAUSIBILITY to validate a date.
    1)If you given a invalidate date then it will ask you to enter a valid date.
    2)After changing it to correct value, you can click on SAVE button or if you want to continue with the invalid date then click on USE INVALID VALUE button.
    Try with this code.
    PARAMETER P_DATE TYPE SYDATUM.
    CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
    EXPORTING
    date = P_DATE
    EXCEPTIONS
    PLAUSIBILITY_CHECK_FAILED = 1
    OTHERS = 2.
    IF sy-subrc 0.
    MESSAGE E000(ZI) WITH 'INPUT DATE IS INVALID DATE'.
    ENDIF.
    Regards,
    RItesh J

  • How to insert data into two different lists in sharepoint 2010

    I have a page containing a dropdown list having two departments like IT, HR.
    If i select HR, one input form will display for filling HR related info, these i need to store in HR list.
    In the same way for other dept through custom coding.
    someone help me on this

    Hello
    chiranjeevi avala
    I think You can do it using event listener on Item Creation event of your HR List and put your functionality to add elements in IT list over their.
    for more info check this link:
    http://msdn.microsoft.com/en-us/library/office/ms437502(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/gg749858(v=office.14).aspx
    ***If my post is answer for your query please mark as answer***
    ***If my answer is helpful please vote***

  • How to convert date which is coming from a file

    Hi All,
    I am reading the content from the file in which date is also one field, but i am while inserting into the database i'm getting an exception because it is not able
    to insert into the database because the database date format is different from the one which is coming from a file.
    The datatype value of the database is Date.
    Can anyone help me on this if anybody having an idea.
    Regards,
    CH

    Hi,
    Even if I'm using JavaEmbeddedActivity also i'm getting an error. Please have alook at the below code once
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    public class ConvertDateToStringExample {
    public static void main(String args[]){
    DateFormat dateFormat = new SimpleDateFormat("dd-nn-yyyy hh:mm:ss");
    //to convert Date to String, use format method of SimpleDateFormat class.
    String strDate = dateFormat.format(getVariableData('inputVariable','payload','/client:process/client:Date'));
    System.out.println("Date converted to String: " + strDate);
    Error Message:
    Error(21,33): Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "DateProcess" of composite "default/DateProcess!1.0"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    Well it's not at all allowing me to insert the format while passing the input arguments.
    Regards,
    CH

  • How to store the data coming from network analyser into a text or excel file

    Hii everyone
    I'm using Agilent 8719ET network analyser and wish to store the data coming from netowrk analyser into a text file/ excel file.
    Presently I'm able to get the data on Labview graph using GPIB . Can anyone suggest how to go ahead after collect data sub vi. How can the data be stored into a file apart from showing on the graph?
    Attached is the vi for kind consideration...
    Looking for help
    Regards
    Rohit
    Attachments:
    Agilent 87XX Series Exceed Max Meas.vi ‏43 KB

    First let me say that your code really looks pretty good. The data handling could be made more efficient by calculating the number of datapoints that are going to be in the completed dataset and preallocating the entire array -- but depending upon your answer to my questions, the logic in the lower shift register may be going away - so we won't worry about that right now.
    The thing I need to know before addressing the data storage question is: Each time you call "Collect and Display Data.vi", how many element are in the array? Are you reading single data points, or a group of data? (BTW: if the answer to that question is obvious based on the way the other VIs are setup, I don't have the drivers so I can't tell what the setup values are.) Second, how fast does the loop iterate? Are we talking msec per loop?, seconds? fortnights?
    The issues here are two-fold: how much data? and how fast is it coming? The answer to these will tell you how to save the data.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to insert  data from different internal  table  into a data base table

    hi all,
             I want to insert a particular field in an internal table to a field in a data base table.Note that the fields in the internal table and database table are not of the same name since i need to insert data from different internal tables.can some one tell me how to do this?
    in short i want to do something like the foll:
    INSERT  INTO ZMIS_CODES-CODE VALUE '1'.
    *INSERT INTO ZMIS_CODES-COL1 VALUE DATA_MTD-AUFNR .(zmis_codes is the db table and data_mtd is the int.table)

    REPORT  ZINSERT.
    tables kna1.
    data: itab LIKE KNA1.
    data lv_kUNAG LIKE KNA1-KUNNR.
    lv_kuNAG =  '0000010223'.
    ITAB-kuNNR = lv_kuNAG.
    ITAB-name1 = 'XYZ'.
    INSERT INTO KNA1 VALUES ITAB.
    IF SY-SUBRC = 0.
    WRITE:/ 'SUCCESS'.
    ELSE.
    WRITE:/ 'FAILED'.
    ENDIF.
    Here lv_kunag is ref to kna1 kunnr passed in different name
    In internal table .
    Try and let me know if this logic dint work.

  • How to insert data from *.dmp file to  oracle 11g using Oracle SQL Develope

    hi
    i backup my database using PL/SQL developer and made *.dmp file
    how to insert data from *.dmp file to oracle 11g using Oracle SQL Developer 2.1.1.64
    and how to make *.dmp file from sql*plus ?
    thanks in advance

    Pl/Sql developer has a config window, there you choose the exec to do the import/export.
    Find it and his home version, it may be exp or expdp, the home version is the version of the client where the exp executable is.
    Then use the same version of imp or impdp to execute the import, you do not need to use Oracle SQL Developer 2.1.1.64. If you want to use it, you must have the same version in the oracle home that exp/imp of sql developer use.

Maybe you are looking for

  • Officejet Pro 8000 slow to select for color prints

    I just installed Officejet Pro 8000 and immediately noticed how slowly the printer is selected in printer options box when I am doing color printing. It takes about 30 sec-1 minute to finalize the selection of this as my printer for the job. I have a

  • PR items in Sales order

    Hi Gurus,               Here is my requirement. 1. If some materials are not available in sales order i should raise a PR/PO for these line items. 2. These line items should receive to selling organization not to a customer. 3. How can i link Sales o

  • CPU-Upgrades: can Sonnet and PowerLogix Firmware live next to each other?

    Hi, I have previously installed a Sonnet firmware with a Dual 1,8GHz 7447. This also worked with a Single 1,2GHz 7455 Sonnet, no reflashing. Now I got a PowerLogix/Newertech 7448 Single 2GHz and I am asking myself, if I first have to uninstall the So

  • Wifi has become completely unreliable, going in and out

    I had everything working perfectly. My time capsule was broadcasting a strong signal throughout my house. Out of the blue, all my devices are now connecting and disconnecting continuously to the router (no matter the distance). It is the strangest th

  • Is Premiere Elements 10 Compatible with Mac OS X  v.10.7.3?

    I am looking to use a sony Cybershot 16.2 Megapixel HD digital camera to make some in-house videos and thout that this would be some great starter video software, but I want to make sure that it will be compatible with my system. Any feedback is appr