Unable to  convert the file name in Target directory

Dear Experts,
Currently iam facing a problem with some files.my interface is a File to file .As per the interface the sender will pick the flatfiles from source directory which the file name was BNP_NE201.txt once my file reached to target directory the name of the file willrenamed as VENDOR_Payment.NE201 automatically  for this they have done some OS level script in receiver communication channel of the first interface which we have added "un operating system command after message processing" in processing parameters tab.again one more sender comm channel wil pick the file from first target directory which is having naming  convesion of "VENDOR_Payment.NE201 " and post it to target. all the two interfaces are file to file (NFS) . for a parctuclar day files has been posted to 1 st target directory and the receiver communication channel is not yet convert the file names bcz of that the second communication channel can't able to pick the files from target directory. for some times that is working fine and some times it is unable to convert.
from our side i check every thing .could you please suggest me the way to approch
Reagrs,
Kiran tanuku

>> for a parctuclar day files has been posted to 1 st target directory and the receiver communication channel is not yet convert the file names bcz of that the second communication channel can't able to pick the files from target directory. for some times that is working fine and some times it is unable to convert.
You need to wait until the file is converted. After when it is converted then the second interface sender communication channel will pick the files.
What do u mean by unable to convert?
Is it unable to do the content conversion? if so then check the data as you said that it sometimes it works fine.
> The best approach is to change the name of the file in the receiver communciation channel instead of using a script.
Thanks,

Similar Messages

  • Error Occurred While Converting the file"name of song" The file name.......

    I get this message when I try to import some CD's to my library.
    A window pops up and says
    Error occurred while converting the file "name of song"
    The file name was invalid or to long.
    Anyone else ever get this message, and how can you import CD's???????

    I have had this exact same problem. I'm not sure how to fix it...

  • File Name and Target Directory name issue in FTP CC

    Hi All ,
    I am using following code to assing file name and directory name in UDF. I don;t want these parameters to be part of my target structure. Since i have created these files names in UDF, what are the values do i need to mention in FTP CC's "File access Parameter" which are mandatory fiels in CC ?
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/Fileu201D,u201CFileNameu201D);
    String myFileName =biz +".dat";
    conf.put(key, myFileName);
    //Similar code for direcotry
    Thanks for your support.
    MK

    Hi,
    in ID in receiver file comm channel, just tick the option of Adapter Specific messge attributes and in it tick FileName and DirectoryName.............
    the filename and directory you give in comm channel will be treated as dummy and the values will be taken from your UDF.......
    Regards,
    Rajeev Gupta

  • Acrobat Distiller unable to convert the files to PDF.

    Sometimes when I provide multiple files to Adobe Acrobat Distiller to convert them to PDF it opens multiple instances of it which can be seen in the Task Manager but the conversion to PDF stops. The version of Acrobat is 6.0. Could you please suggest me some solution to this issue and it would be better if you also provide me the how acrobat distiller works.

    Yes the Distiller is on server so it keeps on running and we see multiple instances of distiller in task manager.
    When we add files with intervals or few files then it works fine but when we provide bulk of files it stops converting them to PDF and when we check the task manager we find multiple instances of distiller running.
    Then we manually kill the process and then againg the PDF conversion starts normally.

  • To retain the same file name in target(File) that coming from source system(AS2).

    Hi All,
    I have a requirement to send the two file from the third party system(GXS) to SAP ECC via SAP PI(version - 7.4). We are using AS2 adapter at the sender side to pick the file and using File Adapter to place the file in ECC.
    Its a pass through scenarion(No ESR part is used).
    Requirement:
    We are going to get 2 files ->Example:  one from Axis and another one from ICICI -> each bank file will have a file name ->
    We have to post the file at the target system with the same name as source file name, the source file name could come dynamically(with diff time stamp).
    Please let me know, Is it possible to achieve the above requirement(we have to retain the file name in target that coming from source system) with Sender AS2 adapter, If yes then please suggest the best approach.
    Regards,
    Pradeep Bawlia

    Hi Guys,
    The above requirement is solved now.
    Solution - I used java mapping for extracting the same source file name and assignning the same to the target system.
    Code:
    public class ExtractFileName_ASMA extends AbstractTransformation{
    public void transform(TransformationInput in, TransformationOutput out) throws StreamTransformationException  
    DynamicConfiguration conf=in.getDynamicConfiguration();
    DynamicConfigurationKey key_AS2FileNmae = DynamicConfigurationKey.create("http://sap.com/xi/XI/AS2/AS2", "AS2Filename");
    DynamicConfigurationKey key_FileNmae = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File", "FileName");
    String As2FileName=conf.get(key_AS2FileNmae);
    conf.put(key_FileNmae, As2FileName);
    try{
    byte b[]=new byte[in.getInputPayload().getInputStream().available()];
    in.getInputPayload().getInputStream().read(b);
    out.getOutputPayload().getOutputStream().write(b);
    catch(Exception e)
    2. Another solution we can use the graphical mapping and need to use the dynamic config UDF at mapping level to acheive this requirement but here is one drawback - we need to do content conversion is this case.
    In case of Java mapping, no need to play with source file.
    WITHOUT USING ESR, WE CAN NOT ACHEIVE THIS REQUIREMENT.
    Regards,
    Pradeep Bawlia

  • 'Error occured while converting the file--unknown error occured 0x77686174

    I just got my first iPod but I'm a little frustrated. I put in a cd, iTunes opens and asks me if I want to import the songs, I reply yes. When it tries the very first song of the cd, it immediately comes up with 'Error occured while converting the file "name of song". An unknown error occured (0x77686174).' It doesn't matter if this is a completely new cd or an older one.
    I ran CD diagnostics on iTunes and my results are below. I have posted this several times on many different boards and haven't found any solutions or been given any solutions from anyone. I have an iPod that I can't use because I can't download any songs...does anyone have any idea what to do?
    I've looked at Dell to update drivers for my cd drive but it says that I have the newest drivers...the computer isn't even a year old yet. What do I do?? I've wiped the cd like several posts say to do, I've clicked the fix error option on cd off and on like several posts have said to do, I've changed the conversion of 128 to 64 like several posts have said to do...help please, anyone?
    Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)
    Dell Inc. Dell DM051
    iTunes 7.3.1.3
    CD Driver 2.0.6.1
    CD Driver DLL 2.0.6.2
    LowerFilters: PxHelp20 (2.0.0.0), DRVMCDB (1.0.0.1), DLACDBHM (1.0.0.1),
    UpperFilters: GEARAspiWDM (2.0.6.1),
    Current user is an administrator.
    Video Display Information:
    RADEON X300 SE 128MB HyperMemory
    RADEON X300 SE 128MB HyperMemory Secondary
    Connected Device Information:
    Disk drive, ST3160812AS, Bus Type ATA, Bus Address [0,0]
    Disk drive, TEAC USB HS-CF Card USB Device, Bus Type USB
    Disk drive, TEAC USB HS-MS Card USB Device, Bus Type USB
    Disk drive, TEAC USB HS-SD Card USB Device, Bus Type USB
    Disk drive, TEAC USB HS-xD/SM USB Device, Bus Type USB
    CD-ROM Drive, TSSTcorp CDRWDVD TS-H492C, Bus Type ATA, Bus Address [0,0]
    If you have multiple drives on the same IDE or SCSI bus, these drives may interfere with each other.
    Some computers need an update to the ATA or IDE bus driver, or Intel chipset. If iTunes has problems recognizing CDs or hanging or crashing while importing or burning CDs, check the support site for the manufacturer of your computer or motherboard.
    D: TSSTcorp CDRWDVD TS-H492C, Rev DE02
    Audio CD in drive.
    Found 12 songs on CD, playing time 54:35 on Audio CD.
    Track 1, start time 00:02:00
    Track 2, start time 03:30:32
    Track 3, start time 09:38:25
    Track 4, start time 14:58:53
    Track 5, start time 18:01:08
    Track 6, start time 21:24:57
    Track 7, start time 26:37:43
    Track 8, start time 32:16:51
    Track 9, start time 36:17:54
    Track 10, start time 41:57:36
    Track 11, start time 46:21:38
    Track 12, start time 51:48:24
    Audio CD reading succeeded.
    Get drive speed succeeded.
    The drive CDR speeds are: 48.
    The drive CDRW speeds are: 48.

    I came across your error code in iLounge, this post might help you out: http://forums.ipodlounge.com/showthread.php?threadid=30496

  • Can I script the changing of creation date, using the file name?

    Normally people are doing this in reverse, but let me paint the picture.
    I pulled 204 video files from an old HDD based JVC camera.  JVC records in .MOD format which iPhoto won't import.  I imported them into iMovie just fine, and iMovie even set the file name to clip-2007-11-04 04;42;29.mov which is great, but it now has a new creation date of whatever date I imported it.  Which then causes problem when I want the videos stored in iPhoto and sorted appropriately by creation date.
    I've used the application "A Better Finder Attributes 5" to individually edit the creation and modify, but I'm sure I don't want to do this 203 more times, as you can't just type in the date and time, you have to type in each part of the date/time, or select it on a calendar.
    I've used the application "Name Changer" to batch convert the file names to the format YYYYMMDDhhmm which would be helpful if I were going to use the terminal command touch -t, but again I don't want to have to type it in 203 more times, plus drag and drop the file into finder to populate the location.
    Now, if I were more handy with automator, or maybe some (any) scripting language this would be easy peasy.  I'd batch rename all the files to the YYYYMMDDhhmm.mov and then have a script that just took the file name, passed that to touch -t along with the file location, and a few seconds later, they would all be done!
    Anybody have any suggestions to how I can do this, and tips to what commands to use or ANY advice?  I'm more than happy to RTFM, but I have no idea which manual to read!
    Thanks

    If your file names are precisely as you have written, this script will do what you want.
    Copy the script into an AppleScript Editor document, select one or more files in a Finder window, return to the AS Editor and press Run.  Note: you will need to provide your password when the script runs.
    Make sure you have a backup of any files you are working on (try using duplicates first, perhaps). The script has no error handling.
    tell application "Finder"
              set FileList to selection
              repeat with theFile in FileList
                        set fileName to name of theFile
                        set filePath to quoted form of (POSIX path of (theFile as alias))
                        set crYear to text 6 thru 9 of fileName
                        set crMonth to text 11 thru 12 of fileName
                        set crDay to text 14 thru 15 of fileName
                        set crHour to text 17 thru 18 of fileName
                        set crMins to text 20 thru 21 of fileName
                        set crDate to crYear & crMonth & crDay & crHour & crMins
                        set shellString to "touch -t " & crDate & " " & filePath
      do shell script shellString with administrator privileges
              end repeat
    end tell

  • Looping multiple excel files at a time in ssis and create a new column to insert the files names

    Hi Friend,
    i have one requirement.
    I got around 200 excel files with date as file name like 120101.xls, 120102.xls (YYMMDD).
    I am able to loop all the files and insert data but i am unable to load the files names using ssis.
    Please can any one help to fix this using script task or any other code..
    It is very urgent

    Thank You Vaibhav,
    I want to insert the file name along with the other columns of data from excel.
    like this deriving a new column FILE_NAME
    Your ForEach Loop task must be returning the entire file path, I suppose.
    1. Get the file name from your file path. 
    New variable: FileName 
    Expression   : RIGHT(@[User::FilePath],FINDSTRING(REVERSE(@[User::FilePath]),"\\",1)-1)
    2. Inside Data flow, after Excel source use Dervied Column and use above @FileName
    3. At your OLEDB destinition, use MyFileName.
    -Vaibhav Chaudhari

  • Lastest Itunes version loaded - Receive the following error message when trying to download a music CD: "Error occurred while converting the file (title of CD) A file was specified instead of a folder."

    OS X Mavericks with latest itunes version loaded. 
    Receive the following error message when attempting to download a music CD: " Error occurred while converting the file (name of music CD). A file was speceifed instead of a folder."

    The best discussion of resolving the issues is found in the user tip: https://discussions.apple.com/docs/DOC-6562

  • Retreiving the file names from directory inside another directory from application server

    Hi,
    I had a problem in retreiving the file names from a directory inside another directory.
    I tried using the FM's  SUBST_GET_FILE_LIST, RZL_READ_DIR_LOCAL and EPS_GET_DIRECTORY_LISTING
    But here I am getting only one directory details.
    Actually my file is located a directory inside one more directory and one more directory and inside the files are located.
    i.e total 3 directories inside the 3rd one my files are there.
    I need to read the latest file name in the directory.
    So that i can do some manipulation after getting the file name.
    Is there option like OPEN DATASET , READ DATASET and CLOSE DATASET?
    Can anyone please let me know How can i acheive this one.
    Regards
    Ram

    Hi Ram,
        Following thread can be helpful for you, were it shows in the tables structure rsfillst a field RSFILLST-TYPE whether its a directory or file..........
    http://scn.sap.com/thread/865272
    thanks and regards,
    narayan

  • Error while reading file name in a directory

    Hi,
    I am trying to read all the file names within a directory, however  I get the below error while running the code.
    Run-time error '5':
    Invalid procedure call or argument
    The actual path is "Q:\Budget\Historical Budgets\FY15\*.xls*"
    and ThisWorkbook.Sheets(1).Range("A1").Value = FY15 in my excel sheet.
    "Below is the code I am using"
    Dim file As Variant
    file = Dir("Q:\Budget\Historical Budgets\" & ThisWorkbook.Sheets(1).Range("A1").Value & "\*.xls*")
    If file = "" Then
            MsgBox "no files"
            Exit Sub
          Else
            ' ... else, count the files
            x = 0
            Do While file <> ""
                x = x + 1
                file = Dir         
    <----  I get the error at this line.
            Loop
    End If
    Could you please help me to solve this problem
    Regards, Hitesh

    Do you want to generate a list of all files in a folder, in your spreadsheet?  If so, please try this sample code?
    Option Explicit
    Private cnt As Long
    Private arfiles
    Private level As Long
    Sub Folders()
    Dim i As Long
    Dim sFolder As String
    Dim iStart As Long
    Dim iEnd As Long
    Dim fOutline As Boolean
    arfiles = Array()
    cnt = -1
    level = 1
    sFolder = "C:\Users\Excel\Desktop\Coding\Microsoft Excel\Work Samples\"
    ReDim arfiles(2, 0)
    If sFolder <> "" Then
    SelectFiles sFolder
    Application.DisplayAlerts = False
    On Error Resume Next
    Worksheets("Files").Delete
    On Error GoTo 0
    Application.DisplayAlerts = True
    Worksheets.Add.Name = "Files"
    With ActiveSheet
    For i = LBound(arfiles, 2) To UBound(arfiles, 2)
    If arfiles(0, i) = "" Then
    If fOutline Then
    Rows(iStart + 1 & ":" & iEnd).Rows.Group
    End If
    With .Cells(i + 1, arfiles(2, i))
    .Value = arfiles(1, i)
    .Font.Bold = True
    End With
    iStart = i + 1
    iEnd = iStart
    fOutline = False
    Else
    .Hyperlinks.Add Anchor:=.Cells(i + 1, arfiles(2, i)), _
    Address:=arfiles(0, i), _
    TextToDisplay:=arfiles(1, i)
    iEnd = iEnd + 1
    fOutline = True
    End If
    Next
    .Columns("A:Z").ColumnWidth = 5
    End With
    End If
    'just in case there is another set to group
    If fOutline Then
    Rows(iStart + 1 & ":" & iEnd).Rows.Group
    End If
    Columns("A:Z").ColumnWidth = 5
    ActiveSheet.Outline.ShowLevels RowLevels:=1
    ActiveWindow.DisplayGridlines = False
    End Sub
    Sub SelectFiles(Optional sPath As String)
    Static FSO As Object
    Dim oSubFolder As Object
    Dim oFolder As Object
    Dim oFile As Object
    Dim oFiles As Object
    Dim arPath
    If FSO Is Nothing Then
    Set FSO = CreateObject("Scripting.FileSystemObject")
    End If
    If sPath = "" Then
    sPath = CurDir
    End If
    arPath = Split(sPath, "\")
    cnt = cnt + 1
    ReDim Preserve arfiles(2, cnt)
    arfiles(0, cnt) = ""
    arfiles(1, cnt) = arPath(level - 1)
    arfiles(2, cnt) = level
    Set oFolder = FSO.GetFolder(sPath)
    Set oFiles = oFolder.Files
    For Each oFile In oFiles
    cnt = cnt + 1
    ReDim Preserve arfiles(2, cnt)
    arfiles(0, cnt) = oFolder.Path & "\" & oFile.Name
    arfiles(1, cnt) = oFile.Name
    arfiles(2, cnt) = level + 1
    Next oFile
    level = level + 1
    For Each oSubFolder In oFolder.Subfolders
    SelectFiles oSubFolder.Path
    Next
    level = level - 1
    End Sub
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Load all file names in a directory to a SQL Table

    I need to load all the file names in a directory to a SQL table. It must be done via TSQL or SSIS. If using TSQL cannot use xp_cmdshell or any undocumented sprocs. So I am guessing it will be SSIS. But still open to suggestions. I am an SSIS newbie and need
    a nudge in the right direction of how to get the file names into a SQL table.
    Thanks

    Let me add a bit of background. We are sent a group of files. Each file has the ccyymmdd date attached to the name. Possible that we miss processing one day and the next day there are two sets of files in the directory. file1_20140101, file2_20140101,
    file1_20140102, file2_20140102. I cannot guarantee what the file names will be. Just know that i need to process the 20140101 files in one batch, and then the 20140102 files in the next batch. So thinking that i could read all the file names into a SQL table,
    distinct on the date and then sort by the date and pull off those files to process first. Thinking this will be done in SSIS. Open to any ideas or suggestions.

  • File-idoc     Unable to convert the sender service  to an ALE logical syste

    Hi experts
    iam working on file-idoc scenario ,iam getting the below error in sxmb_moni and RWB
    "Unable to convert the sender service  to an ALE logical system"
    i checked the partnetr profile, RFC(sm59) and IDX1 t codes.
    the connection is ok. but still i could figureout the problem.
    please suggest me
    Thanks
    vasavi

    Hi,
    Have u checked the logical system is added in the Sender Business service in the Integration Directory?
    Open the Buiness Service/System --> EDIT-ADAPTER SPECIFIC IDENTIFIERS
    then specify the logical system name.
    Go throgh the following link
    Troubleshooting  File-to-IDOC Scenario in XI.
    Regards
    Sridhar Goli

  • Unable to convert the multiple PS files to pdf

    Hi
    I have distiller server 8 version we are unable to convert the multiple ps files to pdf.
    Here is the ps code:
    /prun { /mysave save def       % Performs a save before running the PS file
            dup = flush            % Shows name of PS file being run
            RunFile                % Calls built in Distiller procedure
            clear cleardictstack   % Cleans up after PS file
            mysave restore         % Restores save level
    } def
    (H:/705819_test.ps) prun
    (L:/Instruction sheet.ps) prun
    (H:/705820.ps) prun
    When we run this combine ps  through acrobat distiler it is fine, but through distiler server i couldnt get the pdf
    Could any one check and help me.
    Regards,
    Vinoth

    We couldnt convert the ps to pdf via distiller server?

  • Unable to do a lookup on the file name specified

    Hi,
    I have a problem when transfer file to IBM AS400 system. This is the scenarie:
    1) PI take the file
    2) I have a JavaMapping(change the filename to long 8 with 3)
    3) I use "create a temporary file"
    4) The file is create in target, but this have the name "XI_FTP_2.TMP"
    5) Finally, the receiver comunication channel launch the error : "Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP...(the number of FTP server is erased for publicated here)  'com.sap.aii.adapter.file.ftp.FTPEx: 550 Unable to do a lookup on the file name specified.'. For details, contact your FTP server vendor"
    I check the permissions of user, directories and file.
    In the log of communication channel the error say :(the number of FTP server is erased for publicated here)
    2009-04-23 20:26:52 Information Write to ftp server "xx...", directory "C:\AAA_BBB", ->  file "00010420.888".
    2009-04-23 20:26:52 Information Transfer: "BIN" mode, size 8302 bytes, encoding -.
    2009-04-23 20:26:53 Error File processing failed with com.sap.aii.adapter.file.ftp.FTPEx: 550 Unable to do a lookup on the file name specified.
    I apreciate your help!
    thanks

    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP...(the number of FTP server is erased for publicated here) 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Unable to do a lookup on the file name specified.'. For details, contact your FTP server vendor"
    You don't have permission for that function (Unable to do a lookup on the file name specified.)
    <h5>Also Make sure that you have an active connection</h5>
    <h5>550 code  meaningRequested action not taken. File unavailable (e.g., file not found, no access). </h5>

Maybe you are looking for

  • Why is it not possible to connect a photo with an appointment in my ical?

    The calender features are in all too basic. I want to click on a certain time and set an appointment for that time. Does this work and i just dont know how yet? Thank you for any answer!

  • How to use COGM ( cost of goods manufactured )

    Hi my company is a consumer goods ( dairy product ) manufacture. I 'm interested to use SBO. I have installed a trial version, and see the process on the SBO using sample database ( OEC Computer ). There is a GL account for COGS ( Cost of Goods Sold

  • Efficient looping over strings

    ABAPers, I need to loop over all the characters in a string. Here is the pseudo code: data: myData TYPE string. data: n TYPE i. data: ch TYPE char1. n = STRLEN( myData). DO n TIMES.   ch = myData(sy-index). ENDDO. While this code would work, the prob

  • Satellite P100-240 : Keyboard errors in Microsoft Outlook

    When I try to insert a symbol when using Microsoft Outlook I get a # symbol - and cannot find the symbol anywhere - the keyboard is fine in other packages - is there a simple way to fix the keyboard for Outlook only?

  • Recover Windows 8 activation code with a crashed drive

    I have checked the other posts but I can't find this issue.  My friend has an HP 2000 (no other numbers or serial numbers anywhere.)  Her drive crashed and burned.  It won't work in any computer or my docking station.  It just clicks for a while and