Error in Formula Function

Dear Experts,
I tried to convert the fiscal period into calander month by using the following formula in transformation -
FISCPER_CALMONTH( RIGHT( 3, PERBL ), 'v3', GJAHR, 0 )
where PERBL is the Period block/year having the data like 2008004 & GJAHR is the fiscal year as I does not have posting period in data source or fiscal period, that is why i have to use the Period block/year.
I am getting the problem while uploading the data into the cube. It gives me an error Error in a formula function (routine 82 ), record 1
Please let me know how can i resolve this problem ??/
Thanks
neha

Thanks for the response
I test it in transformation.here it is giving an error message Error in rule test:
Now please tell me what to do the next?
Neha

Similar Messages

  • Error in formula function (ROUTINE_18) record 1

    Hi All,
    We are loading a flat file in to a DSO. From here we are loading the data from DSO to a cube (using this DSO as a Export datasource). In the export datasource infopackage, we are giving date in the selection screen and loading the data. before it is working fine. Now when we try to load the data, i am facing the error " Error in formula function (ROUTINE_18) record 1" and the data was not moving from the PSA to the infocube.
    Recently we have upgraded the BI system from 7.0 version to 7.3.
    Please let me know the reasong for the failure and how to correct it.
    I have replicated the Export datasource and even i re-generated the DSO as export datasource but no use and getting the same error.
    Thanks,
    jack

    Ok...you have a BW 3.5 flow.
    As you said you have selection at InfoPackage level. Please check whether the InfoPackage without selection works or not.
    If it works then you have the problem in Selection field.
    Also check if there is any problem in Update Rule /Transfer rule
    If you have selection routine written at InfoPackage level, create a new InfoPackage ( Full) and load .
    Anindya
    Edited by: Anindya Bose on Nov 3, 2011 11:01 AM

  • Type error while calling function module with in FOX formula

    Hi,
    I am getting following error while calling function module from FOX Formula:
    "Types of parameter DAY_IN () and variable J_CALDAY(D) are inconsistent"
    Following is the code:
    DATA    I_CALDAY       TYPE  0CALDAY.
    DATA    N_CALDAY       TYPE  0CALDAY.
    DATA    KYF              TYPE KEYFIGURE_NAME.
    FOREACH   I_CALDAY, KYF.
       CALL FUNCTION SLS_MISC_GET_LAST_DAY_OF_MONTH
          EXPORTING
             DAY_IN  =  I_CALDAY
          IMPORTING
             LAST_DAY_OF_MONTH = N_CALDAY.
        {KYF, N_CALDAY}  =  {KYF, L_CALDAY}.
    ENDFOR.
    Import parameter DAY_IN is of type sy-datum (that inturn is data element SYDATUM of data type DATS - same as 0CALDAY). Not sure why error is being thrown. Any idea? Thanks.
    Edited by: SAP_BOY on Dec 4, 2009 5:26 PM

    Hi,
    I think It will not identify ,though you have  (data element SYDATUM of data type DATS - same as 0CALDAY).Check it out by assigning it through a variable of type D.
    Data I_CALDAY TYPE D.
    Hope it may work out.
    Regards,
    Indu

  • Error in a formula function (routine 66 ), record 4,161 RSAR 535

    Hi Experts,
    I am facing this issue while loading form DSO to Cube. So i am using
    Maximum Number of Errors per Pack  more then 1000 to skip the error records.
    In Error stack i get the below error :
    Error in a formula function (routine 66 ), record 4,161 RSAR 535
    Can any body help me on this.
    Thanks in advance
    Mohan.

    i am doing datamart load ie DSO to cube
    so while loading in DTP in update tab i have selected max no of error recods to be skipes = 9000 this will ignore the records if at all there are error records in the flow.
    i know there are few records. but what i want is to identify wht the error in the record is
    when i try to chk the records in Error stack if i selet  a record to change with change mode i also get a pop up with the error msg
    Re: Error in a formula function (routine 66 ), record 4,161 RSAR 535
    Which i dont really under stand what and were the error is
    i even compared the data of correct record which is alredy processed to the cube.
    I could not find much difference
    mohan.

  • Error in a formula function (routine ROUTINE_9998), record 0

    Hi Experts,
    i have an issue while loading from cube to ODS. The load fails with the following message:
    Data records for package 1 selected in PSA - 1 error(s)
    Record 0 :Error in a formula function (routine ROUTINE_9998 ), record 0
    Please help me... Thanks in Advance!

    Hi,
    Prob, it could be passing invalid date to DATE_WEEKDAY!() function.
    Regards,
    -Vj
    Edited by: Vijaya Bhaskar Bodanapu on Jan 16, 2009 3:24 PM
    Edited by: Vijaya Bhaskar Bodanapu on Jan 16, 2009 3:25 PM

  • Error in a formula function (routine ROUTINE_0002 ), record 1

    Dear Guru's
    I am trying to load data into a ODS and i am facing the following problem in  the PSA maintance it self.
    *@5C@     Error in a formula function (routine ROUTINE_0002 ), record 1     RSAU     510     *
    So any one please give me some suggestions........
    Thanks in Adv,
    Dev

    Hi Srinivas dev,
        Just check the key define for the ODS, and the Record for that line where it is giving error at PSA. I think there is no value for the Key maintain for the ODS.
    Assign Points if helpful.
    Regards,
    Rajdeep Rane.

  • Error in a formula function

    Hi,
    i ran the infopackge.load was failed.failed request is showing Record 1 :Error in a formula function (routine ROUTINE_0001 ), record 1 .why this error is coming.how can i solve this issue?
    Thanks,
    Ali

    Hi,
    As refered by the posts above , you need to edit the data in to PSA, now try going through the procedure below:
    1. Once data is loaded till PSA , ther will be a "process Manually Tab" in the status of the ip, press that.
    2. Now you will get the error in the processing packets .
    3.make the IP red , delete the failed request from target( Info cube), sice for DSO there is a specific procedure.
    4.now go bak to ip click on the psa tab, the error displays record '1', so select the first record in PSA, put the size of the record in the no. of error records and select " error record".
    5. now you will se this error record in the PSA.
    6. Click on the edit record , you will se the canonical structure of the record with its field.
    7. No try editing th record for there might be a entry which seems to be diff from other(compare with correctly loaded records).
    8. edit it , save the changes.
    9. now either recostructing the PSA or manually pushing the failed request to target.
    Hope this will serve your cause
    Thax & Regards
    Vaibhave Sharma

  • Record 1 :Error in a formula function (routine ROUTINE_0001 ), record 1

    Hi ALL,
                   i ran the infopackge.load was failed.failed request is showing Record 1 :Error in a formula function (routine ROUTINE_0001 ), record 1 .why this error is coming.how can i solve this issue?
    Thanks,
    chandu

    Hi Chandra,
    Must be error in transfer rules. Conversion error in transfer routine or format error in file.If it is go to debugger and check.
    Hope you have got the hint
    thanks
    udaykiran

  • BW prod: 'error in a formula function'

    We have problem RSAR 194 ('error in a formula function') in data load.
    We use the following formula functions between IS and ODS (transfer/update rules):
    FISCPER_CALMONTH( MONAT, FISCVAR, LEFT( 4, FISCPER ), 0 )
    LEFT( 4, CALMONTH_FISCPER( CALMONTH, 'V3', 0 ) )
    RIGHT( 3, CALMONTH_FISCPER( CALMONTH, 'V3', 0 ) )
    DATE_FISCPER( ADD_TO_DATE( CONCATENATE( DATE_MONTH( SYST-DATUM ), '01' ), 1- ), 'V3' )
    The problem occurs with data load from R/3 production, but just in the BW production environment:
    in the BW development environment, the same data load process works properly.
    (note that the development environment has been transported into the production environment without applying any changes,
    so the production environment is the same as the development environment).
    Both the develpment and the production environment have BW release 3.5 (on AIX/Oracle), with support package 14.
    Related notes: notes 652706 and 690772 refer to the same problem but with BW relaeses 3.0-3.1;
    note 798787 refer to the same problem also with BW 3.5 release but with support package prior to 11.
    None ot them reports differences between development and production environments.
    Does someone know how to solve this problem?
    Thanks,
    Massimo

    Hi massimo,
      'V3' is fiscvariant..?, check this is available in Production or not.
       Check any dumps in st22. you will get some more info. and alos see the details tab in monitor.
    Srini

  • Error optimizing formula for [mbrName]: argument [] may not have size [] in function []

    Hi all,
    Please help me
    I wrote the following script:
    182        "Commercial income tax"(
    183             IF ( "Payment of principal - Short-term" <> #MISSING)
    184                   "Commercial income tax" = 1;)
    It throws following error:
              Error:Error optimizing formula for [Commercial income tax] (line 182): argument [2] may not have size [-4] in function [@NE] Rule PandL.
    What the meaning of these word?
    argument [2]
    size [-4]
    Is there another way of accomplishing the above?

    Yeah, Anthony,
    I ve just written Calculation Scripts 6 month ago.
    Your question:  "Commercial income tax" and the "Payment of principal - Short-term" members are Accounts ?
    My Answer: Yes, they are.
    My full IF statement:
    182        "Commercial income tax"(
    183             IF ( "Payment of principal - Short-term" <> #MISSING)
    184                   "Commercial income tax" = 1;
    185             ELSEIF ( "Payment of principal - Short-term" == #MISSING)
    186                   "Commercial income tax" = #MISSING;
    187            ENDIF;)
    Warning Error:
              Error:Error optimizing formula for [Commercial income tax] (line 182): argument [2] may not have size [-4] in function [@NE] Rule PandL
    It is not Error if I write following Script:
    182        "Commercial income tax"(
    183             IF ( "Payment of principal - Short-term" <> 0 or "Payment of principal - Short-term" == 0)
    184                   "Commercial income tax" = 1;
    185             ELSEIF ( "Payment of principal - Short-term" <> 0 and "Payment of principal - Short-term" != 0)
    186                   "Commercial income tax" = #MISSING;
    187            ENDIF;)

  • Error executing formula :scalar double argument expected in function [@DIV]

    Hi,
    I'm getting the following error when I try to run this calc. The syntax check says ok, but the calc won't run. I don't understand what the [@DIV] means ... Can someone help? Thanks!
    Error executing formula for [Alloc Factor] (line 0): scalar double argument expected in function [@DIV]
    sts = 1200400 CalcObject = DBadDebt
    Command Failed. Return Status = 1200400
    Fix(&Cscenario,@descendants("Currency"))
    /*Direct allocation for BNA cost center 10471*/
    FIX("Not Applicable Cost Center",CYTDC,"Bosch Power Tools Corded","Bosch Power Tools Cordless","Canada")
         "Alloc Factor"("Bad Debt" =
         "Net_Sales"->Input->&Cscenario /
         ("Net_Sales"->&Cscenario->"Canada"->"Bosch Power Tools"->Input);)
    ENDFIX
    FIX("Canada","Not Applicable Cost Center",CYTDC, "Bad Debt",@CHILDREN("Bosch Power Tools"))
    "Direct Alloc"("Bad Debt"="Alloc Factor"->"Bad Debt"*
    ("Input"->"Other Operating Income and Deductions"->"10471"->"Not Applicable Brand"->"Not Applicable Region"->"Current YTD");)
    ENDFIX
    /*Direct allocation for ACN cost center 10472*/
    FIX("Not Applicable Cost Center",CYTDC,"Bosch Accessories","Skil Accessories","VA Accessories","Canada")
         "Alloc Factor"("Bad Debt" =
         "Net_Sales"->Input->&Cscenario /
         ("Net_Sales"->&Cscenario->"Canada"->"Accessories"->Input);)
    ENDFIX
    FIX("Canada","Not Applicable Cost Center",CYTDC, "Bad Debt",@CHILDREN("Accessories"))
    "Direct Alloc"("Bad Debt"="Alloc Factor"->"Bad Debt"*
    ("Input"->"Other Operating Income and Deductions"->"10472"->"Not Applicable Brand"->"Not Applicable Region"->"Current YTD");)
    ENDFIX
    /*Direct allocation for SNA cost center 10470*/
    FIX("Not Applicable Cost Center",CYTDC,"Skil Power Tools Corded","Skil Power Tools Cordless","Canada")
         "Alloc Factor"("Bad Debt" =
         "Net_Sales"->Input->&Cscenario /
         ("Net_Sales"->&Cscenario->"Canada"->"Skil Power Tools"->Input);)
    ENDFIX
    FIX("Canada","Not Applicable Cost Center",CYTDC, "Bad Debt",@CHILDREN("Skil Power Tools"))
    "Direct Alloc"("Bad Debt"="Alloc Factor"->"Bad Debt"*
    ("Input"->"Other Operating Income and Deductions"->"10470"->"Not Applicable Brand"->"Not Applicable Region"->"Current YTD");)
    ENDFIX
    /*Direct allocation for MT cost center 10473*/
    FIX("Not Applicable Cost Center",CYTDC,"Measuring Tools","Canada")
         "Alloc Factor"("Bad Debt" =
         "Net_Sales"->Input->&Cscenario /
         ("Net_Sales"->&Cscenario->"Canada"->"Measuring Tools"->Input);)
    ENDFIX
    FIX("Canada","Not Applicable Cost Center",CYTDC, "Bad Debt","Measuring Tools")
    "Direct Alloc"("Bad Debt"="Alloc Factor"->"Bad Debt"*
    ("Input"->"Other Operating Income and Deductions"->"10473"->"Not Applicable Brand"->"Not Applicable Region"->"Current YTD");)
    ENDFIX
    /*Direct allocation for Service cost center 10474*/
    FIX("Not Applicable Cost Center",CYTDC,"Measuring Tools","Canada")
         "Alloc Factor"("Bad Debt" =
         "Net_Sales"->Input->&Cscenario /
         ("Net_Sales"->&Cscenario->"Canada"->"Skil Parts Brand","Bosch Parts Brand"->Input);)
    ENDFIX
    FIX("Canada","Not Applicable Cost Center",CYTDC, "Bad Debt","Skil Parts Brand","Bosch Parts Brand")
    "Direct Alloc"("Bad Debt"="Alloc Factor"->"Bad Debt"*
    ("Input"->"Other Operating Income and Deductions"->"10474"->"Not Applicable Brand"->"Not Applicable Region"->"Current YTD");)
    ENDFIX
    endfix

    Hello Stella Jones,<BR><BR>The error message means:<BR><BR>##1200400 Error %s formula for [%s] (line %s): scalar double argument expected in function [%s]<BR><BR>Is the same post of Jstrater above......<BR><BR>

  • Formula Functions are not working for Input Ready Key Figure

    Hi all,
    I have created an Input Ready report in BI IP, which is containg number of Characteristics / Key Fig. / Formula Functions.
    Here, when I am executing this report, it is throwing below message only for formula functions I am using in the report (where Qty is INPUT READY). Since, by-default formula functions always remain "Not Input Ready"
    "WARNING BRAIN (160): Total Importl / APR
    Qty cannot be input ready. It is formula element.".
    Best Regards,
    Jatin

    Thank you for your kind reply.
    Actually, the issue I am facing here is with formula functions (NOT INPUT READY) which I am using in the report is colliding with Qty (INPUT READY) and throwing error during execution (Not giving me even variable screen).
    And also, when I try to change an existing report. It opens in Display mode only.
    Please help!
    Best Regards,
    Jatin

  • Essbase Error: Error executing formula

    Problem Description: When running query in BI Answer, error message is shown as the following:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. Essbase Error: Error executing formula for [MIX %]: status code [1130203] in function [@_VAL] (HY000)
    How can I fix it??

    Hi,
    It seems this problem is related to Data Cache And Data cache file settings, Had you tried with increasing it.
    Thanks
    Focusthread Hyperion Trainer
    [http://focusthread.com/training]

  • Error in Percentage function - %GT

    Hi,
    Im using Percentage function %GT like:
    %GT 'Key Figure'
    But when i execute my query i am getting below error:
    Exception in BI runtime
    The formula operation %GT is not allowed here (formula 488YAHA2EN2SD4JL3TM9LQDJI)
    Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    Query ZSD04_GRP_CONTRI could not be opened.
    Log ID: 00144F2D7956005500000F09000006720004428E85AE70BD
    Initial cause
    Message:
    Termination message sent ABEND BRAIN (429): The formula operation %GT is not allowed here (formula 488YAHA2EN2SD4JL3TM9LQDJI)  MSGV1: %GT  MSGV2: 488YAHA2EN2SD4JL3TM9LQDJI  MSGV3: 482PMQCW7PKQWGESLYU7IA3V2
    Im not getting whats the cause.
    Help me in this regard.
    Thanks !

    You are trying to use Formula function %GT in CKF. First of all CKF is a global formula which will be used in all the queries where same infoprovider is used. So while creating CKF these formula functions like SUMCT, SUMGT, SUMRT, %GT, %RT and %CT are not available for CKF.
    If you want to use these formula fucntions %GT ....then create local formula instead of creating CKF.
    In short, Formula functions like SUMCT, SUMGT, SUMRT, %GT, %RT and %CT are created only locally.
    Regards,
    Mona
    Edited by: Mona Kapur on Jan 5, 2008 4:54 AM

  • OBIEE - ESSBASE   ERROR - 1200467 - Error executing formula for [MDX query]

    I have an issue on essbase with a query with 50 member filters.
    The environment is OBIEE 11g over ESSBASE 11.1.2 with an ASO cube.
    The user for essbase are with database access filters.
    I have the following issue, OBIEE returns a query that filter 30 members and the query runs ok, but the same query with a 50 member filter returns the following error when i execute it on MAXL :
    MAXL Error
    ERROR - 1200467 - Error executing formula for [MDX query]: status code [1130203] in function [].
    ERROR - 1241101 - Unexpected Essbase error 1200467.
    i paste an example of the query that returns OBIEE
    With
    set [_Account2] as '{Distinct({[Account].[Allocated FTE - Budget]})}'
    set [_Employee0] as '[Employee].members'
    set [_Fund4] as 'Generate([Fund].Generations(2).members, Descendants([Fund].currentmember, [Fund].Generations(4), leaves))'
    set [_Position4] as '{Distinct({[Position].[POS111165], [Position].[POS111166], [Position].[POS111167], [Position].[POS111540], [Position].[POS112331], [Position].[POS113201], [Position].[POS113247], [Position].[POS113248], [Position].[POS113540], [Position].[POS113618], [Position].[POS113954], [Position].[POS114109], [Position].[POS114194], [Position].[POS115224], [Position].[POS115912], [Position].[POS115913], [Position].[POS116727], [Position].[POS117229], [Position].[POS117491], [Position].[POS117587], [Position].[POS117610], [Position].[POS117979], [Position].[POS119456], [Position].[POS121262], [Position].[POS121458], [Position].[POS121698], [Position].[POS123368], [Position].[POS124027], [Position].[POS124028], [Position].[POS124110], [Position].[POS124396], [Position].[POS125623], [Position].[POS125624], [Position].[POS126476], [Position].[POS127960], [Position].[POS129352], [Position].[POS129468], [Position].[POS129494], [Position].[POS129535], [Position].[POS129608], [Position].[POS129679], [Position].[POS129730], [Position].[POS129905], [Position].[POS130010], [Position].[POS130144], [Position].[POS133456], [Position].[POS134943], [Position].[POS135231], [Position].[POS135404], [Position].[POS135734]})}'
    set [_Program3] as 'Generate([Program].Generations(2).members, Descendants([Program].currentmember, [Program].Generations(3), leaves))'
    select
    { [Budget Item]
    } on columns,
    NON EMPTY {crossjoin({[_Account2]},crossjoin({[_Employee0]},crossjoin({[_Fund4]},crossjoin({[_Position4]},{[_Program3]}))))} properties GEN_NUMBER, [Account].[MEMBER_UNIQUE_NAME], [Account].[Memnor], [Program].[MEMBER_UNIQUE_NAME], [Program].[Memnor], [Employee].[MEMBER_UNIQUE_NAME], [Employee].[Memnor], [Fund].[MEMBER_UNIQUE_NAME], [Fund].[Memnor], [Position].[MEMBER_UNIQUE_NAME], [Position].[Memnor] on rows
    from [BCPSASO2.BCPS_ASO]
    any suggestions ?
    Thanks
    Niko
    Edited by: user8367101 on Mar 1, 2011 10:31 AM

    Here it is:
    It is a Windows Server 2003 R2
    Processor 8393 SE
    31.9 GB of RAM
    32-Bit
    How does "memscaling" works?
    I also think that are high but it is the way it was configured before I managed the application. For my DB
    Index Cache setting: 205800
    Index cache current value: 205800
    Data file cache setting: 33768
    Data file cache current: 0
    Data Cache setting: 877273
    Cata cache current: 71540
    Block Size: 65408

Maybe you are looking for

  • HT4927 Why can't we restore a single photo in iPhoto anymore?

    The loss of this functionality has been anoying and I sincerely hope that Apple brings it back someday. It makes Time Machine a lot less useful for customers and also potentially leads to the loss of more data. It used to be that you could restore a

  • Import ABAP- Failed

    Hola a todos, Espero esten bien. Estoy realiando un systema copy y cuando me encuentro importando el culimina con 80 job pero quedan 6 failed y me indica varios errores en los logs. No se de que se tratan pero por lo que veo tiene que ver con la BD q

  • Dynamic SQL Report

    Hi everybody I want to build a dynamqi sql query to use in a report. What is dynamic is the name of the table I want to request. I have a nice item named P8-ECHELLE, a select List with a LOV returning a part of the name. For example the select list r

  • File separator in Web applications

    I learned that to make a web application run in both windows and unix environments file seperator needs to be taken from a system property called file.separator. But when i develop webapplications in windows with hardcoded file separator it still wor

  • My iPod doesn't want to charge

    I tried unplugging my USB and plugging it back on again but my iPod still won't charge. Help!