Calculated KF issue

Hello experts,
I have created a CKF which is giving me this result for all lines: -2.345678901E+298  .
I created formula variable for both dates and changed to display 0 as number of decimals. See below CKF:
DATE ( 'Posting date' ) - DATE ( 'Requisition date' )
Please can someone tell me what is wrong with it and also what could be my alternative to subtract to dates?
Thanks for your help.
Cesar

Directly use as 'Posting Date' - 'Requisition Date'.
Direct subtracting works in ABAP routines.
Guess it will work in the BEx formula variable too.
cheers,
Vishvesh

Similar Messages

  • Substitution Variable calculation manager issue

    Hi!
    We have set an automatic update of the Curmonth substitution variable, through a batch that recalls a mxl file. It seems to work and it updates the variable both on essbase and planning. Unfortunately it does appear to have no effect on calculation manager scripts.
    Did some experience the same issue?
    Any advice to solve the problem?
    thanks.
    Edited by: user648334 on Jun 25, 2012 8:06 AM

    Calc Manager Scripts will act just like an essbase calc script. The only difference is that any changes to the script will not update the 'version' of the script in use by the application until you deploy it. I have yet to re-test this since 11.1.2.2 came out, but Calc Manager scripts do not validate when you have a subvar in them. They will have valid syntax upon deployment, and will run - but Calc Manager can not retrieve the value of a subvar. However, when the calc runs the subvar will reach out to essbase, grab the appropriate value and execute.
    It may be your script. I would pare down the script to make sure the syntax is working by replacing the subvar with its corresponding value and testing its results.

  • Need Urgent Help on Calculation items issue In Discoverer Plus

    Dear Discoverer Experts,
    I would need help on the below scenario:
    A
    147644.08
    147644.08
    Maximum: 147,644.08
    B
    142494.65
    5149.43
    Sum: 147,644.08
    C
    5149.43
    142494.65
    0
    Here A, B, C are columns and C column is Calculated Item(A-B) and Maximum and Sum are Totals items, everything working fine.
    The intent is that I would need the difference between totals items I mean Maximum and Sum , i.e Maximum-Sum (147,644.08 - 147,644.08) =0(in this case), but I am not able to get it, can anyone help me on this that would be greatly appreciated.
    Thanks
    skat

    Thanks Tamir for your response, i am getting ZERO
    But when i create new calculation item for examle TEST with calculation MAX(A) over () - SUM(B) over ()
    then i am getting new column next to C with name TEST and with two rows of data with 0 (Zero)
    like this
    TEST
    0.00
    0.00
    why am getting two rows of data, and that too can't we get this ZERO under C column at the same Row as MAX and SUM
    (Or)
    if not possible then after adding coumn TEST next to C column can we get ZERO in the row as MAX and SUM
    either way would be fine, can any one hlep on this issue.
    Thank you
    skat

  • Unusual FIX calculation - Weird Issue - Whats Wrong?

    Hi All,
    I'm facing a weird issue today, not sure if I'm missing on something:
    substitution variables defined:
    &RangeYears= "FY13":"FY16"
    &F1stYr= "FY13"
    Sample script:
    FIX("E1","P1", &RangeYears)
    <sample scripts here>
    FIX(&F1stYr)
    <calculate account A1 here>
    ENDFIX
    ENDFIX
    However when I refresh, I see account "A1" calculated for all years"FY13" to "FY16". However, the last Fix statement is for "FY13" only.
    Can someone explain this abnormality?

    Let's try something similar on Sample Basic
    FIX(@RELATIVE("Qtr1",0),"Sales","New York")
    "100-10"=100;
      FIX(Apr)
      Actual
      "100-10"=200;
      ENDFIX
    ENDFIX
    For first part of FIX
    Calculating [ Product(100-10)] with fixed members [Year(Jan, Feb, Mar); Measures(Sales); Market(New York)]
    For the second part since Apr is not part of it Essbase will include Apr together with Jab, Feb, Mar (First fix acts as a universal FIX)
    Calculating [ Scenario(Actual)] with fixed members [Year(Jan, Feb, Mar, Apr); Measures(Sales); Market(New York)]
    That is what is happening in your case.
    Regards
    Celvin
    http://www.orahyplabs.com

  • Grouping By a Calculated Column Issue

    Hi,
    I have 2 issues when I try to group by a view using a calculated column:
    It will show the number of items under each group but you expand is not showing any items at all
    It will show the item reproduced 333 times.
    The first one it happens to all the lists and libraries on SharePoint 2013. However the second issue happened only in a document library that holds the employee Documents. The view is grouped by Document type column and the Employee column ( which is the
    calculated column). It shows multiple versions of the same document as stated above.
    Any help is very much appreciated.
    Thanks

    Hi,
    According to your description, there is an issue when grouping by Calculated column.
    It was a known issue in the early build version of SharePoint 2013, it is already fixed in the August 2013 CU:
    http://blogs.technet.com/b/steve_chen/archive/2013/03/26/3561010.aspx
    I suggest you install August 2013 CU or the later versions and then create new list for a test.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Calculator small issue

    A minor issue, but it renders the calculator unusable for daily work with it (for me).
    Having learned that entering 4-4*4 is -10 (because it is actually 4-(4*4)), this is not possible with the default calculator in OS4.6.
    There are no brackets to use, and the result will be 0, since it calculates directly after entry which is simply put wrong.
    Maybe this is something RIM wants to look at, I can't imagine it is that hard to follow common math rules without adding features. 

    First of all you don't need to feel yourself sorry. Here is a Java forum not an english literature forum and at least I can understand you. At least you don't try to write in your language which we probably may not understand.
    Secondly if you initialize your String value like that you have the null value. You can initialize it like
    String result = new String(); and try it again.

  • Calculation View Issue

    Hi Experts,
    I have created a calculation view which is providing me the condition record number from different pricing tables.
    Below is the snapshot of the calculation view :
    Before adding Join_3:
    The calculation view was working perfectly fine and returning the condition record numbers as below:
    However , after a join was added ( Join_3 ) to get the KBETR from KONP table  based on condition record, no values are returned by the calculation view.
    After adding Join_3:
    Kindly suggest as to why this is happening. Here i have done the join on the values returned by the Union and the KONP table.
    Thanks in advance !!

    Hi Priyaranjan,
    Can you provide some more info like what type of join you have created and on which columns?
    You can do a node level data preview on node 'Union_1' from context menu option, and check the content of table 'KONP'. Check is there any common entires for the columns on which you have created join in node 'JOIN_3'. If there are related entries then data preview should come.
    Regards,
    Rashmi

  • Calculated column issue

    Would like to know how to create a calculated  column whose value is  equal to other column's value. ie, i am having a column  called BU in Content TYPE HUB and its propagated in my subscriber site collection say
    http://srvr1/sites/demo. i would like to create a new site column in Demo, say, BU_Calc that must be equal to the value of BU.i would like to use the BU_Calc for further processing.
    help is appreciated!
    Das

    I don' t think this can be done at Content Type level. You can do this:
    1) create the two columns in Site collection
    2) subscribe the source column and calculated column in a list.
    3) set the default value of the calculated column like this:
    http://sharepoint-community.net/profiles/blogs/how-to-put-a-calculated-value-in-your-list-title-column
    rgds.

  • Group By on Calculated Columns Issue

    Dear All,
    I have some lists and libraries which has some calculated columns for calculating year and month based on created date and we have custom views which has group by on those calculated columns. The problem is group by is not working as expected. Attached are
    the screens for reference. We have also applied the June CU still no luck.
    Please help us on the resolution to the same.
    Rajani.J

    Hi Rajani,
    can you please paste your calculated formula here? Try this formula =TEXT(Created,"yyyy")&TEXT(Created,"mm") to check it is working correctly with numeric month or not?
    Thanks.

  • Group By Calculated Columns Issue

    Dear All,
    I have some lists and libraries which has some calculated columns for calculating year and month based on created date and we have custom views which has group by on those calculated columns. The problem is group by is not working as expected. Attached are
    the screens for reference. We have also applied the June CU still no luck.
    Please help us on the resolution to the same.
    Rajani.J

    Make sure you dont have space in the data by any chance. You can try recreating the view again.
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

  • Pre-calculated webtemplate issue

    Hi All,
    I've pre-calculated a webtemplate with the DATA_MODE = STORED.
    When i execute the webtemplate the first time in the browser,
    data is displayed very fast. But when i click on the next button
    to view the next set of records, it takes a very long time.
    Looks like when the query is executed the first time, precalculated
    data is retrieved. But, when the next set of records are requested,
    the current data is being retrieved.
    Can some please suggest how to tackle this problem ?
    In the webtemplate i have the setting <param name="DATA_MODE" value="STORED"/>
    Thanks in advance,
    sanjay

    Hi,
    I am having the same problem...
    Any help would be appreciated...
    Thanks

  • Optmization of calculation script Please help urgent

    hi all,
    I know three ways to tackle the block creation issue.
    1. Set CreateBlockon equation.
    2. try some data copy.
    3. calcualte a member via sparse dimension.
    I have a calc as shown below:
    Set CACHE HIGH;
    Set UPDATECALC OFF;
    SET AGGMISSG ON;
    FIX( @Relative("Entity",0),
         @Relative("Business Unit",0)
         @Relative("Branch",0),
         &CurScenario,
         &CurVersion,
         &CurYr,
         "M00",
         "P00000",
         "I000"
    FIX("AAAA")
    "DH" = "Gross Sales"->"External sales"->"MEU" * "Freight Out Percent"->"U000"->"D00000"->"B000"->"00";
    ENDFIX
    ENDFIX
    This is the third method that i mentioned above i am trying to apply to this calc that is calcualtion it via sparse dimesion as first 2 are not working good.
    "AAAAA" is dense dimesion member in accounts and rest every member is sparse.
    The member gross sales, External sales and MEU are all dynamic calc.
    This Calc run for 45 mins just to calculate one account and i have 4 accounts that need to be calculated by this in the same manner and i am trying to optimize this script so that i can reduce its run time.
    However i made another copy of this script in the following way:
    Set CACHE HIGH;
    Set UPDATECALC OFF;
    SET AGGMISSG ON;
    FIX( @Relative("Entity",0),
         @Relative("Business Unit",0)
         @Relative("Branch",0),
         &CurScenario,
         &CurVersion,
         &CurYr,
         "M00",
         "P00000",
         "I000"
    "DH"
    IF (@ISMBR("AAAAA"))
    @CALCMODE(BLOCK);
    @CALCMODE (Bottomup);
    "DH"= @Round((("Gross Sales"->"External Sales"->"MEU") * ("Freight In Percent"->"U000"->"D00000"->"B000"->"00")),2);
    ElSEIF (@ISMBR("BBBBB"))
    @CALCMODE(BLOCK);
    @CALCMODE (Bottomup);
         "DH"= @Round((("Gross Sales"->"External Sales"->"MEU") * ("Freight Out Percent"->"U000"->"D00000"->"B000"->"00")),2);
    ENDIF
    ENDFIX
    In th above version of the script it runs very fast but dont calculate any value :( for the account "AAAAA" & "BBBB"
    I have tried almost every way to do this and running short of ideas to optmize this.
    Is there any other way in which i can tackle the block creation issue or a way in which i can bring down the run time of this calculation
    Any suggestion regarding this would be great
    Thanks for help!
    Edited by: user4958421 on Jun 29, 2009 10:18 AM
    Edited by: user4958421 on Jun 29, 2009 10:18 AM

    For block creation issue:
    SET CREATEBLOCKONEQ equation will only work if the left side of an assignment statement is sparse.
    If the left side of an assignment is dense, you need to use SET CREATENONMISSINGBLK ON.
    For example:
    1.
    FIX("DH")
    SET CREATENONMISSINGBLK ON;
    "AAAAA" = "Gross Sales"->"External sales"->"MEU" * "Freight Out Percent"->"U000"->"D00000"->"B000"->"00";
    ENDFIX
    With the above, try to fix as little as possible. For example: do you really need to run the above
    formula for @Relative("Entity",0),@Relative("Business Unit",0), and @Relative("Branch",0)? Or
    actually the above formula is only needed for specific entity, business units and branch.
    2.
    FIX("AAAA")
    SET CREATEBLOCKONEQ ON;
    "DH" = "Gross Sales"->"External sales"->"MEU" * "Freight Out Percent"->"U000"->"D00000"->"B000"->"00";
    ENDFIX
    Another technique you can try:
    3.
    FIX("AAAA")
    "DH" = 0;
    "DH" = "Gross Sales"->"External sales"->"MEU" * "Freight Out Percent"->"U000"->"D00000"->"B000"->"00";
    ENDFIX
    And, you can also consider to change member "AAAA" to dynamic calc, and
    put the formula in the member. With this, you will not have calculation performance issue.
    If you use a calc like this:
    Sales (
    IF (@ISMBR(Jan))
    Sales=100;
    ENDIF)
    You do not need to repeat sales, so,
    it will be:
    Sales (
    IF (@ISMBR(Jan))
    100;
    ENDIF)

  • Hard Drives Bare After Forced Restart!!! HELP!!!

    Running new Mac Pro w/ plenty of RAM, and the latest OS.
    Was installing Xcode with a few programs running in the background.
    Time Machine appeared to have kicked in during the install and Xcode just seemed to hang. Then, suddenly all text disappeared from all Firefox tabs, and all other programs stopped responding. I let it sit for over an hour with no response. I couldn't force quit things, though I was able to quit Mail and Calculator without issue. I could not, however, interact with their windows directly.
    After another 30 minutes of total system lock-out (even the dock was stuck) I pressed and held the power button on the front of the unit to turn it off.
    When I turned the machine back on it could not find the start-up disk. So, I started up with the Install DVD and ran Disk Utility...
    The two internal drives on my machine both registered and were verified in good working order, but they were now BLANK DU registered them as having a tiny bit of information on them when only 2 hours before there was literally hundreds of gigs on board... years worth of valuable data.
    I'm not looking for a scolding regarding my not regularly backing up, nor to be admonished for shutting the machine off the way I did.
    Has anyone ever seen something like this?
    I'll be calling Applecare first thing tomorrow, but am wondering if this might be something Disk Warrior can lend a hand with. Thoughts and recommendations welcome.
    Thanks all for your consideration.
    Best,
    Jason
    ps > wary of recovering from Time Machine back-up due to the fact that I'm not sure one of the drives was backing up, and I dare not overwrite the drive while the chance to recover wholesale through the use of a tool like Disk Warrior exists.
    Message was edited by: jhcovert

    UPDATE
    I spoke with Applecare this morning and they instructed me to restore from my TimeMachine back-up and that my secondary internal drive (ie. the MORE important drive) would have definitely been backed up as well.
    I restored and... voila!... my basic desktop operating system is back.
    That's the good news, however, the bad is that the secondary internal drive DID NOT restore.
    As I mentioned before, the drive is being read as healthy and EMPTY, which is mind boggling. I assumed that this was a directory issue, but neither DiskWarrior nor Data Rescue can determine that there is anything wrong with the directory. Data Rescue's "Quick Search" revealed no additional files save for the basics you would find on a barren drive. I am currently running their "Deep Search" which should take several hours, but my question for you guys is this: should Data Rescue come up empty is there anything else I can do? Or is the drive well and truly borked... empty... caput?!? Do I let DiskWarrior attempt to rebuild the directory or am I just throwing fuel on the fire and potentially overwriting data that might be useful in recovery.
    Do I then take it to a forensic pro to go over the drive with a fine tooth comb?
    Recovering this data is approaching a "no price too high" situation.

  • USING SUM IN INTERNAL TABLE

    plz give me a simple example for using SUM in internal table and do some calculations in the same internal table.

    HI
    CHECK WITH THIS
    Syntax
    SUM.
    Effect
    The statement SUM can only be specified within a loop starting with LOOP, and is only considered within a AT- ENDAT control structure. Prerequisites for using the statement SUM include using the addition INTO in the LOOP statement, and that the specified work area wa is compatible with the row type of the internal table. In addition, SUM cannot be used when the row type of the internal table itab contains components that are tables.
    The statement SUM calculates the component total with the numeric data type (i, p, f) of all rows in the current control level and assigns these to the components of the work area wa. In the control levels FIRST, LAST, and outside of an AT-ENDAT control structure, the system calculates the sum of numeric components of all rows in the internal table.
    Example
    Control level processing for creating a list. At the end of line groups, the total of reserved places is calculated and issued.
    DATA: sflight_tab TYPE SORTED TABLE OF sflight
                      WITH UNIQUE KEY carrid connid fldate,
          sflight_wa  LIKE LINE OF sflight_tab.
    SELECT *
           FROM sflight
           INTO TABLE sflight_tab.
    LOOP AT sflight_tab INTO sflight_wa.
      AT NEW connid.
        WRITE: / sflight_wa-carrid,
                 sflight_wa-connid.
        ULINE.
      ENDAT.
      WRITE: / sflight_wa-fldate,
               sflight_wa-seatsocc.
      AT END OF connid.
        SUM.
        ULINE.
        WRITE: / 'Sum',
                  sflight_wa-seatsocc UNDER sflight_wa-seatsocc.
        SKIP.
      ENDAT.
      AT END OF carrid.
        SUM.
        ULINE.
        WRITE: / 'Carrier Sum',
                  sflight_wa-seatsocc UNDER sflight_wa-seatsocc.
        NEW-PAGE.
      ENDAT.
      AT LAST.
        SUM.
        WRITE: / 'Overall Sum',
                  sflight_wa-seatsocc UNDER sflight_wa-seatsocc.
      ENDAT.
    ENDLOOP.
    Hope this solves ur problem....
    <b>do reward if useful....</b>
    regards
    dinesh

  • Cost in Sales Order and Billing not match

    Dear all,
    I am facing a problem that the cost in Sales Order and Billing (order-related billing) not match.
    The error seems related to sales order is getting moving price (MBEW-VERPR) as cost but billing is calculated by issued amount / qty.
    Here's the detail (refer to the screen captures).
    Sales qty = 1330 PC.
    Local currency = HKD, sales doc currency = RMB, exchange rate = 1.26215.
    Condition type ZCSR, condition category = G (Internal price).
    When creating sales order ,
      Cost is take from MBEW-VERPR => 1.86 HKD
      Cost converted to doc currency =>  1.473 RMB => 1.47 RMB
      Total amount = 1,330 x 1.47 = 1,955.10 RMB
    When creating billing from the delivery note,
    Cost seems taking from total value divided by total stock in the article doc.
    Cost = 2,477.82 / 1,330 = 1.863022556390 HKD => 1.476 RMB => 1.48 RMB.
    Total amount = 1330 x [(2,477.82 / 1,330) / 1.26215] = 1,963.17 RMB
    My goal is to align the same cost and amount in sales order and billing.
    Please help.
    Thank you very much.

    Dear joan,
    Thank you very much for your advise.
    I implemented example 1 as in note 24832, trying to disable price re-determination in billing.
    However it doesn't work.
    Added code in example 1:
    Copy control Delivery type LF to invoice F2, pricing type changed to X:
    Still ZCSR re-determined but not copying from sales order (1.47 RMB):

Maybe you are looking for

  • Having problem with develop module

    When I take a pic from library to develop module, I get the "loading" message but then it doesn't go off (and doesn't load); this is a new problem; hasn't happened before; I don't know if recent loading of 2.6 version caused a problem. Thanks for any

  • How to add PDF files

    Greetings, I'm curious to know if, within Muse, I can add a link to PDF files that open in a new tab or browser window, that includes the resident PDF reader.  Any suggestions? Thank you for yur assistance. Smiles, Kyle

  • EA6900 Firmware 1.1.42.155232

    Sharing a nightmare...  I received and setup my EA6900 last week.  Setup was flawless.  Noticed the router was cycling two minutes of pulsating front white (power) light then solid followed by blinking white light at a rate of one per second and 5-9

  • Animation won't stop

    i created a simple flash animation with a piece of artwork and a piece of text. i'm using it as a header on a website. i want it to play once and then stop, but it keeps repeating. can anyone tell me how to make it play just once? you can check it ou

  • DMR (DRM?) files.

    I'm buying music from iTunes for my son's Rio mp3 player. When I buy a song it will not load on the Rio player. I have to first burn it to a CD, then re-import the song from the CD, then the song will load onto the Rio player. Is the need to do this