/SCWM/ISU - FM ARCHIVFILE_CLIENT_TO_SERVER adds terminator to .csv file rows

Dear Community,
On a customer installation i'm facing problems in uploading a file with the FM ARCHIVFILE_CLIENT_TO_SERVER.
The pourpose is to use that file in transaction /SCWM/ISU to upload stock.
The file is a simple .CSV but when I execute the upload and verify the result in AL11 the file has been modified adding terminators at the end of each row:
That character cause a dump when I try to use that file for CONVT_NO_NUMBER in transaction /SCWM/ISU.
There is another way to upload a .csv without that "side effect" ?
thanks in advance, kind regards
Giuliano.

DATA:W_FILEPATH TYPE SAPB-SAPPFAD,
     W_SPATH TYPE SAPB-SAPPFAD.
W_SPATH = '
pclis02\consult\Equipa_EM\Line_TEXT.csv'.
W_FILEPATH = '
debtdc00\sapmnt\trans_DEB\LINE '.
          CALL FUNCTION 'ARCHIVFILE_CLIENT_TO_SERVER'
            EXPORTING
              PATH            = W_SPATH
             TARGETPATH       = W_FILEPATH
           EXCEPTIONS
             ERROR_FILE       = 1
             OTHERS           = 2

Similar Messages

  • Add data to csv input file

    Im using a csv file as my data input for a test. The test data is simply recorded in an array. How do I add this array data back to the original csv file, as an additional column, once the stop button is clicked?
    Solved!
    Go to Solution.

    Actually, you do not have to read the whole file at once, although that does make the programming easier.  You can read and write data in chunks to keep memory usage down and file write efficiency up (65,000 byte file chunks give best read and write performance on Windows systems).  You will end up with a steadily increasing memory buffer as you read a chunk from disk, add to it, then write what you can to disk before reading another chunk.  At the end, you will have a buffer the same size as your added data that you can then stream to disk at the end to finish the file.  The algorithm would go something like this:
    Read N bytes from disk
    Modify as needed by adding data at the end of each row.  Your data is now of size N + M
    Write N bytes to disk, keeping the remaining M in a memory buffer
    Read the next N bytes from disk
    Modify and append to the current M bytes from the previous iteration.
    Write N bytes to disk, keeping the remaining in a memory buffer
    Repeat steps  4 - 6 until the entire file has been read.  You now have a buffer of left over data.
    Stream leftover data to end of file in 65,000 byte chunks.
    In theory, this would give better performance, if done well, since you do not need to convert the entire file to numbers, then back again, but only need to convert the numbers going into the file into text.  In practice, if you are not very careful, all the appending and reshaping of strings and arrays can cause memory issues if you don't reuse and manage the buffers intelligently, causing slowdowns.  This can be made disk speed limited, if done correctly.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Add text in csv

    Hi guys!
    I created a script
    that returns a list of users created today.
    Now I'm trying to modify it to add
    the text "99999999LAST RECORD"
    in the last line of the csv file.
    Does anyone have a suggestion how to do this?
    $When = ((Get-Date).AddDays(-0)).Date
    Get-ADUser -Filter {whenCreated -ge $When} -Properties * | Select-Object Surname,GivenName,DisplayName,PostalCode,Country,StreetAddress,State,Office,OfficePhone,EmailAddress,Title,Department,City,SamAccountName,UserPrincipalName | Export-Csv .\newusers_maximo.csv
    -NoTypeInformation -Encoding unicode -Force
    Thanks!
    David Soares MCTS:MBS - MCTS - MCITP

    Hi,
    You can create your file and then use Get/Set-Content to adjust the last line.
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • Collect file count and add to CSV file.

    I have this script efficiently crafted by Jacques Rioux and I now what to do a little more with it.
    What it currently does is look on my desktop at a select number of Folders on my desktop. It then looks at the keyword information and then returns the results to a csv file.
    it looks for all the photographs; shot by Matthew. edited by Matthew etc.... with the date appended to the start and then the next time the script is run it adds the next data to the bottom of the last.
    The result looks like this
    19/12/2012,255,412,37,68
    27/12/2012,197,342,16,26
    From the fist line you can see on the 19th December 2012 I shot 255 images
    No what I would like it to do is:-
    a) Specifaically look in the folders of the desktop whose name begins with BH, BU, DA, DI, DO, FR, IN, NO, MA, TM, WA, PR, SE (These folders may or may not exist at the time, but are the only folders it should look at)
    b) also do a file count of the contents of the above individual folders and append it to the csv file. Again a folder may not exist. Where it doesn't exist the file count must = 0 so that it can then be added to the CSV file.
    This is how I hope the line to look like from the CSV file,
    19/12/2012,255,412,37,68, 5,3,20,25,60,101,25,0,85,5,40,0,0
    from the line above you can see that the folders NO, PR, and SE were all non existant and therefore a 0 was written in its place on the CSV file.
    Below is the working script that looks for the keywords.
    set spotlightqueryList to {"Shot by Matthew", "Editted by Matthew", "Shot by Shah", "Editted by Shah"}
    set thefolders to {"Desktop"}
    set thekind to "PSD"
    set csvFileName to "ProductivityLog.csv"
    set tHome to path to home folder as string
    set tc to count spotlightqueryList
    set theseCount to {}
    repeat tc times
              set end of theseCount to 0
    end repeat
    repeat with i in thefolders
              set thepath to my existsItem(tHome & i)
              if thepath is not "" then -- exists
                        repeat with j from 1 to tc
                                  set tQuery to item j of spotlightqueryList
                                  do shell script "mdfind -onlyin " & thepath & " " & tQuery & " " & thekind & " | wc -l" -- wc return the number of lines
                                  set item j of theseCount to (item j of theseCount) + (the result as integer) -- add the number of lines
                        end repeat
              end if
    end repeat
    set csvPath to "DCKGEN:Brands:Zoom:Online Photography:" & csvFileName
    set oTID to text item delimiters
    set text item delimiters to "," -- CSV delimiter
    set thisLine to (theseCount as text) -- convert list to text, each number is separated by comma
    set text item delimiters to oTID
    tell (current date) to set tDate to short date string
    set beginning of theseCount to tDate -- insert the date (first column)
    set csvPath to "DCKGEN:Brands:Zoom:Online Photography:" & csvFileName
    set oTID to text item delimiters
    set text item delimiters to "," -- CSV delimiter
    set thisLine to (theseCount as text) -- convert list to text, each number is separated by comma
    set text item delimiters to oTID
    --- append this line to CSV file
    do shell script "echo " & (quoted form of thisLine) & " >>" & quoted form of POSIX path of csvPath
    on existsItem(f)
              try
                        return quoted form of POSIX path of (f as alias) -- exists
              end try
              return "" -- else not exists
    end existsItem
    (* just a way to visually see it working
    set dialog to "Matt Shot: \"" & item 1 of theseCount & "\"" & return & return & "Matt Edit: \"" & item 2 of theseCount & "\"" & return & return & "Shah Shot: \"" & item 3 of theseCount & "\"" & return & return & "Shah Edit: \"" & item 4 of theseCount & "\"" & return & return
    display dialog dialog
    This is what I began to wrote but really have no idea how I would write it into the data into the CSV file and also I was struggling to get the non existant folder to = 0?
    tell application "Finder"
              set folderA to (get first folder of desktop whose name starts with "BH")
              set folderB to (get first folder of desktop whose name starts with "Bu")
              set folderC to (get first folder of desktop whose name starts with "Da")
              set folderD to (get first folder of desktop whose name starts with "DI")
              set folderE to (get first folder of desktop whose name starts with "Do")
              set folderF to (get first folder of desktop whose name starts with "Fr")
              set folderG to (get first folder of desktop whose name starts with "In")
              set folderH to (get first folder of desktop whose name starts with "Ma")
              if (exists (get first folder of desktop whose name starts with "No")) is true then
                        set folderI to (get first folder of desktop whose name starts with "No")
              else
                        set folderI to "0"
                        set folderJ to (get first folder of desktop whose name starts with "To")
                        set folderK to (get first folder of desktop whose name starts with "Wa")
                        if (exists (get first folder of desktop whose name starts with "SE")) is truethen
                                  set folderL to (get first folder of desktop whose name starts with"SE")
                        else
                                  set folderL to "0"
                                  if (exists (get first folder of desktop whose name starts with "PR"))is true then
                                            set folderM to (get first folder of desktop whose name starts with "PR")
                                  else
                                            set folderM to "0"
                                            set folderM to (get first folder of desktop whose name starts with "PR")
                                  end if
                        end if
              end if
              tell application "System Events"
                        set contentsA to (number of files in folderA)
                        set contentsB to (number of files in folderB)
                        set contentsC to (number of files in folderC)
                        set contentsD to (number of files in folderD)
                        set contentsE to (number of files in folderE)
                        set contentsF to (number of files in folderF)
                        set contentsG to (number of files in folderG)
                        set contentsH to (number of files in folderH)
                        set contentsI to (number of files in folderI)
                        set contentsJ to (number of files in folderJ)
                        set contentsK to (number of files in folderK)
                        set contentsL to (number of files in folderL)
                        set contentsM to (number of files in folderM)
              end tell
    end tell
    I hope someone can help me compile the remaining data.
    Many thanks
    Matt

    OK i've done my homework and I have been able to get a lot closer I just need to make the search specific to a number of folders on the desktop?
    Line 7 explains how I would like it to search.
    set spotlightqueryList to {"Shot_by_Matthew", "Editted_by_Matthew", "Shot_by_Shah", "Editted_by_Shah"}
    set spotlightqueryList2 to {"AL70", "BH70", "BH70", "BU40", "ES20", "DV25", "DJ30", "RA30", "FR10", "GT55", "MA65", "MB65", "MC65", "FI65", "MF65", "MH65", "NN_", "TM15", "WA35", "PR_", "SE_"}
    set thefolders to {"Desktop"}
    --Here I need to limit the search so that it only looks in folders of the desktop whose name begins with "BH", "BU", "DA", "DI", "DO", "FR", "IN", "MA", "NO", "TM", "WA", "PR", "SE"
    set thekind to "PSD"
    set csvFileName to "ProductivityLog.csv"
    set tHome to path to home folder as string
    set tc to count spotlightqueryList
    set theseCount to {}
    repeat tc times
              set end of theseCount to 0
    end repeat
    set tc2 to count spotlightqueryList2
    set theseCount2 to {}
    repeat tc2 times
              set end of theseCount2 to 0
    end repeat
    repeat with i in thefolders
              set thepath to my existsItem(tHome & i)
              if thepath is not "" then -- exists
                        repeat with j from 1 to tc
                                  set tQuery to item j of spotlightqueryList
                                  do shell script "mdfind -onlyin " & thepath & " " & tQuery & " " & thekind & " | wc -l" -- wc return the number of lines
                                  set item j of theseCount to (item j of theseCount) + (the result as integer) -- add the number of lines
                        end repeat
              end if
    end repeat
    repeat with i2 in thefolders
              set thepath2 to my existsItem2(tHome & i2)
              if thepath2 is not "" then -- exists
                        repeat with j2 from 1 to tc2
                                  set tQuery2 to item j2 of spotlightqueryList2
                                  do shell script "mdfind -onlyin " & thepath2 & "  -name " & tQuery2 & " " & thekind & " | wc -l" -- wc return the number of lines
                                  set item j2 of theseCount2 to (item j2 of theseCount2) + (the result as integer) -- add the number of lines
                        end repeat
              end if
    end repeat
    set csvPath to "DCKGEN:Brands:Zoom:Online Photography:" & csvFileName
    set oTID to text item delimiters
    set text item delimiters to "," -- CSV delimiter
    set thisLine to (theseCount as text) -- convert list to text, each number is separated by comma
    set thisLine2 to (theseCount2 as text) -- convert list to text, each number is separated by comma
    set text item delimiters to oTID
    tell (current date) to set tDate to short date string
    set beginning of theseCount to tDate -- insert the date (first column)
    set csvPath to "DCKGEN:Brands:Zoom:Online Photography:" & csvFileName
    set oTID to text item delimiters
    set text item delimiters to "," -- CSV delimiter
    set thisLine to (theseCount as text) -- convert list to text, each number is separated by comma
    set thisLine2 to (theseCount2 as text) -- convert list to text, each number is separated by comma
    set text item delimiters to oTID
    --- append this line to CSV file
    do shell script "echo " & (quoted form of thisLine) & (quoted form of thisLine2) & " >>" & quoted form of POSIX path of csvPath
    on existsItem(f)
              try
                        return quoted form of POSIX path of (f as alias) -- exists
              end try
              return "" -- else not exists
    end existsItem
    on existsItem2(f)
              try
                        return quoted form of POSIX path of (f as alias) -- exists
              end try
              return "" -- else not exists
    end existsItem2
    (* just a way to visually see it working
    set dialog to "Matt Shot: \"" & item 1 of theseCount & "\"" & return & return & "Matt Edit: \"" & item 2 of theseCount & "\"" & return & return & "Shah Shot: \"" & item 3 of theseCount & "\"" & return & return & "Shah Edit: \"" & item 4 of theseCount & "\"" & return & return
    display dialog dialog

  • How can I add links to open xml and csv files stored in another location? Please advice how to place links in my frame maker document?

    Hi,
    I would like to know as to how can I add links to open xml and csv files stored in another location? Please advice how to place links in my frame maker document?
    Kindly advice.
    Thanks
    Priya

    Special > Hypertext > Command "open document" will do its best to open the target document inside FrameMaker, which may not be much help; Special > Hypertext > Command "message …" will use the application you specify. The user guide for 7.0 says this about absolute links, and I don't think anything has changed since:
    For example, to start PaintBrush and open the Ship.pcx file on drive C you would use the command message system pbrush.exe C:/Ship.pcx
    I've not often used a relative link, and not recently: the same source says
    folder levels are separated by a slash / even in Windows and Mac
    [relative links] FrameMaker searches for a relative pathname beginning in the folder that contains the current document
    [absolute links] FrameMaker searches for an absolute pathname beginning at the top of the file system. In Windows, the absolute pathname begins with the drive specifier, a colon and a slash.

  • Add CSV file as Scheduled Report Output Format

    Is there any option in BOXI R2 and R3 - Add CSV file as Scheduled Report Output Format. If not, how do we achieve this?

    Hai
    http://www.christiansteven.com/products/crd/
    http://webtrends.dbt.co.uk/wrc/help/webhelp/hlp_exrpt.htm
    http://www.businessobjectstips.com/tips/infoview/business-objects-cannor-not-create-an-excel-file/

  • When downloading a .csv file in Safari, it adds .xls, making the file filename.cvs.xls

    When downloading a .csv file in Safari, it adds .xls, making the file filename.cvs.xls
    If I rename the file, it opens just fine, if I don't it opens all in one column.
    I had found a fix on my old macbook, but just got a new MBP and it's happening again.
    Can't remember or find where the fix is.
    Thanks!

    Safari: Downloaded file's filename may have an additional extension
    http://support.apple.com/kb/TA24293
    That's from June 11, 2007!
    Working from my defective memory, this happened to me, but stopped if I unchecked 'Open safe files after downloading' in Safari Preferences/General.
    At least I think that's how I stopped it - it hasn't happened since!

  • PoswerShell - Compare 2 x CSV files, only if data matches in column 1 add all data from file 2 to file 1 or output collated results

    OK, 1st the background...
    I have been provided a list of users of a particular group.
    We needed to know what computers (or IP's) the users are connected to...
    So, using Shared Folders, I have exported a list of all users connected to H drives (everyone on the domain) and I need to match their computernames (or IP) to the specific list of users I have...
    That gives me 2 x CSV files. 1 x master list of users, I list of all users PC or IP names.
    I need to be able to match the usernames on the master list (File1) with the usernames on File2 and append the computernames and connected times to File1 omitting the usernames that are not required...
    This is to determine what PC's the user is logged into and what site their computers are at.
    I also need to capture if they are logged into more than one computer (info is contained in File2)
    File1 Example:
    User
    FirstName
    LastName
    ADSite
    HDriveLocation
    HDriveLocationTS
    Office2010FAT
    XY123456
    BOB
    BUILDER
    LONDON 
    \\SERVER\%USERNAME%
    \\SERVER\USERNAME
    TRUE
    ABC09876
    JIM
    INYCRICKET 
    CHICAGO 
    \\SERVER\USERNAME
    \\SERVER\USERNAME
    TRUE
    ADD11223 
    SALLY
    METLARRY
    TOKYO
    \\SERVER\USERNAME
    \\SERVER\USERNAME
    FALSE
    File2 Example:
    User
    Computer
     Connected
    Idle
    XY123456 
    192.168.1.216 
    3 days 06:13:18
    0:00:03
    XY123456
    192.168.1.254 
    1 day 01:21:30
    23:08:39
    WXY46810 
    PCNAMEXYZ  
    6:44:19
    0:00:05
    I have found a PS script which "might" do what I need it to, but I haven't been able to "tweak" it right - it's omitting the details from File2 - http://powergui.org/thread.jspa?threadID=19522
    Also I can't figure out how to collect multiple computernames (that users are logged into) from File 2 and add this to File1
    Working with Powershell, but happy to consider any other options (EG: Excel, Macros, VBS, etc)
    Here's what I have got so far: (PS)
    $File1 = Import-Csv "C:\Users.csv"
    $File2 = Import-Csv "C:\Shares.csv"
    $Output = @()
    ForEach ($Item in $File1)
    { $Result = $File2 | Where { $Item.User -eq $_.User }
    $Output += New-Object PSObject -Property @{
    USER = $Item.User
    FirstName = $Item.FirstName
    LastName = $Item.LastName
    ADSite = $Item.ADSite
    Computer = $_.Computer
    Connected = $_.Connected
    Idle = $_.Idle
    Office2010FAT = $Item.Office2010FAT
    HDriveLocation = $Item.Connected
    HDriveLocationTS = $Item.Idle
    $Output | Select User,FirstName,LastName,ADSite,Computer,Connected,Idle,Office2010FAT,HDriveLocation,HDriveLocationTS | Export-Csv C:\Users\a1033965\Desktop\result.csv -NoTypeInformation
    However, the output I'm getting is missing the results from File2 and I NEED multiple computers listed if a user is logged into them:
    Current Output:
    USER
    FirstName
    LastName
    ADSite
    Computer
    Connected
     Idle 
    Office2010FAT
     HDriveLocation
     HDriveLocationTS
    XY123456
    BOB
    BUILDER
    LONDON
    TRUE
    ABC09876
    JIM
    INYCRICKET
    CHICAGO
    TRUE
    ADD11223 
    SALLY
    METLARRY
    TOKYO
    TRUE
    (TRUE is actually in the right column, under Office2010FAT as it should be - just doesn't look like it as I post this)
    Any help with this would be much appreciated. Cheers

    Please verify that your files look exactly like this:
    #file1 format
    User,FirstName,LastName,ADSite,HDriveLocation,HDriveLocationTS,Office2010FAT
    XY123456,BOB,BUILDER,LONDON,\\SERVER\%USERNAME%,\\SERVER\USERNAME,TRUE
    ABC09876,JIM,INYCRICKET,CHICAGO,\\SERVER\USERNAME,\\SERVER\USERNAME,TRUE
    ADD11223,SALLY,METLARRY,TOKYO,\\SERVER\USERNAME,\\SERVER\USERNAME,FALSE
    #file2 format
    User,Computer,Connected,Idle
    XY123456,192.168.1.216,3 days 06:13:18,0:00:03
    XY123456,192.168.1.254,1 day 01:21:30,23:08:39
    WXY46810,PCNAMEXYZ,6:44:19,0:00:05
    ¯\_(ツ)_/¯

  • How to add colors to a CSV file?

    Hi there,
    I'm exporting data to a CSV file using printWriter.
    Question: is it possible to add colors, bold text or stretch the length of a column in the produced CSV file?
    This, of course, should be the end result of the file (not do it when the file is open)
    Thank you!

    xianwinwin wrote:
    Question: is it possible to add colors, bold text or stretch the length of a column in the produced CSV file?Of course if you assumed that you'd be looking at the file with a fixed-width font, you could insert a bunch of tabs or spaces to get columns to match up, but I strongly advise you not do that. I think of CSV as a poor-man's excel data file or perhaps a flat database file, but most importantly it holds data in a standard format that can be read and manipulated by many different programs, including ones you write yourself. It is not meant to be for pretty visualization. Try to pretty it up and you possibly ruin it's main reason for existing. For nice visualization I'd create a small app that read the CSV, formatted it nicely and either displayed the data or stored it in some pretty format as a non-CSV file.

  • Add a carriage return in a .csv file

    I running the following command which works but I would like to format the output in the CSV file. The "SecondaryAddresses" field is where my issue is. The field contains multiple addresses as such:
    {[email protected], [email protected], [email protected]}
    Current output in .csv file.
    Desired output in .csv file.
    I want to be able to add a return into the .csv file so the data is in one cell.
    Get-Mailbox jblake -DomainController "DC01" -ResultSize Unlimited | Select-Object DisplayName,alias,PrimarySmtpAddress, @{Name=“SecondaryAddresses”;Expression={$_.EmailAddresses | Where-Object {$_.PrefixString -ceq “smtp”} | ForEach-Object
    {$_.SmtpAddress}}}
    Chris

    I think that is still not quite there, it is missing the filter on PrefixString.
    Get-Mailbox jblake -DomainController "DC01" -ResultSize Unlimited | Select-Object DisplayName,alias,PrimarySmtpAddress, @{Name=“SecondaryAddresses”;Expression={($_.EmailAddresses | Where-Object {$_.PrefixString -ceq "smtp"}).SmtpAddress -join "`n"}}
    Enclosing $_.EmailAddresses | Where-Object {$_.PrefixString -ceq "smtp"} in parenthesis lets us use the dot operator on the array that it returns. Accessing a property on an array that is actually a property on each of the objects in the array
    should return an array of those property values (an array of SmtpAddresses), which we can then -join with the newline character. Note that this feature of arrays was added in v3.0 so in case you're on an older version this wouldn't work.
    I also don't have the Exchange cmdlets, so I unfortunately I cannot test it either.

  • How to add a CSV file to a desktop application and access it?

    I'm writing a desktop application for looking up phone numbers (this numbers are stored in a .CSV file). Where should I put the file in the project and how to access it? I intend to put it in the project and open it in a buffered reader!
    Thanks!

    The best place to put application data is probably user.home, as described in the [Store Application Settings and Components|http://sdnshare.sun.com/view.jsp?id=2305] post at SDNShare.
    If those listings are still messed up, try these alternate renderings of [AppStore.java|http://pscode.org/fmt/sbx.html?url=/test%2FAppStore.java&col=2&fnt=2&tab=2&ln=0] & [AppStoreDemo.java|http://pscode.org/fmt/sbx.html?url=/test%2FAppStoreDemo.java&col=2&fnt=2&tab=2&ln=0].

  • Power shell script to add multiple aliases with a .csv file.

    I have an email address lets say [email protected] and I need 1000 aliases added to the email. For example [email protected], [email protected] etc etc. and I have a .csv file with 990 columns with just project1, project2.
    Is there a way to run a command in powershell exchange to import all the aliases I need in a few commands? Can someone point me in the right direction if I am in the wrong forum also? Thanks
    No sure if this is correct or not:
    > $mbx = Get-Mailbox Project
    > Import-CSV "C:\SomePath\wherever.csv" | foreach { $mbx.EmailAddresses += $._SmtpAddress }
    > Set-Mailbox project -EmailAddresses $mbx.EmailAddresses

    Help Import-Csv -FULL
    $aliases=Import-Csv aliases.csv
    ¯\_(ツ)_/¯

  • Using a CSV file to add markers

    I do a lot of sports video editing. A new iphone app just appeared in the app store that allows you to tag events which are in sync with the games you are filming. It outputs as a CSV file. High end sports analysis software allows for CSV files to be imported and connected to a video file, is this possible in Final Cut Express or Pro...?
    Ideally, I'd just like the file to show up as markers, or event better clip it into sub clips from the CSV file. Would save a lot of time editing.
    Many thanks...

    Hi - There is a way to get that kind of info into FCP, although I am not sure it would work for markers or subclips - just clips only, I believe. But you could include some metadata. I am not sure it would be worth the effort, but . . .
    You would take your CSV file, open it in Excel and reformat the information to conform to the format of FCP's Batch List, then export that from Excel and then import that file as a Batch List in FCP.
    You can get information about Batch List formatting here:
    http://blog.surrealroad.com/archives/2008/final-cut-pro-batch-list-specification /
    and it appears they are readying a project management software package here:
    http://synaesthesia.surrealroad.com/features/
    Hope this helps.
    MtD

  • Add text to downloaded CSV file

    Hi.
    I'm trying to place a text at the bottom of the csv file, but I can not find the way to do it.
    What I'm trying to do is, after all rows downloaded in my csv file, I'd like to place a general comment in the next row regarding some information about the data I've downloaded.
    Is this possible?
    Thanks
    Ivo

    one of my colleagues might have a better answer for this, but one not-so-elegant way to get a message to display at the bottom of your csv output would be to manually put your own "download to csv" link on your page. have that link go to another page in your app that reports on the same query as your original report. put a region of type HTML right after your duplicate report region that displays the text you want to see in your csv output (be sure to use "No Template" for this region's template). change the report template of the second report region to "export: CSV". now when users click your manually added "download to csv" link, they'll be linked over to your other page. that page will immediately output the csv data as well as the additional line from your extra HTML region.
    hope this helps,
    raj

  • File adapter SyncRead Operation adds "???" to first record of csv file

    Hi All,
    One interface is reading one CSV file (containing two fields only) using SyncRead Operation of File Adapter. But I found, when file adapter parsed the data it appends "???" to first field of the first record which cause further data validation in the process.
    Test.csv file
    123456,159357
    147258,987654
    Trace of the FileAdapter:
    <messages>
    <Invoke_FILE_Inbound_InputVariable>
    <part  name="Empty">
    <empty/>  
    </part>
    </Invoke_FILE_Inbound_InputVariable>
    <Invoke_FILE_Inbound_OutputVariable>
    <part  name="body">
    <Root-Element>
    <TestElements>
    <Emplid>���123456</Emplid>  
    <SupId>159357</SupId>
    </TestElements>
    <HRRespIDElements>
    <Emplid>147258</Emplid>  
    <SupId>987654</SupId>
    </TestElements>
    </Root-Element>
    </part>
    </Invoke_FILE_Inbound_OutputVariable>
    </messages>
    Can anyone help me to understand , what is reason? Or I missed anything.
    Thanks & Regards,
    Sharmistha

    Unfortunately, this is documented bahaviour (solution/workaround anyone?!):
    Elapsed Time Exceeds:
    Specify a time which, when exceeded, causes a new outgoing file to be created.
    Note:
    The Elapsed Time Exceeds batching criteria is evaluated and a new outgoing file is created, only when an invocation happens.
    For example, if you specify that elapsed time exceeds 15 seconds, then the first message that is received is not written out, even after 15 seconds, as batching conditions are not valid. If a second message is received, then batching conditions become valid for the first one, and an output file is created when the elapsed time exceeds 15 seconds.

Maybe you are looking for

  • Ipod nano 2nd gen either gets white screen or apple icon but is recognized by itunes! What now

    So I have done the reset steps and I will either get the white screen or the apple icon with 2 audible beeps. The Ipod does show up in Itunes, however I cant play music. I dont know if it has been dropped or not as I am doing a favor for a friend. I

  • Xorg hang after update, HELP

    Hi, after a massive update now cant login to X, the logs, here (EE) HID 1267:0103: failed to initialize for relative axes. (**) HID 1267:0103: (accel) keeping acceleration scheme 1 (**) HID 1267:0103: (accel) acceleration profile 0 (II) HID 1267:0103

  • Problem in workflow while approving the workitem.

    Hi Experts, I am very new to workflow. While creating PR the workflow is triggering to user SAP mailbox but when he try to execute it, no action is happening. Still the workitem present in his SAP mailbox with "In Processing' status only. Actually it

  • Unauthorized iTunes Library?

    Every time I open iTunes, it comes up with a message saying, "The iTunes library file cannot be saved. You do not have enough access privileges for this operation." I closed out of iTunes once, then opened it up again, and my entire library was delet

  • Combining two IPhoto Libraries

    I have studied various articles on this subject but not uncovered a solution. What I want to achieve is to combine / merge two separate IPhoto libraries into one. I run OSX 10.6.2 and IPhoto 09. If this is impossible which I think it may be, does any