Planning cube Key figure over flow error

Hi Experts,
I am getting the following  Key figure errors in Planning cube while running the Planning sequences.
1.Over flow occurred when calculating KF
KF details : Data type: DEC-Counter or amount filed  with comma and sign.
2.ORA-01455: converting column overflows integer data type
Data type : INT4- 4byte integer,Integer number with sign.
The number s are growing in cube and it is giving overflow error .We are compressing the cubes once in a week.we are using these KF's in two cubes.Please help me to resolve the issue.
Regards
Prasad
Edited by: PRASAD on Feb 1, 2009 9:39 AM

Hi Prasad,
         Check here.........
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3131393536373226
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=460652
Thanks,
Vijay.

Similar Messages

  • Asking too much and getting a "stack over flow error"

    I’m having AS3 create 12 random var (play1, play2, etc) and then I ask it to average the 12 vars (numbers) until I get a specific average number. When I run this in AS2 I get the “script time error, keep running?” question. I tell it to keep running and eventually AS2 finds the right set of 12 numbers to equal a specific average number. In AS3 I get a “stack over flow error”. I know that all my AS3 swf needs is just more time to find it.
    Any ideas for a fix?

    // set AvgLenght if it is undefined
    if (!AvgLenght) {
        var AvgLenght:Number = 4.5;
        ShowAvgLenght.text = String(AvgLenght);
    // build play lengths//
    var Hteamplay1:int = Math.random() * 5;
    var Hteamplay2:int = Math.random() * 5;
    var Hteamplay3:int = Math.random() * 5;
    var Hteamplay4:int = Math.random() * 5;
    var Hteamplay5:int = Math.random() * 10;
    var Hteamplay6:int = Math.random() * 10;
    var Hteamplay7:int = Math.random() * 10;
    var Hteamplay8:int = Math.random() * 10;
    var Hteamplay9:int = Math.random() * 20;
    var Hteamplay10:int = Math.random() * 20;
    var Hteamplay11:int = Math.random() * 50;
    var Hteamplay12:int = Math.random() * 100;
    trace("12 play sets", Hteamplay1, Hteamplay2, Hteamplay3, Hteamplay4, Hteamplay5, Hteamplay6, Hteamplay7, Hteamplay8, Hteamplay9, Hteamplay10, Hteamplay11, Hteamplay12);
    var playsum:Number = (Hteamplay1 + Hteamplay2 + Hteamplay3 + Hteamplay4 + Hteamplay5 + Hteamplay6 + Hteamplay7 + Hteamplay8 + Hteamplay9 + Hteamplay10 + Hteamplay11 + Hteamplay12);
    var PlaySets:Number = playsum / 12;
    trace ("Average of all plays:", PlaySets)
    if (PlaySets >= AvgLenght && PlaySets <= AvgLenght + .1) {
        gotoAndStop("Equals target avg");
        ShowAvgLenght.text = String(AvgLenght);
    } else
    nextFrame();
    // The next frame "goes to and plays this frame
    // ShowAvgLenght.text = String(AvgLenght);
    trace("AvgLenght:", AvgLenght);
    the code work with higher "AvgLenght",a lower "AvgLenght" takes longer and I get the below error:
    output:
    12 play sets 2 2 2 1 0 3 0 7 16 16 25 17
    Average of all plays: 7.583333333333333
    AvgLenght: 2
    tried: 3489
    12 play sets 0 4 4 0 3 4 1 2 19 9 10 30
    Average of all plays: 7.166666666666667
    AvgLenght: 2
    Error: Error #1023: Stack overflow occurred.
    tried: 3490
    Error: Error #1023: Stack overflow occurred.
    Error: Error #1023: Stack overflow occurred.

  • Purchase Order error - Money Over flow error

    Hi,
    Our customer wants to create Purchase order for item that has Lenght, Width, Height dimentions (not defined in item master used directly in PO).
    Width - 2500mm
    Length - 2500mm
    Height - 550mm
    the quantity in PO is to be in Kilogram (KG) as the rate is Rs per KG. So when we put quantity as 9890 KG there is error
    " Money Over flow, cannot display all digits"
    Looking in more details , we found that there is volume field at row level in PO which system calculates,
    volume = Length * width * height, (for 1 item) but when we add quantty system does
    volume = (Length * width * height) * Quantity, the resulting value is more then 20 characters, inluding the commas.
    We think this is reason for error,,,any one else faced similar situation and has solution for it.
    can we stop system from calulating Volume or the way it calculates volume?
    Please advice
    Thanks,
    - Abhijit.

    Thanks Gordon,
    Your reply helped me solve the problem, there is a VOlume unit field at row level on PO, changed the UoM there to "cm" instead of "mm" earlier/default. Now we can add the document.
    Thanks.
    - Abhijit.

  • Info cube key figure quantity is more than the data source

    Hi,
    I am loading data from a custom table data source into an info cube. The data records and key figure quantity of the info cube is more than the data source custom table.
    I checked the extraction in RSA3. The number of records records and key figure quantity are exactly extracted from the data source in RSA3 transaction.
    But after loading using the info package, the number of records and the key figure quantity of the info cube is more than the actual records available in the data source. The update rule is simple 1 to 1 mapping.
    Kindly help to troubleshoot this issue.
    thanks and regards
    Murugesan

    Hi,
    There could be some other data already avilable in the Infocube. Pls take the Request ID or Number from the last run of the Infopackage you used and check the records only for that Request ID in Infocube.
    You can check the data in the LISTCUBE Transaction.
    Please let me know of you need additional information.
    Thanks,
    Jeysraj

  • Map Datasource field NUMC to Cube Key Figure

    Hi ,
    How do we go about mapping a NUMC field from the datasource to a Key figure(DEC) in an InfoCube?

    Hi Ravi,
    Thanks for your answer, first i unmapped in transfer rules as per your sugession and executed the infopackage but the data has come when i was unmapped in update rules the data has not come.
    My doubt is when i was unmapped in TR even though the data has come, so what is the use of unmapped here.
    and how to unmapped char
    please clarify my doubt
    David
    Edited by: david Rathod on Jul 22, 2010 5:40 PM

  • Calculated Key Figures Decimal Place Error

    Hi Experts,
    Wonder if there is anybody to help me out to explain why I am having a problem on the calculated key figures decimal places when if I report on the components of the calculated key figure (restricted key figure) are working correctly?
    The calculated key figure is a boolean formula made up of 2 restricted key figures.  The 2 restricted key figure are having 2 decimal place (one is 0.36 another is 0.00).  In the current condition, the 2 restricted key figure just sums up - 0.36 + 0.00 = 0.36.  However the calculated key figure displayed as 0.359999 (6 decimal places) as the result.
    I am using BEx Analyzer Excel.

    Hi Fang,
    right mouse click on your KF and select properties. Then define the number of decimal places you want.
    Ciao.
    Riccardo.

  • Over Flow Error

    Hi,
       I am creating a functional module. In the global data, I had included a standard Include.
    include MM06ETOP_GLOBAL_DATA.
    When I am doing syntax check, it is showing ok. When i am activating it, it is giving the following error.
    Overflow when converting from 9999999999999.
    (The error is at this field.
    data: maxwert like ekpo-netwr value '9999999999999'.)
    Please let me know how to resolve this issue.
    Thanks.

    Hi,
      This is a SAP standrad include. I am able to activate the SAP standard inclue program.
    But when iam activating the global data of my function module, It is giving this overflow error.
    Thanks.
    Edited by: sree s on Oct 22, 2008 8:07 AM

  • Stack over flow error

    hi all,
    we had an outage , when I checked the logs there was a java.lang.stackoverflow error, and the weblogic server shut down, is this possisible ? for a stack overflow error to pull down a server, we had to restart the server , and now it works fine, please throw some light.
    Thanks
    Pradeep

        public class Main extends JPanel
            private PanelA a = new PanelA();
            private PanelB b = new PanelB();
            Main()
                a.setPanelB(b);
                b.setPanelA(a);
        public class PanelA extends JPanel
            private PanelB b;
            void setPanelB(PanelB b)
                this.b = b;
        public class PanelB extends JPanel
            void setPanelA(PanelA a)
                this.a = a;
            private PanelA a;

  • ERROR: Key Figure Planning

    Hi All,
    I’m very new to SEM-BPS, can someone help me in resolving the following issues.
    I want to do Key Figure Planning for Marketing & Campaign Planning in CRM.
    •     I created few planning areas with all the required elements in BW-SEM-BPS.
    •     RFC destination from BW to CRM and CRM to BW is defined.
    Now I’m getting following errors, in SAP CRM {SPRO>CRM >Marketing>Marketing Planning & Budgeting>Key Figure Planning >… }
    •     While defining Planning Profile Group F4 Help is not working for selecting Planning Profile from SEM-BPS.
    •     While doing Manage Key Figures - Function module “UPC_FW_START_RFC” not found (Message no. BL001)
    While creating Marketing Plan and Key Figure Planning following errors appear.
    •     Function Module “UPC_PROFILE_GET” not found (Message no. BL001)
    •     Function module "API_SEMBPS_PLANSTRUCTURE_GET" not found
    Can someone please provide me details how to resolve the above issues.
    If anyone can mail a doc. which lists all the steps to be followed while integrating SEM-BPS & CRM and doing Key Figure Planning will be of great help.
    Thanks
    Vikas Sharma
    [email protected]

    Please see the following message:
    Re: "API_SEMBPS_PLANSTRUCTURE_GET" error while doing Key Figure Planning
    Regards
    Marc
    SAP NetWeaver RIG

  • Key figure Explaination in SNP planning books 9ASNP94

    Dear Experts ,
    I am curious to know regarding SNP planning books key figures
    when i am exploring sap standard  Planning book
    9ASNP94
    Data view : SNP94(1)
    I can able to see many KEY FIGURES  Please refer below
    I AM NOT SURE how they are used in planning , i mean  what is clear definition of those key figures and i see some key figures are grey out and some or open for entry
    how to find those detail information
    when i go  to T code SDP84 - define planning book
    i can able to see those descrption and infocubes but not sure how to understand clearly , would be more thankful if some give me a clear explaination of it
    Forecast     TXT                                                                                                                   
    Sales Order     TXT                                                                                                                   
    Distribution Demand (Planned)     TXT                                                                                                                   
    Distribution Demand (Confirmed)     TXT                                                                                                                   
    DistrDemand (TLB-Confirmed)     TXT                                                                                                                   
    Dependent Demand     TXT                                                                                                                   
    Total Demand     TXT                                                                                                                   
    Distribution Receipt (Planned)     TXT                                                                                                                   
    Distribution Receipt (Confirmed)     TXT                                                                                                                   
    Distribution Receipt (TLB-Confirmed)     TXT                                                                                                                   
    In Transit     TXT                                                                                                                   
    Production (Planned)     TXT                                                                                                                   
    Production (Confirmed)     TXT                                                                                                                   
    Manufacture of Co-Products     TXT                                                                                                                   
    Total Receipts     TXT                                                                                                                   
    Stock on Hand     TXT                                                                                                                   
    Supply Shortage     TXT                                                                                                                   
    Safety Stock     TXT                                                                                                                   
    Reorder Point     TXT                                                                                                                   
    Target Days´ Supply     D                                                                                                                   
    Target Stock Level     TXT                                                                                                                   
    Days´ Supply     D                                                                                                                   
    ATD Receipts     TXT                                                                                                                   
    ATD Issues     TXT                                                                                                    
    Many thanks & Regards
    Raj

    Hi
    Please find below the short summary of each key figures.
    Forecast TXT  :- FCST which has been released from APO DP to APO SNP
    Sales Order TXT :- Sales order transferred from ECC to APO via CIF.
    Distribution Demand (Planned) TXT :- Dependent demand coming from other location to this location for same product. Network planning
    Distribution Demand (Confirmed) TXT :- In case deployment , we confirm the Distribution Demand (Planned) will appear her.
    DistrDemand (TLB-Confirmed) TXT :- Mainly used in case of TLB.
    Dependent Demand TXT :- Dependent demand coming from parent product in case of BOM
    Total Demand TXT :- The sum of all above demands is called as Total Demand.
    Distribution Receipt (Planned) TXT :- SNP created Purchase req will appear in this key figure.
    Distribution Receipt (Confirmed) TXT :- In case of deployment Distribution Receipt (Planned) will be get confirmed in the Distribution Receipt (Confirmed) key figure.
    Distribution Receipt (TLB-Confirmed) TXT :- Mainly used in case of TLB.
    In Transit TXT :- In will contain the in transit stock which will transfer for ECC via CIF.
    Production (Planned) TXT :- Planned order will get created via SNP in case of domestic mfg.
    Production (Confirmed) TXT :- In case of SNP deployment Production (Planned) will be get confirmed in the Production (Confirmed)) key figure.
    Total Receipts TXT  :- Total of all the receipt elements as been used.
    Stock on Hand TXT :- Stock has transferred from ECC or R3 via CIF.
    Supply Shortage TXT :- This will be calculated with macro based on total demand and total receipt.
    Safety Stock TXT :- Based on SNP master data, safety stock will get calculated during planning run.
    Reorder Point TXT :- Based on SNP master data, Reorder Point will get calculated during planning run. . There are different methods of calculating safety stock.
    Target Days´ Supply D :- The safety stock defined in number of days appears based on SNP master data in APO.
    Target Stock Level TXT :- Get calculated by macro  based on Target Days´ Supply D and total demand in future.
    ATD Receipts TXT :- Mainly used for Deployment.
    ATD Issues TXT :- Mainly used for Deployment
    If you require any specific information for any key figure please do let me know.
    I hope this will be useful for you.
    Thanks
    Amol

  • Creating the Key Figure in Demand Planning

    Hello
    I have a Issue , where a user wants to know what is the Remaining Allocation for a Planning Material with the Wild Characteristic (&&&&&&) .
    Presently we have 2 Key figures Namely:
    AEMENGE-Incoming Orders Qty and KCQTY- Prod. Alloc.Qty corrsponding to Info Objects Z0CTK0062-Consumed Allocation Qty and Z0CTK0063-Total Allocation Qty.
    This gives us the Total Allocation and Total Consumed Allocation and these key figures we are using in the Macro and difference gives us the remaining Allocation. But now the requirement is to find the remaining Allocation for the Wild Characteristic (&&&)
    Eg : Total allocation for Planning Material : X is Say 15000 Kgs
    We have allocation for Planning material and Sold to Party Level
    Say Material is Sold to 2 Parties A & B and Remaining C is not for any Parties and represented as (&&&)
    Say XA - 8000, XB-3000 , X (&&&) - 4000.
    The Consumed allocation is XA-5000, XB-2500 and X (&&&)-3000
    The system gives the Remaining allocation as 4500 (XA-3000,XB-500 and X(&&&)-1500)
    We want to Display the Remaining Allocation of X(&&&) - 2500
    along with total Remaining allocation of 4500
    Can we have any Key figure to Capture this Data.
    Please help in this regards

    We can always create macros that checks for certain characteristic value before doing calculation. (check the IOBJNM_VALUE() macro function)
    I am not sure if thats what you are looking at. A planning area key figure can be created to capture this information. If you are looking at something to work across different levels, I am afraid you would need to go through user exit macro route.

  • Returns capture and Key figure settings

    Hello Experts,
    I have a scenario like this for my history capture process.
    I have sales order history of 10 for the month of September.
    Now I have the returns of the same month for the same product 12.
    How will this be captured in DP? Will it be captured as -12 or 12?
    I expect the aggregated demand to be 0 and not -2.
    Is there a possibility to do this in the key figure settings or should i code this in Update rules.
    Thanks,
    Suresh

    HI,
    Option 1 :
    If your are using an info cube, then it would make sense to update the values directly in the update rules or transformation rules for that particular key figure and then load it into the planning book key figure directly.
    Second OPtion  :
    If you have an option to add another key figure just add another key figure saying returns and you don't have to add it to the planning book view, so it remains int eh background and then you can write a macro to update the actual key figure with the difference using this key figure, this way you will have record of both the return values in the background or you can even display it if you want, and also the remaining difference in the history.

  • Filtering a Query result for a specific value of a key figure

    Hi folks,
    I want to filter a query for a specific value of a key figure. The report should display all customer who has an account balance greater than EUR 500'000.
    Can I only implement this kind of filter via a condition in Query-Designer? If I run that query on an InfoCube with non-cumulative key figures over all our customers (> 400'000) I have problems with the consumption of the memory. If I restrict the amount of the customers to 50'000 - 60'000 then it works. It seems that the query reads all customer records in an internal table before applying the condition.
    Is there another way to deal with? Any help appreciated.
    Kind regards
    Hansjörg Luzi
    Graubündner Kantonalbank
    CH-7002 Chur

    You could try to implement an alternative solution: define a new Characteristc with discrete values (in the following example I suppose to have intervals of 10)
    KF -> CHAR
    115 -> 110 (110 <= KF < 120)
      5 ->   0 (  0 <= KF <  10)
    83 ->  80 ( 80 <= KF <  90)
    Then you can use these dicrete values to filter ...
    I know that it's not so "flexible" (discetization must be predefined), but query response time is quicker and you can use Aggregates ...
    Hope it helps
    GFV

  • APO key figures - units of measure

    I am using APO V5.1.
    Via RSA1 I have created a key figure of data type Quantity and unit = 0UNIT.
    I have assigned this key figure to my planning area and planning book.
    The planning area has unit of measure = CAS, and this is the unit of measure shown for my new key figure in interactive planning.
    How can I change the unit of measure for my new key figure to D(ays)?
    Thanks for any advice...

    Datta,
    Thanks for this reply.
    I have followed your advice...
    I have a key figure with data type 'Number'.
    In interactive planning, this key figure is appearing with a blank uom.
    In the planning book design, on the 'key figure attributes' tab, I cannot however make any changes to the key figure attributes including uom, as they are greyed out.
    Any ideas on this?
    Thanks...

  • ABAP Code for Key Figure selection in Report

    Hello Experts,
    I am working on one of the development request that requires following logic to be implemented at query execution. There will one KF column and based on valid combination of characteristics value from the cube, Key Figure value from the same cube will be selected and reported.
    If ((Plant = A1) and (Division = B1))
      OR ((Plant =A2 ) and (Division = B1))
      OR ((Plant = A3) and (Division = B2))
      OR ((Plant = A6) and (Division = B2)).
      Price = Moving Avg.
    Else
      Price = Standard.
    Can somebody please suggest, how to do this? Thanks in advance.
    Regards,
    Nimesh

    Nimesh,
    Step 1.Create a formula (say F1)variable with customer exit. In the customer exit code read the values of Plant and Division. If the Plant and Division combination is the one that you specified below return a 1 (for Moving Avg.) or return a 0 (for Standard).
    Step 2. Create a column with a formula having the following definition
             (F1=1)'Moving Avg.' + (F1=0)'Standard'
    So, if the combination satisfies Moving Avg will be shown else Standard will be shown.
    You can avoid customer exit coding by using  replacement variables and using them in a formula, this would make your calculation clumsy and confusing. Let me know if you cannot get the customer exit solution work.
    Hope it helps...

Maybe you are looking for