Dynamically assign the file name for "on demand read"

Hi.
A quick question.
I need to poll a directory using the on demand read function of the FB component, and change the file name in the BPEL process.
Basically I need to dynamically overwrite the destination file name at runtime.
These are the steps in my Process
1. Pick up XML file,
2. Assign a field in the xml file (fileName) to a variable (flatFileName)
3. Poll a specific directory using onDemandRead and look for the fileName specified in the variable
So obviously,
I have tried to assign the variable flatFileName to the fileName property in the FB component of the readout variable. But it doesn't seem to work.
Firstly I want to know if this is possible, and secondly, any idea on how to solve this issue.
Thanks in advance

I think it is not possible. becuase the date & time added at runtime. so if you check the table  PATH you can find filename and their definitions

Similar Messages

  • I just found an error in the file name for my Camera Raw Cache file.  How do I correct it?

    I just found an error in the file name for my camera raw cache file.  The error is in my username.  I don't know how to correct the error or if I should just leave it.  I'm not sure where my cache file is stored on my computer.  Any help would be appreciated.
    Thank you

    Since you are on a Mac if when you first set up your account you left out the i in Wilson nothing you do will change that. The REAL account name will always be alicewlson. Once an account is created you can't actually change the name of it. You can change the name that is displayed but not the REAL account name.
    Simplest thing to do is stop worrying about it. Everything is as it should be, that is except Wilson being spelled without the i.
    Lilac50 wrote:
    When I searched finder for "alicewlson" I found a long list of files like this:
    2014-07-22 12.50/File005.nef[15:16:35.212] (debug) src/ImageLoader.cpp:363: File: /Users/alicewlson/Recovered/2014-07-22 12.50/File002.nef[15:18:02.173] (debug) src/StoreXMLFile.cpp:21: /Users/alicewlson//.rpro/rpro.cfg
    I believe I made the error in my user name when I first got my computer a year ago. I then corrected it under my user name but not in my Lightroom files. I also looked for files with a .lrdata extension and didn't find any.

  • Why does the file Name for file attached with Annotations "Attach File" (paperclip) become Unknown when Comments are Published?

    Our company recently purchased Adobe Acrobat Pro XI for the purpose of using it for shared electronic reviews.  We are using Send for Shared Review created in Adobe Acrobat Pro XI, and all the Comment tools work as expectedexcept the paperclip in Annotations.
    When a Word or Excel or Image(png,jpeg) file is attached using the Annotations paperclip, the initiator can initially see and open it. But after Publish Comments is selected and the review file is closed, the file "Name" changes to "Unknown" (although the Description has the correct file name and extension).  The Modified information is Unknown, as is the Size and Compressed Size.
    When the review file is then re-opened, even the initiator cannot open the file, although:
    The file location is marked with the paperclip within the document.
    The file name is shown in the Comments List with the initiator's name.
    In the Attachments list (the paperclip beneath the Thumbnails and Bookmarks) the Name appears as Unknown, Description shows the file name, Modified is Unknown, Size is Unknown, and Compressed Size is Unknown.
    The file Name cannot be edited, although the file Description can be.
    We have followed the procedure described in the tutorials but cannot figure out how to troubleshoot this situation.  Since this feature was the reason for the purchase of Adobe Acrobat Pro IX, we would any help. Please don't leave out any basics since we are all new users.
    We have several people with Adobe Acrobat Pro XI and the rest have Adobe Reader XI and it is a Windows platform.  Can someone please give us some advice how to get this feature to work as described?

    FYI Rave,
    There are some other forum entries with this exact same issue...:
    Cannot Open Attachments in PDF
    Why does the file Name for file attached with Annotations "Attach File" (paperclip) become Unknown when Comments are Published?
    Can someone help us get the COMMENTS ATTACHMENT TOOL to work as described in Acrobat Pro XI?

  • Assign Logical file name for the physical file path through Program

    Hi all,
    I am having a physical file which is getting generated dynamically. It is having the date and time stamp in its name which is added at runtime.
    Now I need to assign a logical file name for the physical file path through the program.
    Is there any FM or any other method to assign the same.
    Gaurav

    I think it is not possible. becuase the date & time added at runtime. so if you check the table  PATH you can find filename and their definitions

  • Export Indd to EPS/JPG and set the file name  for EPS/JPG file

    Hi,
       When I export the INDD to JPG/EPS, I want to set the file name with pageNumber  for JPG/EPS files using javascript.
    For Example
    If I set the file name as EPSFile.eps, after exporting the indd(with 2 pages) to eps
    ,files are generating in the following name EPSFile_1.eps, EPSFile_2.eps.
    but I want to set the file name as EPSFile_001.eps and EPSFile_002.eps using javascript.
    anyone knows please reply for this.
    Regards,
    Mubeen

    Hi,
      I tried the following code.
    var JPGe = new File("Applications/PDF/JPG/file.jp");
    app.activeDocument.exportFile(ExportFormat.jpg, );
    when I use this code ,exported jpg file names are
    file.jpg, file1.jpg,file3.jpg.
    but ,I want the output file names as file_001,file_002,file_003,
    Thanks,
    Mubeen

  • Log4j - issue in configuring the file name for daily rolling file adapter

    We have configured the log4j properties. We want to create back-up of log file each hour. The file name of the log file is MyApp.log and as per the below configuration after each hour backup file is created as
    MyApp.log<<time>>
    but we want that file should be created in follogin format
    MyApp<<time>>.log
    Below are the log4j properties configured, please let us know, what should be the correct option to create the filename in desired format.
    # Set root logger level to DEBUG and its only appender to MyApp.
    log4j.rootLogger=DEBUG, MyApp
    log4j.appender.MyApp=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.MyApp.File=D:/logs/MyApp.log
    log4j.appender.MyApp.DatePattern='.'yyyy-MM-dd-HH
    log4j.appender.MyApp.Append=true
    log4j.appender.MyApp.layout=org.apache.log4j.PatternLayout
    log4j.appender.MyApp.layout.ConversionPattern=[%d{yyyy-MM-dd} %d{HH:mm:ss z}] %m%n

    yes you can use /SAPDMC/SAP_LSMW_IMPORT_TEXTS via LSMW
    In the SAP system, there is no uniform rule for the structure of the actual text key Textname. However, in order to be able to maintain the structures and fields, you have to know what the structure of text name as well as the values for text object and text ID are.
    Procedure
           1.      Display a text of the required text type.
           2.      Branch to the editor.
           3.      Choose Goto > Header.
    The Text header dialog box appears.
    Result
    In the Text header dialog box, you gather the required information.

  • File upload script not getting the file name for larger files

    Hi
    I have the following code (see extract below) and find that
    when the size of the file to upload is larger than about 300kb the
    code does not grab the file name. Consequently the upload fails.
    The code works fine when the file size is smaller.
    The code in the form page is:
    <form
    action="UploadAttachment.asp?SubjectName=<%=Request.QueryString("SubjectName")%>&VersionN umber=<%=Request.QueryString("VersionNumber")%>&QualificationName=<%=Request.QueryString(" QualificationName")%>"
    method="post" enctype="multipart/form-data" name="form1">
    <input name="file" type="file" size="100">
    <input name="Upload" type="submit" id="Upload"
    value="Upload">
    </form>
    The code in the UploadAttachment.asp page is:
    <%
    'Grab the file name
    Dim objUpload, strPath, SQLString
    Set objUpload = New clsUpload
    'there is a problem that this next line doesn't grab the file
    name if file is too large.
    strFileName = objUpload.Fields("file").FileName
    etc.
    %>
    If you have any idea how to resolve this I'd be grateful.
    Neil

    Hi
    I have the following code (see extract below) and find that
    when the size of the file to upload is larger than about 300kb the
    code does not grab the file name. Consequently the upload fails.
    The code works fine when the file size is smaller.
    The code in the form page is:
    <form
    action="UploadAttachment.asp?SubjectName=<%=Request.QueryString("SubjectName")%>&VersionN umber=<%=Request.QueryString("VersionNumber")%>&QualificationName=<%=Request.QueryString(" QualificationName")%>"
    method="post" enctype="multipart/form-data" name="form1">
    <input name="file" type="file" size="100">
    <input name="Upload" type="submit" id="Upload"
    value="Upload">
    </form>
    The code in the UploadAttachment.asp page is:
    <%
    'Grab the file name
    Dim objUpload, strPath, SQLString
    Set objUpload = New clsUpload
    'there is a problem that this next line doesn't grab the file
    name if file is too large.
    strFileName = objUpload.Fields("file").FileName
    etc.
    %>
    If you have any idea how to resolve this I'd be grateful.
    Neil

  • Can we dynamically change the file name in dst file in Report 6i, Urgent!

    I am calling dst file to generate file with diffenet format.
    but name of the pdf file should generate dynamically everytime i call dst file,
    is there anyway to set the desname in dst file in Report 6i? Any solution,
    Thanks for your help

    Hi Roshan,
    Create two RKF's one for Normal Invoices and another for canceled invoices, for doing this you should have some characteristics or some status value which will identify the normal and canceled invoice.
    In the Normal Invoice RKF simply restrict the key figure with status restriction as Normal and pull the invoice amount as key figure. And in case of Canceled key figure you will set the status restriction as "canceled" and pull the invoice amount, now for canceled invoice key figure to show the negative value do the following,
    Go to RKF properties of canceled invoice and mark the check box +/- Reverse sign, which will show the negative amount.
    Regards,
    Durgesh.

  • Dynamically changing the file name using the submit button

    I am currently using a submit button to send information to myself from the user of the form. Is there any way to change the name of the file that is emailed as a .pdf file according to some type of parameter or data set that is collected in the form?

    Not programmatically. The attachment wil take the same name as the opened PDF. If you change the name of the PDF then it will change your form name as well. That cannot be done programmatically.

  • What is the File name for the RTOS image for the recovery of AIR-CT5508

    I know TAC is where you get this file. But I am in a situation where my client does not have nor want a smartnet on this device and its out of warranty. I have the AES file but I need this RTOS file to get the unit back up and able to recover to the full image. Any help or guidance would be highly appreciated.  Below is where my client's CT is stuck..
    ============================================================
     1. Run primary image (Image not found)
     2. Run backup image (Image not found) - Active
     3. Change active boot image
     4. Clear configuration
     5. Format FLASH Drive
     6. Manually update images
    Enter selection: 6
    Launching...
    mount: Mounting /dev/cfa2 on /mnt/images failed: No such device or address
    Use DHCP for ip configuration (Y/n)? Y
    Sending DHCP request . . .
    DHCP client bound to address 192.168.1.222
    Enter TFTP server IP address[(192.168.1.1 )]: 192.168.1.6
    !!! WARNING updating using .aes or unapproved files will disable this unit !!!
    Do you want to update RTOS (y/N)? y
    Do you want to update Primary Or Secondary Image (P/s)? P
    Enter filename for RTOS update:

    I bought a used 5508 on eBay for my lab and the unit has no image installed.  I don't want to purchase Smartnet for a non-production lab device.  I too would like to know how to get the emergency recovery image since the .aes files won't work.
     Boot Loader Menu
    ============================================================
     1. Run primary image (Image not found)
     2. Run backup image (Image not found)

  • How to dynamically change the table name for a update statement

    Hi All,
    I need to update a coulumn xyz in either of tables abc and efg based on some condition.
    I wrote a cursor which has union of two queries(one querying abc and other efg)
    Now based on some inparameter only one will be executed at a time.
    And based on some condition a coulumn xyz needs to be updated which is in either of the table.
    As the update condition is same
    Update abc/efg set xyz=data where condition
    I am looking to initialize a variable like v_tname based on some condition and update like
    update v_tname .........
    (Exactly that may not be like so, But looking a technique like this)
    Please help

    If there is only two tables you'll need to update then you are better off using static SQL and implementing something like this instead:
    DECLARE
            update_condition        BOOLEAN;
    BEGIN
            -- initialize update_condition
            update_condition := <some_boolean_check>;
            IF update_condition
            THEN
                    UPDATE abc
                    SET    xyz = some_val
                    WHERE  some_col = some_other_val;
            ELSE
                    UPDATE fgh
                    SET    xyz = some_val
                    WHERE  some_col = some_other_val;   
            END IF;
    END;
    /Hope this helps!

  • The file name format for Voice Memos has changed - how can I change it to the original format?

    The file names for the voice memos changed in the last update.  Now the day is first, which means when you sort them in a file folder, they sort by the number of the day and not year - month - day as before.  Is there a way to change it back?

    Restore it as new or sign out of that account and into yours.  Both are covered in the manual.
    http://manuals.info.apple.com/en_US/iPod_touch_iOS4_User_Guide.pdf

  • Need to get the file name at the time of polling

    Hi...
    I am transferring the data from csv file to database.
    I put the file in a directory. File adapter will read that file for every 2 minutes. I have a column name in database to which I need to map the incoming file name.
    Here my requirement is: how can I get the name of the csv file dynamically at the time of polling, so that I can map the file name to corresponding column name in database. Is there any special mapper function in Jdeveloper component palette to do it or can we do some thing with the file adapter to achieve this.
    Thank you very much...any help is appreciated.

    This is a very simple task in JDeveloper 11g, file adapters are linked to the receive activity, here there is a tab called Properties which you can use to extract the file name. Please follow the steps below:
    1. Create a Simple Type variable of string type, call it fileName_var or any name you wish.
    2. Open the Receive activity in your bpel project.
    3. Scroll down to jca.file.FileName and double click on the value column, click on the browse button (...), select Variable, then click the search icon
    4. Locate your recently created variable
    5. Now when your project runs it will assign the file name to this variable, you can use this same approach also to pull the directory, file size, etc.
    Please note, that you may see a warning little icon on your project saying variable is not initialized, this is perfectly ok and it does not represent any issues when deploying the project.
    Hope this helps.
    Jhon Castro

  • File adapter polling and getting the file name 11g Jdeveloper

    I am using JDeveloper 11g. My process is something like;
    A file adapter reads a XML file
    This triggers the BPM process, file content is sent to start activity as message
    I have to get the file name that is read by file adapter.
    How to do that? Any help is appreciated.
    I have seen couple of answers like bellow in forum but did not help me much
    This is a very simple task in JDeveloper 11g, file adapters are linked to the receive activity, here there is a tab called Properties which you can use to extract the file name. Please follow the steps below:
    1. Create a Simple Type variable of string type, call it fileName_var or any name you wish.
    2. Open the Receive activity in your bpel project.
    3. Scroll down to jca.file.FileName and double click on the value column, click on the browse button (...), select Variable, then click the search icon
    4. Locate your recently created variable
    5. Now when your project runs it will assign the file name to this variable, you can use this same approach also to pull the directory, file size, etc.
    *************************/

    hi,
    Like you said.. steps are simple and clearly mentioned in guide.
    1. create a variable of type string
    2. after configuring the file adapter , go to corresponding receive activity , go to properties tab
    3. search for a property with name as jca.file.FileName . This basically keeps track of file name
    4. for this property, give the value as name of variable created in step 1 above
    5. Use this variable anywhere in assign / transform
    HTH,
    Ketan

  • Dynamically changing the flatfile name..

    Hi friends,
    I 'm Getting data from 30 Flat files...all are with same structure but different data.. .. all these files are now in Application server...
    now i want to upload data into with a single DataSource and to ODS with process chains..
    so, how can i dynamically change the file name in Data Source level.. i saw previous threads.. in that.. through Routines.. we can solve this problem.. but I dont know ABAP code... so, can any one plz give me the exact code.. what i have to write...exact coding..
    <b>
           I already post this question in forums.... but evry one gave different options.. some  one gave the function module..
    BAPI_IPACK_CHANGE    and BAPI_IPACK_START.
      and some one gave  other function module.. like .. EPS_GET_DIRECTORY_LISTING
    i tryd for All these options.. but i'm not getting the exact solution... even i'm unable to pass the parameters also.. beacuse.. in that function what parameters can i pass....</b>
    can u plz suggest me the solution..
    Thanks
    Babu

    Hi  Friends,
      for the above requirement i had write the bellow coding in the routine.. it is working.. but the problem is.. it was loading  only  the last file..(30 th file  data only..)
    data : z1(50) type c,
             z2 type c,
             z3(50) type c,
             z4(50) type c.
             Z2 = 1.
       Do 5 times.
              z1 = 'C:\Documents and Settings\e10035\Desktop\'.
              z3 = '.csv'.
              concatenate z1 z2 z3 into z4.
              p_filename = z4.
              z2 = z2 + 1.
        Enddo.
    SO, CAN YOU PLZ SUGGEST ME.. when ever the file name was changing in the loop.. that automatically should load into the  PSA ..
    plz... plz.... help regarding this..
    Bbau

Maybe you are looking for