Planning function: distribution with keys and whole numbered results

Hello,
using the planning function type "distribution" with keys yearly values shall be distributed to monthly values. However, the resulting values shall be whole-numbered - e.g. the planned sales of 10 machines per year shall be distributed to monthly values.   The result shall not be 12 times 0.833 but 10 times one and two times 0. Is there a "smart" way to do this?
Presently I can think only of an approach using a fox formula where the result values are calculated using functions like "trunc" and "frac".
Kind regards, Kora

Once you get the distribution resuklts, apply FOX to trim the decimals and put both the functions in a sequence.
Ravi Thothadri

Similar Messages

  • Planning function ended with errors

    Hi Folks,
    Issue: While Executing The Planning Sequnce it is througing me Planning Function Ended with Errors.
    I have one existing Planning Sequence which contain the Filter and Planning Copy Function. And also Variable input ( two variables 1 is Profict Center and 2nd one is Fiscal Year)
    First i was tried to execute the Planning Sequece it througing me error message saying as in below:-
    Values entered are invalid; check these values again
    Variables contain invalid values.
      Specify a value for variable Fiscal Year (Single Value Entry, Required)
      You have to enter variables before you execute
    Then i have entered Fiscal year value in the Planning Sequece>Variable Input>select the Fiscal Year Variable>Input help>selected the 2008-->ok. Now then Fiscal year variable is showing 2008.
    And then i was executed once again here Planning Sequnce it is througing me Planning Function Ended with Errors.
    Here is cross checked Filter area associated Variables( two variables 1 is Profict Center and 2nd one is Fiscal Year).
    1.Profit Center Variable: Containing the default value is 1000
    2.Fiscal Year Variable : Does not maintained any default values.
    Can any one provide your v

    Hi Venkat,
    Please execute the planning function with Execution with Trace option.
    Verify the planning function particularly from Values.
    Also some simple tricks:
    1. Try with some other values.eg. FisYear 2007. ( Check in database)
    2. Save the variant in variable input panel & then execute.
    Hope it helps,
    Shamkant

  • Please help block my ipod touch second generation and forget the code, try putting the code so many times that now says connect to itunes, I connect but will not let me do anything that tells me this should unlock with key and I should do for Please help!

    please helpme i block my ipod touch second generation and forget the code, try putting the code so many times that now says connect to itunes, I connect but will not let me do anything that tells me this  should unlock with key and I should do for Please help!. thanks

    Place the iPOd in recovery mode and then restore. For recovery mode:
    iPhone and iPod touch: Unable to update or restore

  • What is the difference between READ TABLE ITAB WITH KEY  and  TABLE KEY

    Hi Experts,
    what is the difference between
    READ TABLE <ITAB> WITH KEY <K1> = <C1>
                                                    <Kn> = <Cn> .
    and 
    READ TABLE <ITAB> WITH TABLE KEY <K1> = <C1>
                                                              <Kn> = <Cn> .
    Thanks
    Akash.

    Hi akashdeep,
    Nice question. I also tried to find out, but no much success. My opinion is that for practical purposes there is no difference.
    It may have difference in case of searching, especially sorted tables. (binary search or normal linear search).
    Case1: If our table is sorted table with defined key fields, and we give WITH TABLE KEY, then faster binary search is used.
    Case2 : If our table is sorted table with defined key fields, and we give WITH  KEY, (and no field contained in the keys), then normal linear search is used.
    regards,
    amit m.

  • How to creating file with APD (tcode rsanwb) with Key and Test characterist

    Hi everybody!
    I'm creating an APD with RSANBW. Data Source is a query and Data Target a File. I want display Key and Test for everyone of query characteristics. I've revised properties of characteristics into the query rows and check "key and test", however the file only contains key values.
    Some help will be very appreciated,
    Regards,
    Sebastian.

    Hi Sebastian
    the data  the query pulls is from the cube/DSO, which stores only the key.
    the query pulls the text from the master data tables for diplay purpose only. For APD purpose the query only supplies what is avaialable in the infoprovider.
    To have key and text in the target file you neeed to use transformation type routine in the APD or create an infoprovider that stores both text and key as separate fields in it and use that for the APD, with or without a query.
    Good luck,
    vijay

  • Delete won't work on iphoto, and screen is freezing like a 80's computer with black and white numbers every once an a while

    Hello my iphoto will not work and some times the computer screen flashes to a bunch of letters and numbers like a realy old 80's computer and frezzez!!! how can i fix this do I have to reboot my computer with operating disk? I am runing lion on a 09 macbook pro with 250 gigs and 8 gigs memorie. I do not have the operating disk so were do you buy them? I am curently travling in central america were there is no genius bar to help    can any one please help me. My friend is going to canada for a few weeks so if i order new operating disk now he can pick me one up and i can start over when he returns. also my time machine wont work it says disk needs repair...

    You will likely have to repair the drive from Leopard's install disk. Hold down c key while booting and repair drive from Utilities. Directions for Pram (Ram)
    Resetting PRAM and NVRAM
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    Post back with a happy computer.
    Ray

  • Selective combining between files with odd and even numbers of pages

    Hi all! First of all, i hope this is the right forum for my question. It has been asked before, but not fully answered. My problem is combining multiple pdfs with adding a blank page only to the ones that contain odd numbers of pages, the ones with even numbers should be left alone. I need a fast and automatic way of doing this so i can save huge amounts of time when faced with massive numbers of files. If this simply cannot be done, is there a way of sorting all the files so that, from the whole group, only the ones with odd numbers of pages go to a specified folder? Like this isnt enough i have the same problem when converting, lest say, multiple word files into 1 pdf file using pdf factory.
    Thanx in advance! also, any other way to go arround this problem is most welcome!
    Cheers!

    It would require knowledge of some JavaScript to determine if a particular page was landscape and if so, to rotate it. You could try asking in the JavaScript forum.

  • MacBook Pro 15 with Windows 8.1 installed via Boot Camp problem with keys "@" and " " of the keyboard

    Hello,
    I have a MacBook Pro Retina Maverick in 2013 on which I installed Windows via Boot Camp 8.1.
    The installation went well but when I am running Windows 8.1, I have a problem with "@" and "<" keys on the keyboard.
    When I type the "@" key, I get "<"
    When I type the "<" button, I get "@"
    I have reinstall Boot Camp from Windows 8.1 for reinstall the drivers and see if it would solve the problem but it was not the case.
    Someone of you has he encountered the same problem?
    Thank you.

    The language of my Keyboard is French

  • Problems with keys and failure to refresh them...

    When updating I've got this problem:
    lib32-libdrm-2.4.50-1-x86_64 98.3 KiB 82.2K/s 00:01 [################################] 100%
    (167/167) checking keys in keyring [################################] 100%
    downloading required keys...
    :: Import PGP key 2048R/487328A9, "Bartlomiej Piotrowski <[email protected]>", created: 2011-10-10? [Y/n]
    and then when I try and follow some advice from a similar thread this is what happens:
    # rm -R /etc/pacman.d/gnupg
    # rm /var/lib/pacman/sync/*
    # pacman-key --init
    gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
    gpg: no ultimately trusted keys found
    gpg: Generating pacman keyring master key...
    gpg: key 04FC7A15 marked as ultimately trusted
    gpg: Done
    ==> Updating trust database...
    gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
    gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
    # pacman-key --populate archlinux
    ==> ERROR: The keyring file /usr/share/pacman/keyrings/archlinux.gpg
    does not exist.
    Let me know what else I should post to help with troubleshooting. I'm hoping I can do better than having to verify each key individually eheh
    many thanks,
    df
    Last edited by Devotedfollower (2013-12-10 00:26:40)

    Devotedfollower wrote:
    When updating I've got this problem:
    lib32-libdrm-2.4.50-1-x86_64 98.3 KiB 82.2K/s 00:01 [################################] 100%
    (167/167) checking keys in keyring [################################] 100%
    downloading required keys...
    :: Import PGP key 2048R/487328A9, "Bartlomiej Piotrowski <[email protected]>", created: 2011-10-10? [Y/n]
    How is this a problem? Pacman is telling you what to do... Why would this prompt you to delete your keyring?

  • Drop down in ALV with key and description

    I want to show drop down in my ALV.
    I am able to show description by setting the handle and value fields.
    But I want to set like VRM_SET_VALUES -> That is user sees description, but internally I get key.
    Is it possible?

    <<Please don't just post links>>
    Hi,
    Refer:
    Re: alv input feild drop down
    alv input feild drop down
    Hope this helps you.
    Regards,
    Tarun
    Edited by: Matt on Mar 20, 2009 10:15 AM

  • Training and event mangement Search functionality, linkage with ESS and MSS

    Hi ,
    I am implementing TEM (training and event management).. and for frontend application of TEM .. we r using HCM_LEARING BSP application.... but search functionlity is not working.. i checked with EP guy... he told me that TREX is not installed..
    can u please tell me .. is TREX required for TEM search functionlity ?
    We tried to check through SE80 and then selected Search page and tested search functionlity, there also it is not working..
    How do we integrate TEM with MSS also.. client required standard functionlity. I am not getting any data for TEM in MSS?
    Kindly help me..
    Thanks and Best Regards
    Puneet

    HI,
    TREX is a search engine which is required for candidate searching.
    contact your basis people they will help you out in installing it.
    it works with RFCs' better you touch base abap wdp consultant also.
    cheers
    rafi

  • A query with row and colum numbers?

    Hello,
    i have my java code divided into if conditions and in each if clause i need to select a certain field from a table. Is it somehow possible to select a table field which for example is in the third row and fifth column? So basically, how to select a certain matrix element?
    Thank you:)
    Edited by: user10956166 on Apr 5, 2009 6:09 AM

    Hi,
    Assuming you have a table called Distance:
    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    SQL> DESCRIBE DISTANCE;
    Name    Type         Nullable Default Comments
    LINN    VARCHAR2(30) Y                        
    TALLINN NUMBER       Y                        
    TARTU   NUMBER       Y                        
    P2RNU   NUMBER       Y                        
    SQL> select * from distance;
    LINN                              TALLINN      TARTU      P2RNU
    TALLINN                                 0        186        128
    TARTU                                 186          0        174
    P2RNU                                 128        174          0
    SQL>
    SQL> SET SERVEROUTPUT ON
    SQL> DECLARE
      2     v_sql         VARCHAR2(4000);
      3     v_column_name VARCHAR2(30):= 'TARTU';
      4     v_to          VARCHAR2(30):= 'P2RNU';
      5     v_distance    NUMBER;
      6  BEGIN
      7     v_sql := 'SELECT ' || v_column_name || ' FROM DISTANCE d WHERE d.LINN = ''' || v_to || '''';
      8     EXECUTE IMMEDIATE v_sql
      9        INTO v_distance;
    10 
    11     dbms_output.put_line(v_distance);
    12 
    13  EXCEPTION
    14     WHEN OTHERS THEN
    15        dbms_output.put_line(SQLERRM);
    16  END;
    17  /
    174
    PL/SQL procedure successfully completed
    SQL> Regards,

  • How do I get the selection tool [v cursor] to display the grey box with w and h numbers as it moves?

    Here is a link to a jpeg representing what I need to see, this screen shot was taken from a tutorial.
    http://shadowworkmovie.com/Archive/cursor.png

    The update solved it.
    InDesign CS6 8.0.1 Update

  • Problem with REGEXP_SUBSTR and the desired results

    I have table like below:
    USERNAME
    DOCNAME
    DESCRIPTION
    user1
    doc1
    yes|no|none
    user1
    doc2
    ok|not
    user1
    doc3
    allryt
    Now I want to display the table like below:
    USERNAME
    DOCNAME
    DESCRIPTION
    user1
    doc1
    yes
    user1
    doc1
    no
    user1
    doc1
    none
    user1
    doc2
    ok
    user1
    doc2
    not
    user1
    doc3
    allryt
    Now this is the query which I am executing to separate the rows:
    SELECT a.*, REGEXP_SUBSTR (description, '[^|]+', 1, LEVEL, 'i') val
                     FROM (SELECT * FROM sample_table  WHERE username='user1') a
               CONNECT BY LEVEL <=
                             REGEXP_COUNT (description, '[^|]+')
    But I am getting results like below (rows getting duplicated)
    user1
    doc1
    yes|no|none
    yes
    user1
    doc1
    yes|no|none
    no
    user1
    doc1
    yes|no|none
    none
    user1
    doc2
    ok|not
    not
    user1
    doc1
    yes|no|none
    none
    user1
    doc2
    ok|not
    ok
    user1
    doc1
    yes|no|none
    no
    user1
    doc1
    yes|no|none
    none
    user1
    doc2
    ok|not
    not
    user1
    doc1
    yes|no|none
    none
    user1
    doc3
    allryt
    allryt
    user1
    doc1
    yes|no|none
    no
    user1
    doc1
    yes|no|none
    none
    user1
    doc2
    ok|not
    not
    user1
    doc1
    yes|no|none
    none
    Can anyone correct my query or modify it?

    Try this
    SQL> with t
      2  as
      3  (
      4  select 'user1' user_name, 'doc1' doc_name, 'yes|no|none' descr from dual union all
      5  select 'User1' user_name, 'doc2' doc_name, 'ok|not' descr from dual union all
      6  select 'user1' user_name, 'doc3' doc_name, 'allryt' descr from dual
      7  )
      8   select user_name
      9        , doc_name
    10        , regexp_substr(descr, '[^\|]+', 1, level) descr
    11     from t
    12  connect by level <= length(descr) - length(replace(descr, '|')) + 1
    13      and descr = prior descr
    14      and prior sys_guid() is not null
    15    order
    16       by user_name
    17        , doc_name
    18        , level;
    USER_ DOC_ DESCR
    User1 doc2 ok
    User1 doc2 not
    user1 doc1 yes
    user1 doc1 no
    user1 doc1 none
    user1 doc3 allryt
    6 rows selected.

  • Assignment of Varible to Planning Function

    Dear All,
    I am using the planning function "Distribution By Key" it is working fine in normal scenario but if i tried to enter the value through variable ........The window for input the value for variable is not cuming can u plz help me to for the same
    Thanks and Regards
    Aditya Panwar
    Edited by: Aditya Panwar on Sep 5, 2008 10:36 AM

    Sir,
    Thanks for your kind co-operation.
    I have checked the properties variable allowed, it is already ticked.
    When I execute the planning function i am getting two errors every time if i did not put default value during creating variables.
    "in condition 1"
    "Factors for subprocess 1 result in total 0"
    If put some value in default value than it executes and pick automatic default value but again it does not promt to enter variable value.
    After creating variable-is it must tat we have to create variant ??
    Thanks and Regards
    Aditya Panwar.

Maybe you are looking for