Pulling of Exchange Rate data from ECC to BI

Hi All,
we are having an requirement to pull TCURR Table Exchange Rate data from ECC to BI.
If anybody worked on this scenario could you please share valuable inputs regarding this.
I gone through this  SDN forum link: Re: Automated Exchange Rate Loading in BPC NW ( please share some more details regarding this )
Regards
Amit

Hi All,
I hope this will help you to pull Exchange rate data from ECC Table : TCURR  to SAP BI System.
ECC Steps : Creation of generic datasource
1) Create generic Transaction Data source Using TCode : RSO2 with name ZTCURR and then press create Button.
2) Input Applic. Component:  FI-GL and give description.
3) Input View/Table: TCURR and Press save Button.
4) This will take you to extract structure of data source ZTCURR. In this structure select respective field from the selection field option (In future we will use it in BI info package) and then press save button.
5) Use Tcode:  RSA3 to check the data by giving custom data source ZTCURR name.
Note:In this case we are extracting full data from TCURR table. If your project demands you can use delta specific field.
SAP BI 7 Steps
1) Go to BI system, TCode: RSA1--> Source System-> Replicate metadata, then you can see generic data source "ZTCURR" in your BI data source tree.
2) Maintain Info cube Structure same like table : TCURR, 
ECC Field      ECC DATA TYPE                               BI Field     BI Data Type
KURST     CHAR                          -
  >                 ZKURST     CHAR (Length 4)
FCURR     CUKY                          -
  >          ZFCURR     CHAR (Length 5)
TCURR     CUKY                          -
  >          ZTCURR     CHAR (Length 5)
GDATU     CHAR                          -
  >          ZGDAT       CHAR (Length 8)
UKURS     DEC                             -
  >          ZUKURS     NUMBER ( Key Figure )
FFACT     DEC                             -
  >          ZFFACT     NUMBER ( Key Figure )
TFACT     DEC                             -
  >          ZTFACT     NUMBER ( Key Figure )
=========================================================================================
3) Conversion of default format "YYYY/MM/DD" to "YYYYMMDD".
In Transformation: "GDATU" is number format, not date format, so we need to write start routine in transformation.
With the Help of below code you can convert default format
"YYYY/MM/DD" to "YYYYMMDD".
DATA: DATE      TYPE CHAR10,
          L_INDEX   TYPE SY-INDEX.
  LOOP AT SOURCE_PACKAGE ASSIGNING <SOURCE_FIELDS>.
    L_INDEX = SY-TABIX.
    CALL FUNCTION 'CONVERSION_EXIT_INVDT_OUTPUT'
      EXPORTING
        INPUT  = <SOURCE_FIELDS>-GDATU
      IMPORTING
        OUTPUT = DATE.
    CONCATENATE DATE+6(4)
                DATE+3(2)
                DATE+0(2)
    INTO <SOURCE_FIELDS>-GDATU.
    MODIFY SOURCE_PACKAGE FROM <SOURCE_FIELDS> INDEX L_INDEX TRANSPORTING GDATU.
ENDLOOP.                    
Note : Customize above ABAP code according to your client requirement.
==============================================================================================                    
4) Calculation of Month End Rate----> Means last working day of month
Please refer below solution  ( sent on 3rd June 2011 )  to calculate Month Rate
Go to BI transformation and write formula in ZGDAT field. In this case add GDATU as source field of rule and write below formula.
*Last working day of month Formula *    :             LAST_WORKINGDAY_MONTH( GDATU, '' )
Last working day is calculated  based on the data maintained in the ECC TCODE : SCAL ( SAP Calendar )
==============================================================================================
5)  CALMONTH calculation:  conversion of YYYYDDMM format   to YYYYMM format.
This below given ABAP code helps you to convert GADTU: YYYYDDMM format   to CALMONTH : YYYYMM format.
In BI transformation write field routine in CALMONTH field  to display  date in this YYYYMM format.
DATA : L_GDATU TYPE tys_SC_1-GDATU.
CLEAR L_GDATU.
CONCATENATE SOURCE_FIELDS-GDATU0(4) SOURCE_FIELDS-GDATU4(2)
            INTO L_GDATU.
RESULT = L_GDATU.                      
Regards
Amit
Edited by: amit_sap_n on Jul 20, 2011 1:54 PM

Similar Messages

  • Want to pull the Data from  ECC(Functionmodule/view/BAPI)  to Crystal repor

    HI Expert
    Want to pull the Data from  ECC(Functionmodule/view/BAPI)  to Crystal report
    Need Step by Step Procedure whatl all we come across while Generating report from SAPBI (ECC(Functionmodule/view/BAPI)
    to Crystal report what all integration and setting we need to do
    Thanks and Regards
    AhmedPasha

    Hello,
    Ingo Hilgefort has documented this step by step in this SCN article:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/403ddef9-52ca-2d10-9193-9ffd190219fe?QuickLink=index&overridelayout=true
    Starting on page 13, you can use the same steps - he selects data from a table join, you select FN instead for function module.
    You can also get to it via this link:
    http://www.sdn.sap.com/irj/sdn/business-objects-bi-for-sap?rid=/library/uuid/403ddef9-52ca-2d10-9193-9ffd190219fe
    Regards,
    Tammy

  • Master/Transaction data from ECC to APO-BW

    Hi All,
         Normally we come across scenarios where Master/Transaction data is pulled from ECC to BW and then pulled into APO-BW. What are the pros and cons of CIF (direct connection between ECC and APo-BW) rather than pulling data from ECC to stand-alone BW and then into APO-BW?
    Regards,
    Joy

    Hi Santhana,
    If you want to add data of ECC to APO BW & Then in to DP, then follow the following Steps.
    1. Create Generic Data Source in ECC for thet Sales Order table.
    2. Replicate that data Source in to APO BW with Source System.
    3. Create whole data flow process by using created Data Source.
        Data Flow Process: 1. Info Package
                                      2. Info Source
                                      3. Info Cube
                                      4. Transformation between DS & IS, Then IS & IC
                                      5. Data Transfer Process.
    4. Load data from ECC to APO BW
    5. Use transaction /n/sapapo/tscube, for copy Info Cube data to Planning Area.
    Hope this will help you.
    Regards
    Sujay

  • Exchange Rate: Routine to copy  the "Exchange Rate" value From TCURR table

    Dear experts,
    I have created a cutomised Key Figure (ZEXCHRATE) with the 0currency as the unit and this field is included in my ZCOPA_C21 Infocube.
    In the update rule, it was then appointed with a simple routine below;
    (PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: TCURR.
    DATA: IT_TCURT Type TCURR occurs 0 with header line.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CSZCOPA_TPL_IS
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/VZCOPA_C21T-/BIC/ZEXCHRATE
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
      SELECT        * FROM  TCURR appending corresponding fields of table
      IT_TCURT
             WHERE  KURST  = 'M'
             AND    FCURR  = 'USD'
             AND    TCURR  = 'IDR'.
          AND    GDATU  = ___.
          AND    UKURS  = ___.
      Sort IT_TCURT by GDATU descending.
      Loop at IT_TCURT.
        Move IT_TCURT-UKURS to RESULT.
        Exit.
      Endloop.
    result value of the routine
    RESULT = space.
    if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 0.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine)
    Which will basically copy all the contents of TCURR into an internal table (IT_TCURT), sort it and then only copy out the UKURS (Exchange rate) data into the customised ZEXCHRATE to get the latest exchange rate value.
    Routine was checked and its fine.
    The problem is, upon checking the update rule, it returned an error message;
    "No Unit maintain for Key Figure Exchange Rate Local".
    Double checked the declaration of ZEXCHRATE, the unit was there.
    My questions;
    1. Is this the correct way of doing it ? I just want to be able to show the exchange rate value in my query (hence the existence of ZEXCHRATE).
    2. Is there an alternative way of achieving the same result ?
    Your help or advice will be greatly appreciated.
    Thanks
    KG

    Hi Sreeni,
    Referring to the " but the conversion from VEF to USD is happening at a rate @0.23256 which is valid till 02/13/2013 only" part in your post, the date given in OB08 for currency rate is valid from and not valid till.  Hence, please check the setting once.  Once you enter the rate from 02/13/2013, the rate is valid till you enter another date later than 02/13/2013.
    Regards,

  • Exchange rate date for FI (VBRK-KURRF_DAT) on invoice

    Hello
    Where I will find Exchange rate date for FI (VBRK-KURRF_DAT) on invoice? Is it hidden field? I just see on header level exchange rate.
    Is exchange rate for postings taken from billing date or pricing date?
    Thanks in advance.
    Margaret

    SO VBRK-KURRF (exchange rate for FI)  is taken from "pricing date" in standard?
    Are you 100% sure? :
    FIrst of all: there is no pricing date (PRSDT) on invoice header level
    Second: I`ve got information from FI that VBRK-KURRF is taken from posting (billing date) VBRK-FKDAT
    I have found also programs, there is provided folloving calculation formula:
    LV60AA90
    Currency conversion (WAVWR is in local currency so far)
            ACTDATE = VBRK-KURRF_DAT.
            IF ACTDATE IS INITIAL.
              ACTDATE = VBRP-PRSDT.
            ENDIF.
            DA_WAVWR_HW = VBRP-WAVWR.
            DA_WAVWR_KW00 = WAVWR_KW00.
            DA_WAVWR_PCVP = WAVWR_PCVP.
    LV60A036
    Determine date
        IF vbrk-kurrf_dat IS INITIAL.
          ld_kurrf_dat = vbrk-fkdat.
        ELSE.
          ld_kurrf_dat = vbrk-kurrf_dat.
        endif.
    So what is the verdict?

  • Problem loading material master (IS Mill) data from ECC to BI

    Hi Gurus,
    We have a problem loading Material master data from ECC to BI 7.0 SP 18.
    The scenario is :
    The ECC is with IS Mill... due to which the Material field MATNR is of length 40 instead of standard 18 characters.
    That is data element MATNR has 18 chars and its output length is 40 chars.
    When is table MARA browsed using SE16, the material with more than 18 chars.... shows only first 18 characters and are ended with !.
    OMSL setting shows length as 40.
    When the extractor checker runs 0MATERIAL_TEXT or 0MATERIAL_ATTR it gives correct output ..... which is more than 18 characters... not ended with !
    Till here no problem.
    On BI side, after replication of the datasource, i checked data element MATNR ... but it has length as 18 chars and output length as 18 chars.
    OMSL setting cannot be set more than 18.
    Infopackage has pulled data till PSA successfully. I checked the PSA data .... here to the material with more than 18 chars is ended with !.
    When the data is further pushed to 0MATERIAL infoobject, it throws following error for all materials irrespetive of its length (example below):
    0MATERIAL : Data record 768 ('SIT_PL_B01L_10_01!E '): Version 'SIT_PL_B01L_10_01! ' is not valid
    0MATERIAL : Data record 165 ('RLIRS52 E '): Version 'RLIRS52 ' is not valid
    Diagnosis
         Data record 768 & with the key 'SIT_PL_B01L_10_01!E &' is invalid in value 'SIT_PL_B01L_10_01! &' of the attribute/characteristic 0MATERIAL.
    System Response
         The system has recognized that the value mentioned above is invalid, and has processed this general error message. A subsequent message may give  you more information on the error. This message refers to the same value, even though it does not state this explicitly.
    I did search for SAP note related to this... but could not find any.
    There is one SAP note (Note 960868) which mentions about this, but the correction was then shipped with BI SP 9.... we are running on SP 18.
    Requesting you all experts for help.
    Best Regards,
    Deepak

    Hi,
    follow bellow steps:
    1. you need to activate the Datasouce in BI side.
    Goto RSA1>  Datasource> Select Datasource> Double click> Check fileds and Activate.
    2. Replicate the Datasource into BI side.
    3. Check the RFC connections by useing SM59.
    Regards.

  • Issue in transfer of data from ECC to APO

    Hi All,
    I have a requirement of transferring data from ECC to APO. I am using EXIT_SAPLCMAT_001 fro this purpose. The problem is, I need to transfer the data of a field that is not present in cif_matloc but present in /sapapo/matloc.
    How should I proceed...Please help....this is an urgent requirement
    Thanks & Regards,
    SriLalitha

    Hi,
    you may want to go to the transaction /SAPAPO/SNP_SFT_PROF
    Determine Forecast of Replenishment Lead Time
    Use
    In this field, you specify how the extended safety stock planning determines
    the forecast of the replenishment
    lead time (RLT). The following values are available:
    Supply Chain
    The system determines the RLT forecast using the supply chain structure by
    adding the corresponding production, transportation, goods receipt, and goods
    issue times. If there are alternative procurement options, the system always
    takes the
    longest
    option into account.
    Master Data
    The system determines the RLT forecast from the location product master
    data.
    Master Data/ Supply Chain
    First, the system determines the RLT forecast from the location product
    master data. If no RLT forecast can be determined, the system determines the
    forecast using the supply chain structure (as described under
    Supply
    Chain
    Dependencies
    You can retrieve the replenishment lead time forecast yourself by using the
    GET_LEADTIME
    method of the Business Add-In (BAdI) /SAPAPO/SNP_ADV_SFT.
    Replenishment Lead Time in Calendar Days
    Number of calendar days needed to obtain the product, including its
    components, through in-house
    production or external
    procurement.
    Use
    The replenishment lead time (RLT) is used in the enhanced methods of safety
    stock planning in Supply Network Planning (SNP). The goal of safety
    stock planning is to comply with the specified service level, in order
    to be prepared for unforeseen demand that may arise during the replenishment
    lead time. The longer the RLT, the higher the planned safety stock level.
    Dependencies
    The field is taken into account by the system only if you have specified
    master data or master data/supply chain in the RLT: Determine
    Forecast field of the safety stock planning profile used.
    Hope this helps.
    The RLT from ECC is in MARC-WZEIT which is transferred to APO in structure /SAPAPO/MATIO field CHKHOR.
    May be if you maintain the setting in the profile, you may get the value in RELDT.
    Thanks.

  • Unable to extract the data from ECC 6.0 to PSA

    Hello,
    I'm trying to extract the data from ECC 6.0 data source name as 2LIS_11_VAHDR into BI 7.0
    When i try to load Full Load into PSA , I'm getting following error message
    Error Message: "DataSource 2LIS_11_VAHDR must be activated"
    Actually the data source already active , I look at the datasource using T-code LBWE it is active.
    In BI  on datasource(2LIS_11_VAHDR) when i right click selected "Manage"  system is giving throughing below error message
    "Invalid DataStore object name /BIC/B0000043: Reason: No valid entry in table RSTS"
    If anybody faced this error message please advise what i'm doing wrong?
    Advance thanks

    ECC 6.0 side
    Delete the setup tables
    Fill the data into setup tables
    Schedule the job
    I can see the data using RSA3 (2LIS_11_VAHDR) 1000 records
    BI7.0(Service Pack 15)
    Replicate the datasource in Production in Backgroud
    Migrate Datasource 3.5 to 7.0 in Development
    I did't migrate 3.5 to 7.0 in Production it's not allowing
    When i try to schedule the InfoPakage it's giving error message "Data Source is not active"
    I'm sure this problem relate to Data Source 3.5 to 7.0 convertion problem in production. In Development there is no problem because manually i convert the datasource 3.5 to 7.0
    Thanks

  • Error while loading data from ECC to BI

    Hi BW Experts,
    while loading data from ECC 6.0 to BI  i got error in details tab of the infopackage as datapackage 1  arrived in bw processing not yet finished.
    Could any one help me out?
    Thanks

    Amar,
       please check the source system job status. If its successfully completed then we can expect data load sucess in BW side.
    to check source system status: RSMO> select related load>in Menu Environment-->Job overview in source system.
    once this over check the TRFC or IDocs struck
    if TRFC, chk in TCode-SM58 or from environment select TRFC from source/data warhouse.
    if you are finding TRFcs are in stuck just select and run manually to complete.
    M

  • Transfer Data from ECC to SRM

    Hi ,
    I'm trying to transfer data from ECC to SRM for creating bid document ( Function : BBP_PD_BID_CREATE ). After transferring the data I want to get the data back to ECC ( I need bid document number to write on delivery document's field ). What's the best way to do this ?
    Regards.

    Hi vinit ,
    I've written code to call 'BBP_PD_BID_CREATE' in ECC. But ECC and SRM have different structures. So i am not sure how i can define data to send SRM.
    Here is my code in ECC program
    CALL FUNCTION 'BBP_PD_BID_CREATE' IN BACKGROUND TASK
       DESTINATION 'XXX'
       IMPORTING
         I_REF_GUID    =
         I_BAPIMODE    =
         I_PARK        =
         I_SAVE        =
         I_TESTRUN     =
         I_HEADER      = I_HEADER ?
         IT_ATTACH     =
         IT_DYN_ATTR   =
         IT_CONDITIONS =
        EXPORTING
          E_HEADER      = E_HEADER ?
          ET_ATTACH     =
          ET_DYN_ATTR   =
          ET_CONDITIONS =
        TABLES
           I_ITEM        =
           I_PARTNER     =
           I_LONGTEXT    =
           I_SDLN        =
           I_ORGDATA     =
           I_HCF         =
           I_ICF         =
           I_TOL         =
           I_WEIGHT      =
           IT_EXCHRATE   =
           E_ITEM        =
           E_PARTNER     =
           E_LONGTEXT    =
           E_SDLN        =
           E_ORGDATA     =
           E_HCF         =
           E_ICF         =

  • Fetching data from ECC to APO

    Hi,
    I have fetch to data from ECC custom table to APO and create data, can anyone let me know the procedure.
    Thanks in advance

    Hi Santhana,
    If you want to add data of ECC to APO BW & Then in to DP, then follow the following Steps.
    1. Create Generic Data Source in ECC for thet Sales Order table.
    2. Replicate that data Source in to APO BW with Source System.
    3. Create whole data flow process by using created Data Source.
        Data Flow Process: 1. Info Package
                                      2. Info Source
                                      3. Info Cube
                                      4. Transformation between DS & IS, Then IS & IC
                                      5. Data Transfer Process.
    4. Load data from ECC to APO BW
    5. Use transaction /n/sapapo/tscube, for copy Info Cube data to Planning Area.
    Hope this will help you.
    Regards
    Sujay

  • Loading of data from ECC to BW initially takes time

    Hi,
    I am loading data from ECC to BW System.
    But I find that this process initially takes some time to start say for 15 minutes or so.
    I have no clue as to why this is happening.
    Could anyone help me out here.
    Regards,
    Sushanth Hulkod

    No, I found that there were no BGD's available in SM50 Transaction.
    But initially, the loading of data does not start for some time.
    After that all the data is loaded at once.
    I am uanble to understand this weird behaviour.
    - Sushanth Hulkod

  • Transaction data from ECC to APO DP

    Dear All,
    Can you tell me if i can directly load transaction data directly from ECC to APO BW Infocube.
    For example i want to load say sales orders from ECC.
    Can i directly load from ECC --> APO BW Infocube --> DP Keyfigures.
    Or any staging is required inbetween ECC and APO BW
    Thanks
    Santhana.

    Hi Santhana,
    If you want to add data of ECC to APO BW & Then in to DP, then follow the following Steps.
    1. Create Generic Data Source in ECC for thet Sales Order table.
    2. Replicate that data Source in to APO BW with Source System.
    3. Create whole data flow process by using created Data Source.
        Data Flow Process: 1. Info Package
                                      2. Info Source
                                      3. Info Cube
                                      4. Transformation between DS & IS, Then IS & IC
                                      5. Data Transfer Process.
    4. Load data from ECC to APO BW
    5. Use transaction /n/sapapo/tscube, for copy Info Cube data to Planning Area.
    Hope this will help you.
    Regards
    Sujay

  • Extraction of data from ECC to 3rd Party systems

    Hi All,
    I want to know all the options available for extracting data from ECC to a 3rd party system (custom datawarehouse like Teradata, hyperion etc). Also, I want know if there is a best practice documentation available for extraction of data from ECC to any 3rd party system?
    Thanks,
    SB.

    Hi SB,
    Check the following link
    http://expertisesapbi.blogspot.com/2010/06/how-to-transfer-data-from-sap-system-to.html
    Ranganath.

  • Source System Creation in BI to load data from ECC 6.0

    Our ECC 6.0 and BI 7.0 is one server. I would like to load data from ECC 6.0 to BI. How to create source system? I have source system for flat file and Data Mart (Myself source system) but don't know how to create source system to laod data from ECC 6.0. Please provide step by step guide.
    Thanks.

    Check here:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0751ba5-b7a8-2b10-6d97-e91e85c0fafa
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0087780d-81b0-2a10-eb82-86e1062f1a2d
    http://www.saptechies.com/connectivity-file-system-in-sap-bi/
    http://help.sap.com/bp_biv370/html/index.htm
    Thanks...
    Shambhu

Maybe you are looking for

  • HP all in one 2210 printer won't print in any browser

    I have been trying to print articles and descriptions of new televisions in safari. It hasn't been working at all on any browser at all. It does prints in Word, Preview, and such. I have tried everything i can think of. But i just can't print anythin

  • I   Am  Not  Able  To  Use  Adobe  Reader 9  As  Installed  In  ITR  On  Line

    I   Am  Not  Able  To  Use  Adobe  Reader 9  As  Installed  In  ITR  On  Line

  • J2ee hangs in PI 7..0

    Hi Friends With ref from SDN i have a question. I have installed a landscape with 3 pi 7.0 With my IE 7 and 8 the PI 7.0 screen after logins gets hanged out to whihc ever tab we click. at botton left it says void value 0. Can you plz assist for the s

  • Multiple networks using single network adapter

    Hi, If I have only single network adapter in a OVM server (or  single bond interface bond0 created from two network adapters), is it possible to separate networks for VM management, live migrate and VM public networks using any mechanism, say by crea

  • Using Personal LaserWriter 300 w/eMac, OS X 2

    Did anyone ever come up with a driver to allow a PLW 300 to work with Mac OS X? Along with the appropriate serial to USB adapter, I'm assuming. My one last query before I bite the bullet and buy a cheap Brother model, I guess....thanks for any help..