To Get Dynamic filenames while using sync get FTP Adapter?

Instead of looping and getting filenames after file listing...
i am thinking to use flow N.instead of while loop after filelisting..
i am able to find, different file names in the assign activity, before the invoke activity which is assigned to Sync get adapter.
but the sync get adapter is getting same file names in all the parallel flows.
i can see it can successfully transfer one file, but fails with rest of those.
is there any possibility, to pass file names dynamically to the sync get adapter..

I want to conform you again, i want to use FLOW N instead of while..
In whileloop the logic works fine, but when it comes to FLOW N , its failing
as requested, code is fallows
<assign name="Assign_InputDetails"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
<copy>
<from expression="bpws:getVariableData('Invoke_FileListing_OutputVariable','filelist','/ns2:filelist/ns2:file[position()=$i]/ns2:filename')"/>
<to variable="Filename"/>
</copy>
<copy>
<from expression="bpws:getVariableData('Invoke_FileListing_OutputVariable','filelist','/ns2:filelist/ns2:file[position()=$i]/ns2:directory')"/>
<to variable="InputDir"/>
</copy>
</assign>
<invoke name="Invoke_GetInovice"
inputVariable="Invoke_GetInovice_InputVariable"
outputVariable="Invoke_GetInovice_OutputVariable"
partnerLink="GetSourceFiles"
portType="ns4:SynchRead_Inovice_ptt"
operation="SynchRead_Inovice"
bpelx:invokeAsDetail="no">
<bpelx:inputProperty name="jca.ftp.FileName"
variable="Filename"/>
<bpelx:inputProperty name="jca.ftp.Directory"
variable="InputDir"/>
</invoke>
where i in [position()=$i] is index variable declared in FLOW N

Similar Messages

  • My iPhone 5 gets really hot while using it.. its only my 2nd day with it is this normal?

    My iPhone 5 gets really hot while using it.. its only my 2nd day with it is this normal?

    I had same issue, apple give me a new phone, they say it might be software problem, but the 2nd phone has fast drain too, I took it to apple , they restored my phone as new, and iCloud backed up my contact. I thought about the whole thing, I used to sync it to my window, but this time I synced it with my Mac. 87% at 3:30pm. I think that window has bugs. It is not my iPhone 5's problem. After all those stressful days.

  • How to get default values while using the transaction "BP"

    Hi Group,
    I have a query on how to get default values while using the transaction <b>BP</b>?
    The thing is:
    when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
    how can I achieve this?
    So please kindly let me know the procedure to achieve this.
    Thanks & Regards,
    Vishnu.

    Hi,
    The events of BDT can be used to default some fields on creating a partner.
    For this create a function module for ISDAT. attach that event in BUS7.
    In the ISDAT funtion modulethe following code should be used.
    For example to set the nationality:
    I_BUSDEFAULT-NATIO = 'DE.
    CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
    EXPORTING
    i_busdefault = I_BUSDEFAULT
    Regards, Smita.

  • My iphone get's hanged while using facebook,what to do???

    my iphone get's hanged while using facebook,what to do???

    What buttons did you try?  IF you haven't already, try a reset, no data loss.
    Hold down the home/sleep button together until you see the Apple logo and then release, then wait for the phone to boot back up.

  • I was using ios 7.0.3 nd it was working very nice but before some days i got an update 7.0.4 nd i updated and now my iphone is getting switch off while using nd restarts..???? what to do

    i was using ios 7.0.3 nd it was working very nice but before some days i got an update 7.0.4 nd i updated and now my iphone is getting switch off while using nd restarts..???? what to do

    Sorry you cannot go back to previous version once your are updated to the latest iOS version.
    Apple prevents downgrading your phone.

  • I just bought my phone few days ago. From the day I bought it I realized the phone heats up after a little use. It gets really hot while using Wifi and downloading. Anyone else having these issues? What's the solution to this?

    From the day I bought it I realized the phone heats up after a little use. It gets really hot while using Wifi and downloading. Anyone else having these issues? What's the solution to this?

    Your VGA is definitely corrupted and it is irreparable, so just make the HP to change your vga.
    Also next time read my post on how to keep your laptop cool to avoid same issues again.
    I assume your laptop was pretty hot during some time and that's the result you've got.
    Make it easier for other people to find solutions, by marking my answer with 'Accept as Solution', if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"

  • Phone gets really hot while using the YouTube app.............

    My iPhone gets really hot while using YouTube. Is/has anyone else experienced this? Should I be concerned?I did a search and only came up with threads talking about the phone getting warm while charging, my phone does not get hot/warm while charging, only when using YouTube and sometimes while using Safari. Any input will be greatly appreciated!

    When connected via WiFi or EDGE or no difference.
    My iPhone sometimes gets considerable warm when connected via EDGE with low reception but this is rare when connected via WiFi or with good reception.

  • HT2101 i got an iphone 5c last saturday. i noticed that after merely 5minutes of using facebook, my phone got warmer than the usual. i know that phones will get warm if being used but getting a warm phone after just 5minutes of surfing with 3G seems not n

    i got an iphone 5c last saturday. i noticed that after merely 5minutes of using facebook, my phone got warmer than the usual. i know that phones will get warm if being used but getting a warm phone after just 5minutes of surfing with 3G seems not normal. compared it with iphone 5 and 5s and they are not getting warm like that. is it a software or hadware issue?

    My eyes just glazed over...Please in the future break down each of your issues with paragraphs separated by two carriage returns. It would be much easier when trying to address your issues.
    Go to Apple menu -> System Preferences -> Keyboard and Mouse -> Mouse
    And edit your mouse settings to do what you want it to do.
    Secondly, this is not the place to vent. If you have a complaint, there is:
    http://www.apple.com/feedback/
    or http://www.apple.com/contact/
    We are just end users here helping other end users.
    Third, from my understanding, it would appear you are concerned about the noise the hard drive makes when it falls asleep? Why not put your machine in screen saver mode instead? Apple menu -> System Preferences -> Energy Saver turn off all Energy Saver settings, or set them to run Never.
    Fourth, if your machine was purchased just a few days ago, you may still be able to get an exchange from the store, quicker than you can get a repair done. You may want to look into that possibility.
    Fifth, it does appear you found the Logic forum. I would persist in asking there how to solve your technical issue with Logic regarding the audio. It may be you don't have to do anything special to the hard drive. Remember audio can be transmitted by wire, avoiding ambient sounds.
    Good luck!

  • Get dynamic filename in a Java Mapping (NOT UDF)

    Hi,
    we are using a Java Mapping step in XI (not UDF). We need to have access to the filename. In the File Adapter we set the message attributes and can see the filename value in the SXMB_MONI.
    We use the following code fragment to have access to the filename:
    Container container = new Context(new FunctionWrapper(0));
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String sourceFileName = conf.get(key);
    This doesn't work. We think the declaration of the container class is wrong. Does anybody have some information about using the dynamic attributes in Java Mappings?
    Thanks in advance
    Michael

    import com.sap.aii.mapping.api.*;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.HashMap;
    import java.util.Map;
    public class JavaProgram
        implements StreamTransformation
        public JavaProgram()
        public void setParameter(Map map)
            param = map;
            if(param == null)
                param = new HashMap();
        public void execute(InputStream inputstream, OutputStream outputstream)
            try
                DynamicConfiguration dynamicconfiguration = (DynamicConfiguration)param.get("DynamicConfiguration");
                DynamicConfigurationKey dynamicconfigurationkey = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
                String s = dynamicconfiguration.get(dynamicconfigurationkey);
             //Your logic
            catch(Throwable throwable)
                throwable.printStackTrace();
        private Map param;

  • Not getting PO printed while using bursting pls help

    Hi All,
    Working on converting PO report to XML. While using bursting to print the pdf file the document is not sent to the printer..
    But in the output file of the "XML Publisher Report Bursting Program" getting success.
    Not sure why report output is not sent to the printer.
    Pls help......
    Thanks
    Rajesh
    Edited by: Badsha on Jun 17, 2010 2:19 AM

    Hi...Please check the Burst Control file with the printer & IP details.
    Look for the file below.
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:globalData location="stream">
    </xapi:globalData >
    <xapi:request select="/DATA/LIST_DEPT/DEPT/LIST_EMPLOYEE/EMPLOYEE">
    <xapi:delivery>
    <xapi:email server="${EMAIL_SERVER}" port="${EMAIL_PORT}"
    from="${FROM_EMAIL_ADDRESS}"
    reply-to ="${REPL_TO_ADDRESS}">
    <xapi:message id="email1" to="${TO_EMAIL_ADDRESS}" cc="${CC_EMAIL_ADDRESS}"
    attachment="true" content-type="html/text"
    subject="Employee Report for Empno ${EMPNO}">
    Dear ${ENAME}, Please review the attached document.</xapi:message>
    </xapi:email>
    <xapi:filesystem id="file1"
    output="C:\burst\sample\${EMPNO}_${ENAME}_${MGR}_PRINT.pdf"/>
    <xapi:print id="print1" printer="${PRINT_URL}" copies="2"
    orientation-requested="3" />
    </xapi:delivery>
    <xapi:document key="${EMPNO}"
    output-type="pdf" delivery="email1">
    <xapi:template type="rtf" location="${TEMPLATE_LOC}"
    filter=".//EMPLOYEE[DEL_CHANNEL='EMAIL']" >
    </xapi:template>
    </xapi:document>
    <xapi:document key="${EMPNO}" output-type="pdf" delivery="print1">
    <xapi:template type="rtf" location="${TEMPLATE_LOC}"
    filter=".//EMPLOYEE[DEL_CHANNEL='PRINT']" >
    </xapi:template>
    </xapi:document>
    <xapi:document key="${EMPNO}" output-type="pdf" delivery="file1">
    <xapi:template type="rtf" location="${TEMPLATE_LOC}"
    filter=".//EMPLOYEE[DEL_CHANNEL='FILE_SYSTEM']" >
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    check the printers setting as required....aslo check what printer you are using for pdf printing...Pasta Printing??
    Thanks
    Ratnesh

  • How can I get HD quality while using my iSight on my MBP?

    Hey Folks.
    Im interested in knowing a little more information regarding the isight cam... I want to get HD quality while video chatting with family & friends on skype & iChat. Please let me know.
    I know that there are other webcams that have HD capabilities.
    http://www.huehd.com/
    http://benchmarkreviews.com/index.php?option=com_content&task=view&id=98&Itemid= 1
    http://digitalurban.blogspot.com/2008/11/tutorial-torch-webcam-hd-timelapse.html
    http://www.logitech.com/index.cfm/webcam_communications/webcams/devices/4528&cl= us,en
    Let me know.
    Thanks.
    -Joey

    Yes.
    I have a web cam that can do 1.3Mp
    This App can get those that Can, to Display (And Display Only) the native format of the camera.
    iMovie is likely to be able to see it as it can handle Camcorder feeds.
    The difference you see in iMovie to iChat is the difference.
    iChat, MSN (If connected via a Exchange Server to do Video), Yahoo (Vid only no Audio) and Skype on the IM apps use 640 X 480 or in Skype's case less.
    Photo Booth seems to use the same as iChat to allow for the Composition tweaks (It uses the same Quartz files in the Compositions Folder)
    By eye Comic Life that came bundled with some Intels also seems to use 640 X 480
    So to an extent it depends what you are going to use the camera for.
    iGlasses is a cross app Add-On that can "improve" and tweak the picture in various applications such as iChat outside of what the OS and Application Software have commonly set as Defaults.
    the Adjustments tend to be within the scope set up by the manufacturer (i.e. allowing colour, white balance and Contrast and other settings the camera may have been designed for but not in the app settings)
    Quicktime Pro, if you have it, can be set in Preferences > Recording to "Device Native" which tends to allow a sort of in-between iChat and iGlasses control (some features but not all) but will work with iGlasses as well.
    It is restricted to a 4:3 format window though but this would apply to most Web cams anyway.
    10:38 AM Saturday; May 2, 2009

  • Getting socket error while trying to get oracle connection using JDBC

    hi,
    I am getting following socket read error while trying to get database connection using JDBC. This happening with jdk1.5.0_12 version with Oracle 9i
    following is the stacktrace...
    Thread t@92: (state = IN_NATIVE)
    - java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Compiled frame; information may be imprecise)
    - java.net.SocketInputStream.read(byte[], int, int) @bci=84, line=129 (Compiled frame)
    - oracle.net.ns.Packet.receive() @bci=31 (Compiled frame)
    - oracle.net.ns.DataPacket.receive() @bci=1 (Interpreted frame)
    - oracle.net.ns.NetInputStream.getNextPacket() @bci=48 (Compiled frame)
    - oracle.jdbc.driver.T4CMAREngine.unmarshalSB1() @bci=1, line=1070 (Compiled frame)
    - oracle.jdbc.driver.T4CStatement.doOall8(boolean, boolean, boolean, boolean) @bci=617, line=207 (Compiled frame)
    - oracle.jdbc.driver.T4CStatement.executeForDescribe() @bci=39, line=790 (Compiled frame)
    - oracle.jdbc.driver.OracleStatement.executeMaybeDescribe() @bci=106, line=1039 (Interpreted frame)
    - oracle.jdbc.driver.T4CStatement.executeMaybeDescribe() @bci=11, line=830 (Interpreted frame)
    - oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout() @bci=128, line=1132 (Interpreted frame)
    - oracle.jdbc.driver.OracleStatement.executeQuery(java.lang.String) @bci=76, line=1272 (Interpreted frame)
    any help would appreciated. thanks in advance

    I do not have exact exception message.
    additionally, i have got following the tomcat log file:
    INFO - Resource pool cleanup thread just woke up.
    Nov 1, 2008 3:41:52 AM org.apache.tomcat.util.threads.ThreadPool logFull
    SEVERE: All threads (100) are currently busy, waiting. Increase maxThreads (100) or check the servlet status
    INFO - Resource pool cleanup thread just woke up.
    thanks in advance

  • Can't get my mail when use the USB Ethernet adapter

    I can't get my mail when use the Apple USB Ethernet Adapter. If I use a wireless connection, there is no problem. The LAN which I'm trying to connect is behind a proxy server but the Internet is working 100%.

    Hi ViK,
    This sounds like a question for the network administrator of the location. Without knowing how the proxy is set it's impossible to know what it's blocking (incoming/outgoing). It sounds like it might be filtering the incoming mail server.

  • Need to Pass filename for archived file to FTP adapter using SynchRead

    Hi
    I am archiving the source file which i am reading using an FTP adapter, Operation- SynchRead.
    In my case as the source filename is dynamic( abc_<timestamp>.xml) hence before the SynchRead, I am using a FTP List adapter to get the filename.
    Currently,the archived file is getting name in pattern: encryptedToken_yyyymmdd_hhmmss.(e.g. wQ2c3w7Cj7Y6irWnRKqEu77_jD7kLtj6Uc0QCZIyjC4=_20121122_012453_0305)
    I need to pass the sourceFilename(which i am getting from FTPList adapter) for the archived file also.
    Thanks in advance for the help!
    Regards,
    Achal

    Hi Neeraj,
    While trying the above alternative, i am facing an issue when my source file is a .csv file. The file is getting recreated with the original filename and file content but without header.
    As per the requirement i need the original file to be recreated. The header of .csv file has the field names.
    Please let me know how should i configure my FTP adapter to read the header of the .csv file as well.
    Thanks,
    Achal

  • Dynamically generate terget directory in receiver FTP adapter

    Hi guys,
    I'm trying to set up a scenario where the file will be placed into a terget directiry based on values from the incoming message. I can't use variable substitution as my target message does not contain the needed value, so I'm trying to set up a dynamic configuration in an UDF. Unfortunately, this is not working.. Any ideas, what could be wrong? The receiver FTP adapter always just takes values from it's configuration. It doesn't help when I try to change it in mapping.
    This is the java map code in the UDF:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    DynamicConfigurationKey key2 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, a);
    conf.put(key2, "tfilename.txt");
    return "";
    Thanks a lot for any help,
    Olian

    Hi,
    use below code it will work fine
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    String a=conf.get(key);
    String b=conf.get(key1);
    var1 = a+b; ;
    return var1;
    map this udf to root element of your receiver structure.
    Regards,
    Raj

Maybe you are looking for

  • Error trying to run a sample master-detail JSF form in Jdev 10.1.3

    I've tried JDeveloper 10.1.3 folowing a tutorial , master-detail one , involving Adf Faces which I found it here http://www.oracle.com/technology/products/jdev/101/tutorials/e2ebcfaces/buildmaster-detailpagewithjdevandadfbc.htm. 1. I dowloaded JDevel

  • Named Anchors not working in Apple Mail

    Hi... we have an HTML Email Newsletter. About 2 months ago the named anchors (links) from the top to different parts of the email stopped working right. For years, named anchors would simply go to the section of the email that you desired. The locati

  • ¿Version de prueba Adobe CS5 Design Premium en Español?

    Hola a todos Tengo una pregunta sencilla. Ya para estas fechas han salido las versiones de prueba de los programas de la CS5 en la mayoría de idiomas, pero para la versión de la Design Premium no ha salido aún. He estado revisando y sólo aparecen par

  • NullPointer in invoking JNI function

    Hi everybody. I have small problem. I'm trying to call dll (jnidll) function (f1) from java that calls function (f2) in another dll (that is not jni - actually is 3rd party so I cannot change it). I have no problem calling function f1 from my java ap

  • Appleworks 6 spreadsheet

    I want the results from one cell on one spreadsheet, to publish to another cells on a array of other spreadsheets. There use to be publish abd subscribe. But in 6 I'am confused.