How to go for Advance selction for source file in J2SE adapter

Hi all,
           I am doing a file to file scenario using J2SE adapter.I have to pick file from two different directory  we  can easily achieve it in J2EE adapter using advance selection of source file but how to proceed in case of J2SE plain adapter.Please guide me with your knowledge.
Regards,
saurabh

This is not possible. You need different adapters, but you can use the same interface and namespace, so there should be no issue.
Regards
Stefan

Similar Messages

  • HOW to enable oracle advance compression for EXIST partitioned table

    Hi All,
    I have to enable oracle advance compression for existing table which PARTITION BY RANGE then SUBPARTITION BY HASH.
    ORacle version: 11.2.0.2.0
    Please provide me any relevant doc or any exp.
    Thanks in advance.

    could not see any text for how to enable oracle advance compression for EXIST partitioned table.RTFM.
    From the resource above:
    How do I compress an existing table?
    There are multiple options available to compress existing tables. For offline compression, one could use ALTER TABLE Table_Name MOVE COMPRESS statement. A compressed copy of an existing table can be created by using CREATE TABLE Table_Name COMPRESS FOR ALL OPERATIONS AS SELECT *. For online compression, Oracle’s online redefinition utility can be used. More details for online redefinition are available here.
    "

  • Advanced selection of source file

    Hi All,
    i am working on a scenario in which file needs to be picked up from 3 different directories.say A, B and c
    I configured in CC by giving 3 different directories.... in "Advanced selection of source file" option i have given directory B and C there.
    ....i am using Adapter specific message attributes also for this CC..
    Its is working fine, But my issue is : i want to take the back back up for every directory file, means archive...
    How can i do that???
    please guide me through this.....am i missing any thing?
    Please guide me..
    Thanks,
    Anu-

    Hi Anu,
    select processing mode as Archive and mention the archive directory path if u want to add timestamp to the file check the checkbox Add Time Stamp.
    regards,
    Shekhar.

  • Need workflow for Advanced Analysis for Office for Sizing

    Hi,
    I am in the process of sizing for BO solution .
    Part of that exercise is to find out how much cpu and memory are required for AAO?
    So i thought trace the AAO workflow and understand which BO services/servers it requires.
    If anyone any idea about it workflow, please share.
    Thanks,
    Srikar

    Hi Srikar,
    Analysis for office goes directly to SAP BW / SAP HANA for data retrieval, so there is no need to consider it as part of your sizing exercise.
    There is a note though about client Hardware and Software requirements:
    1466118 - Hardware & Software requirements for Advanced Analysis
    The only exception here is the new scheduling capability of Analysis for Office in the BI Platform, in that case the Adaptive Job Server is used.
    Best regards,
    Victor

  • How can multiple users work on one source file?

    Hi There,
    I'm currently working on a project that I would like to hand-off to another person to finish. I've tried sending the source file located in at: Home>Movie>iMovie Projects but apparently that doesn't work as the second user is unable to work on the project.
    Is this achievable? If so, how?
    Thank you in advance for any help! It's greatly appreciated =)

    For iMovie 09, you:
    You have to plug in an external drive, and within iMovie, drag the project file to the external drive. It will ask you if you want to "copy project" or "copy project and events".
    If you want to move the project and not just make a copy, then hold down the Command key while you drag the project file to the external drive.
    iMovie 08 does not have the capability of having project files on the external drive, but you can try to manually copy it to the external drive with the finder, and then move the associated events +from within iMovie+ (critical for the other machine to find the files) and when copying the project file to the other computer, it would be critical to find the iMovie project folder in the Movies folder and put it in exactly the same place on the other machine. Otherwise iMovie won't find it.
    The way you want to use it, iLife09 might be worth the upgrade, especially if my suggestions don't work.

  • How can I put more than one source file when I am creating my installer from LV 7 Express

    Hi,
    I am creating my installer for my application and I would want to add more than one source file at once, how could I do it?
    Thanks,
    ToNi.

    Hi,
    I'm referring to the first executable. In other words, I have my application and I want to build and executable of it. Then I go to "Tools->Build application..." and then in the source files tab I can add my vi files but I want to add more than vi at the same time (at once) and not one by one. How can I do it?
    And my second question is: When I make the installer for my application I save the configuration in a build Script file (.bld) in order to use it whenever I want. Then If from another computer different from the one where I generate the .bld file, I load it, LV tells me that something is wrong (LV says there are some errors in some VIs but It doesn't tell me what files are). Why?
    Thanks in advance,
    ToNi.

  • How to deal with special character in source file

    Hi experts,
                      i am doing a file to file scenario in which my source file contains many special characters when i am puting this file into moni its going with the special character .My source file is a fixed length file so in content conversion i have specified the file length but due to these special charcters these field lenght is also varing.So please guide me how to deal with these special characters in sender adapter
    regards,
    Saurabh

    you could try using a Java Mapping to change the encoding manually. For that, set the encoding of the OutputFormat of the XML you'll serialize. Try the following code piece for the mapping (inside a try/catch declaration):
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder documentBuilder = factory.newDocumentBuilder();
    Document input = documentBuilder.parse(in);
    OutputFormat format = new OutputFormat(XML, "ISO-8859-1", false);
    XMLSerializer serializer = new XMLSerializer(out, format);
    For more details check this guide:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42

  • How to recognize empty lines in a source file

    Hi to all
    I want to count he empty lines in a source file. I've been using the methods provided by String such as "contains" ecc but for example
    String line = new String();
    line.startsWith(\r); in order to trace the carrage return in order to consider this as an empty line didn't work
    I cut and paste here my code any hint is apreciable!
    import java.io.*;
    public class Filereader {
    public Filereader() {
    public static void main(String argv[]) {
    File temp = new File("LOC.txt");
    File list = new File("mylist.txt");
    String line = new String();
    String lineinternal = new String();
    int linecounter = 0;
    int sourcelines = 0;
    int commentlines = 0;
    int complexlines = 0;
    boolean commentflag = false;
    try {
    FileReader fileinput = new FileReader(list);
    BufferedReader buffinput = new BufferedReader(fileinput);
    FileWriter fileout = new FileWriter(temp);
    BufferedWriter out = new BufferedWriter(fileout);
    out.append("NOME");
    out.append(" \t");
    out.append("LOC");
    out.append(" \t");
    out.append("LCom");
    out.append(" \t");
    out.append("Ltot");
    out.newLine();
    boolean eof = false;
    boolean eofinternal;
    while ( !eof ) {
    eofinternal = false;
    line = buffinput.readLine();
    if ( line != null ) {
    linecounter = 0;
    sourcelines = 0;
    commentlines = 0;
    complexlines = 0;
    FileReader fileinternal = new FileReader(line);
    BufferedReader buffinternal = new BufferedReader(fileinternal);
    while ( !eofinternal ) {
    lineinternal = buffinternal.readLine();
    if ( lineinternal != null ) {
    linecounter++;
    if ( lineinternal.contains("//") && (!commentflag) )
    commentlines++;
    if ( lineinternal.contains("/*") )
    commentflag = true;
    if ( commentflag )
    commentlines++;
    if ( lineinternal.contains("*/") )
    commentflag = false;
    if ( !commentflag ) {
    if ( (lineinternal.contains(";")) && (lineinternal.contains("//")) && (!lineinternal.startsWith("//")) )
    complexlines++;
    else
    if ( (lineinternal.contains(";")) && (lineinternal.contains("/*")) && (!lineinternal.startsWith("/*")) )
    complexlines++;
    else
    if ( (lineinternal.contains(")")) && (lineinternal.contains("//")) && (!lineinternal.startsWith("//")) )
    complexlines++;
    else
    if ( (lineinternal.contains(")")) && (lineinternal.contains("/*")) && (!lineinternal.startsWith("/*")) )
    complexlines++;
    else
    if ( (lineinternal.contains("}")) && (lineinternal.contains("//")) && (!lineinternal.startsWith("//")) )
    complexlines++;
    else
    if ( (lineinternal.contains("}")) && (lineinternal.contains("/*")) && (!lineinternal.startsWith("/*")) )
    complexlines++;
    else
    eofinternal = true;
    buffinternal.close();
    sourcelines = (linecounter - commentlines) + complexlines;
    Integer data1 = new Integer(sourcelines);
    Integer data2 = new Integer(commentlines);
    Integer data3 = new Integer(linecounter);
    String f = data1.toString();
    out.append(line);
    out.append(" \t");
    out.append(data1.toString());
    out.append(" \t");
    out.append(data2.toString());
    out.append(" \t");
    out.append(data3.toString());
    out.newLine();
    else {
    eof = true;
    buffinput.close();
    out.close();
    System.out.println("...end of try catch ");
    catch (IOException e) {
    System.out.println("Error..." + e.toString());
    catch (Exception e) {
    System.out.println("Error..." + e.toString());
    Thanks in advance to all
    Mandy

    Try this:
    String trimmedLine = lineFromFile.trim();
    if ("".equals(trimmedLine))
        // logic for trimmed line
    }That's some ugly procedural code. Long "if/else if/else" is a very bad sign.
    I'd advise that you at least move this mess out of main() and into a method that you could just call. I don't know if this will be reusable or not, but you won't have a chance of it being callable in another context if you leave it all in main().
    %

  • How to exclude src.zip with java source files from archive

    Hello All.
    Our team have to prepare our SCs (Sowtware Components) for using outside the company. Meanwhile our source files should be protected. We tried a lot of ways to remove all sources from SCA archives.
    This SC should then be integrated in third-party product.
    Using build options in compartments gives no effect.
    Any ideas?
    Thanks in advance.
    Maxim Maltsev.

    Thanks a lot.
    To make code invisible for customer we should build an assembly with build option "include_sources"=false.
    DCs in such assemblies won't be visible in inactive branch and could be used as non-editable in active branch of track.
    The task is settled - client can modify his own code and use our code only via used DC and their public parts, he is not able to see our code.
    Also customer can not see private sources as he gets assemblies without sources. Remember - public parts of type assembly shouldn't be of Source type.
    Maxim Maltsev.
    Edited by: Maxim Maltsev on Dec 10, 2009 3:53 PM

  • FDM, How to replace the value of my source file inside BefFileImport

    Hi all,
    I want to edit some value that will need some validating inside the source file with some condition inside the source file.
    I know the easy way is to build the validation inside import script, but the import script usually will run for each row, if I put the logic inside it will make the performance slow, I assume, because every one row, it will open the file.
    So I try to do one time conversion, so I choose to put my logic inside BefFileImport VBScript, but after my script run, the value was not change, it still stick with old value.
    Need your help for this.
    the below example, I want to do
    Sub BefFileImport(strLoc, strCat, strPer, strFile)
    If InStr(strFile,"test123")>0 Then
    Location="C:\Oracle\FDMApp\SampleApp\Inbox\Batches\OpenBatch\"
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set f1 = fso.OpenTextFile(Location & strFile, 1)
    Set str= CreateObject("System.Collections.ArrayList")
    Do Until f1.AtEndOfStream
      str.add f1.ReadLine
    Loop
    Set f1=Nothing
    Set f2 = fso.OpenTextFile(Location & strFile, 2)
    For Each dataLine In str
      tmp = Split(dataLine,";")
      value = valcheck(str,tmp(14),tmp(13), tmp(6), tmp(1))
      If  entityPartner = "" Then
      f2.WriteLine tmp(0) & ";" & tmp(1) & ";" & tmp(2) & ";" & tmp(3) & ";" & tmp(4) & ";" & tmp(14)
      Else
      f2.WriteLine tmp(0) & ";" & tmp(1) & ";" & tmp(2) & ";" & tmp(3) & ";" & tmp(4) & ";"& value
      End If
    Next
    Set f2=Nothing
    Set str=Nothing
    Set fso=Nothing
    End If
    End Sub
    Thanks
    Dedy

    Hi
    You can achieve this with virtual characteristics option. Code the logic in the customer exit program and it would work.
    Thanks & Regards
    8283

  • How can we handle graphics in DITA source files in order to display them correctly both in PDF and H

    We are using FM9 to publish PDF and HTML output from DITA source files and we cannot find a way to display images correctly. By adjusting the appropriate DPI, the image gets correctly displayed in HTML but not in PDF where it appears cropped according to the the text frames of the source file in FM9, like this:
    We have tried to enlarge the text frame in the source file but for some reasons FrameMaker doesn't take these changes into account.
    By modifying the attribute of the element <fig> (expanse = page), it was possible to improve a bit the rendering in the PDF but not completely.
    Our graphics are in JPG format.
    Any help on this is highly appreciated.
    Thank you.

    Hi Al@s...
    DITA doesn't provide a way to store additional information about anchored frame properties (since there is no "frame" element, just image), that's why FrameMaker doesn't allow you to set the frame size to something other than the image dimensions.
    The "standard" DITA way to reference an image with two different DPIs is to insert multiple fig/image elements and conditionalize (via attributes and ditaval) each image so it shows up in the proper output. This can be a bit tedious to insert two images for each instance, but that's the typical way to handle it (unless you've got a CMS that switches the images for different output types).
    If you use DITA-FMx, it provides a "fmdpi" feature which allows you to tag an image with the DPI you want to use in the FrameMaker-generated output, but the DITA coding sets no DPI (or height/width), so it uses the default image size for your HTML output.
        http://leximation.com/dita-fmx/
    Cheers,
    ...scott
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • How to setup do not move the source files ?

    Media encoder change the source file position.some software can not find the change. do not  do angthing to my source files@

    You can simply download the PDF files from the workspace to your desktop.

  • How delimited by header and footer from Source file in BPEL 11g

    Hi Friends,
    I have source data below like This..
    SOFTWARE COMPONENTS:
    BPEL 11G,
    J DEVELOPER(11.1.1.3)
    FILE READ ADAPTER
    WEB LOGIC EM SERVER(10.3.3.0)
    1|10005|857896|BR |0000 |6544|kantro|54635
    1|10265|69875|.36544|2456112|00000|000000|00000|SE|5456|466554|789745|54.325|KVM|56476.32
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|45669
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|45664
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55776|4454544|45660
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|85668
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|45666
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|85876|4454544|45666
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|69848
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|69566|4454544|45666
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|78966|4454544|85669
    1|10255|km|5653|RJ |00000|5557544|13-08-1998
    But i need to Delimited and insert the data into table ..Here Header data insert into saperate table and
    middlle of the data insert into main table and footer data insert in another table it all happen one attempt by using file read Adapter(11.1.1.1.3)

    You have a header parameter in the file datastore. You can provide any number to skip rows from top of the file. For footer you can create a filter in staging area.
    Filter coould be something like this.
    where source_alias.source_column not like '%FOOTER_OR_ANY_VALUE_AS_PER_YOUR_REQ'

  • How to reve Extra special characters from source file

    Hi all
           I am doing an file to idoc scenario in which i am using SEEBURGER BIC adapter for converting flat file to xml.My input file contain HEADER ,ITEMHEAD AND FOOTER.When i am processing an error is coming extra charcterYP persent before header.While in input file its not visible,it might be some special controll character
    my file is with utf-16 format( little endian) encoding.
    Plz share if u have any idea about the sudden occurence of special character and how to overcome it.
    Regards
    Saurabh Sharma

    sorry, i meant the code for removing the special character.
    Just a quick clarification about what i read in your previous post: that you are using a SEEBURGER adapter and in this adapter there is a module deployed called BIC which does the file to xml conversion.
    So the plan is to insert the custom adapter which will remove the extra space before the BIC adapter in Seeburger adapter right. my only assumption here is that we can add this custom adapter before bic module in Seeburger adapter module tab.
    Basically i dont no whether you have the option of adding a new adapter module in SEEBURGER ADPTER BIC MAPPING DESIGNER just like there is one in File adapter.
    Please confirm

  • How to Append date time to the Source File Name in send Port without Orchestration

    Hi,
    I am using the Macro %SourceFileName%_%datetime%.zip in the filename(Send Port).
    say my file name is ABC.zip
    But I am getting the output as ABC.zip_2013T083444
    Please suggest, How to avoid the extension?
    Vignesh S ----------------------------------------------------------- Please use Mark as Answer if my post has solved your problem and use Vote As Helpful if my post was useful.

    The problem here is %SourceFileName% context property would return filename “With” extension. So when you use %SourceFileName%_%datetime%.zip you get FileNameWithExtension_Datetime
    For this you have to handle it either in customer pipeline component or in orceshtration where you have to remove the extension from the Filename.
    Read this post on remove the extension from this file name
    msgOut(FILE.ReceivedFileName) = System.IO.Path.GetFileNameWithoutExtension(msgIn(FILE.ReceivedFileName));
    After this if you use the
    %SourceFileName%_%datetime%.zip macro, you would get the desired output.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

Maybe you are looking for

  • Looking for application to sync the files between mac and pc

    I have a mac and a pc, I would like to backup their file onto an external harddisk. Will any application work for both PC and MAC? or I will need two different application installed on my 2 computer?

  • My iPhone is not synchronise in window 8

    and i keep getting error messages

  • WSUS Server settings and Migrating SCCM 2007 Clients to SCCM 2012 R2

    I am in the process of migrating a site from SCCM 2007 to SCCM 2012 R2. Whilst doing this I came across the following issue: The first issue is the workstations are woefully out of date, patch and update-wise, some have never had a patch applied as t

  • Help with Java vs. Java Script

    Would someone please tell me the difference between 'Java'  and  'Java Script'.  From what I have read, I can see my need for Java Script, but what is Java?Some have even said to disable Java because Apple doesn't support it and that Java has securit

  • Problem in starting Integration Repository

    Contrary to another thread that I found, I am having problems starting Integration Repository for the first time after installation. I followed the instructions of the installation guide up to the point of running SXMB_IFR to launch SAP Exchange Infr