ODI-HFM issue with decimal separator

Hi all,
We are extracting data from an HFM application A and loading into an HFM application B.
Example:
Data extracted from applicaiton A = 21.742.139,55
Data loaded to application B (verified from Explore Data and Smart View) = 2.174.213.955,00
Is data loading with ODI-HFM taking the regional settings?
Any suggestions?
If we extract data with HFM Client (logged on with the same user configured in HFM Data server) from application A and load it into application B, data is correct in application B.
Current configuration is:
- User preferences for HFM Application A
     * Decimal separator = ","
     * Thousands separator = "."
- User preferences for HFM Application B
     * Decimal separator = ","
     * Thousands separator = "."
- Regional settings of the server where the agent is running (English US)
     * Decimal separator = "."
     * Thousands separator = ","
This setting is the same for all HFM application servers
- ODI Datastore HFMDatastore
     * Decimal separator set to "," (this setting was changed to see if solved the issue)
- ODI Datastore for staging table
     * Decimal separator set to "," (this setting was changed to see if solved the issue)
- Language Settings for DB (American English)
Thanks in advance!

Hi Pls Use This
    For Decimal Separator other than . we need to Code to Convert , See This Code Below and Do the Code
Private Function ReturnQty(ByVal Qty As String) As String
Dim strQty As String
Dim strSQL As String
Dim strSeprtr As String
Dim objRS As SAPbobsCOM.Recordset
strSQL = "SELECT ThousSep FROM OADM"
Set objRS = oSBC.oDICompany.GetBusinessObject(BoRecordset)
objRS.DoQuery (strSQL)
If Not objRS.EOF Then
        strSeprtr = objRS.Fields.Item("ThousSep").Value
End If
If strSeprtr = "," Then
ReturnQty = Qty
ElseIf strSeprtr = "'" And Len(Qty) <= 6 Then
Qty = Replace(Qty, ",", ".")
'Qty = Replace(Qty, ",", ".")
ReturnQty = Qty
Qty = Qty
ElseIf strSeprtr = "'" Then
Qty = Replace(Qty, "'", "")
'Qty = Replace(Qty, ",", ".")
ReturnQty = Qty
Qty = Qty
ElseIf strSeprtr = "." And Len(Qty) <= 6 Then
Qty = Replace(Qty, ".", ",")
Qty = Replace(Qty, ",", ".")
ReturnQty = Qty
ElseIf strSeprtr = "." Then
Qty = Replace(Qty, ".", "")
Qty = Replace(Qty, ",", ".")
ReturnQty = Qty
End If
End Function
Mohamed Zubair

Similar Messages

  • Big issue with decimal separator

    regional settings of machine where client & server reside are for european country (decimal separator is ",")
    sap b1 decimal separator is set also for ",".
    exception occurs when I set in code, for a edittexts' datasource of type SUM a decimal value using ",". If I set the value using "." it works. how the $%#$% is this possible?

    Hi Pls Use This
        For Decimal Separator other than . we need to Code to Convert , See This Code Below and Do the Code
    Private Function ReturnQty(ByVal Qty As String) As String
    Dim strQty As String
    Dim strSQL As String
    Dim strSeprtr As String
    Dim objRS As SAPbobsCOM.Recordset
    strSQL = "SELECT ThousSep FROM OADM"
    Set objRS = oSBC.oDICompany.GetBusinessObject(BoRecordset)
    objRS.DoQuery (strSQL)
    If Not objRS.EOF Then
            strSeprtr = objRS.Fields.Item("ThousSep").Value
    End If
    If strSeprtr = "," Then
    ReturnQty = Qty
    ElseIf strSeprtr = "'" And Len(Qty) <= 6 Then
    Qty = Replace(Qty, ",", ".")
    'Qty = Replace(Qty, ",", ".")
    ReturnQty = Qty
    Qty = Qty
    ElseIf strSeprtr = "'" Then
    Qty = Replace(Qty, "'", "")
    'Qty = Replace(Qty, ",", ".")
    ReturnQty = Qty
    Qty = Qty
    ElseIf strSeprtr = "." And Len(Qty) <= 6 Then
    Qty = Replace(Qty, ".", ",")
    Qty = Replace(Qty, ",", ".")
    ReturnQty = Qty
    ElseIf strSeprtr = "." Then
    Qty = Replace(Qty, ".", "")
    Qty = Replace(Qty, ",", ".")
    ReturnQty = Qty
    End If
    End Function
    Mohamed Zubair

  • Issue with field separator in GUI_UPLOAD

    Hello Gurus
    I am facing issue with gui_upload. I have a text file in which the fields are eparated by single Pipe  i.e |. Now when I try to read the data from file in internal table even with using field separator it does not insert data in proper fields.
    DATA: BEGIN OF IT_TAB OCCURS 0,
          OBJECT_ID type string,
          VERSION_SERIES_ID TYPE string,
          VERSION_NUMBER TYPE string,
          REVISION TYPE string,
          DOC_NUMBER TYPE string,
          DOCTITLE TYPE string,
          FILESIZE TYPE string,
          MIME_TYPE TYPE string,
          PLANTUNIT TYPE string,
          END OF IT_TAB.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = w_mpath
        FILETYPE                      = 'ASC'
        HAS_FIELD_SEPARATOR           = '|'
      HEADER_LENGTH                 = 0
       READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      TABLES
        DATA_TAB                      = it_tab[]
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    I want the data to get appended in internal table based on | separator.
    Please help.
    Regards,
    Rajesh.

    Hi,
    I believe the field separator parameter will work for Excel files..You have to get the internal table in a string format..and then use split statement..
    check this example..
    DATA: BEGIN OF it_tab OCCURS 0,
           object_id TYPE string,
           version_series_id TYPE string,
           version_number TYPE string,
           revision TYPE string,
           doc_number TYPE string,
           doctitle TYPE string,
           filesize TYPE string,
           mime_type TYPE string,
           plantunit TYPE string,
         END OF it_tab.
    DATA: t_tab   TYPE TABLE OF string,
          v_string TYPE string.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                = 'C:\TEST.TXT'
    *    has_field_separator     = '|'          "Actually not required.
      TABLES
        data_tab                = t_tab
      EXCEPTIONS
        file_open_error         = 1
        file_read_error         = 2
        no_batch                = 3
        gui_refuse_filetransfer = 4
        invalid_type            = 5
        no_authority            = 6
        unknown_error           = 7
        bad_data_format         = 8
        header_not_allowed      = 9
        separator_not_allowed   = 10
        header_too_long         = 11
        unknown_dp_error        = 12
        access_denied           = 13
        dp_out_of_memory        = 14
        disk_full               = 15
        dp_timeout              = 16
        OTHERS                  = 17.
    IF sy-subrc <> 0.
    ENDIF.
    LOOP AT t_tab INTO v_string.
      SPLIT v_string AT ','
            INTO
            it_tab-object_id
            it_tab-version_series_id
            it_tab-version_number
            it_tab-revision
            it_tab-doc_number
            it_tab-doctitle
            it_tab-filesize
            it_tab-mime_type
            it_tab-plantunit.
      APPEND it_tab.
      CLEAR: it_tab.
    ENDLOOP.
    Thanks
    Naren
    Edited by: Narendran Muthukumaran on Oct 15, 2008 4:58 PM

  • Problem with decimal separator

    How to change default settings for decimal and group separators?
    Example:
    - 10g database
    - APEX v.3.1.2.00.02
    0.00: S H O W: application="1" page="6" workspace="" request="" session="1327891581523707"
    0.00: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: hr
    0.01: alter session set nls_language="*CROATIAN*"
    0.01: alter session set nls_territory="*CROATIA*"
    0.01: NLS: CSV charset=*EE8MSWIN1250*
    *0.01: ...NLS: Set Decimal separator="."*
    *0.01: ...NLS: Set NLS Group separator=","*
    - 11g database
    - APEX v.3.1.2.00.02
    0.00: S H O W: application="1" page="6" workspace="" request="" session="124256584707880"
    0.00: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: hr
    0.00: alter session set nls_language="*CROATIAN*"
    0.00: alter session set nls_territory="*CROATIA*"
    0.00: NLS: CSV charset=*EE8MSWIN1250*
    *0.00: ...NLS: Set Decimal separator=","*
    *0.00: ...NLS: Set NLS Group separator="."*
    Both applications are same and in both applications Application Primary Language globalization attribute is set to Croatian (hr) but I'm getting different decimal and group separators.
    Querying v$nls_parameters view I saw that, in first case NLS_NUMERIC_CHARACTERS parameters are set same on database and apex ('.,') but in second case they are different. On database is '.,' but on apex application ',.'
    Why?
    Please help!

    Make changes in the regional configurations of your PC.
    Maybe its solve your problem.

  • Issues with thousand separator

    Hi all. can anyone help me. In my PDF form i create a numeric field. I set numeric format with these parameters:
    Decimal places = 0
    Separator style = 1,234.56
    Currency symbol none.
    but for all that feild displayed value as "1234.00". to remove zeros i add javascript for this field: this.getField('1').value=0+this.getField('1').value; Now it show like "1234". but I'm still looking for solution to show thousand separator. Please help

    It doesn't help. I forgot to say 1 detail. field works fine when I change value manualy in Acrobat, but I use web service to fill data in pdf (when it done the file becomes read-only). and when pdf is filled I don't see separator

  • ODI 11g, Issue with Load plan variable in CASE WHEN STEP

    Hi,
    I am trying to retrieve value of the current context using the following code in refreshing variable:
    Variable name: Context
    Refreshing Code: select  '<%=odiRef.getContext( "CTX_Name" )%>'  from dual
    The variable is returning correct results when I refresh / Call it as part of Run Scenario step.
    Requirement: I want to use the variable Context in CASE step, depending on the value it results I want to execute a selective set of scenarios. I have defined case when steps per the requirements.
    Issue: The behavior of the variable is not as expected when used in CASE WHEN step. Load plan execution always triggers only ELSE part of CASE WHEN step.
    I have tried force refresh option in CASE STEP on the variable Context.
    Need your help and advice on how to fix the issue.
    Thank you,
    Bharani

    HI Bharani,
    Below link may helps you about load plan in ODI
    Help on Load Plan Execution
    Regards,
    Phanikanth

  • Issue with Decimal Values in Bex Reporting

    hello gurus,
    I have extracted data from 2LIS_13_VDITM. In the ODS when I look at the Active data, column Billing Qty Sls Units - it shows "13,190 " and the Sales Unit is "KM".
    ITEM   SALES UNIT  Billing Qty :Sales Unit
    10       KM          13,190     
    20       KM           0,500 
    In R3 table VBRK also it stores in the above format.
    But while reporting it rounds of the data as 13,000 and 1,000.
    How can i get the actuals, in reporting also.
    Pls advise. thanks in advance.

    Hi Eugene -Scaling it to 1 did not help.
    Hi Roberto -> I had a look at the entries in T006 for KM (kilometers)and M(meters). this is what i got.
    [Int. meas. unit] [Decimal.pl.rnd.] [Decimal places]
    KM            |       0       |            0           
    M             |       2       |            0           
    And in SPRO in Src System and BW Sytem there is no mention of KM and meters.
    Message was edited by: bw
    Message was edited by: bw
    Message was edited by: bw

  • Issue with Decimal Notation in BEX.

    HI BW Experts !!
    Can any one help on this please.
    Thanks a million in advance.
    InfoCube: Equipment Barometer InfoCube (Technical Name: ZRLC_BAR)       
    Key Figure: Month to Date Income (Technical Name: ZRL_MTDIN)     
    If I execute the query with the Month/Year = 10.2004 and I compare it with the data in the infocube in the same period I'll see the following data:                                                   
    Query=   611303.49   (correct amount)
    InfoCube=6113034.92  (Wrong amount, is divided by 10)
    Always the amounts in the query(BEX) is divided by 10.               
    If someone can help me i will appreciate.

    Hi Marcos,
    In Query edit mode, goto properties of key figure (right-click on the ZRL_MTDIN), and select 'Nothing Defined' for the scaling factor.
    This should work.
    Regards,
    Vikrant.

  • Conversion issues with decimal points from v5.1.5 to XI

    Several reports which were converted from v5.1.5 full client to XI Webi have numeric differences. When comparing v5.1.5  to XI, the sums on the columns don't exactly match. The cell format on these numbers is set to eight decimal points. When we converted, I noticed the cell format changed from number 0.00000000 in 5.1.5 to custom 0.00000000 in XI. I don't know if this is the reason the sums don't match or if it's something else.

    Hello Ellen,
    as you refer to a Webi problem I recommend to post this query to the [BusinessObjects Web Intelligence|SAP BusinessObjects Web Intelligence; forum.
    This forum is dedicated to topics related to the creation and design of Web Intelligence documents using the Web Intelligence Report Panels. This includes areas such as universe connectivity, prompts, charting, formatting, filters, and formulas.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Webi queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • ODI 11.1.1.5 Issue with In-Memory Engine!

    Hi All,
    I was in the process of testing an Interface (Flat File->Planning) using Memory Engine as the Optimization Engine; and was getting the following error;
    ODIPlanningException: The source result set contains column [C1_CHILD] which has no corresponding column on the planning side.
    After some reach, I found on John's blog
    http://john-goodwin.blogspot.com/2011/09/odi-series-issues-with-11115-and.html
    that this is a known issue in V11.1.1.5 and changing the Memory Engine to say MSSQL (or as John suggested to Oracle) had my Interface run successfully. However, I do have a few questions on this;
    1. The first step of Drop Work Table failed after changing the Optimization Engine with the error: Cannot drop the table "abc" because it does not exist or you do not have permission.
    I dont understand this messege completely. Does it mean say its not able to drop because the Table becauase it doesnt exist? Well I ran the same interface a second time (so the Table exists from previous run) and I still got the same messege.
    Any comments?
    2. What is the impact of changing the Optimization Engine from Memory to MSSQL (essentially my staging area)? Is there anything else I need to be aware of by doing so?
    3. Finally, is there a patch for this now so In-Memory Engine could be used?
    Appreciate your comments.
    Thanks

    It is fixed in 11.1.1.6 or for 11.1.1.5 then have a look at patch 12905298
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Issues with ODI connection to Hyperion Financial Management

    Hi,
    I am having some issues with ODI connection to Hyperion Financial Management. ODI and Financial management are setup on different machines.
    The ‘Cluster(Data Server)’ name in Topology is given as ‘hfm03cl’. On reverse-engineering a model it gives the following error:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 38, in ?
    com.hyperion.odi.common.ODIHAppException: Error occurred in driver while connecting to Financial Management application [HFM1] on [hfm03cl] using user-name [admin].
    at com.hyperion.odi.hfm.ODIHFMAppConnection.<init>(ODIHFMAppConnection.java:58)
    When HFM is installed on the same machine, it works fine. How does ODI identify a cluster on a different machine? Do I have to give the machine name along with the cluster name? If so, what is the format?
    Thanks,
    Su

    You will need to have the HFM client installed on any machine that will be running ODI (i.e. Designer or Agent) that will be executing connections to an HFM server.
    Once you have the HFM client installed, see if you can actually connect to HFM from that machine using the HFM client.
    Couple of other thing, in the Physical Schema, have you set the Application Catalog and Work Catalog to the same HFM application?
    Also, when you are reversing, are you using the local agent or one you have installed using agentservice?
    geeo

  • LabVIEW to Excel - decimal separator issue

    I'm using a VI to copy a LabVIEW table to Excel
    http://forums.ni.com/ni/attachments/ni/170/125802/1/Write_Table_and_Chart_to_XL.llb
    My system uses the comma as a standard decimal separator. Despite changing the LabVIEW settings the table I generate uses a decimal point. When I copy the data values smaller than one are copied correctly, but values > 1 are recognized as the value times a million.
    0,9 is still 0,9 but 1,34 is 1340000
    Is there any way to resolve this issue
    Thanks
    Solved!
    Go to Solution.

    I ran your VI and everything looks fine for me!!
    I get the attached table when I ran the code.
    Are you using any non-english keybord? or is there any default settings in Excel with formatted cells? 
    Iam using LV8.5, and I changed the range property's value to Value2 in Set Cell Value.vi (since it had a broken arrow) 
    Message Edited by Vsh on 11-09-2009 02:55 AM
    Attachments:
    result.xls ‏14 KB

  • HFM 11.1.2.3 Configuration - Issue with Consolidation Administration

    Hi,
    This is regarding a new/fresh installation EPM 11.1.2.3 and have an issue with configuration on HFM; the deployment is distributed as below
    1) Server 1 : Foundation,WebLogic Admin(/OHS) - Workspace/Shared Services/Planning/Calc Manager/EAS/APS
    2) Server 2: Essbase
    3) Server 3 : EPMA/HSF/HFM(FDMee/DRM-Yet, to be installed and configured) - Hadnt used these products and this is totally new to me.
    We have issues with HFM - and while opening the Consolidation Administration.
    We get an error as below, in workspace
    An unexpected error has occured.Check server log or contact your system administrator for more information.
    The web app logs suggested below errors- This is only part of the error log
    E:\Oracle\Middleware\user_projects\domains\EPMSystem\servers\HFMWeb0\logs\oracle-adf.log
    Part of log
    oracle.adf.model.adapter.DataControlFactoryImpl] [SRC_METHOD: createSession] Exception: [[
    oracle.adf.model.adapter.AdapterException: DCA-29000: Unexpected exception caught: oracle.epm.fm.common.exception.HFMException, msg=There is no registered cluster or server
    I hadnt configured 'Configure Cluster' during the HFM configuration; this was a mistake being new to HFM.
    On a further readup online on OTN etc, found that an application cluster is a must have on HFM, even if it is for one server.
    Have one confusion now for fixing this,
    Do a configuration only for 'Configure Cluster', and restart services to fix this issue
    or
    Do a configuration for 'Configure Cluster'and then again re-Configure HFM components
    Configure > Financial Management — Configure Cluster
    Re-Configure > Financial Management — Configure Application Server
    Re-Configure >  Financial Management — Configure Web Server
    Re-Configure >  Financial Management — Configure Web Application
    Re-Configure >  Financial Management — Enable Smart View Provider
    Re-Configure >  Financial Management — Enable Life Cycle Management Provider
    Re-Configure >  Financial Management — Enable Web Services

    Got help from Oracle Support, and this problem is now resolved. The HFM app server was configured fine, earlier.
    Had to follow below steps on the EPM configurator.
    Stop Services
    HFM - Configure Cluster
    HFM - Configure Web Server
    HFM - Deploy to App Server
    Foundation - Configure Web Server.
    Start Services
    Refresh workspace

  • Issue with DataSets in ODI

    Hi,
    I have two datasets (each contain three tables joined together, different filter criteria in each dataset) in my ODI interface on which I perform the MINUS SET commad. The results from this are to be written to a file. When I run the pure SQL in a SQL editor I get the result set back I am expecting. However, when I run my ODI interface I get no results. When I look at the generated SQL all I have is a SQL statement based on a single table from my dataset with no reference to the joined tables and no reference to the 2nd dataset or MINUS command. ODI version is 11.1.1.6. Is there an issue with the dataset feature? 

    IKM SQL to PLanning which has a small customization to include an order by

  • Issue with display of decimal places

    Hi,
    In our custom built components we are facing a strange issue with the display decimals  where the data type of an element is "QUAN - Quantity field, points to a unit field with format UNIT".
    If the element has a value of 3000.000 KG the value is displayed as 3000. Where as for an element which has a value 3000.123 KG the same is displayed as it is with the decimals. We tried to resolve the issue by using Text editor or Input field as read only but in vain. The display property in the context are set to default.
    If we change the element data type reference to "Dec - Counter or amount field with Comma and Sign" then all the values are displayed with the decimal places even if decimals are zero.
    As a result we are facing alignment issues for the various quantity related elements displayed on the screen.  To change the underlying data type of the element is a not a solution for us as the data type quan is required for conversion from one unit to another unit.
    Can someone please advise how we could resolve this issue.  We are on NW 7.0 + EHP4 + NW 7.01 SP4, kernel patch level 55 for 7.01
    Regards
    Rohit Chowdhary

    Jameel, Thanks for the answer but this is a not a solution for us. We have around 40-50 webdynpro components and with mutliple views referring to this data element / domain combination. More so the context are bound to database tables / structures . 
    I hope to get a reply from Thomas on possible solution for this. I am not sure if I can open an support ticket for this issue.
    Rohit Chowdhary

Maybe you are looking for

  • Windows vista 64 bits + xfi xtreme music + logitech g51 + SWAPS CHANN

    Hello ! I am heber from argentina! bs as! federal discrict! Hey guys! you are soo cool! you help me a lot of times! but now i have to write to you becausa i dont get a solid solution to my problem. I search and see that there are some users with the

  • ITunes sync to my iphone problems.

    I just got an iphone 4 this past week, and I'll start by saying that I previously had an ipod Touch and these problems I have never had with it. So when I go into iTunes with my phone synced in, I go into my music folder of my iphone(via iTunes on th

  • 22CV1000 Toshiba LCD TV/DVD combo: Sound but no display

    I am having problems with my 22CV1000 Toshiba LCD TV/DVD combo! When I turn the tv on, it sounds like it is trying to read a DVD. The display appears for second, but then goes black. I still have sound, just no display.  The Toshiba help line told me

  • OCS 2007 R2 to )365 migration

    I've Exchange 2007 & OCS R2 deployed in On-Prem, and we planning to moved to O365 and de-commission our Exch & OCS R2. My question once we moved O365, the users who are using OCS how can they access Online lync once we de-commission our OCS and clean

  • Registration Window keeps opening?

    Hi I recently installed Windows 7RC on my computer and then reinstalled all my Adobe software. My system is set to dual boot to Windows XP and Windows 7 RC. This is more of an anoyance then a real problem but if anyone has any ideas how to stop it, I