Open Dataset - File Creation with [] as delimiter

All,
I need to create a file in the App Server with each field needs to separated with a Square Symbol  ( I don't have any info what is this Square Symbol ) and also i cannot able to recreate the same that over here. But i can see that in notepad and wordpad
APO 529578790000           001            
ACO 529578790000           001 01 00001
AED 529578790000           001     N380  

But i tried in notepad and wordpad there is no tab available
or it can be generate thru binaray  format of 1D ?

Similar Messages

  • Open Dataset : File creation in server

    Hi Guys,
    I am trying to use  
    Open dataset dsn for output in text mode encoding default.   " dsn = '
    pt-net\taskout\outfile.txt'.
    loop at itab.
    transfer itab to dsn.
    endloop.
    to write a file at a destination on a windows NT server For eg :
    pt-net\taskout\outfile.txt
    I see sy-subrc = 0 at both open dataset and transfer commands in the debugger. But the file is not written.
    I can manually create files when I access this path in my explorer. So it is not an access issue.
    Also, my SAP application server is a Unix server. But the file I am trying to write is in NT server. THis is for  a 3rd party application. Where am I possibly going wrong ? I am able to write this file to the Unix application server path using the above command. But I need to write this in the Windows server.
    Do I need first write to Unix path and then FTP it to Windows server ? I can manually do this. But since this program is going to run as a job, I want to automate this..
    THanks in advance!!

    Hi,
    This is my advice:
    First write the file in the file system of your application server.
    After that find out, what to do for transport on operation system level.
    Since SAP allows system calls, you can do it in the same way by program.
    I give you some code. Unfortunately it is from Windows to Windows. Nevertheless I hope you can profit by it.
    *&      Form  file_to_l66
    FORM file_to_l66  USING src_fpath
                            dest_fname.
    - src_fpath full path of source file
    - dest_fname intended file name for destination
      DATA:
        parcom(250),
        BEGIN OF tabl OCCURS 0,
          line(200),
        END OF tabl,
        str(250).
    drive y free
      parcom = 'y:'.
      CALL 'SYSTEM' ID 'COMMAND' FIELD parcom
                  ID 'TAB'     FIELD tabl-sys.
      IF sy-subrc IS INITIAL.
        RAISE file_to_l66_err_drive_y.
      ENDIF.
    mapping y
    128.1.123.1 ServerL66
      parcom =
        'net use y:
    128.1.123.1\SAPDATA passwd /user:usr01'.
      CALL 'SYSTEM' ID 'COMMAND' FIELD parcom
                  ID 'TAB'     FIELD tabl-sys.
      IF NOT sy-subrc IS INITIAL.
        RAISE file_to_l66_err_mapping_y.
      ENDIF.
    copying
      CONCATENATE 'copy' src_fpath 'y:\' INTO str SEPARATED BY space.
      CONCATENATE str dest_fname INTO parcom.
    example:
      src_fpath  = 'e:\trans\l66.xml'
      dest_fname = 'l66_20080531235959.xml'
      -> parcom = 'copy e:\trans\l66.xml y:\l66_20080531235959.xml'.
      CALL 'SYSTEM' ID 'COMMAND' FIELD parcom
                  ID 'TAB'     FIELD tabl-sys.
      IF NOT sy-subrc IS INITIAL.
        RAISE file_to_l66_err_copying.
      ENDIF.
    release y
      parcom =
        'net use y: /delete'.
      CALL 'SYSTEM' ID 'COMMAND' FIELD parcom
                    ID 'TAB'     FIELD tabl-sys.
      IF NOT sy-subrc IS INITIAL.
        RAISE file_to_l66_err_unmapping_y.
      ENDIF.
    ENDFORM.                    " file_to_l66
    Edited by: Walter Habich on May 22, 2008 4:24 PM

  • Can't open DNG files created with Mac CS5 downloader in Mac CS4 Photoshop

    I recently installed CS5 on my mac but I kept CS4 installed as well.  I notice that I cannot open DNG files created with CS5 in Photoshop CS4.  Bridge CS4 shows the files only as icons - no image thumbnails.  I am able to open these same files on a Windows version of CS4.  Is there some plugin for my mac CS4 that will enable me to access the DNG files created with CS5?  Is there a way to use my CS5 downloader when converting my raw files from my camera to DNG files that will make them compatiple with PS and Bridge CS4?

    rr3rd wrote:
    Is there a way to use my CS5 downloader when converting my raw files from my camera to DNG files that will make them compatiple with PS and Bridge CS4?
    Well, yes...but you'll need to modify your DNG Converter prefs to allow for that. You''ll need a recent (ideally current DNG Converter 6.4.1 or above) and click on the DNG Converter preferences and select the correct DNG Converter options. Check DNG Converter 6.4.1 (the current version) and click on "Change Preferences" to be sure select Camera Raw 5.4 and later then make sure CS4 is updated to ACR 5.7 (which is the last version of ACR for CS4) However, the changes made to ACR 6.x really should be adopted since IQ for ACR 6.4.x is a lot better...

  • Why can't I open RAW files taken with my Nikon D3200 in Elements 10?

    Is there a fix in the works that will allow me to open RAW files taken with my Nikon D3200?

    Actually the 7.1 camera raw update covers the D3200, but for whatever reason adobe has denied users of pse 10 that update.
    Maybe it will still be released, but to me something else seems to be up, because in the past the latest version of elements (at least on windows) was always updated
    to the latest version of camera raw at the same time photoshop was.
    In the meantime you could download the 7.1 DNG converter to convert your files to dng copies which will then open in pse 10.
    windows:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5389
    mac:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5388
    I know this stinks, but other than using the camera makers or aftermarket raw programs (lightroom), that's the best i can suggest for now.

  • How do I open raw files taken with Canon 70D.  Not supported in Elements 12.  Is there a download?  Thanks.

    How do I open raw files taken with a Canon 70D?  Elements 12.  Version 8.0 Windows 7 64 bit.  Thanks in advance for any help.
    JWT
    Lamar, CO

    Thank you so much for you quick answer.  Works fine, now.  Thanks again, Barbara.
    JWT

  • HT3775 I could not open video file name with .flv

    I could not open video file name with .flv Please help to advise?

    Install Perian or use VLC.
    (86537)

  • HT202879 How can I open a file made with old version of Pages (before 09)?

    I need to open a file made with old version of Pages (before 09).  How can I do this?  I only have iworks Pages free with Mac Book Pro.

    You need either Pages '09 or the original Pages '08? programs.
    With Pages '09 you simply open it and it accurate converts it to Pages '09. Pages 5 will open the Pages '09 version but may alter/damage the file.
    With Pages '08 you Export it to Word .doc/.docx with mixed results, then open that in Pages 5 which may alter/damage the file.
    Peter

  • Opening Cr2 file made with Canon g11 in Elements 7

    Recently I purchased a G11. Elements 7 won't open the raw files created with that camera. I get an error message saying wrong type of file.
    Elements 7 opens cr2 files made with my Canon Rebel (3 years old)
    Ideas?

    Download and install the Camera Raw 5.6 update:  http://www.adobe.com/support/downloads/detail.jsp?ftpID=4626
    Juergen

  • OPEN DATASET file FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE

    Hi There,
    I also have the similar issue. I am able to write the data into appliaction server in Chinese Characters using :OPEN DATASET datei FOR OUTPUT IN TEXT MODE ENCODING DEFAULT or OPEN DATASET datei FOR OUTPUT IN TEXT MODE ENCODING UTF-8. But when i save that file into my presentation server manually, all the chinese characters are showing as Junk.
    When i use OPEN DATASET datei FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE, giving runtime error and when i use OPEN DATASET datei FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE IGNORING CONVERSION ERRORS, No error but application server output itself showing as Junk characters.
    Could you please suggest me what you have done?
    Regards,
    Chaitanya A

    Hi,
       Use this
      OPEN DATASET File_path  FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE
      WITH SMART LINEFEED
    it will definitely work.
    Regards,
    Manesh. R

  • Open dataset file length

    Hi Friends,
    I am uploading a file into SAP server and I would like to upload with 300 length char. ( I mean The file should contian 300 coloms)
    where we can declare the length of the file?
    Thanks,
    Sridhar

    Hi Sridhar,
    Define variable of type string or type CHAR(XXX), XXX should be equal or more than expected length of record.
    Open dataset in text mode or binary mode.(prefer binary mode - if user will go to OS and see the file by double click prefer text mode so that it will get downloaded in readable format).
    if dataset is opened successfully -
    Loop at your internal table into string or defined variable .
    Use transfer command to transfer each line.
    Close the dataset.
    Here goes some code:
      DATA: lv_file1 TYPE string.
      FIELD-SYMBOLS: <f_t_table> TYPE ANY.
      lv_file1 = lfile_path.
      IF im_binary_mode IS NOT INITIAL.
        OPEN DATASET lv_file1 FOR OUTPUT IN BINARY MODE.
      ELSE.
        OPEN DATASET lv_file1 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT .
      ENDIF.
      IF sy-subrc EQ 0.
        LOOP AT t_table ASSIGNING <f_t_table> .
          TRANSFER <f_t_table> TO lv_file1.
        ENDLOOP.
        CLOSE DATASET lv_file1.
       MESSAGE s027(zdev) RAISING download_success.
      ELSE.
        MESSAGE e028(zdev) RAISING download_error.
      ENDIF.
    Now important thing:
    Record with length more than 255 gets downloaded successfuly intext mode but when you try to read it via AL11, CG3Y, or with OPEN dataset- READ- write ..CLOSE dataset you can see only 255 character.
    Dont worry about this.
    AL11 and CG3Y is unable to display more than 255 char in text mode. if you are writing content of the file on list screen, use OFFSET, like WRITE: /01(500) lv_string.
    write statement in AL11/cg3y doesnt have this offset in write so more than 255 length cant be seen.
    I hope u get the answer and able to understand this solution.
    Bless u.

  • Open a file starting with and latest timestamp

    hi all,
    i need to open a file whose name starts with ABC_DELTA and has the latest timestamp. i mean there are many files in this folder and some files will start with ABC_DELTA, but i need to pick up the file which has the latest timestamp or is the newest. how would i implement this. pls help.
    thanks.

    ag2011 wrote:
    the files creation time. the file wont be modified. its like a log. and i need to parse it. thanks.Well, you're SOL if you want to use creation time: check out the File API. But you should be able to use lastModified in its place.

  • I cannot open raw file shot with canon 20d. I get an error message.

    I recently used a 50d camera and shot in raw +jpeg. Downloaded into computer. Was able to view jpeg but was unable to view raw version.At first I attributed this to needing software update for 50d. I brought up a raw file taken with a 20d and the same error message appeared. I could open a 20d file before. This morning I tried again.I did open a 20d file.I tried a 50d file and the error message appeared. Went back to 20d file and the error message appeared saying it cannot open file.I am less than a novice. I purchased elements 6 a year ago and am just starting to try to use it. Are there updates that I need to do .

    sdefr0ghsf wrote:
    Further to my above reply, I have just discovered this on the web:
    Why Adobe doesn't touch proprietary raw files
    Touching the bits of raw image formats that aren't publicly documented well (or at all) seems like a bad idea, bound to end in tears. Microsoft is advising customers not to edit metadata using Vista, saying,
    Microsoft has received reports of compatibility issues with Nikon NEF files after installing version 1.0 of Nikon's raw codec posted in January. Tagging the raw files through Windows Vista or the Microsoft Photo Info tool after the codec is installed appears to cause these files to become unreadable in other applications, such as Adobe Photoshop. [Via]
    I'm sure the problem will get sorted out soon enough, but it does illustrate why Camera Raw and Lightroom insist on using sidecar data files for raw formats other than DNG. It's less convenient, but we've seen far too many conflicts arise from touching metadata in these other formats. DNG was designed with flexible internal storage of metadata in mind, and now Lightroom and Bridge offer conversion to DNG as part of their photo-import processes. (For what it's worth, on my MacBook Pro, converting an 8MP CR2 file to DNG takes roughly 1-1.5 seconds--not a bad price for portability & reduced file size.)
    Posted by            John Nack at 01:47 AM on February 12, 2007
    You will note this this was posed on Feb 12th 2007 and that it appears to still be an issue. Oh dear.
    Sure would be nice to see the link to where you got this.
    This refers to problems using Microsoft software and Vista, not Adobe software and Vista. I believe it is saying that Adobe properly handles both .nef and .dng files. I have no idea how this quote relates to this thread at all.

  • Data transfer error open dataset files

    hi,
    When i try to create a excel or text in my application server using open dataset.
    i.e
    l_filename type rlgrap-filename  value '/tmp/down.txt'.
    I got a short dump during the run time
    i got the output and put into an internal table.
    the following code has been used.
    form user_command using r_ucomm like sy-ucomm
    rs_selfield  type slis_selfield.
    if r_ucomm = 'confirm' .
    OPEN DATASET l_fname FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    LOOP AT it_out INTO wa_out.
      IF sy-subrc = 0.
        TRANSFER wa_out TO l_filename.
      ENDIF.
    ENDLOOP.
    endform.
    during the execution i hv a button alv grid outpu. when i click the button the file should be transferred.
    but NO authorization to open the file "/tmp/down.txt".
    and the error is pointed in the opendataset line.
    Please tell me where i am wrong . and  help me in resoving this.

    Try this..instead of moving field by field into the file 1st convert all he fields to a character stream..and then move that steam to file. Ex:
    loop at internal table into l_h_tbl_file.
    concatenate l_h_tbl_file-f1 l_h_tbl_file-f2 l_h_tbl_file-f3
    l_h_tbl_file-f4 l_h_tbl_file-f5 into g_string.
    TRANSFER g_string TO fu_wk_get_file.
    endloop.

  • How do I open .dll files automatically with Adobe Reader through Firefox?

    Hi,
    When I print eBay labels through Firefox, a .dll file is downloaded. This used to open automatically in Adobe Reader, but now it opens as a text document in TextEdit, so I have to manually open Adobe Reader, change options to show "all files", and then locate the .dll file and open it.
    When I try to change the default application in Firefox preferences, I can't find anything with the content type "dll".
    Is there a way to have Firefox automatically open .dll files with Adobe Reader?
    Any help would be much appreciated, thanks!
    Steve

    That worked, thank you!
    I quit out of Firefox, renamed the file like you said, restarted my computer, and restarted Firefox.
    When I went to download a label, Firefox asked me which application to use, and I picked Adobe Reader. I also checked the box to make that the default. This automatically opened the file in AR, and then when I did it the next time it worked perfectly.
    Again, thank you so much for your help with this - although it's just a bit of time here and there saved it really adds up!
    Take care!
    -Steve

  • How to open .doc files created with microsoft word 97... when using mac os x 10.7.4?

    hi!  i'm using mac os x 10.7.4 and have Office 2011.  i can no longer open older documents (.doc) created with Microsoft Word 97...  What can i do to get access to these files?
    thanks in advance!

    I had too many of these that I had to convert to a modern format. It isn't easy or consistent but one of these normally works:
    1. Open up Word and use the File/Open command rather than just double clicking on the file. Why does this sometimes work? I don't know! Save in docx format.
    2. Try opening the files in Office 2010 on a Windows machine. Again, immediately save as a docx file. This works more often than the advice above.
    3. Download the free LibreOffice and try opening it there. There will be some format problems but easily fixed. Once again, save in docx format.
    4. Breakdown and look for a dedicated format converter.

Maybe you are looking for

  • _blank always opening in the same new tab

    Hi there, I am curios if there is a workaround this issue. If you have an ad, let's say, that for any click it's set to use "_blank", every subsequent click will change page in only one new opened tab. There aren't more tabs created. Just one new tab

  • Netgear WGR614v6 Problems with Ebay and others-Help!!

    Just put in a Netgear WGR614v6 router and I can connect to the internet thru my 2-wire DSL modem (non-gateway1070-b). First issue was that any email I sent out-bound from Mac Mail that had an attachment would just sit in my outbox, I then disabled th

  • Download ALV O/P to multiple XL files

    Hi All,             I have a report with subtotals at the vendor level, my requirement is when the user presses a button each vendor's information with the subtotals should  go to a different XL file. The user can have his own layout; how can I know

  • How do you interpret the graphs in resource monitor in Server 2012?

    I cannot find what the green area verses the blue line mean in the resource monitor.  I have search the internet for quite some time and only find what the definition of terms are.  At first I though the blue line was peak measurements and the green

  • There is no   (plus sign) in Calendar to add an event.

    There is no + (plus sign) in the Calendar app so I am not able to schedule an event?