Error in a formula function (routine weekday) in BI system

Dear Experts,
I am loading statistical data to BI system. While loading the transaction data in to standard cube 0TCT_C01 from data source 0TCT_IS01 I could find an error saying that ´Error in a formula funtion ( routine weekday)`.
I have checked the transformations for that particular cube and found that there is a formula for an object called 0weekday1.
The formula is mentioned below:
DATE_WEEKDAY1( CALDAY )
I could not even identify what is the problem atleast. can any one help me in this regard?
Regards,
Remo

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

Similar Messages

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

  • 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

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

    hi gurus please help me
    this is the error occuring to me .when i am loading data from        ods to cube     please help me by details of this
    how to edit in psa, when to edit, what is the next procedure

    Hi,
    Have you loaded the data you corrected from PSA to DSO? Is your corrected PSA data has loaded to DSO & your DSO is active & request is Green.
    If so, then check if there is any formula or routine written in the transformation rule. Check if they are correct & your transformation is active. Then try executing the DTP.
    Regards,
    Pavan

  • 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

  • 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

  • How do you trace an error in a formula/function?

    I have a very complex formula in one of my cells, and there is an error. The little help box that explains the error doesn't help me, as I still can't find the error? Is there any way to trace the error? I know that Excel has such a function, I was hoping Numbers had one too. It says "The operator '*' expects a number but found "." I have 12 products in my formula, and I can't find an error in the formula or in any cell. I searched the document for "." but it only found some in my comments. Thanks

    Copy the formula and paste it here and we'll take a look at it.

  • 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

  • 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

  • An error occured in a function of the formula - DATE_DIFF

    Hi,
    I have loaded the Data from PSA to ODS. I need to load data from ODS to InfoCube to MultiProvider. I am trying to use DATE_DIFF for two fields with datatype mm/dd/yyyy in formula.
    I am getting the error as "An error occured in a function of the formula".
    Please let me know how I can solve this problem.

    Hello Deva
    Follow any of the below option.
    1. Create formula in transformation for the difference ZNDAY
      Select Date Functions > DATE_DIFF(ZSTODAT,ZSFRMDAT).
    2. You can do it by routine also by using standard FM to calculate the diff bewn two days.
    DAYS_BETWEEN_TWO_DATES
    FIMA_DAYS_BETWEEN_TWO_DATES
    FIMA_DAYS_BETWEEN_TWO_DATES_2
    FIMA_LEAP_DAYS_BETWEEN_2_DATES
    LEAP_DAYS_BETWEEN_TWO_DATES
    HR_99S_INTERVAL_BETWEEN_DATES
    ISB_DAYS_BETWEEN_TWO_DATES
    3. If you don't do here you can do it in reporting formula variable.
    4. In reporting you can do it with customer exit.
    Assign points if your problem is solved.
    Thanks
    Tripple k
    Message was edited by:
            Tripple k

  • Error in running a function to convert coordinates in degrees to decimal for EXCEL VBA

    For your information, I have 3 cross-posts regarding this question - and all I can said there is still no firm solution regarding this error.
    1) http://stackoverflow.com/questions/27634586/error-in-running-a-function-to-convert-coordinates-in-degrees-to-decimal-for-exc/27637367#27637367
    2) http://www.mrexcel.com/forum/excel-questions/826099-error-running-function-convert-coordinates-degrees-decimal-excel-visual-basic-applications.html#post4030377 
    3) http://www.excelguru.ca/forums/showthread.php?3909-Error-in-running-a-function-to-convert-coordinates-in-degrees-to-decimal-for-EXCEL-VB&p=16507#post16507
    and the story of the error is as below:
    Currently I am working on VBA excel to create a widget to verify coordinates whether it lies under the radius of ANOTHER predefined and pre-specified sets of coordinates.
    In the module, I want to convert the coordinates from degrees to decimal before doing the calculation - as the formula of the calculation only allow the decimal form of coordinates.
    However, each and every time I want to run the macros this error (Run-time error '5', invalid procedure call or argument) will appear. Then, the debug button will bring me to below line of coding:
    degrees = Val(Left(Degree_Deg, InStr(1, Degree_Deg, "°") - 1))
    For your information, the full function is as below:
    Function Convert_Decimal(Degree_Deg As String) As Double
    'source: http://support.microsoft.com/kb/213449
    Dim degrees As Double
    Dim minutes As Double
    Dim seconds As Double
    Degree_Deg = Replace(Degree_Deg, "~", "°")
    degrees = Val(Left(Degree_Deg, InStr(1, Degree_Deg, "°") - 1))
    minutes = Val(Mid(Degree_Deg, InStr(1, Degree_Deg, "°") + 2, _
    InStr(1, Degree_Deg, "'") - InStr(1, Degree_Deg, "°") - 2)) / 60
    seconds = Val(Mid(Degree_Deg, InStr(1, Degree_Deg, "'") + _
    2, Len(Degree_Deg) - InStr(1, Degree_Deg, "'") - 2)) / 3600
    Convert_Decimal = degrees + minutes + seconds
    End Function
    Thank you.
    Your kind assistance and attention in this matter are highly appreciated.
    Regards,
    Nina.

    You didn't give an example of your input string but try the following
    Sub test()
    Dim s As String
    s = "180° 30' 30.5""""" ' double quote for seconds
    Debug.Print Deg2Dec(s) ' 180.508472222222
    End Sub
    Function Deg2Dec(sAngle As String) As Double
    Dim mid1 As Long
    Dim mid2 As Long
    Dim degrees As Long
    Dim minutes As Long
    Dim seconds As Double ' or Long if only integer seconds
    sAngle = Replace(sAngle, " ", "")
    mid1 = InStr(sAngle, "°")
    mid2 = InStr(sAngle, "'")
    degrees = CLng(Left$(sAngle, mid1 - 1))
    minutes = CLng(Mid$(sAngle, mid1 + 1, mid2 - mid1 - 1))
    seconds = Val(Mid$(sAngle, mid2 + 1, 10)) ' change 10 to 2 if only integer seconds
    Deg2Dec = degrees + minutes / 60 + seconds / 3600
    End Function
    As written the function assumes values for each of deg/min/sec are included with unit indicators as given. Adapt for your needs.
    In passing, for any work with trig functions you will probably need to convert the degrees to radians.

  • Error while using Evaluate function

    Hi ,
    I am using the following expression in the criteria tab in order to get first value for every customer order by date:
    EVALUATE('FIRST_VALUE(%1) OVER (PARTITION BY %2  ORDER BY %3)' AS INTEGER, "Fact - Customer SubLedger"."TRANSACTION AMOUNT",Customer.CUST_ACCOUNT_NUMBER,"GL Date".DAY).
    When I try to execute the report it throws following error :
    *[nQSError: 42015] Cannot function ship the following expression: Evaluate( FIRST_VALUE(%1) OVER (PARTITION BY %2 ORDER BY %3),D1.c4, D1.c2, D1.c13)*
    Can anybody help me with this? Where am i going wrong?
    Regards,
    Vikas

    Hi Kishore,
    I am using the exactly same formula which you have mentioned here still it is giving me the same error.
    EVALUATE('First_value(%1) over (partition by %2 order by %3)' AS  DOUBLE , "Fact - Customer SubLedger"."OPENING BALANCE",Customer.CUST_ACCOUNT_NUMBER, "GL Date".DAY)
    Error : *[nQSError: 42015] Cannot function ship the following expression: Evaluate( First_value(%1) over (partition by %2 order by %3),D909.c9, D909.c3, D909.c14)*
    Can't say why it is behaving like this.
    Anyways thanks all of you for your help.
    May be I am going wrong somewhere else.I will try to solve this issue by myself.
    Once again thanks to all of you.
    Regards,
    Vikas

  • 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

Maybe you are looking for

  • HT204088 in-app purchases do not work anymore

    does anyone know how to solve this?

  • Query for credit limit of customers of a particular type

    Hi, We are using SAP B1 2007B PL04 and want to activate credit limit so that whenever a delivery or A/R breaches the credit limit then the document must go for approval. However we want this to be activated only when the customers are having group co

  • IPhone 5 won't reboot past Apple logo. It will not show up in iTunes to perform a restore.

    iPhone 5 won't reboot past Apple logo. It will not show up in iTunes to perform a restore.After the logo appears the phone will get switched of by its own. I updated my phone 2 days before.

  • Japanese characters in JEditorPane HTML

    We have an application that displays HTML in a JEditorPane to take advantage of the font changes. The string starts off with <html><body><font face='Dialog' size='-1'><b>One of our translation testers is complaining that some of the Japanese characte

  • Amfphp and tcpdf

    Hi, I'd like to generate a pdf from within my amfphp service. Anyone know how to do this? simplified code: $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); $pdf->output('doc.pdf', 'I'); This last line of code s