How to merge/append two files in sequence using BPM

Hi All,
My senario is to append two files data into a  new file on target system, only if the two files are available on source system. In case one file on the source system, no need to process file. Data in the new file should be in sequence means 1st file data then 2nd file data.
Please suggest me how can i achieve this functionality using BPM.
Thanks & Regards
Sreeni

For the first part (two files required) design as per Prateek's suggestion
Data in the new file should be in sequence means 1st file data then 2nd file data.
create a data structure which will be a combined structure of File1 and File2....target structure should have first reference for File1 and then for FIle2....than having two MTs (File1 and File2) at the source and the target MT at the receiver create your mapping......this will ensure that File1 data occures first and then File2 data.
Regards,
Abhishek.

Similar Messages

  • How to Merge 1 PDF file  to 50 PDF together not one by one. Using Acrobat 9 Windows xp.

    Hi, How to Merge 1 PDF file  to 50 PDF together not one by one. Using Acrobat 9 Windows xp.

    Depending on just what you are trying to do, you can also use DOCUMENT>Insert Pages to add multiple documents or simply drag and drop the documents into the current document (OK, I have not tried this one).

  • Can anyone tell me how to merge my two Apple accounts?

    Can anyone tell me how to merge my two Apple IDs?

    You can't because all apps are tied to the Apple ID they are purchased with and is not transferable.

  • How can I convert .pdf file to .doc using the free adobe reader app? when I try to convert the .pdf file it asks me to sign in. when I click on "sign in", I am taken to a service subscription page. So, no free conversions using free adobe reader app?

    how can I convert .pdf file to .doc using the free adobe reader app? when I try to convert the .pdf file it asks me to sign in. when I click on "sign in", I am taken to a service subscription page. So, no free conversions using free adobe reader app?

    As has been mentioned Adobe Reader cannot export PDF page content. Nor can it create PDF or manipulate PDF page content.
    What you can do is use one of Adobe's online subscription services. Two provide for PDF  to Word export.
    There's ExportPDF and PDF Pack.
    Be well...

  • "dtutil", how to tell which configuration file for packages using after deployment?

    Hello All, 
    Trying to achieve this feature, 
    Using DOS command to automatic my deployment process--glad I found dtutil. However, it doesnt give you any chance to identify which configuration file to be used by SSIS packages after deployment.
    Deployment Method: file deployment
    Configuration sued: XML file and SQL Table. IN XML file, it tells which DB connection for packages to look up the configuration table.
    Who can share some thoughts on this?
    Derek

    It is NOT about sequence.
    It is about how to point which configuration file to be used by deployed packages as during the "dtutil.exe"
    deployment, you dont have chance to identify which physical location confg files to be used.
    Derek
    That you do only at the time of execution of packages. By default it uses configuration settings created at design time within the package. If you want to override it, you can use \Configfile switch of dtexec for that. You can also set explicit values for
    properties using /SET switch
    http://technet.microsoft.com/en-us/library/ms162810(v=sql.105).aspx
    See this to understand how configs are applied in runtime
    http://technet.microsoft.com/en-us/library/ms141682(v=sql.105).aspx
    and this to understand behaviour difference in ssis 2008 
    http://technet.microsoft.com/en-us/library/bb500430(v=sql.105).aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How we can display two list if not using blocked alv ,not scr painter

    how we can display two list if not using blocked alv ,not scr painter

    1. Once the cell number/service on the 3GS is transfered to the 5, the 3S will become basically an iPod touch until a new sim is in place, correct? We can still use wi-fi and the apps on the phone, and still be able to sync to iTunes, correct? iOS has been upgraded to 6.
    1a. With a new Sim, any issue with losing any data/apps on the phone? I dont' think so.
    1. Yes. without a sim it has no service, but all other features should be useable normally.
    1.a Nope, Data and Apps are independent of the Sim.
    2. Once the 5 is activated on the new carrier, how do I share the apps within iTunes? Is it as easy as using iCloud (which we haven't "activated" yet) and/or plugging both phones into iTunes and transferring between devices (authorizing both)? Photos? There are photos on the 3S that we will need on the 5.
    2. As long as both Phones use the same Apple ID, the applications can be synced to each through iTunes. Also any downloads on one phone should appear in the other. Again as long as both phones are using the same Apple ID.
    3. Reverse order for new apps purchased (understand that not all the iphone 5 apps will work on the 3GS)?
    3. If they can be run on the iPhone3GS they should be synced automatically.
    4. My husband also has a new iPad, any complications there with three devices? To date, he has not "shared" apps between his 3S and the iPad. He does not have iCloud set up, but plugs into his computer to backup and transfer photos. 
    4. If all 3 Devices share the same Apple ID all should be synced. 
    As a word of warning, if all 3 devices use the same Apple ID, messages recieved using iMessage will appear on all 3 devices.
    And Conctacts may get overwritten if synced to iCloud (thogh you say he doesn't have one), or merged together.

  • How can I change the file download time using Adobe Send? Adobe SendNow had a lot more options.

    How can I change the file download time using Adobe Send? Adobe SendNow had a lot more options.I don't see nay with Adobe Send.

    There isn't a feature in Adobe Send for setting and end-date for a file's availability. At any time, you can Unshare the file, however.

  • Problem with File RFC File scenario without using BPM

    Hi all,
      I am trying a File RFC File scenario without using BPM with the help of the following thread:
    File - RFC - File without a BPM - Possible from SP 19.
      The XI system is PI 7.0 sp 12. When I am trying to acheive the above scenario, I am getting wierd results i.e., when I observe in SXI_MONITOR, the message is showing as processed successfully, but when I watch the message status in communication channel monitoring, I am getting the following error:
    "Attempt to process file failed with com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=DEV120;TS=Test_Service;AN=MI_Invoice;ANS=urn:sap.com:test;"
    I am not able to understand what the problem is. By the way, one more thing, is, I have kept the File processing mode as "Delete" in the sender file adapter. But the file is not getting deleted. I think the reason could be because of the above error.
    Can any body help me out in getting my problem resolved?
    Thanks,
    Adithya K

    CPA Cache Refresh from the Adapter Engine To trigger a cache refresh from the individual Adapter Framework, open a browser window and enter the following
    URL: http://<host>:<port>/CPACache/refresh?mode=<b>delta|full</b>
    The Monitoring url is like this: http://<host>:<port>/CPACache
    Thanks & Regards,
    Farooq.

  • File to Webservice Using BPM

    Dear Friends,
    Kindly give me some walkthrough doucment for File to Webservice Using BPM
    it is urgent. Kindly help.

    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    refer that to design your interface. Note that instead of RFC you will require to use a WSDL for the WS call.
    Fotr more about WSDL and its usage in a scenario ref:
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

  • File to Database Using BPM

    Hi All,
    I am trying to do one of the End-To-End scenarios which are described in the following document published by Mukeshlal Parida https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    I followed the steps described for the File to Database Using BPM. 
    I created a software component File Workshop and DB Workshop and created the respective products.  I created the appropriate namespaces under the specified products.  However, when I go to create the container elements in the Integration Process, I am only able to view and add the Abstract interfaces created in the specific software component where I am creating the integration process. 
    The instructions are not clear.  I am on XI 3.0 (SP16).  Any help would be appreciated.
    Thanks
    Sandeep

    Hi,
      U can use the abstract interfaces in BPM.
      U have to define all the Interfaces as Abstract and use in BPM transformations. The Container elements are specific to the Software component.
    From...
    Yallabandi.

  • Append two files with added time stamp

    Hi experts,'
    MY Requirement is I need to pick two files from two different FTP Locations and append them to file receiver FTP Location with Added timestamp.
    How to achive this as with append we do not get option of adding time stamp.
    Other thing is I want all the appended files should be there  in Receiver folder means like if we get two files today they should be appended to one and shld be put in Receiver folder then two files for tomorrow and they shoud be appended as a separate file in Receiver Folder.
    How to achive this??
    Regards,
    Nidhi

    Hi Nidhi,
    >>MY Requirement is I need to pick two files from two different FTP Locations and append them to file receiver FTP Location with Added timestamp
    Use BPM and pick the two files
    >>Other thing is I want all the appended files should be there in Receiver folder means like if we get two files today they should be appended to one and shld be put in Receiver folder then two files for tomorrow and they should be appended as a separate file in Receiver Folder.
    Use variable substitution and create the directory and filename dynamically...
    Use Dynamic configuration module in receiver adapter and do as specified in this blog:
    /people/madanmohan.agrawal/blog/2009/05/20/combining-three-different-aspects-of-pi-asma-af-module-and-variable-substitution-in-one-shot
    Regards
    Suraj

  • With the new update, I can't figure out how to merge duplicate "Faces" files together, so I end up with one location per face.

    With the newest update, I can't figure out how to merge duplicate files in "Faces" (iPhoto).  I have more than one file going for a face, and use to be able to click and drag them into merging.  Can't seem to do it now.  Can anyone please help?  Thanks

    Are you talking about iPhoto or Photos? If Photos, do you mean that Photos has several files for the same person but they are labeled differently and you are trying to merge them as one? If so, then you have to rename one of the files to match the other one with the correct name.  If this is not what you mean then could you explain more clearly what you mean. To give an example if I click on Faces and Photos shows me all named faces in the top and on the bottom there are suggested faces that can be dragged onto a face in the top level to merge.  If you try to merge two face groups in the top level that are the same person but for some reason the faces are labeled differently you have to label them with the name you want to use and then they will automatically merge.

  • How to Merge multiple XML  files in one file ( Env: XML Publisher 5.6.2)

    All,
    I have recently started working on XML publisher and have developed 3 reports in last 2 days using XML Publisher and integrating them with Concurrent programs.
    This is a great tool.
    I have got another requirement, where i need to use xml file generated by multiple run of same report with various parameters and then merge all xml file to a single report. Developing the whole custom process will take very long time and sure will have bugs in it. Instead i was thinking to use xml file generated by Oracle report itself.
    Report "US Gross to net summary" generates xml output in standard output directory and then show output in PDF file. I have 7 such file generated for each payroll. I want to merge output of xml into a single xml so that i can create single report having data from all 7 xml files showing me All payroll output in a single report.
    Can someone please guide me , how can i read xml file data from the output directory of a seeded concurrent program and how to manipulate data in it.
    Thanks
    Ankur

    Hi Tim,
    Thanks for replying. I have looked for "PDFBookBinder class" in xml publisher user guide for ver 5.6.2. I didn't get any reference of this text. Can you please guide me to a tutorial/link where i can get more information about this class.
    Also, i originally thought of similar to your second logic, as my design basis. Oracle process generates the xml file in output directory which i can get. What i didn't get is how do i "pick them up and merge" using publisher. Also, is there way to do this merging process using pl/sql ? Can you please give little more information on your second approach.
    My original plan of action is that i will create a report set in which i will call oracle seeded report for all 7 payrolls in a sequential manner. Then using the child requests of the report set i will get to 7 xml files generated by seeded oracle process. Then the piece i am not sure of , i will use those 7 files to generate a single xml file having payroll name as tree top for each output. Once single xml is ready, i can easily design a template and register the process to generate output as Excel.This process will not require me to actually change any data or do any calculation. It will only reformatting the feilds we see and abiity to see all 7 payroll at one time rather then entering these numbers manually into an excel to do analysis.
    Please provide your feedback, if you think above plan is not feasible or need corrections.
    Best Regards,
    Ankur

  • How to merge the pdf files into single pdf?

    I need to merge the two (or) three pdf files into a single pdf via scripting. I used the below code for inserting(merging) the pages.
    this.insertPages({cPath: "Test.pdf"})
    But its merginging(inserting) successfully. But the links not working after inserting. kindly advise me the solution or any other ways.
    I am using Acrobat 8.0.
    Thanks in advance..

    http://gotofritz.net/blog/howto/joining-pdf-files-in-os-x-from-the-command-line/   <- this works but it strips OPI
    Here's what I did: (This is shell script)
    #!/bin/bash
    FROM="./"
    DESTINATION="./unCombined/"
    for i in $(ls *_F_ga.pdf)
              do
              BACK=`echo "$i" | sed "s/_F_/_B_/g"`
              if [ -f $BACK ] ; then
                        open "$i"
                        osascript selectMenuItem.scpt
                        sleep 3
                        mv -f "$FROM/$i" $DESTINATION
                        mv -f "$FROM/$BACK" $DESTINATION
              fi
    done
    This calls an applescript
    tell application "/Applications/Adobe Acrobat X Pro/Adobe Acrobat Pro.app"
    activate
    end tell
    tell application "System Events"
              tell process "Acrobat"
                        click menu item "combine Front and Back" of menu "File" of menu bar 1
              end tell
    end tell
    Which activates a menu item (made with Java and saved into Macintosh\ HD/Users/*user*/Library/Application\ Support/Adobe/Acrobat/10.0/JavaScripts)
    app.addMenuItem({
        cName: "combineFB",
        cUser: "combine Front and Back",
        cParent: "File",
        cExec: "combineFrontAndBack()",
        nPos: 0
    Which activates this script (again saved into Macintosh\ HD/Users/*user*/Library/Application\ Support/Adobe/Acrobat/10.0/JavaScripts)
    combineFrontAndBack = app.trustedFunction(
    function(){
    // get the file name and extension
    var sFullFileName =  this.documentFileName
    // make into an arry
    var aFullFileName = sFullFileName.split('_F_');
    // build a file name array dropping the extension
    var aFileName = new Array(aFullFileName.length - 2);
    for (i = 0; i < aFullFileName.length - 1; i++) {
    aFileName[i] = aFullFileName[i];
    // recreate file name
    var sFileName = aFileName.join('.');
    var back = sFileName + "_B_ga.pdf";
    app.beginPriv(); // Explicitly raise privilege
    //add back page based on front page name
    this.insertPages ({
                        nPage: 0,
                        cPath: "/Macintosh HD/Users/jfox/test/" + back,
                        nStart: 0
    this.saveAs("/Macintosh HD/Users/jfox/test/" + sFileName + "_ga.pdf");
    this.closeDoc(true);
    app.endPriv();
    return true;
    It's convoluted and comparitively slow, but it works.
    EDIT: I just realized you probably meant document links and not OPI links. Ha ha. I have no Idea what this would do to document links.

  • How to RELIABLY compare two File objects?

    Hi java community!
    I have two File objects and I need to know whether they both point to the same file on the system. First, I tried using the equals() method of the File object, but later I found that this often returns false even when file being pointed to by both objects is the same file.
    For example:
      public static void main(String[] args) throws Exception {
        File mFileA = new File("C:\\PROGRA~1\\MYPROG~1\\MYDATA~1.TXT");
        File mFileB = new File("C:\\Program Files\\My Program\\My Data File.txt");
        DataInputStream mInputA = new DataInputStream(new BufferedInputStream(new FileInputStream(mFileA)));
        DataInputStream mInputB = new DataInputStream(new BufferedInputStream(new FileInputStream(mFileB)));
        System.out.println("Contents of file A:");
        while (mInputA.available() > 0) {
          System.out.println(mInputA.readLine());
        System.out.println("\nContents of file B:");
        while (mInputB.available() > 0) {
          System.out.println(mInputB.readLine());
        System.out.println("\nAre file A and file B the same file?");
        System.out.println(mFileA.equals(mFileB) ? "Yes" : "No");
      }Running this gives the following output:
    Contents of file A:
    First line of the file.
    Second line of the file.
    Third and final line of the file.
    Contents of file B:
    First line of the file.
    Second line of the file.
    Third and final line of the file.
    Are file A and file B the same file?
    NoIt seems that the different representation of the paths (short 8.3 file names, vs. long file names) is confusing Java into believing that they are two separate files, even though the example above confirms that they are in fact the same file by showing the contents from input streams derived by the two File objects (which are, needless to say, identical).
    So, does anyone know how to reliably determine whether two File objects point to the same file?
    Cheers,
    Martin

    sabre150 wrote:
    Bren_McGuire wrote:
    Thanks guys.
    I'd just found it too right after I made this post. :p95% of the time the promised Dukes never arrive so thanks for the Dukes.Ditto

Maybe you are looking for