File name issue

Hi All,
My scenario is :
1. SAP (sender ) sends file name to BPM(e.g myfile1.txt)
2.BPM sends the same file name (e.g myfile1.txt) to a HTTP reciever.
3.Http receiver then responses with a file(around 30mb size of file)
4.Then the file can be send to a file system
I need to save the file in the file system with the same file name (e.g:myfile1.txt) which is requested in http request(e.g myfile1.txt). How can configure file adapter to achive this?
Regards,
Praveen

Hi Praveen,
     BY using the option of Variable subtitution in Receiver File Adapter CC, you can achieve this with the refrence of your paylaod and message.If the file name holding in the payload you can give the refrence of your structure which field is exactly holding the file name value.
refer the following weblogs , how to use the Variable subtitution
/people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
Hope it will give an idea to get the same filename which is coming from HTTP response.
Cheers
Veera
>>>Reward points, if it is needful

Similar Messages

  • File name issue in mail adapter attachement.

    HI all,
    i built a scenario proxy to mail in which the data will be sent as attachement to the mail id coming from proxy it self.
    I added the transform bean and xi mail adapter bean correctly..
    The scenario is working fine without errors...
    however the issue is. i have given the file name in for module key :
    Transform =   Transform.ContentDisposition =   attachement;filename="xyz.csv"
    but while testing the attachement is coming as "untitled.txt"
    i need the attachement to be named as "xyz.csv" only.
    where went wrong ...please give ur inputs.
    Thanx.

    Hi Kiran
    Then there is no need to use Transformation bean for this
    In Mapping map the mail package Content_type field with
    text/plain;name="xyz.csv"
    and select mail package and keep attachments in receiver mail adapter
    This will work
    Thanks
    Gaurav

  • About File Name Issue by Robocopy

    Please kindly help as follows:
    Due to I need to migrate the Data from Novell to Windows 2008 R2, I have some issue about robocopy.
    My existing file include some long file / folder name and long file path. (More than 256 / 260 characters)
    When I try to use robocopy copy the files, some of them show error and mentioned that it cannot locate the files. All of them are long file name.
    I have tried to use "/256" and result is negative.
    Meanwhile, I do not want to shorten the file / folder name or path.
    If I would like to retain the same file / folder name and path, any suggestion?
    Thank you!

    Hi,
    First you can test to use the \\?\ prefix and see if it can help accessing the path.
    Also mapped drive can help workaround the long path.
    For example, we have a folder d:\<248 characters>\folder\file.txt which over the 255 limits. However if we mapped "folder", which is under 255 limit, then we will have z:\file.txt, which
    will be accessible.
    Or creating a junction point can also help workaround this issue. For example, the folder path is c:\<240characters>\<40characters>\file.txt, we can create a folder c:\junction
    which point to c:\<240characters>.
    Related cases:
    Long file names
    http://social.technet.microsoft.com/Forums/eu/winserverfiles/thread/7c06717b-6ccd-42aa-b104-831223a28eeb
    tool, utility, hack to limit folder and file path lenght?
    http://social.technet.microsoft.com/Forums/da-DK/winserverfiles/thread/0f926e6a-d29a-459c-b2ff-7bcf87c25c62
    TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected]

  • File Name Issues while on Network.

    I have a Powermac G4 at my office and I am having a huge issue with file names that are on the network for my office. The mac is connected onto the network with dell servers running windows server 2003.
    The problem I am having is that the Mac wont recognize any of the file names correctly. example, say i have a document title MACFORUM.docx now on any PC's in the office that name is displayed correctly. But on my mac it appears to be returned to something similar to the dos 8.3 naming convention. So what i see on screen is some like ~9535451.MAC. Obviously this is not a real file just an exmaple.
    If any one could please shed some light on to why this would be happening i would really appreciate it.
    Oh and some backround on the issue is that it just recently started happening after the install of adobe CS3. I have contacted adobe and it is not on there end and i have re-installed the software with no avail. so any one with any idea i greatly welcome it and apprec

    How are you connecting to the server? Using Windows file sharing with an "smb" connection? Or does the server have file services for Macintosh enabled so you're connecting with an "afp" address? Do you see these file names in the Finder? Or are you seeing it the open/save dialog boxes in your Adobe programs?
    We have lots of Macs at the office (most have 10.4.x but we're moving to 10.5.x) and we share Adobe files from Windows 2003 servers without a problem seeing the correct file names. So, I don't think you should have a problem like that.
    -Doug

  • Dynamic File Name issue

    Hi All,
    My scenario is File to File.
    The source file contains cusomer  bill to information of multiple sales organization( A,B,C,D...)
    now my requiremnt is to create 1 output files  for each sales organization and each sales organization should have corresponding cutomer bill to information... and also the file name should be
    salesorganization+sourcefiled1+sourcefiled2
    I have used the DynamicFile name, but its always creating only 1 file  "and thats for A".. with corresponding records of A,
    below is my code
    String Outputfile = "";
    try {
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String filename = a+b+c;
    Outputfile = conf.put(key, filename);
    }catch (java.lang.NullPointerException e) {
      Outputfile = "FileName";
    return Outputfile;
    any idea.. guyz.. why its creating 1 file always..  do i need to change anything in my code???
    Biplab

    Hi,
    If it is an array (see whetehr you are having String[] in the udf declaration part) then you can access the elements inside it by a[0] or a[1] etc...
    Do a display queue for the three input nodes of the UDF and see where the values are. If there is single value it shoudl be a[0], b[0] and c[0]
    Regards
    Suraj

  • Email PDF file name issue via output determination - order confirmation etc

    Hi,
    I can email pdf files via output determination. Unfortunately the file name is same as sapscript name. How do I change it to the name I want for example document number.
    Thanks,
    Jai

    Hi Jaideep,
    You can change the mail title at Output determination.
    T/code NACE--> Application > Outputtype> Select O/P --> select Mail title and texts --> specify your text( with language) in "title" .
    Whenever Script send via e-mail the text you have entered will apear as mail title.
    Hope this may help you.
    Lanka

  • File Adapter - Archived file name issue

    Hello all.
    I am using an 11g composite application to read from the file system and move/archive the files to a "Backup" subdirectory. Everything works well, but the archived file name has the original filename plus an extra long guid. E.g.
    File_1.DAT_156dsfsdgw67rqwedb1c6b54d6fh7yerfa16wewet168erw)-dsfsdg
    Does anyone know how I can control the archiving feature of the file read adapter? I would love for it to just move the file to the Backup folder and keep the original filename.
    I look forward to a response.
    Thank you.
    Nick G.

    Thank you Sahil. I will look into it and test. I will post my results.
    Nick G.

  • File name issues

    Hello,
    I am new to Lightroom and I enjoy it a lot. However I have a problem with file names and I can't find the answer on the internet:
    When I rename files with Fn + F2, the name sequences stack up and now I end up with incredibly long sequences including the date several times!
    How do I reset the fine names so that I can have uniform sequences?
    Thanks for your help!

    How are you connecting to the server? Using Windows file sharing with an "smb" connection? Or does the server have file services for Macintosh enabled so you're connecting with an "afp" address? Do you see these file names in the Finder? Or are you seeing it the open/save dialog boxes in your Adobe programs?
    We have lots of Macs at the office (most have 10.4.x but we're moving to 10.5.x) and we share Adobe files from Windows 2003 servers without a problem seeing the correct file names. So, I don't think you should have a problem like that.
    -Doug

  • Batch Convert PowerPoint to Movies file name issue

    I need to batch convert powerpoint presentations to movie. But the save option forces me to use the same name on every movie. I want it to just save the presentation with the same file name. So if the powerpoint is:
    MyPresentation.ppt
    then the movie should be
    MyPresentation.mov
    How can I do this?
    Here is a screenshot of the workflow.

    Okay, so I tried ditching automator and doing the convert movie parts via applescript. This is what I tried but it gives me an automator error -212 (apparently on the first "perform action") saying "expected end of line, found property":
    Any ideas on how to get the script to work with autmator (I tested a modified version of this script outside autmator and it does work for a single file).
    on run {input, parameters}
      -- Use the "Make Movie..." command in PowerPoint to make a QuickTime movie
              tell application "System Events"
                        tell application "Microsoft PowerPoint"
      launch
      open input
                                  set frontmost to true
                                  set theNameOfPresentation to title of last window
      -- Click on the Save as Movie... command in the File menu
                                  perform action "AXPress" of menu item "Save as Movie..." of menu 1 of menu bar item "File" of menu bar 1
                                  repeat until ((exists of sheet 1 of window theNameOfPresentation) is true)
                                  end repeat
      -- Enter the name of the Presentation
                                  set value of text field 1 of sheet 1 of window theNameOfPresentation to theNameOfPresentation & ".mov"
                                  delay 2
      -- Click on the Save button
                                  perform action "AXPress" of button "Save" of sheet 1 of window theNameOfPresentation
                                  delay 2
      close input
                        end tell
              end tell
              return input
    end run

  • File name issues with Relocated Masters

    I am relocating Master Images from my Managed Aperture Library on my internal disk to a Referenced Library on an external hard drive. Everything in my efforts has run smoothly, except the names of the files that are showing up in my referenced folders on the external drive.
    I am setting a folder hierarchy, and this is working fine. For the file names, I am choosing the Version Name. This is where I am having a problem. Only some of the images are relocating with the Version Name. The others are relocating with the Master File Name instead.
    Why won't my images transfer over with the names that I am instructing Aperture to transfer them as?

    How are you connecting to the server? Using Windows file sharing with an "smb" connection? Or does the server have file services for Macintosh enabled so you're connecting with an "afp" address? Do you see these file names in the Finder? Or are you seeing it the open/save dialog boxes in your Adobe programs?
    We have lots of Macs at the office (most have 10.4.x but we're moving to 10.5.x) and we share Adobe files from Windows 2003 servers without a problem seeing the correct file names. So, I don't think you should have a problem like that.
    -Doug

  • IMovie File Name Issues

    I am creating a slideshow in iMove 9.0.2 by taking RAW photo files, converting them to JPEG's in Aperture 3, then dragging the JPEG's into an iMovie project.  I deleted a photo from the iMovie slideshow project by selecting the thumbnail in the project, then hitting the Delete button. I also deleted the source photo from Aperture. 
    I then took the master RAW file of the deleted photo, gave it a different name, then assigned another RAW photo file the same name as the original deleted file.  Imported the new photo into Aperture, and dragged it into iMovie.  Instead of the new photo appearing in the project, iMovie still displays the old photo.  When I perform a "Control/Reveal In Finder" command on the incorrect thumbnail in iMovie, it leads to the proper photo in the Finder.  Aperture is also correct.  Only iMovie is having issues.  Is there any way to correct this prolem?

    First a basic question: Is the external drive formatted as Mac OS Extended?
    iMovie can't properly save to other formats and you may have trouble copying files via the Finder, too, if the drive is not Mac OS Extended.
    iMovie HD now stores its project folder as a "package". You can see the old iMovie 1-4-style folder structure by control-clicking (or right-clicking) the project package. Maybe the offending file is hiding there. ...but you really should not change the filenames -- the project should copy without such tweaks!!

  • SMB file name issue

    I'm not sure if this is a "new" issue after upgrading to Server 10.5.6 or if it's been around and we've just noticed it. The issue is simple: if someone logs in via AFP and creates a file or renames it to something with a slash e.g. filename/08.txt, users logging in via SMB will NOT see that file at all. This applies to folders as well. At first I thought it was a permissions problem, but it's not.
    If you log in via SMB and name a file with a slash, the AFP user will see a filename sans slash, e.g. filename/08.txt via smb becomes filename08.txt. BUT, if the AFP user tries to rename that file, the slash turns into a strange symbol.
    Is this a bug? A feature? Do I need to tell my AFP users to stop using slashes in the filename? You'd think the server would make the filename translation more gracefully.

    Hi Kiran
    Then there is no need to use Transformation bean for this
    In Mapping map the mail package Content_type field with
    text/plain;name="xyz.csv"
    and select mail package and keep attachments in receiver mail adapter
    This will work
    Thanks
    Gaurav

  • I am using itunes 10 and trying to consolidate my files.  I keep getting the error "Copying files failed.  The file name was invalid or too long".  How can I indentify what file is causing this problem or resolve this issue?

    I am using itunes 10 and trying to consolidate my files.  I keep getting the error "Copying files failed.  The file name was invalid or too long".  How can I indentify what file is causing this problem or resolve this issue?

    BUMP
    Yes, I just get that message. I don't see how I could investigate this problem.
    I didn't mention that this happened when I was consolidating my library, not copying files to another computer.
    In other words, I'm using a "normal" itunes procedure, itunes won't complete it, and won't tell me exactly why or how to figure out how to fix it...
    Is there at least some easy way to tell which files were successfully copied to my itunes music folder so I can work on moving the uncopied files?
    Can anybody help me?

  • HT1751 Consolidating ITunes Library Failed - message received: "Copying files failed. The file name was invalid or too long" . Please help - how to i fix this issue?

    I consulted your website for details on how to back up my ITunes Library on my PC-found the article very helpful-I reached step 7 - clicked ok and the following message came up: "Copying files failed. The file name was invalid or too long."  Please can you help and advise what I should do or how to fix this issue.   My pc operating system is Windows 7 Home Basic

    You can select a group of tracks and consolidate from the right-click context menu. You coud try consolidating in batches, say all songs by artists beginning with A, then B, etc, then the other media types, until you can isolate a problem track and then try moving that by hand and fixing the broken link.
    I also have two scripts that could help you, Unconsolidated and ConsolidateByMoving. The first can make a playlist of all unconsolidated tracks, the second can consolidate a selection of tracks by moving them instead of copying.
    tt2

  • Strange issue with rights of account, used by SSIS (Foreach Loop Container does not return file names without Admin rights on server)

    Hello everyone.
    Faced very strange issue with account, which is used to run SSIS package.
    The specific package uses Foreach Loop Container to retrieve file names within the specified folder, and put them into Import file task.
    The package is set up to run under specific service account. This service account is given all permissions (Full control) to the folder where source files reside.
    So the issue is: SSIS package fails to execute this task (Foreach Loop Container and then Import), and shows that no files are found in the directory (although files ARE there).
    Once we're adding the service account into local Administrators group on the SQL Server, it works! Removing - does not work again. We cannot leave the service account as SQL server's admin as it's prohibited by our IT policies, and is just a bad practice.
    Any ideas, please? 
    MCP

    Here's the real log output:
    Date 16.04.2014 12:47:09
    Log Job History (RU-BW: Update)
    Step ID 1
    Server Server
    Job Name RU-BW: Update
    Step Name bw_import_cust_master_data
    Duration 00:00:02
    Sql Severity 0
    Sql Message ID 0
    Operator Emailed
    Operator Net sent
    Operator Paged
    Retries Attempted 0
    Message
    Executed as user: service_account Microsoft (R) SQL Server Execute Package Utility  Version 10.50.4286.0 for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  12:47:09  Error: 2014-04-16 12:47:11.45
        Code: 0xC0202070     Source: bw_import_cust_master_data Connection manager "Input"     Description: The file name property is not valid. The file name is a device or contains invalid characters.  End Error  Error:
    2014-04-16 12:47:11.47     Code: 0xC0202070     Source: bw_import_cust_master_data Connection manager "Input"     Description: The file name property is not valid. The file name is a device or contains invalid characters.  End
    Error  Error: 2014-04-16 12:47:11.48     Code: 0xC0202070     Source: bw_import_cust_master_data Connection manager "Input"     Description: The file name property is not valid. The file name is a device or contains invalid
    characters.  End Error  Error: 2014-04-16 12:47:11.48     Code: 0xC020207E     Source: Import file Flat File Source [1]     Description: The file name is not valid. The file name is a device or contains invalid characters.
     End Error  Error: 2014-04-16 12:47:11.48     Code: 0xC004701A     Source: Import file SSIS.Pipeline     Description: component "Flat File Source" (1) failed the pre-execute phase and returned error code 0xC020207E.
     End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  12:47:09  Finished: 12:47:11  Elapsed:  2.324 seconds.  The package execution failed.  The step failed.
    MCP

Maybe you are looking for

  • Took my mac in for repair came back even worse

    Brace yourselves for a long explanation: My MacBook Pro 15" retina started acting up about a month ago, sudden restarts and such, I assumed that Yosemite was to blame but, then when the laptop got hot the problems worsened I touched an area by the bo

  • Open new BSP page

    Hi all, i am in ABAP report and i want to open new BSP page from the ABAP report becuse some time it is open the BSP page in the same session of SAP system. and also how i can maximize it automatically in the same way of (F11 key). is there any docum

  • Ipod touch isnt being recognized in itunes version 10.1 unable to download 11.1

    what are the steps to getting my ipod touch (5th gen) to work on itunes 10.1? I am currently stationed (military) in a location which I don't have a lot of bandwith I have not been able to download itunes 11.1 I always get an error message within 2 m

  • My MacBook Pro's internal SuperDrive has stopped recognizing CDs/DVDs after Yosemite install

    After upgrading to Yosemite, my MacBook Pro's (early 2011) internal SuperDrive has stopped recognizing CDs/DVDs after Yosemite install. It takes them in and will eject them with the keyboard button, but they will not mount. Disk Utility shows the Sup

  • "Recently Played" playlist doesn't appear on iPod

    New video iPod 60 Gig. I can see the "Recently Played" playlist on iTunes, along with the others, but it doesn't appear on the iPod itself. I only get "Recently Added", "On-The-Go" and "90s Music" on the iPod. Is there something special that I have t