Updating TCURR with flat files?

Hi SAP Community,
I got some questions regarding the TCURR table where the exchange rates for various currencies are stored:
1) Can I update this table by using flat files, e.g. exchange rates coming in as CSV file?
2) If this is possible, how do I upload the data directly into TCURR? Do I have to use ABAP coding or is there any way like assigning a DataSource to the TCURR table or something like that?
Thanks for your help!
Regards,
Manuel

Hi Siegfried,
we do not use exchange rates from R/3, instead we get them from another system which is only capable of providing exchange rates as flat files. That's why I'm asking this question
Any further help is appreciated.
Regards,
Manuel

Similar Messages

  • Working with flat file as source in owb 10.2

    Hi,
    I am working with flat file as source . While validating the mapping i am getting the following error like
    " to specify a data file configure the mapping , add a node under ' Source data file', type in the file name
    and select the file location."
    Please give me the suggestion . It is very urgent.

    Hi Venkat,
    I tried the following stepts.
    1. in Design Center select your mapping and right click and select configure
    2. select sql loader data files and select create
    3. On right hand side data file Name : enter your source file name (ex : source.csv)
    4. click ok button.
    5. open mapping and validate.
    The mapping is validating. After validating I deployed the mapping. Up to this the mapping is working fine.
    But when I start the mapping, It has completed with errors.
    The error message is:
    Status
    Error Log
    RPE-01013: SQL Loader reported error condition, number 1.
    LRM-00112: multiple values not allowed for parameter 'control'
    Job Summary
    Updated : 2009-02-24 15:32:43.0 Job Final Status : Completed with errors Job Processed Count : 1 Job Error Count : 1 Job Warning Count : 0
    Please give me the suggestions.
    Thanks,
    Venkat

  • How to built a hierarchy with flat file?

    Hi Experts,
    for a better representation of the report, i need to built a hierarchy with flat file.
    The Data load is via Flat file.
    Do you have some documentation about that?
    Thanks
    Cheers
    Gilo

    Hi Gilo,
       Check these docs...
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb">How to… Download a Hierarchy to a Flat File</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm">Uploading Hierarchies from Flat Files</a>
    <a href="http://sapbwneelam.blogspot.com">More Docs...</a>
    Hope it Helps
    Srini

  • Plz send simple bdc  code with flat file which is executable

    plz send a simple code for upload bdc with flat file which is executable.

    plz send a simple code for upload bdc with flat file which is executable.

  • Key Range with Flat File

    Hi people, Anybody has a example how it works Key range with Flat file ? Tks

    Hi All,  I have one scenario to read the source file . The file delimiter is '|' . The no of pipeline for each line is 17. So if a line containing more than 17 , send an error email. For this first i am printing tota pipeline in ecah line to afile called pipelinecount.txt . Then i will read this file and send each value to while loop /for loop , where it will get > 17 , it will exit the process and send an email.  But here in script i am getting error at while line. Could anyone help.   #! /bin/kshset -x SOURCE_DIR=/vp01/SrcFilessed 's/[^|]//g' /vp01/SrcFiles/Test.txt | awk '{ print length }'> /vp01/SrcFiles/pipelinecount.txtcd $SOURCE_DIRwhile line in `cat pipelinecount.txt`; do if [ $line -eq 17 ];thenecho "No issue in pipeline"exit 0;fiif [ $line -gt 17 ];thenecho "No of pipelines exceeded the expected. Please verify the source file." | mailx -s "WKFS Load: Failed" [email protected]

  • Delta Update with flat file into infocube

    Hi
    Can any one explain me the steps how to achive the delta update with falt file into infocube?
    Thanks

    There is a documented way of managing a delta but it mostly boils down to how you model the process. SAP says you can add a ROcancel field ( or something similar to it) in the transaction data within the files
    that way when you update the data into the cubes, it would be managed - whether it has to be added or over written,
    therefore the best way to manage this would be to make some changes i the flat file-
    are the flat files being generated by some program? maybe you can add in further to check the updated records -

  • Is it possible with out BPM- update transaction from flat file - XI -RFC

    Hi
    my requirment is:  i need to update 2 values transaction(ks01)
    Required data we get in flat file(Val1,Val2), that data needs to be updated in transaction KS01 in r/3 system.
    Scenario is: Flat file - XI - Rfc -KS01.
    im have come across couple of doubts while thinking this way:
    ->is it possible using fie -to- rfc scenario to update KS01 transaction in R/3 system through RFC, if possible some body please explain the complete process to implement this scenario.
    ->is it possible file -to- rfc without BPM in XI 
    can somebody please help out me, how can i approach for the above requirment
    -> help would be appriciated and thanks in advance
    Regards
    Rajesh

    The BAPI / RFC corresponding to your requirement is :
    BAPI_COSTCENTER_CREATEMULTIPLE
    You scenario on  a high level would be FILE-XI-RFC
    in your IR, map the corresponding fields of the fiel to the fields in the BAPI's interface.
    As BAPI is synchronous , you may have to use  BPM to implement the Asynch-Sync bridge.
    Regards,
    Ravi

  • 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.

  • Validation Event Handler Not working with Flat File GTC Trusted Recon

    We are created Event Handler for checking special characters in Telephone field.Its working fine when the user is created through Admin Console.but the event handler is not triggering while doing GTC Flat File Trusted recon.
    Version: OIM 11.1.1.5.0
    Can someone please help me out with this.
    Thanks
    Edited by: 790561 on 17-Feb-2013 09:01
    Edited by: 790561 on Feb 17, 2013 9:35 PM
    Edited by: 790561 on Feb 18, 2013 12:38 AM

    Validation Event handlers will not work with your trusted recon. You can use the GTC Validation provider, it is nothing but the plugins which you can insert with in your source field in GTC. I think you can easily get the steps for how to create a custom GTC Providers.
    Edited by: iam37 on Feb 16, 2013 4:09 PM

  • Problem with flat-file to oracle

    Hi all,
    Flat-file has 7 columns , all are varchar
    SALE_2007
    C1 VARCHAR2(255),
    C2 VARCHAR2(255),
    C3 VARCHAR2(255),
    C4 VARCHAR2(255),
    C5 VARCHAR2(255),
    C6 VARCHAR2(255),
    C7 VARCHAR2(255)
    target also has 7 columns , first four column were varchar and the last 3 columns were numeric(20,2).
    SALE
    TIMECODE VARCHAR2(255),
    CUSTCODE VARCHAR2(255),
    SALECODE VARCHAR2(255),
    PRODUCTCODE VARCHAR2(255),
    AMOUNT NUMERIC(20,2),
    COST NUMERIC(20,2),
    SALEAMOUNT NUMERIC(20,2)
    I have mapping the transformation on the staging with these function (ordering by order as above)
    SALE_2007.C1
    SALE_2007.C2
    SALE_2007.C3
    SALE_2007.C4
    TO_NUMBER(REPLACE(SALE_2007.C5,',',''))
    TO_NUMBER(REPLACE(SALE_2007.C6,',',''))
    TO_NUMBER(REPLACE(SALE_2007.C7,',',''))
    I have to use replace function because in the text file there is a comma in the data eg. 1,400.35
    and the ODI will error in the step insert into flow table with error
    +1722 : 42000 : java.sql.SQLException: ORA-01722: invalid number+
    java.sql.SQLException: ORA-01722: invalid number*
    Please advise
    Thank you all

    Hi-
    It seems like there is non-numeric characters present in your C5-C7 columns. Please check your source data for these columns.
    Thanks,
    Saravanan Rajavel

  • Conditional Interface Determination with Flat Files

    Hello,
    I have one sender interface (dummy) which could either hold a flat file or an XML file. On receiver side there is one system with two receiver interfaces, one should be used for the XML structure and one for the flat structure.
    My requirement is to have a conditional interface determination with an (exclusive) OR logic. Pseudo code:
    The XML structure has "submission" as root node. So I use the condition (/submissioin) EX to determine whether it is an XML file and I check with not(/submission) EX to determine whether it is a flat file. However the condition does not work using a flat file ("Unable to find an inbound interface"). Could it be, that the conditional expression never is true in case a flat file arrives? How can I achieve this requirement?
    What I additionally do with the flat file is just calling a Java Mapping that sets dynamic attributes for a file receiver, the flatfile itself is dumped on a file system without any addtional conversion logic.
    Thank you for your advice.

    How can I ingnore a message in case a condition applies? I am just aware of the fact that you can ignore messages in case NO condition applies.
    Couldn't you simply reverse the logic and use "not equals"? Or perhaps you can use the EX operator to alter your conditions... here is more info on the EX (exists) operator
    Re: ConditionEditor: Check if element is empty
    What is best practice in this case? Should I use a "dummy receiver"? However if I use a dummy receiver I think I would receive a "interface determination not found" error. How would you do that?
    I've never found the need to work with dummy receivers so I cannot comment there.

  • Ragged right with Flat file in SSIS for last column

    When I am importing from Flat file to OLEDB using DATA flow in SSIS,
    It has fixed length  for each column
    but last column had length of 20
    So I used for last column as {LF} and input width 0 & output width 20
    but facing problem of last column has showing more data in preview so I am missing some some records
    May I get any  solution
    Thanks

    Hi Madhu,
    I totally agree with Visakh. If your row delimiter is {CR}{LF}, you need to consider the two placeholders for the delimiter when defining the column length, that is to say you need to set the length of the last column to 22.
    Regards,
    Mike Yin
    TechNet Community Support

  • How to load a sysdate with flat file

    How do I load a sysdate with a flat file
    I tried using a constant with a sysdate expression but it seems like OWB creates the ctl file with 'sysdate' as a text and not as a sysdate() function

    Ola Wernere,
    Two things to check:
    - is the data type of the constant a date?
    - did you enter 'sysdate' or just sysdate (without the ampersands)?
    Other thing that might help you is generate the intermediate result in the mapping. This will show you the results you'll expect to be loaded in the flat file...
    Good luck & regards
    Moscowic

  • 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

Maybe you are looking for