FLAT FILE Datasource SERIOUS Problem

Hi
I want to read a header information in csv file to fill the FLAT FILE DATASOURCE structure.
I cannot read it by default as I have to IGNORE THE HEADER ROW otherwise it wont come up correctly along with otherdetail  data that is below header row during extraction of CSV file.
How can i do that or How can I CALL A Function module or any other to fetch that header row ?
PLEASE HELP URGENTLY.
Thanks

you cannot read the header row only. But you can do a start routine within the transfer rules. There you can do whatever you like.
Perhaps you might have some troubles getting your data that far. Your header row must comply to the rules defined in your datasource like size or data type. So you might need to change some definitions of your datasource.

Similar Messages

  • Mapping Quantity keyfigure in BI 7- Flat file datasource

    Hi Guys,
    I have a problem in creating transformations for Quantity key figure for flat file datasource. In my csv file quantity is just  a number. i created a datasource and Infopackage and loaded data into PSA without any problem.
    In cube i have quantity key figure of QUAN type with 0UNIT unit of measure. So when I try to map Quantity in datasource with quantity InfoObject, 0UNIT is empty.  So I am unable to activate transformations.
    Can somebody suggest me how to proceed with htis problem? Should I define Quantity key figure as just number?
    Thank you in advance

    Hi Sneralla,
      you can take one  more field on you flatfile.. as units(ex: KG  or CM.. like that) beside of the  quanity filed..  and now load it into PSA and  now create transformations...  and now map this  units filed to  newly added field...
       you can try this option.. becasue.. when you are loading  Quantity   field data  from flat file means we need to mention the units also..
    regards
    @jay

  • Flat file datasource error

    Hi gurus,
    I have created a flat file datasource and it is activated successfully. but when i am trying to load data to that datasource. in the info package i am not able to see any fields in the dataselection and also it is giving me error when i am loading the data that data selection error. all the settings i did at datasource. can u pls suggest me to solve this problem.
    and when i am trying to see load example data it is giving me
    Option=1. Problem during file upload from Work-Station --> Long Text
    thanks,
    sridhar
    Edited by: sridhar on Dec 11, 2008 1:02 PM

    It is giving me
            1 = FILE_OPEN_ERROR
            2 = FILE_READ_ERROR
            3 = NO_BATCH
            4 = GUI_REFUSE_FILETRANSFER
            5 = INVALID_TYPE
            6 = NO_AUTHORITY
            7 = UNKNOWN_ERROR
            8 = BAD_DATA_FORMAT
            9 = HEADER_NOT_ALLOWED
            10 = SEPARATOR_NOT_ALLOWED
            11 = HEADER_TOO_LONG
            12 = UNKNOWN_DP_ERROR
            13 = ACCESS_DENIED
            14 = DP_OUT_OF_MEMORY
            15 = DISK_FULL
            16 = DP_TIMEOUT
            17 = NOT_SUPPORTED_BY_GUI
            18 = ERROR_NO_GUI
            19 = OTHERS
    Procedure
    Check the option number to know the possible reason of error and correct the problem.

  • Field in Flat File DataSource

    I created a Flat File DataSource.
    In the DataSource, I enetered InfoObject 0OUTAGTARGT in the Fields tab ->InfoObject Template column. I want this InfoObject to be mapped
    into field KTWRT (Target Value) in R/3 table EKKO.
    However, when I enter the the InfoObject 0OUTAGTARGT and hit Enter key, system prompts me to copy the properties. I choose Copy.
    And then it says:
    Reference field 0DER_CURR was added automatically.
    Now I have ORDER_CURR entered in the Field column, with InfoObject Template 0ORDER_CURR.
    In the Field column, I replaced the field ORDER_CURR with WAERS (Currency field from R/3).
    When I save it, I hit the following:
    Missing currency field / unit field ORDER_CURR
    System expect the field ORDER_CURR to be entered in the Field column. But in my source file, there is no field call
    ORDER_CURR. It is actually WAERS.
    How can I overcome this?

    Maintain 0ORDER_CURR as it is needed by 0OUTAGTARGT.
    Next, simply map WAERS to the ORDER_CURR field.
    But it doesnt allow me to change. In DataSource ->Fields tab, I try to replaced the field ORDER_CURR with WAERS. When I click on Activate, I
    hit the following:
    Missing currency field / unit field ORDER_CURR
    Please help.

  • Infopackage Routine in flat file datasource

    Hi,
    There is a requirements to load the data from multiple flat files in folder into BI which source data is coming from other system. Each flat file has it own naming convention.
    There are around more the 200 flat file (CSV.file) in folder,data source is flat file datasource.
    Could any one help me in above issue.
    Regards
    RAM

    I assume they'll be using FTP to send the files... You have the layout defined and naming convention as well...
    One option would be to create a user and folder in the BW server for the FTP to use it and put all files in the same place... From here you can define different Infopackages to read those files at specific times during the day or whatever schedule you guys agree...
    A thing with the naming convention... Try to avoid using timestamps on the names and keep the names to be always the same... That way you just overwrite the existing files, the space usage won't grow much and you can make the loads automatic with the same file names... 
    Just some ideas...

  • I am loading hierarachy through flat file but facing problem

    i am loading hierarachy through flat file but facing problem  when creating infopackage  still error coming  please suggest  details what are steps followed

    Hi,
    Follow the steps:
         Hierachy through flat file
         First create a flat file save as in .CSV format. Then close the file.
           Create info area in info object then info object catalog opens then create it then info object screen opens then another screen opens were you will give data type, length then select option hierarchy tab, then select it simply select the check box with hierarchies.
            Select attribute tab in that name, age, address, phone then activate it then come back to the main screen then select characters right click a small screen open then select info object then a small screen opens then create sales region and activate it.
         Then return back to the main screen then click characters right click on it then a small window opens then select info object option & create sales office and activate it.
         Then return to the main screen then select characters then the ID then the double click on it  then the other screen opens select hierarchy tab then select external chars in hierarchies then click on it then other screen opens then select find tab then give the sales region info object name and click continue then it finds the name.
         The name would be scroll on the other screen then the office should be find the same way as region then office would be scroll on the other screen then continue and activate it.
         Then come back to the main screen then go to info source option then it opens then create application component then it opens other screen then click continue it
         Then  create info source for master data then select  direct update option there give the name of the info object of  as ex; YID_AS2 then click  continue.
         Then the YID_AS@ could be seen in the main screen then right click on it. Then a small option opens then click assign data source option then other screen opens there it gives the empty space double click on it then PC file then click continue then another window opens click continue then again screen opens click continue again a pop up screen opens click continue.
         Then another screen opens there the attribute data source then activate it then select hierarchy activate it then the left side data structure/ hierarchy then click on it then it opens another screen then click hire maintenance button .
         Then give the hierarchy name (your wish) then go with continue then yes then save then go back to the main screen.
         Then maintain the flat file as node id, info object, node name, link name, parent no.
         Then info package creation then click on the flat file right clicks on it then a other screen opens then select attribute data source and then continue.
            Then other screen opens then select external data tab in .CSV then click 1 the enter preview then another screen opens then click then it shows the preview then schedule then start then monitor click on it  then it opens other screen then click on the master data then we can see the data then go back to the  main screen.
         Then select the flat file right click on it then it gives other screen then select hierarchy in that then click continue then it opens other screen then select hierarchy selection tab there you can see the file name then select the button of hierarchy.
         Then select External data then the file name in CSV then processing tab only psa option with update subsequently in data targets then the update it schedule start then the monitor then go to the main screen.
         Then go to info object then select the file id which you have given then double click on it then select hierarchy or text file then the contents then execute it.
         Create a transaction table , cube in a normal way. We can see the result in reports we have to give the hierarchy name in the properties of rows where we drag the characteristics id then we can see the records which we have entered man usally after executing the report.
    regards
    ashwin

  • Flat File DataSource doesn't load properly.

    Hi all,
    we have a data file, which is tab delimited, saved as CSV and text versions. i have created a flat file datasource, mapped all fields.
    I can load CSV version fine, but when use it on text version, it doesn't like it and can only return column one with the rest of the column blanked in the preview tab.
    Setting:
    In the "General" tab, everything is unchecked.
    In Extraction tab, Adapter - "Load Text-Type File from Local Workstation"
                             Character settings - "Default setting"
                             Data format - "Separated with Separator"
                             Data separator - tab (00BB Hex)
                             Escape Sign - CR (00B6 Hex)
                             Number format - Direct entry
                                                     Thousand Separator - ","
                                                     Decimal point - "."
    i have tried different setting, change number format to "User Master Records".
    With the text version, the result in Preview can only display first column and Proposal preview can only shows one column. There is no error returned from the text version.
    The CSV version can display all data and they are aligned as well.
    what do i miss? is the text file not saved correctly? i can see all tabs and CR in the text version. it seems to be the tab is not detected properly or something.
    Regards

    Hi,
    Have a look at the below link:
    Loading Text Files(.TXT) into BW with HEX option

  • Error in DTP creation for a flat file datasource

    Hi SDN friends,
    Please if somebody can give me a help with this, it will be very appreciate.
    I have a DTP to load attributes master data into an infoobject. The master data comes from a flat file (data source flat file) .
    The extraction mode is full, when I try to modify any selection in the "Update" tab, a message "Enter valid value" shows, but it doesn't give me any hint about which is the wrong value that must be checked.
    The message ID is 00 002 and the and the text is the following
    Enter a valid value
    Message no. 00002
    Procedure
    Display the allowed values with F4 and correct your entry.
    I think it may be something related to the flatfile datasource. Are there any special considerations to create a DTP to upload master data from a flat file?
    Thanks so much for your attention and best regards,
    Karim

    Hi Karim,
    I suspect that you might be entering values that are not in correct format as defined in BI DTP. Eg: date it could be DD.MM.YYYY in BI you might be giving MM.DD.YYYY similary you may be entering the wrong format for master data you are giving it in selections.
    Hope it helps...
    Best Regards,
    Madhu

  • Possibly Corrupt Catalog .Dat Files - A Serious Problem?

    This question continues from http://forums.adobe.com/thread/804620?tstart=-1.
    The three .dat files (backupCt.dat, collstatus.dat and tagstatus.dat) in one of our Adobe\Catalog Folders subfolders ("Paintings") may be corrupted.  Whereas these files appear to be rewritten routinely, along with the thumb.5.cache file, each time Adobe Photoshop Elements is opened to one or another of our catalogs, the three files have not been rewritten for the Paintings catalog since 3/9/11, although that catalog has been opened almost every day.  This situation came to my attention because the three files showed up in error messages in the Second Copy backup program I run every night, saying that the three files could not be copied because access is denied.  In my previous post (referenced above), MichelBParis suggested that I could delete those files safely and that they would be rewritten when the catalog was next opened.  However, I can't delete the files, rename them, or move them elsewhere because of the access denied status (I get an error message asking me to be sure that the disk is not full or write protected [which it is not] and that the files are not currently in use [which they are not, at least as far as I can tell -- Adobe Photoshop Elements has been closed when I have attempted all procedures, and I don't see any other applications or processes running, as per Task Manager, that I can immediately identify as belonging to Adobe).  I have thought about restarting the computer in Safe Mode to see if I can delete the files then.  However, I am a bit nervous about trying this, as the Paintings catalog in question is huge and of enormous importance to my wife -- I don't want to do something that might inadvertently make it impossible to access or use that catalog (as happened to us once before when we were using Adobe Photoshop Album Starter Edition 3.2, and the catalog became corrupted).
    My questions:
    (1)  Does anyone know what these three .dat files actually do?  I've not so far been able to find this information via Google.
    (2)  If these files remain in their present state (access denied and non-rewritten), do we run the risk of ending up with a serious problem down the road and loss of our ability to access the catalog (or some other loss of functionality)?
    (3)  Would it be safe for me in fact to delete these three files if I can find a way to do so (e.g., in Safe Mode)?
    (4)  If it would, indeed, be safe for me to delete the files, and if that would seem to be a next step to try, are there any suggestions for how I could go about doing so?
    (5)  Any other suggestions about how I can get the Paintings catalog back in proper shape?
    Thanks for any help anyone can provide!

    Most likely the files are not corrupt if your basis is that the backup program cannot open the files.  However, I would be concerned about the security settings in the files if multiple users need to access the same catalog.  This might be why you aren't seeing any changes to the time/date because one of the user doesn't have rights to modify the file.
    Please tell me what OS you are running and what version of PsE?
    For PsE 9 (and I think 8), you can modify the media-analysis options from the Organizer...
    Menu 'Edit->Preferences->Media-Analysis'
    Uncheck either checkbox as shown in the red circles
    After hitting 'OK', exit the organzier and reboot.
    See if you can access the .Dat files.
    Instead of copying the catalog, I would just create a new empty catalog.  This can be done as follows...
    Menu 'File->Catalog...'
    Make sure you note where the current catalog is located before you continue.  The name of the current catalog is found in the box at the bottom of the dialog with [Current] added to the end of the name.  Now...
    Click on 'New...'
    Enter the new catalog name.
    Click on 'OK'
    The organizer will use the new catalog.  You will now see nothing is in the organzier.
    See if you can access the .dat files.  You may need to reboot.
    You can select the previous catalog as follows...
    Menu 'File->Catalog...'
    Click on the previous catalog name
    Click 'Open'
    There is something not right with the security settings especially if you want multiple users to be able and access the catalog.  As far as how things got messed up -- I have no idea.  Some possible options are that one user has more rights than another user.  The one with more rights created the files just fine but the other user has no way to read the files.  Or someone was messing with the security settings.
    Security settings in Windows can get very complex very fast. I hesitate attempting to walk through this can be done because there could be many factors which has caused this issue.  You could have specific security settings on the files which override parent directory security settings.   Or the parent directory security setting could simply be wrong.
    You first need to determine if both users need write access to the catalog.  If this is the case and they are not administrators, I would go ahead and set the security settings on the folder containing the catalog.  You do need to be careful so you don't remove security settings such that you cannot even make changes to the security settings.  Make sure you give full control to "This folder, subfolders, and files" in the Permission Entry dialog.
    I would encourage you to look at the effective permissions on all files in the catalog after making any changes and before you start up PsE again.  I have no idea what would happen if the security setting was wrong on a single file.  This could cause a corrupted catalog depending on how PsE is written.

  • Flat File DataSource Issue

    Hai
    Im loading the data from flat file to DSO in BI-2004s.
    I have a flat file like below
    ZEMP ZEMPNAME   ZAMOUNT
    10       London           100
    20       India                200
    Im trying to create the DataSource. But in 'Proposal' tab imgetting all three infoobjects in row instead of three rows . Like below
    Im getting like
    ZEMPZEMPNAMEZAMOUNT as a one value .
    why it is like this
    Pls tell me
    kumar

    Hi Ravi,
    Hope this helps -
    Loading Text Files(.TXT) into BW with HEX option
    proposal tab
    FIELDS TAB
    http://help.sap.com/saphelp_nw04/helpdata/en/8e/dbe92341c84242be2c7d3917f1c197/frameset.htm
    Bye...

  • Flat File Datasource

    Dear All.
    I have created one planning cube in which i have laoded the data through CSV file, after completing all the work, i need to move this on Production system but when i transport the only cube and aggregation level got transport not the transformation and the data source.
    out production system in not open for change so i can not create the File datasource in it.
    Please advice how can i move the transformation and the datasource to Production.

    Oops my mistake i was not choosing the Source System while transporting

  • Fixed length in flat file Datasource

    Hi,
    While creation of flat file data source we have noticed the option Fixed length in place CSV , Can any one explain about that with one scenario.
    Thanks,
    Sankar

    Hi,
    for process wise Loading CSV,Fixed length file is the same but file format is different, however you can check the below link
    http://help.sap.com/SAPHELP_NW04S/helpdata/en/43/01ed2fe3811a77e10000000a422035/content.htm
    check from point :f
    Regards,
    Satya

  • Flat file data load problem

    Hi,
    I am loading data from a flat file I have data figures which contains data like 400.00 USD. Every data figure is accompnied with unit.
    Can someone please update me how to load such a data figures.
    For more info the data is as below in records.
    220.00 AUD
    400.00 AUD
    800.00 AUD

    Hi,
    I have already maintained reference currency fileds. The error coming as below.
    'Error 'The argument '220.00 AUD' cannot be interpreted as a number' on assignment field /BIC/ZGROSSVAL record 1 value 220.00 AUD'.
    Note: data figure consists of decimal figure and currency/unit attached in a single cell for entire data.

  • Flat File Hierarchy Datasources

    We are creating several flat file hierarchy datasources. The datasources will be maintained in an external database.
    I am familiar with the creation of flat file datasources for master and transactional data, but don't have good documentation for how the external flat file hierarchy is to be formatted.
    We have reviewed the 2004 Netweaver Document "How to Download Hierarchies in BW" and have used the program referenced there, Z_SAP_HIERARCHY_DOWNLOAD, to download our hierarchies to then test the upload.
    However, this has not worked.
    Does anyone have the record layout that the flat file must be in to upload a simple 2-level hierarchy (for example groupings of 0vendor)?
    Thanks, Doug

    I think the URL you mention is http://help.sap.com/saphelp_nw04/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm.
    This contains the record layout instructions as follows.
      5.      Maintaining the hierarchy:
    Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy.
    PSA Transfer Method: You have the option here to set the Remove Leaf Value and Node InfoObjects indicator. As a result, characteristic values are not transferred into the hierarchy fields NODENAME, LEAFFROM and LEAFTO as is normally the case, but in their own transfer structure fields.  This option allows you to load characteristic values having a length greater than 32 characters.
    Characteristic values with a length > 32 can be loaded into the PSA, but they cannot be updated in characteristics that have a length >32.
    The node names for pure text nodes remain restricted to 32 characters in the hierarchy (0HIER_NODE characteristic).
    The system automatically generates a table with the following hierarchy format (for sorted hierarchies without removed leaf values and node InfoObjects):
    Description
    Field Name
    Length
    Type
    Node ID
    NODEID
    8
    NUMC
    InfoObject name
    INFOOBJECT
    30
    CHAR
    Node name
    NODENAME
    32
    CHAR
    Catalog ID
    LINK
    1
    CHAR
    Parent node
    PARENTID
    8
    NUMC
    First subnode
    CHILDID
    8
    NUMC
    Next adjacent node
    NEXTID
    8
    NUMC
    Language key
    LANGU
    1
    CHAR
    Description - short
    TXTSH
    20
    CHAR
    Description - medium
    TXTMD
    40
    CHAR
    Description- long
    TXTLG
    60
    CHAR

  • Data from a Flat file int a Cube

    Hi experts!
    Just a quick one, could we load data from a flat file directly to an infocube?
    Or we woud need to create a ODS to load that from the flat file there and later on form the ODS to the cube?
    Thanks you very much for your time!!

    Hi,
    You can directly load the flat data into the info cube. This should not be a problem.
    Create a flat file datasource according to the structure of the flat file. Create Transformations and DTP to the Cube.
    Load the flat file data into the PSA and then DTP the request into the cube.
    If the flat file load is a full load and one time load and data has to be deleted and loaded on the next load then above approach is fine.
    But if your load is every day load and delta then it would be appropriate to have a DSO in between the data flow.
    Hope it helps.

Maybe you are looking for

  • Why is my iMac no longer recognizing Memorex CD-R and DVD-R media that it burned previously?

    So this has happened before to me with other computers and other drives, I've had burners refuse to recognize some brands of blank discs before, but I've never really figured out the issue or had a drive start to refuse to recognize a specific brand

  • Emailing Form in PDF format instead on xml? -need help!-

    I have a webpage that has a link that directs customers to a pdf form I created with Adobe Designer 7.0 and when the customer is done filling out their information in the form and click's the submit email button. It comes to my inbox in an .xml! is t

  • Can't print pdf - no Adobe in printer menu

    Hello, Firstly I should explain that my computer is running OSX 10.5.3. One of my applications doesn't work properly on Leopard, so I recently installed my old Panther (10.3.7) onto an external drive and boot off that in order to work in that program

  • HT1212 how do you enable ipad 3 without losing any data?

    i have forgotten my password to my ipad 3. it now says to connect to itunes, but i have never connected it to a computer or itunes account on the computer before. i have some important information for school on there, and i really need it. does anybo

  • Is ITS 6.20 still required for using ESS in ERP2004?

    Dear Team,    I am looking at the master guide for ERP 2004 and the following line disturbs me. "SAP ITS 6.20 is necessary to run ITS-based ESS services. These services are not supported with SAP ITS 6.40." So now you need 2 ITS's, one v6.20 for ESS