Executing flat  file loading map with parameter

Hi
The requirement here is to design a map that will :
- read a parameterised file from a pre-defined directory and load the data into a pre-defined table.
I want to be able a pass the file name ( eg. customers_060309.dat ) to the executing process .
The problem I am having is in connection with figuring out how to parameterised physical file names ( eg. customers_010109.dat)
which are held under source file modules .
regards
azaman

Hi
There are a couple of posts here you will find useful for some of this;
http://blogs.oracle.com/warehousebuilder/2007/07/process_flow_execute_a_map_for_all_files_in_a_directory.html
http://blogs.oracle.com/warehousebuilder/2007/07/process_flow_execute_a_map_for.html
Cheers
David

Similar Messages

  • Flat File loading Initialize with out Data transfer is disabled in BI 7.0

    Hi experts,
              When loading through flat file in BI 7.0 for Info Package Level Initialization Delta Process with data Transfer is coming by default,but when i want to select Initialization Delta Process without Data transfer is disabled. (in the creation of Data Source (flat file) in the Extraction Tab Delta Process is changed to FIL1 Delta Data (Delta Images).
    please provide me Solution.
    regards
    Subba reddy.

    Hi Shubha,
    For flat file load please go throught he following link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/43/03450525ee517be10000000a1553f6/frameset.htm
    This will help.
    Regards,
    Mahesh

  • Load flat file into oracle with SQL Loader

    Hi All,
    Oracle 9i
    I want to load flat file into oracle with the help of sqlloader but I want to skip some columns from flat file.
    Can anyone tell me how can we skip column from flat file , I can’t open flat file into excel as CSV due to large volume
    Does anyone has any solution for the same.
    Umesh Goel

    Filler can be use when we want to skip database table column or we want to put null in database table column
    but if we have 10 column in flat file and we want to load 1,2,5,7 number column from flat file
    then I think filler will not work
    If yes then plz let me know.
    thx
    UG

  • What are the settings for datasource and infopackage for flat file loading

    hI
    Im trying to load the data from flat file to DSO . can anyone tel me what are the settings for datasource and infopackage for flat file loading .
    pls let me know
    regards
    kumar

    Loading of transaction data in BI 7.0:step by step guide on how to load data from a flatfile into the BI 7 system
    Uploading of Transaction data
    Log on to your SAP
    Transaction code RSA1—LEAD YOU TO MODELLING
    1. Creation of Info Objects
    • In left panel select info object
    • Create info area
    • Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
    • Create new characteristics and key figures under respective catalogs according to the project requirement
    • Create required info objects and Activate.
    2. Creation of Data Source
    • In the left panel select data sources
    • Create application component(AC)
    • Right click AC and create datasource
    • Specify data source name, source system, and data type ( Transaction data )
    • In general tab give short, medium, and long description.
    • In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
    • In proposal tab load example data and verify it.
    • In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
    • Activate data source and read preview data under preview tab.
    • Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
    3. Creation of data targets
    • In left panel select info provider
    • Select created info area and right click to create ODS( Data store object ) or Cube.
    • Specify name fro the ODS or cube and click create
    • From the template window select the required characteristics and key figures and drag and drop it into the DATA FIELD and KEY FIELDS
    • Click Activate.
    • Right click on ODS or Cube and select create transformation.
    • In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    • Activate created transformation
    • Create Data transfer process (DTP) by right clicking the master data attributes
    • In extraction tab specify extraction mode ( full)
    • In update tab specify error handling ( request green)
    • Activate DTP and in execute tab click execute button to load data in data targets.
    4. Monitor
    Right Click data targets and select manage and in contents tab select contents to view the loaded data. There are two tables in ODS new table and active table to load data from new table to active table you have to activate after selecting the loaded data . Alternatively monitor icon can be used.
    Loading of master data in BI 7.0:
    For Uploading of master data in BI 7.0
    Log on to your SAP
    Transaction code RSA1—LEAD YOU TO MODELLING
    1. Creation of Info Objects
    • In left panel select info object
    • Create info area
    • Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
    • Create new characteristics and key figures under respective catalogs according to the project requirement
    • Create required info objects and Activate.
    2. Creation of Data Source
    • In the left panel select data sources
    • Create application component(AC)
    • Right click AC and create datasource
    • Specify data source name, source system, and data type ( master data attributes, text, hierarchies)
    • In general tab give short, medium, and long description.
    • In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
    • In proposal tab load example data and verify it.
    • In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
    • Activate data source and read preview data under preview tab.
    • Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
    3. Creation of data targets
    • In left panel select info provider
    • Select created info area and right click to select Insert Characteristics as info provider
    • Select required info object ( Ex : Employee ID)
    • Under that info object select attributes
    • Right click on attributes and select create transformation.
    • In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    • Activate created transformation
    • Create Data transfer process (DTP) by right clicking the master data attributes
    • In extraction tab specify extraction mode ( full)
    • In update tab specify error handling ( request green)
    • Activate DTP and in execute tab click execute button to load data in data targets.

  • Flat-File Loading problem

    Hi Friends,
    I am struggling with flat-file loading problem. I am trying to load a .csv file into data target. I took all pre-cautions while loading data. I look into preview and simulate the data. Everything is ok, but when i schedule the data, i found 0 records in the monitor. The following is the STATUS message of the above problem:
       No data available
    Diagnosis
    The data request was a full update.
    In this case, the corresponding table in the source system does not
    contain any data.
    System response
    Info IDoc received with status 8.
    Procedure
    Check the data basis in the source system.
             Can anybody help me what is the problem and procdure to resolve it?
    Regards,
    Mahesh

    Hi Eugene,
    Thanks for the quick reply. The following screen-shot tells you the messages of detail tab;
    OVER ALL STATUS MISSING WITH MESSAGES OR WARNINGS
    REQUEST: MISSING MESSAGES
    EXTRACTION
    EVERYTHING IS OK
    DATA REQUEST RECEIVED
    NO DATA AVAILABLE DATA ELECTION ENDED.
    PROCESSING
    NO DATA
               The above message was shown in details tab. Pls guide me to locate the problem.
    Regards,
    Mahesh

  • Transformation not generating-Flat file loading

    Hello guys, I hope you can help me with this little confusion I have on BI7 Flat file loading.
    I got a File (CSV) on my workstation. I am trying to load Master Data. Here is the example of my file and issues:
    Lets say, I have CSV file named "CarModel.CSV" on my PC.
    This excel file has 10 Records and No atributes for this Field.
    So the records should show like this and it is showing correctly in PSA level, DS level.
    A
    B
    C
    D
    E
    F
    My goal is to load Flat file data to InfoObject (inserted in Infoprovider)
    I created Source system, DS, all thats stuffs.
    I am now on Display DS screen under Proposal Tab. I am putting 10 Records to show and hitting Load example data....it works fine by showing all 10 records. However in the bottom part of this screen, what should show as a Field ?In my case , First it was showing the First Record ("A")...i didnt think it was correct but i prceeded anyways. Transformation could not be generated.
    I tried by deleting "1" from the field "No. of header rows to be ignored" and its the same result ..No transformations.. I mean i know its very simple to load this data but i am not sure what i am doing wrong..My question is:
    1) What should show under Field/propasal tab in my case?am i supposed to create this Field?
    2) Should the system to propse the field which is from my flat file header ?in my case i dont have any header..should i have include header in my csv file like "car model"? i am confused please give me some info thanks
    dk

    Hi,
    In filed tab, u have to enter ur infoobject names in an order...and press enter it'll automatically give the description and its other factors...
    i guess u shuld have some header in the sense eg: customer,cust ID like this..this only u have to enter as fields...in proposal tab...try that
    rgds,

  • Infopackage Flat File load is failing to hierarchy after upgrade to 7.4

    Hi Experts,
       My system got upgraded to 7.4 and SP level 0007. After Up-gradation  my hierarchy load through Flat file is failing with short dump. Please find the dump details below.
    Information on where terminated
        The termination occurred in ABAP program "SAPLRSSM", in
         "RSSM_CALL_RSAR_DATA_REQUEST_1". The main program
        was "RSAWBN_START".
        In the source code, the termination point is in line 5713 of (Include)
        program "LRSSMU17".
      Did any one faced the same issue.Could any one givesome light on this.
      Thanks in advance,
      Sony.

    Hello Sony,
    I faced the same problem. I found out that in table RSLDPIO the entry for my Info Package had no entry for the field "source". In there must be the Info Object name the hierarchie belongs to. It can be entered using se80. After I typed it in, loading succeded.
    regards
    Hans-Peter

  • RFC to Flat file XSLT mapping

    Hi all,
    we are working on RFC to Flat file XSLT mapping.
    RFC Structure
    RFC Name
    --Item
    f1
    f2
    f3
    FLAT File Structure
    MT_FF
    --Record
    f1
    f2
    f3
    Can somebody provide the XSLT code template for the same.....

    The issue is solved. I used Altova MapForce to generate the code. Thank you.

  • Best practise around handling time dependency for flat file loads

    Hi folks,
    This is a fairly common situation - handling time dependency for flat file loads. Please can anyone share their experience around handling this. One common approach is to handle the time validity changes within the flat file where it is easily changeable by the user but then again is prone to input errors by the user. Another would be to handle this via a DSO. Possibly, also have this data entered directly in BI using IP planning layouts. There is a IP planning function that allows for loading flat file data but then again, it only works without the time dependency factor.
    It would be great to hear thoughts or if anyone can point to a best practise document for such a scenario.
    Thanks.

    Bump!

  • Unit Code, Commercial Code - Flat File loading vs BPS Loading

    Hi SDN Community,
    Recently, we have moved our flat file loading to be performed by BPS interfaces.
    During flat file loads, the Commercial code of all units of measures, are verified.
    eg.DAY
    But when loaded by BPS, the UNIT code is verified.
    eg. TAG.
    In the display of the BPS upload, it displays DAY which is the commercial code.
    The only thing, is the customer is forced to use TAG in the BPS upload files.
    They wish to create another record in the transaction
    CUNI to be
    Unit code = DAY
    Commercial code = DAY.
    However, i have found that we cannot allocate the same commercial code to another unit code.
    Is this a design constraint, or a process error that i am doing.
    Thank you.
    Simon

    04.01.2010 - 02:22:53 CET - Reply by SAP     
    Dear customer,
    As i do not fully understand how this works, but the base table T006A
    has 2 entries, 1 for english, 1 for German, should it not be that the
    English EN entry field be working rather that the German DE, hence DAY
    should be used? Can you please confirm my understanding on this?
    >>> If you check my attachment "SE16.xls", you can see that it's for
    language >>English<<, and the internal format is TAG while the external
    format is DAY.
    - Are there any plans to modify the BPS functionality in newer SAP BW
    versions to allow the customer to indicate the same UOM as per flat
    file laods? Or is an upgraded Support Pack that allows this?
    - If not, would it be possible to make any customer enhancements to
    allow this to take place depending on customer requirements.
    >>> There is no plan at this moment to change this BPS functionality
    in newer SAP BW versions or support packages.
    We really recommend you to use internal format TAG in the upload file
    in BPS which I think should be acceptable and feasible to you. All
    other ways trying to use external format is risky and we cannot assure
    you that it will work well as it's not SAP standard function. (I think
    it's not worth the risk as the standard function which requires
    internal format should not be too unacceptable)
    Thanks for your understanding.
    I also don't think my BC-SRV-ASF-UOM colleague would be able to help
    you a lot regarding this.
    Best Regards,
    Patricia Yang
    Support Consultant - Netweaver BW
    Global Support Center China
    SAP Active Global Support

  • Issue with flat file loading timing out

    Hello
    I have a scenario, where I am loading a flat file with 65k records into a cube. The problem is, in the loading process, I have to look up the 0Material table which has a million records.
    I do have an internal table in the program, where I select a subset of the Material table ie around 20k to 30k records. But my extraction process takes more than 1 1/2 hrs and is failing (timed out).
    How can i address this issue? I tried building indexes on the Material table and its not helping.
    Thanks,
    Srinivas.

    Unfortunately, this is BW 3.5, so there is no END routine option here. And I tried both .csv and notepad file methods, and both are creating problems for us.
    This is the total code, do you guyz see any potential issues:
    Start Routine (main code)
    refresh i_oldmats.
    refresh ZI_MATL.
    data: wa_datapak type transfer_structure.
    loop at datapak into wa_datapak. (** I collect all the old material numbers from my flat file into an internal table i_oldmats**)
       i_oldmats-/BIC/ZZOLDMATL = wa_datapak-/BIC/ZZOLDMATL.
       collect i_oldmats.
    endloop.
    sort i_oldmats.
      SELECT /BIC/ZZOLDMATL MATERIAL (** ZI_MATL only has recs. where old materials exist, this gets about 300k records out of 1M**)
             FROM /BI0/PMATERIAL
             INTO ZI_MATL FOR ALL
             ENTRIES in i_oldmats WHERE
              /BIC/ZZOLDMATL = i_oldmats-/BIC/ZZOLDMATL .
                collect    ZI_MATL.
      Endselect.
      Sort ZI_MATL.
    Transfer rule routine (main code)
    IF TRAN_STRUCTURE-MATERIAL = 'NA'.
        READ TABLE ZI_MATL INTO ZW_MATL
        WITH KEY /BIC/ZZOLDMATL = TRAN_STRUCTURE-/BIC/ZZOLDMATL
        BINARY SEARCH.
        IF SY-SUBRC = 0.
          RESULT = ZW_MATL-MATERIAL.
        ENDIF.
      ELSE.
        RESULT = TRAN_STRUCTURE-MATERIAL.
      ENDIF.
    Regards,
    Srinivas.

  • Idoc to flat file conversion: problem with mapping

    Dear experts,
    I have the following scenario: SAP (idoc) -> XI -> 3rd party
    The idoc has s structure like this:
    . ZSCX001 (idoc name)
    ... IDOC
    ..... ORDERHEADER
    ....... ORDERLINE
    ......... DELIVERY LINE
    ......... DELIVERY LINE
    ..... ORDERHEADER
    ....... ORDERLINE
    ......... DELIVERY LINE
    ......... DELIVERY LINE
    etc
    The flat file has this structure:
    . FILENAME
    ... RECORD
    ..... FIELD1
    ..... FIELD2
    ... RECORD
    ..... FIELD1
    ..... FIELD2
    etc
    Now, per IDOC I need to create 1 file. For each delivery-line in the IDOC I need to create 1 record in the outputfile (flat file).
    In message mappings, I did the following:
    - messages-tab: Occurrence of the Idoc and inbound message type for flatfile: both 1
    - design-tab: I linked IDOC to the FILENAME (so for each Idoc I create 1 flat file)
    - design-tab: I linked the tag "Delivery line" to "RECORD" (I expected 1 record per delivery line)
    When I test it, I only get 1 resulting record in the flat file, even if I test with 3 ORDERHEADER->ORDERLINE->DELIVERY LINE segments.
    Can anybody tell me what I am doing wrong?
    Thanks in advance,
    William

    Hi,
    First make sure occurence of Record is 0..unbounded.
    Second use the blow mapping rule..
    Delivery line --->RemoveContext ---> RECORD
    Regards,
    Sarvesh

  • Problem with flat file loading/Special characters

    Hi, All,
    We just migrated from Version 3.0B to BI7.0, and I've a problem which I can't handle for the moment. We are in Unicode, current codepage of the server is 4103 and codepage of frontend is 4110 (from SNL1 Transaction).
    I'm loading czech texts in my material, via CSV files. The CSV file is correct on my PC, I see the special characters.
    The problem is on my loading, whatever Character set I choose in the Infopackage (I choose Standard or Character Set Setting User-dependant), I cannot see the good characters.
    Does any one of you already encounter this kind of problem, and, if yes, how did you solve it ?
    Thanks

    hi,
    check out with your flat file letter's type, if it's in lower case letter's change them in
    upper case letter's. or otherwise change the infobject's type as-- select check box
    corresponding to lower case letter's in infoobject.
    if helpful provide points
    regards
    harikrishna.N

  • Issue with flat file load

    Hello,
    I am trying to load data via flat file. we have entries in a field which starts with 0s are skipped when we load in CSV format.
    like i have an entry  00657, is being loaded as 657 .
    How can i prevent this?
    Thanks.
    Praveen

    Hi Praveen,
    It is of lenghth 5. but when i upload CSV file it is not considering 00 infront. But i want those. I am loading hierarchy from flatfile.
    Suggest me, if we can also load from text ?.
    Thanks.
    Praveen

  • Hierarchy from flat file loading with errors - duplicate node names

    Hello experts,
    I am loading a product hierarchy from a flat file into a custom hierarchy
    object.  The issue is that it errors out saying I am loading
    duplicates within nodes, however all node IDs within a level are unique.
    It seems to be looking at the node name to determine uniqueness and I know
    we have some duplication within the text there especially when you factor
    in the 32 character limitation for the node name.  Does anyone have an idea
    as to whether it is possible to have it only consider the node ID instead
    of the node name to determine uniqueness?
    A colleague suggested using the link ID to fix this problem but I don't know how that field works or how to populate it.
    I'm working in a BI 7.0 environment (I don't know if that makes a difference since you still have to use the 3.x objects to extract the hierarchy).
    Any help would be appreciated.
    Nancy

    Hi Nancy,
    You may wish to check this OSS Note 1026749 - Hierarchies: Consistency check for duplicate nodes and 912115 (old one)
    Symptom -
    When you load or activate a hierarchy it terminates with error message RH 109 or RH 211. The hierarchy contains duplicate nodes and this is not allowed. The long texts of messages RH 109 or RH 211 do not describe the reason for the problem sufficiently or they are partially incorrect.
    There is uncertainty about in which cases duplicate nodes exist in a hierarchy and in which cases duplicate nodes are allowed.
    Hope this helps,
    Bye...
    Naga Timmaraju

Maybe you are looking for

  • How to change the default directory from within SQL*Plus ?

    Hello, I want to change the default directory directly from within SQL*Plus to be able to launch my command files with simple instructions like : @my_command.sql If I haven't launched SQL*Plus from the directory containing the file my_command.sql, ho

  • Problem in my MacBook Pro Video Calling in Facebook

    I have problem when trying to start video calling in facebook, it always says "The video calling software encountered an error while starting." and it's very annoying because I can't use video call on facebook. I tried to follow instructions on how t

  • F-03 missing open items (Not able to run RFSEPA02)

    Hi all, One of the GL account was change to open item managed. The situation is that we still have open items which do not appear in F-03. I checked SAP note 136754 and it asks me to run program RFSEPA02 but when I run that program it says " "Do not

  • PDF of InDesign CS5.5 has text drift in a table

    In InDesign CS5.5 I have a large table (36 rows, 17 columns). The content is prices, right-aligned, two decimal places. When I export as a PDF, the numbers slowly shift, moving top to bottom, either to the left or right (this happens on many (but not

  • Ipod service

    i am in the process of sending in my ipod for repair. on the apple site when i put in my serial number, it says it is not recognized. any suggestions?