Data format/encoding of Transport files?

Hello everyone,
When an export is done, two files are generated - an Rxxxx and Kxxxx file.
The K file contains transport information (I can see it with a utf-8 text editor) and the R file the contents of the transport.  However, I cannot determine what encoding is used - looks like some type of binary file.
DOES ANYONE KNOW WHAT KIND OF ENCODING AND HOW I CAN CONVERT THIS TO A NON-BINARY FORMAT?
I've tried the SAR utility but this does not seem to work.
I have searched for this a bit but have come up empty.
Any help is appreciated.
Thanks,  John

Hi John,
the format in which the data are stored in the data file is AFAIK a SAP own format. So, I don't think you will find any other tool which is able to read this file. But you don't need another tool, you have R3trans.
With the command
R3trans -l <data file> [-w <logfile>] [-v <verbose level>]
you can list the content of a data file. R3trans writes this content into the log file trans.log by default, but this can be changed with the -w option. And with the option -v you can increase the verbose level (just specify a number > 1) to let R3trans write more details into the log.
Just try it, perhaps it matches your needs...
Best regards,
  Dirk

Similar Messages

  • Problem with SQL*Loader and different date formats in the same file

    DB: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    System: AIX 5.3.0.0
    Hello,
    I'm using SQL*Loader to import semi-colon separated values into a table. The files are delivered to us by a data provider who concatenates data from different sources and this results in us having different date formats within the same file. For example:
    ...;2010-12-31;22/11/1932;...
    I load this data using the following lines in the control file:
    EXECUTIONDATE1     TIMESTAMP     NULLIF EXECUTIONDATE1=BLANKS     "TO_DATE(:EXECUTIONDATE1, 'YYYY-MM-DD')",
    DELDOB          TIMESTAMP     NULLIF DELDOB=BLANKS          "TO_DATE(:DELDOB, 'DD/MM/YYYY')",
    The relevant NLS parameters:
    NLS_LANGUAGE=FRENCH
    NLS_DATE_FORMAT=DD/MM/RR
    NLS_DATE_LANGUAGE=FRENCH
    If I load this file as is the values loaded into the table are 31 dec 2010 and 22 nov *2032*, aven though the years are on 4 digits. If I change the NLS_DATE_FORMAT to DD/MM/YYYY then the second date value will be loaded correctly, but the first value will be loaded as 31 dec *2020* !!
    How can I get both date values to load correctly?
    Thanks!
    Sylvain

    This is very strange, after running a few tests I realized that if the year is 19XX then it will get loaded as 2019, and if it is 20XX then it will be 2020. I'm guessing it may have something to do with certain env variables that aren't set up properly because I'm fairly sure my SQL*Loader control file is correct... I'll run more tests :-(

  • Error with the data format in the TXT file, sending as an Email attachment

    Hi all,
    I have an problem in the data formating in the TXT file while sending as an attachment via an email by using the FM "SO_DOCUMENT_SEND_API1".
    For eg:
    The data in the TXT file is looking like as follows:
    0 0 0 0 2        L O U D S P E A K R   O T H E R   3 8 W h i t e                  0 0
    0031  L O U D S P E A K R   O T H E R   3 8 Black                               0 000
    38    L O U D S P E A K R   O T H E R   3 8 Brown                                  0 00040
    L O U D S P E A K R   O T H E R   3 8 Brown                                         0 00042
    and so on
    But it should come as :
    0 0 0 0 2  L O U D S P E A K R   O T H E R   3 8 W h i t e
    0 0 0031   L O U D S P E A K R   O T H E R   3 8 Black
    0 00038    L O U D S P E A K R   O T H E R   3 8 Brown
    0 00040    L O U D S P E A K R   O T H E R   3 8 Brown
    All the internal tables are correctly filled.
    The code is as follows:
    gwa_objtxt = 'Please find attached DATA EXTRACT Sheet'.
      append gwa_objtxt to git_objtxt.
    describe table git_objtxt lines gv_cnt.
      clear git_doc_data.
      read table git_objtxt index gv_cnt.
      git_doc_data-doc_size = ( gv_cnt - 1 ) * 255 + strlen( gwa_objtxt ).
      git_doc_data-obj_langu = sy-langu.
      git_doc_data-obj_descr = lv_mtitle.
      append git_doc_data.
      clear git_packing_list.
      refresh git_packing_list.
    git_packing_list-transf_bin = space.
      git_packing_list-head_start = 1.
      git_packing_list-head_num = 0.
      git_packing_list-body_start = 1.
      git_packing_list-body_num   = gv_cnt.
      git_packing_list-doc_type = 'RAW'.
      append git_packing_list.
      Clear : gv_cnt.
      Describe table git_objbin lines gv_cnt.
      git_packing_list-transf_bin = 'X'.
      git_packing_list-head_start = 1.
      git_packing_list-head_num = 1.
      git_packing_list-body_start = 1.
      git_packing_list-body_num = gv_cnt.
      git_packing_list-doc_type = 'TXT'.
      git_packing_list-obj_descr = 'ATTACH.TXT'.
      git_packing_list-obj_name = 'book'.
      git_packing_list-doc_size = gv_cnt * 255.
      APPEND git_packing_list.
      clear git_receivers.
      refresh git_receivers.
      git_receivers-receiver = gv_eid.
      git_receivers-rec_type = 'U'.
      append git_receivers.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = git_doc_data
          PUT_IN_OUTBOX              = 'X'
          COMMIT_WORK                = 'X'
        TABLES
          PACKING_LIST               = git_packing_list
          CONTENTS_BIN               = git_objbin
          CONTENTS_TXT               = git_objtxt
          RECEIVERS                  = git_receivers
        EXCEPTIONS
          TOO_MANY_RECEIVERS              = 1
          DOCUMENT_NOT_SENT                = 2
          DOCUMENT_TYPE_NOT_EXIST      = 3
          OPERATION_NO_AUTHORIZATION = 4
          PARAMETER_ERROR                    = 5
          X_ERROR                                      = 6
          ENQUEUE_ERROR                        = 7
          OTHERS                                        = 8.

    please give the code of
    contents bin =  git_objbin " how  this is getting populated.
    0 0 0 0 2 L O U D S P E A K R O T H E R 3 8 W h i t e <b>0 0</b>
    0031 L O U D S P E A K R O T H E R 3 8 Black
    0 000
    38
    from this im not able to understand is this over population or concatenation problem
    y dont u make a append to the final table
    like
    data : begin of itxt occurs 0, ,
    s1(132) type c ,
    end of itxt.
    loop at itab.
    itxt-s1+0(4) = itab-f1.
    itxt-s1+4(6) = itab-f2.
    itxt-s1+10(8) = itab-f3.
    itxts1+18(4) = itab-f4.
    append itxt.
    clear itxt.
    endloop.
    exchange this to the contents bin of hte Fm .
    regards,
    vijay.
    can u please mail the text file and the expected o/p to my mail id [email protected]  so that i can see the same from the data provided i m not able to check the result properly .

  • Wrong date format when import CSV files

    When you import a CSV file that contains fields with German date formats, these fields are displayed incorrectly.
    Example: Contents of the CSV file "01.01.14". After importing the corresponding cell in Numbers has the content "40178".
    A reformat the cell to a date format is not possible.
    How do I get the date in the new version of Numbers displayed correctly?

    It seems that there are more than a few problems related to import/export with non-US localizations.
    I, personally, don't have a solution to your problem. I started to adjust my Language & Region settings to test your problem but it was several settings, I didn't get it right, and I didn't want to mess up my computer so I set everything back to US/English.
    The only workarounds I can suggest are
    Insert a new column into your table and in it put a formula that adds the number to the date 01.01.1904.  Or,
    Edit the CSV in TextEdit to Replace All "." with "/".  This will work if "." is used for nothing else but these dates.
    I recommend the second one if it will work for you. Hopefully Apple is addressing problems such as the one you are seeing.

  • Regarding Date format in output text file

    Hi Frnds,
    i am taking the data from vbak table into one internal table T_vbak, in that i am having vdatu field also, and after that using GUI_Download function module i am downloading that internal table data to one text file into presentation server.
    But the date format is displaying in yyyymmdd format in the text file, but i want the format like mm/dd/yyyy in the text file, can anybody plz help me....

    Hey Bala,
    You can use the following conversion routine for converting the date from yyyymmdd format into mm/dd/yyyy.
    data: l_date(10) type c.
    Loop at t_vbak into wa_vbak.
    CONCATENATE wa_vbak-vdatu4(2) wa_vbak-vdatu6(2) wa_vbak-vdatu(4) INTO l_date SEPARATED BY '/'.
    wa_vbak-vdatu = l_date.
    modify t_vbak from wa_vbak.
    Endloop.
    Regards,
    Chetan.
    PS: Reward points if this helps.

  • Date format (YYMMDD ) for the file

    HI All,
    I need to place a file with file name that should include the date in the format YYMMDD. Currently the format is DDMMYY.
    How can i do that?
    Thanks In advance!!

    Perhaps by changing the date format in the personal settings of the user that creates the file.
    Check transaction su01 - username - defaults
    Kind regards,
    Mark

  • XIR2 - Date format problem in pdf file when scheduled to refresh

    We have a number of Deski reports that are scheduled to refresh daily and then be saved as pdfs to a network drive.  Despite the date format being correctly displayed in the reports stored in the respository, when the scheduled jobs save the reports as pdfs, it is changing the date format to the American format, i.e. 11/13/2007 instead of 13/11/2007.  I've checked both the Date/Time and Regional Settings on the server and they are set correctly.  If I log into Deski on the server and open a report and manually save it as a pdf, it saves it with the UK format.
    So what do I need to change to get the scheduled job to use the UK date format?

    Hi Anne,
    If you schedule reports through Infoview then please perform below steps.
    - Login to Infovinfoview -> go to Preferences.
    - Change the My interface locale is to "English (UK)" and My current Timezone to appropriate time zone under Genera tab.
    - Log off and login again.
    - Try to schedule the report to PDF or any other format and check the issue.
    If you schedule reports through CMC, then change Timezone setting to appropriate timezone in Preferences and schedule the reports.
    Thanks and Regards,
    Purna.

  • "Bad data format" when reading txt file from the presentation server

    Hello,
    I have a piece of code which reads a txt file from the presentation server to an internal table like below:
    DATA : lv_filename type string.
    lv_filename = 'C:\abap\Test.txt'. "I created a folder called abap under C:\
    CALL method CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
       FILENAME              = lv_filename
    CHANGING
       DATA_TAB            = lt_tsd. " lt_tab has the exact same fields as the Test.txt's. Test.txt has only one line, tab delimited.
    When running this code, exception BAD_DATA_FORMAT is issued.
    Is it because of the file encoding or delimiter or other reason?
    Thanks,
    Yang

    Hello,
    If its tab delimited then use the has_field_seperator parameter and check
    DATA : lv_filename type string.
    lv_filename = 'C:\abap\Test.txt'. "I created a folder called abap under C:\
    CALL method CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
       FILENAME                = lv_filename
       FILETYPE                 = 'ASC'
       HAS_FIELD_SEPARATOR          = u2018Xu2019
    CHANGING
       DATA_TAB            = lt_tsd.
    Vikranth

  • Date format problem in Flat file extraction

    My flat file is send date like this  DD/MM/YYYY  HH:MM:SS  how can i extract date and time to my ODS. i need date if posible time in seperate object
    how can i create my info object and how to map it.
    Thanks
    Babu

    Hi,
    create a routine and use the statement convert timestamp. Check out the F1-help for details of the statement.
    Siggi

  • Date format inconsistent in log files

    Hi All,
    I have a cluster spread accross 4 machines(4 different physical boxes).
    In three of the machines, the log format is ,
    <17/1/2010>
    while in the fourth on it is like,
    <Jan 17 >
    We require the log format in the form <17/1/2010>
    Any help or suggestion???
    Thanks.

    Usually, this is due to a localization difference in the JVMs. When WLS boots, the .log file should show you some detailed information about the locale it is using, make sure that is consistent across the machines.

  • Date format in file Formetter.js using Web IDE

    Hi Experts,
    I know that at the forum includes discussions which relate to date format, but I couldn't find topics of the date format using Formatter.js file in Web IDE.
    To the point. It's the fragment of my index.html file, where can find resourceroots:
                                  <script id="sap-ui-bootstrap"
                                                   src="resources/sap-ui-core.js"
                                                   data-sap-ui-libs="sap.m"
                                                   data-sap-ui-theme="sap_bluecrystal"
                                                   data-sap-ui-xx-bindingSyntax="complex"
                                                   data-sap-ui-resourceroots='{"RbsNew": "./"}'>
                                   </script>
    My Formatter.js file looks like:
    jQuery.sap.require("sap.ui.core.format.DateFormat");
    jQuery.sap.declare("RbsNew.Formatter");
    sap.ui.RbsNew.Formatter = {     
    date : function (value) {
             if (value) {
                    var oDateFormat = sap.ui.core.format.DateFormat.getDateTimeInstance({pattern: "yyyy-MM-dd"});
                    return oDateFormat.format(value);                                     
            else {
          return value;
    and it's located directly in the project directory - RbsNew.
    I try use this file to format the date in Detail.view.xml file - exactly in Table. The fragment of code looks like:
    <Text
                text="{
                                   path:'Bdate',
                                   formatter:'sap.ui.RbsNew.Formatter.date'
                    }"/>
    Unfortunately, I can't see the expected results.
    Please help, because I don't know what I'm doing wrong.
    Regards
    Marcin

    try
    <Text 
                text="{ 
                                   parts : [ 'Bdate'], 
                                   formatter:'RbsNew.Formatter.date' 
                    }"/> 
    btw, any errors in console?

  • Date Format in SQL Loader

    Dear All,
    I have a table CMS_HO where I have defined different columns. One column is of date type STATUS_DATE. I want to upload one ASCII file where one field is in the format like below:
    5/26/2008 12:41
    5/26/2008 8:51
    5/28/2008 9:01
    5/28/2008 13:54
    5/13/2008 10:45
    4/6/2008 9:21
    I want to upload file into Oracle database. Currently I am using following control file:
    LOAD DATA
    INTO TABLE CMS_HO TRUNCATE
    FIELDS TERMINATED BY "\t"
    TRAILING NULLCOLS
    ( ID,EXPIRYDATE, VER, SN, STATUS_DATE)
    There seems error in the STATUS_DATE field in control file. Can any one help how to modify this Control file so that data against this field can be uploaded into date format please?
    Thanks

    Here's an example i pulled from the web on specifying the date format in a control file.
    http://infolab.stanford.edu/~ullman/fcdb/oracle/or-load.html#loading%20date%20data
    Based on the sample data you provided, i think this is the format you're after.
    ME_XE?select
      2     to_date('5/13/2008 10:45', 'mm/dd/yyyy hh24:mi') as date_value_24_hours
      3  from dual;
    DATE_VALUE_24_HOURS
    13-MAY-2008 10 45:00
    1 row selected.
    Elapsed: 00:00:00.89

  • Diferent Date Formats

    Hi,
    I am facing a problem with the date format in the dashboard prompt. The same link shows different date format (dd/mm/yyyy or mm/dd/yyyy) in different systems. is there any way i can have a single format (mm/dd/yyyy) in every system?
    Thanks in Advance
    Arun

    Hi
    did you save the format for particular date data type columns in column properties section? on any presentation services?
    see that default date format in NQSConfig.INI file GENERAL settings, i.e. DATE_DISPLAY_FORMAT

  • SQL Loader with date formatting

    Hi,
    I'm trying to get sql loader to insert a date into a column. After much browsing, reading trial and error I still get an array of errors.
    I'm using oracle XE
    my control file looks like this
    LOAD DATA
    INFILE 'posmeters/meters.csv'
    INTO TABLE position_meters
    FIELDS terminated by ","
    ID CONSTANT '0',
    POSITION_ID,
    DATETIME DATE "DD/MM/YYYY HH24:MI:SS",
    CASH_IN,
    CASH_OUT,
    NOTES_IN,
    CHANGE_OUT,
    WINNINGS,
    VTP,
    REFILL,
    TOKEN_IN,
    TOKEN_OUT,
    ELEC_PAY,
    ELEC_CREDIT,
    REMOTE_PAY,
    REMOTE_CREDIT,
    INSERT_TS EXPRESSION "TO_CHAR(SYSDATE, 'DD/MM/YYYY HH24:MI:SS')",
    FIFTY_PND,
    TWENTY_PND,
    TEN_PND,
    FIVE_PND,
    TWO_PND,
    ONE_PND,
    FIFTY_P,
    TWENTY_P,
    TEN_P,
    FIVE_P
    It is the DATETIME field which gives me grief. I have a test data file that looks like this
    0,1010,29/09/2011 10:23:24,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24
    and my table is defined as follows
    ID NUMBER NOT NULL,
    POSITION_ID NUMBER,
    DATETIME TIMESTAMP(6) DEFAULT localTIMESTAMP NOT NULL,
    CASH_IN NUMBER,
    CASH_OUT NUMBER,
    NOTES_IN NUMBER,
    CHANGE_OUT NUMBER,
    WINNINGS NUMBER,
    VTP NUMBER,
    REFILL NUMBER,
    TOKEN_IN NUMBER DEFAULT (0) NOT NULL,
    TOKEN_OUT NUMBER DEFAULT (0) NOT NULL,
    ELEC_PAY NUMBER DEFAULT (0) NOT NULL,
    ELEC_CREDIT NUMBER DEFAULT (0) NOT NULL,
    REMOTE_PAY NUMBER DEFAULT (0) NOT NULL,
    REMOTE_CREDIT NUMBER DEFAULT (0) NOT NULL,
    INSERT_TS TIMESTAMP(6) DEFAULT (localtimestamp) NOT NULL,
    FIFTY_PND NUMBER DEFAULT 0,
    TWENTY_PND NUMBER DEFAULT 0,
    TEN_PND NUMBER DEFAULT 0,
    FIVE_PND NUMBER DEFAULT 0,
    TWO_PND NUMBER DEFAULT 0,
    ONE_PND NUMBER DEFAULT 0,
    FIFTY_P NUMBER DEFAULT 0,
    TWENTY_P NUMBER DEFAULT 0,
    TEN_P NUMBER DEFAULT 0,
    FIVE_P NUMBER DEFAULT 0
    I have tried defining the control file with
    DATETIME DATE "DD/MM/YYYY HH24:MI:SS",
    DATETIME EXPRESSION "TO_DATE(:DATETIME, 'DD/MM/YYYY HH24:MI:SS')",
    DATETIME EXPRESSION "TO_TIMESTAMP(:DATETIME, 'DD/MM/YYYY HH24:MI:SS')",
    I get errors such as
    Record 1: Rejected - Error on table "SITE_MAIN"."POSITION_METERS", column DATETIME.
    ORA-01861: literal does not match format string
    SQL*Loader-291: Invalid bind variable DATETIME in SQL string for column DATETIME.
    any help would greatfully appreciated.

    It seems that the problem was caused by the constant at the beginning of the record and had nothing to do with date formats.
    My control file now looks like this
    LOAD DATA
    INFILE 'posmeters/meters.csv'
    APPEND INTO TABLE position_meters
    FIELDS terminated by ","
    POSITION_ID          ,
    DATETIME      date "DD/MM/YYYY HH24:MI:SS",
    CASH_IN          ,
    CASH_OUT          ,
    NOTES_IN          ,
    CHANGE_OUT          ,
    WINNINGS          ,
    VTP               ,
    REFILL          ,
    TOKEN_IN          ,
    TOKEN_OUT          ,
    ELEC_PAY          ,
    ELEC_CREDIT          ,
    REMOTE_PAY          ,
    REMOTE_CREDIT     ,
    INSERT_TS      "TO_TIMESTAMP(SYSDATE, 'DD/MM/YYYY HH24:MI:SS')",
    FIFTY_PND          ,
    TWENTY_PND          ,
    TEN_PND          ,
    FIVE_PND          ,
    TWO_PND          ,
    ONE_PND          ,
    FIFTY_P          ,
    TWENTY_P          ,
    TEN_P          ,
    FIVE_P          
    all is good :o)

  • Backup date format

    Hi everyone,
    I did some searching of the forums but didn't find this anywhere.
    I did a backup of my iphone4 and then used a sqlite browswer to view the data in the messages file.  The problem is that the date comes out as a 10 digit number.  I did some research on that and the only thing i came up with was that this format is the number of seconds since 1970.  I used the calculation of dividing the number by 862+2 and then putting the cells (in excel after i had imported the data) to the date format but it can't be right.  They were like from 1943 or something. 
    Can anyone tell me a way to convert the date format of the backup file into a readable date/time format?  I have access to both windows and linux so it doesn't matter if the operation needs to be performed on either or.
    Thanks in advance,
    Aaron

    Anybody even have a clue?  I'd really like to be able to figure this out.
    Thanks again.
    Aaron

Maybe you are looking for

  • Programatically generating an event

    Hi All, Perhaps I have tunnel vision here, but can't figure why this isn't an easy fix. Problem: I have an event structure with 7 events. One of these events (#3) removes a line of data from a table (indicator). It is activated on a value change of t

  • Firewall in a zone to manage interface in another one

    Hi, I would like to allow remote access to a zone in a system using a network interface (say hme0). On the other hand I want to place a firewall on the same interface, so that once in, users cannot connect to other IP addresses on the private network

  • How do i get my team to all see the same say, ID, document using the cloud?

    how do i get my team to all see the same say, ID, document using the cloud?

  • Windows to Mac transfer

    My PC recently died and I bought a macbook pro with retina display to replace it. I am trying to reinstall all of my old programs on my new computer, but my adobe installation cds are all configured for windows...is there any way to get a replacement

  • Bridge forgets the last folder I had open

    Bridge forgets the last folder I had open when I restart the computer and PS4/Bridge. What gives? Thanks Marv.