How to allocate YTD values in a PERIODIC member

Hello,
I'm trying to allocate values of a member that has INC as ACCTYPE, in another member that has LEQ as ACCTYPE. The problem is that I need to save the YTD values of the INC type in the PERIODIC values of the LEQ type.
Someone knows how to do that? I've try this, but it doesn't work,
*XDIM_MEMBERSET MEASURES=YTD
*XDIM_MEMBERSET CCOSTO=BAS(MI01)
*RUNALLOCATION
*FACTOR=1
*DIM CCOSTO WHAT= BAS(MI01); WHERE= SIN_CECO;
*DIM P_ACCT WHAT = BAS(UTI_LIB_DIS); WHERE=3.3.1;
*DIM P_DATASRC WHAT=BAS(ALL_DATASRC);WHERE=INPUT
*DIM PRODUCTO WHAT=BAS(ALL_PRO);WHERE=SIN_PRO
*DIM CONCEPTO WHAT= BAS(EST_FIN); WHERE= SIN_CONCEPTO;
*ENDALLOCATION
The result is the same periodic values even if I've selected the member YTD as you can see in the first command line.
Any ideas?
Thanks & Regards
SU

Hello SU,
I don't think you can *XDIM_MEMBERSET the YTD Measure (similar to BPC MS functionality).
One possible approach is to accumulate the YTD values one month at a time. You may need to test this to confirm this works.
i..e.
Use your existing allocation logic but add the following line for your first month (i.e. 2011.JAN)
*DIM TIME WHAT=2011.JAN WHERE=2011.JAN
Then add another allocation for your second month (i.e. 2011.FEB)
*DIM TIME WHAT=2011.JAN,2011.FEB WHERE=2011.FEB
Then add another allocation for your third month (i.e. 2011.MAR)
*DIM TIME WHAT=2011.JAN,2011.FEB,2011.MAR WHERE=2011.MAR
Let us know how this works out for you.
Thanks,
John

Similar Messages

  • How to use YTD values in webi

    hi
    normally in bex we can use variable , based on user entry we can calculate YTD values, and we will make structure like in column or rows.
    how to make ytd values in webi and create structures.

    HI,
    this needs to be done using EXIT Variables in the BEx Query.
    Ingo

  • How to distribute a value across time periods?

    <p>I have an application that tracks employees' actual andforecasted time on a project. The question is how do I get startedon writing a business rule to distribute forecasted time acrosstime periods?</p><p> </p><p>For example, the user selects an employee and estimates that theemployee will spend 1200 hours on the project over the next 2years. so i want to allocate 50 hours per month for the next twoyears. The employee will be a run-time prompt as well as the startyear/month and end year/month.</p><p> </p><p>The dimensions are</p><p> Account -> manhours</p><p> Period -> (standard)</p><p> Years -> FY05:FY15</p><p> Projects -> p1, p2,..., p3</p><p> Employee -> emp1, emp2, emp3</p><p> Scenario -> Actual, Forecase</p><p> Version -> original</p><p> </p><p>Thanks in advance.</p>

    <p>OK so, I have this much so far (unfortunately) This is just afirst draft and it assumes that you are allocating evenly acrossone year known as start year.</p><p> </p><p>But it doesnt do anything.</p>

  • YTD Value in Period-Input System Structure

    Dear SAP Experts:
          I am using BPC 7.5 NW SP10 now, and now my application is set Periodc-input.
    I would like to transport YTD Value in Net Income to BS account, for example:
    Month Net Income(Periodic)
    Jan       100
    Feb       200
    Desired result:
    Month  CY NI in BS(Periodic)
    Jan       100
    Feb       300
    I tried to use script to take the YTD value in account net income 300 in Feb to transport into
    the account CY NI in BS, but it doesn't work
    Does anyone have advise on this?
    BRs,
    Fred Cheng

    Dear All:
            I would like to transport the YTD value in C_ACCT member 8200 into Periodic value in C_ACCT 33530001. At the same time, this value should be put into some specific dimension meber.
    Here is my script:
    *SELECT(%RPTCUR_2%, ID, RPTCURRENCY, CURRENCY_TYPE='R')
    *XDIM_MEMBERSET C_ACCT= BAS (8200)
    *XDIM_MEMBERSET GROUPS = NON_GROUP
    *XDIM_MEMBERSET RPTCURRENCY= %RPTCUR_2%
    *XDIM_MEMBERSET FLOW= F99
    //*XDIM_MEMBERSET MEASURES= YTD
    *WHEN C_ACCT.ACCTYPE
    *IS "INC"
    *REC(FACTOR=-1, C_ACCT=33530001,EXP_TYPE=9,FLOW=R20)
    *REC(FACTOR=-1, C_ACCT=33530001,EXP_TYPE=9,FLOW=F99)
    *ENDWHEN
    *COMMIT

  • Periodic application, conversion on ytd value

    Hi all,
    I have SAP BPC 7.5.108 MS, I need to do a periodic application,but I would like to do a conversion applied on YTD value.
    Do you know if it's possible in the business rules?
    I know that it's possible, in the Ytd applciation, to apply the conversion on periodic value, would be very nice to do also the conversion applied on YTD values.
    Thanks
    Ciao
    Chiara

    Hi Chiara,
    this is not possible by using the standard rules. However you should be able to achieve it by using an additional element in your flow dimension on which you (with a script) calculate the YTD value. Your conversion rule could then convert this amount and write the result onto the original flow.
    BR,
    Arnold

  • Problem: Calculation YTD + Drill Down on period

    Hi erveryone,
    I have a question about the calculation of a YTD value.
    The requirement is to show MTD and YTD values in the report based on the variable. So far no issue. But the requirement is also to do drill-down on period.
    Inital Report view: Variable on Periode = 03.2010
    Profit Center | MTD | YTD
    PC1 100 250
    Drill-Down on Periode - What happen is:
    Profit Center | Period | MTD | YTD
    PC1 01 100 100
    PC1 02 50 50
    PC1 03 100 100
    The Goal should be:
    Period | MTD | YTD
    01 100 100
    02 50 150
    03 100 250
    How can we solve this problem without a "static query" with a structure? Calculation the YTD in the Backend (Cube / DSO)
    For your Information this report is based on the new FI-GL (0FI_GL_14)
    Thanks for you help!
    Andreas

    Hi Vijay,
    thanks for your fast replay. The cumulation works.
    Now I get the following result:
    Drill-Down on Periode - What happen is:
    Profit Center | Period | MTD | YTD
    PC1 01 100 100
    PC1 02  50  150
    PC1 03 100 250
    but when I remove one month then he calculate the YTD just on the values in the view and not on the data basis.
    Remove Date 01
    Profit Center | Period | MTD | YTD
    PC1 02   50  50
    PC1 03 100 150
    I want to have:
    Profit Center | Period | MTD | YTD
    PC1 02   50 150
    PC1 03 100 250
    Do you or someone have an idea how to fix that? Over special selection in the Query?
    The MTD & YTD figures are RKF in the Query. Both are based on 0DEB_CRE_LC
    Thanks in advance!
    andreas
    Edited by: Andreas Helbing on Sep 16, 2010 2:05 PM

  • Calculate YTD value

    Hi Guru's
    We have requirement ,  have a YTD application  loading data every period to periodic member of a datasource dimension for the accounts.We need to copy those data to YTD  member of a datasource dimension to get the ytd values for the accounts .How can we do it in the script logic.
    Account  time  entity periodic 100
    Account  time  entity periodic 100
    to
    Account  time  entity YTD 100
    Account  time  entity YTD 200
    Thanks
    Buggi

    You can find several prepackaged script logic functions in the system library. One example function is called accumulate() which is probably the one you need to follow:
    *SUB ACCUMULATE(%src_flowacc%, %dst_bsacc%)
    // Accumulate periodic values from a flow account into a bs account
    // This is a complete commit section
    //=========================================================================================
         // must process one period at a time
         *PROCESS_EACH_MEMBER=TIME
         // set the appropriate region to clear
         //(all reporting currencies)
         *CLEAR_DESTINATION
         *DESTINATION TIMEDIM=%TIME_SET%
         // enforce loading the appropriate region
         *XDIM_MEMBERSET TIMEDIM=[TIMEDIM].[%TIME_SET%],strtomember("["+[TIMEDIM].[%TIME_SET%].properties("PRIOR")+"]")
         *XDIM_MEMBERSET ACCOUNTDIM=%src_flowacc%
         *WHEN TIMEDIM.CURRENT
         *IS %TIME_SET%
              *REC(EXPRESSION=(%VALUE%+GET(TIMEDIM=TIMEDIM.PRIOR,ACCOUNTDIM=%dst_bsacc%)), %dst_bsacc%)
         *ENDWHEN
         *COMMIT
    *ENDSUB
    Hope this helps,
    Madis

  • How to change the value of Valuation class.

    dear friends:
    i want to change the value of Valuation class in the material master .but system  warning info occurs .
    The valuation class cannot be changed
    Message no. M3 368
    Diagnosis
    You wanted to change the valuation class. However, this is not possible because one or more of the following already exist for the material:
    Valuated stocks in the current period or in the previous period
    Open purchase orders or delivery schedule lines
    Production orders for which a goods movement has already taken place
    System Response
    Your change is reset by the system.
    Procedure
    If valuated stocks already exist, you can change the valuation class only as follows:
    a) Post the stocks of the material to an interim account.
    b) Change the valuation class in the material master record.
    c) Post the stocks of the material back to their original account.
    If open purchase orders already exist, you can only change the valuation class if you first flag the corresponding purchase order items for deletion.
    If production orders exist for which a goods movement has already taken place, you can only change the valuation class if you first set the status of the production orders to Deleted.
    Procedure for System Administration
    In Customizing for the Material Master, you can switch the check for open purchase orders and/or for production orders to a warning. You do this in Define Attributes of System Messages by assigning the message type Warning to message MM 326 and/or MM 327 respectively. However, first ensure organizationally that further processing of the open purchase orders or production orders cannot result in inconsistencies.

    To resolve SAP error message M3 368 I would suggest that you refer to SAP note number 1967543. This note outlines the issue and a resolution to it:
    Please have a look at the description of the error M3 368. This error may occur if one or more of the following already exist for the material:
    1. Valuated stocks in the current period or in the previous period
    2. Open purchase orders or delivery schedule lines
    3. Production orders for which a goods movement has already taken place
    Resolution:
    If you have valuated stocks in the current period or in the previous period, you will get message "Stocks already exist.". You have to clear all the stocks both in current period and previous period. Please have a look at SAP Note 30656, it shows an example on how to clear the stocks in
    previous period. You can use transaction MIGO to execute this step.
    If you have open purchase orders or delivery schedule lines, you will get message "Purchase orders already exist.". You can find related purchase orders after you click 'Display Error' button. Please delete them in transaction ME22N.
    If you have production orders for which a goods movement has already taken place, you will get message "Production orders already exist.". Please archive these production orders. You need to set deletion flag for these orders firstly and go to SARA, use archiving object PP_ORDER to archive
    these orders.
    Kind regards,
    James

  • How to determine the value of a Standard Value in a routing operation

    Dear Experts,
    Kindly guide me on how to detemine the value of my Standard Value in the  operation of my routing, or in the phase of my Master Recipe.
    I mean what determines the value that I enter for the Standard Values: Machine  and Labor in the phase of my Master Recipe?

    Hi,
    In the Routing / Master Recipe, the standard values are based on the lot size.
    For Example, if you have the lot of 100 KG, then in recipe the machine time will be 2 hr and labor time will be 2 hours, it means to make 100 KG we require 2 hrs of machine and 2 hrs of labor.
    Normaaly all production manager / supervisor will have the date for the hours. The system will calculate will respect to batch / lot size.
    If you have order for 1000 KG, then the system will assign 20 hrs for Machine and 20 hrs for labor.
    This will be used for Capacity planning and Costing.
    Capacity plan here your requirement is 20 hrs for machine and labor. If you have a reacto which wil run for 24 hrs a day, then the order will be completed in a day.
    Costing is concerned, all std. valur key will be assigned with an activity type in work center / Resources and the prices for activity type / cost center will be maintained in KP26.
    Based on the cost and hours, the system will allocate cost for the order (it will be planned cost). When you are confirming the order you will enter the actual time for the operation, then that will be your actual cost.
    Pl do a sample test scenario in your sand box, and surely you will understand more.
    The data for Routing / Recipe will be provided by the production manager of the plant and activity price will be provided by the finance team.
    Thanks,
    JK

  • How to Display YTD ,MTD

    Hi,
    can any one telme,
    How to Display YTD ( Year to date ) and MTD (Month to date ) in Reports,
    <b>what is the Logic,on which Time Char..i have to cerate YTD, MDT.</b>in my Cube i have All time Char..
    Thank U
    jashaik

    Hi Shaik,
    If you want to populate YTD and MTD based on users selection then you need to create customer exit variables to achieve this.
    Create two customer exit (YTD, MTD) variable for 0DATE. Read the selection screen variable and populate YTD and MTD.
    here are some sample codes: -
    MTD
    data: l_first_day_of_month type D,
            l_s_var_range type rrrangeexit,
            l_s_range type RSR_S_RANGESID.
      if i_step = 2.
        read table i_t_var_range into l_s_var_range
                                 with key vnam = 'WZR_V009'.
        if sy-subrc = 0.
          concatenate l_s_var_range-low+0(6) '01' into l_first_day_of_month.
          clear l_s_range.
          l_s_range-low  = l_first_day_of_month.
          l_s_range-high = l_s_var_range-low.
          l_s_range-opt  = 'BT'.
          l_s_range-sign = 'I'.
          append l_s_range to e_t_range.
        else.
          exit.
        endif.
      endif.
    YTD
    DATA:
      l_s_range TYPE rsr_s_rangesid,
      l_s_var_range TYPE rrrangeexit,
      l_first_date_of_year TYPE d,
      l_indxkey(20) TYPE c VALUE 'WZR_V009',
      l_date TYPE d,
      l_last_date TYPE d,
      l_month TYPE i,
      l_last_month(2) TYPE n,
      l_parameter type d.
      IF i_step = 2.         " after the popup
        READ TABLE i_t_var_range INTO l_s_var_range
                     WITH KEY vnam = 'WZR_V009'.
        IF sy-subrc = 0.
    *---  store content of WZR_V009 in sap memory
          SET PARAMETER ID l_indxkey FIELD l_s_var_range-low.
    *--- clear other parameter to avoid confusion
          GET PARAMETER ID 'WZR_V026' FIELD l_parameter.
          CLEAR l_parameter.
          SET PARAMETER ID 'WZR_V026' FIELD l_parameter.
          CONCATENATE l_s_var_range-low+0(4) '0101'
          INTO l_first_date_of_year.
    *--- fill variable
          CLEAR l_s_range.
          MOVE 'BT' TO l_s_range-opt.
          MOVE 'I' TO l_s_range-sign.
          MOVE l_first_date_of_year TO l_s_range-low.
          MOVE l_s_var_range-low TO l_s_range-high.
          APPEND l_s_range TO e_t_range.
        ELSE.
    *--- variable not found
          EXIT.
        ENDIF.
      ENDIF.
    WZR_O009 is the selection screen variable populated by user entry while qurey is refreshed.
    Hope it helps.
    Thx.
    Soumya

  • How to change the field 'Current Planning Period' in xRPM portal?

    Hello All,
    In xRPM portal, under portfolio management --> financial planning, we have a field 'Current Planning Period'.
    Can anybody tell how to change the values of this field for all the projects/items at once?
    Also, when I am trying to change for individual projects. its opening the F4 help but not  selecting the date on which I double click.
    Thanks
    Niti.

    No, you cannot add another vPC peer-keepalive configuration.
    Taking down vPC peer-keepalive will not affect your vPC peer-link and vPC operation. It will be a problem if and only if vPC peer-link went down after the peer-keepalive is down first, this will cause dual active.
    Regards,
    jerry

  • How to insert varchar2 value in timestamp column in table?

    Hi all,
    Hope doing well,
    sir i am using one stored procedure and storing time in varchar2 variable in this format: 08:00:00
    now i have to insert this value in timestamp column in table. how to insert this value in timestamp column?
    thanks

    952646 wrote:
    Hi all,
    Hope doing well,
    sir i am using one stored procedure and storing time in varchar2 variable A "Very Bad Idea"(tm)
    When you do this, there is no fundamental difference between "08:00:00" and "here's your sign".
    Data should always be stored in the correct data type. For dates and times, that data type is either DATE or TIMESTAMP. Period.
    in this format: 08:00:00
    now i have to insert this value in timestamp column in table. how to insert this value in timestamp column?
    Hopefully as remediation to the original bad design.
    thanks

  • Resources Value In specific period

    Hi,
    Is there any way to get the total resources values in specific period?
    I want to know for each resource...
    1- How many hours it made in this period.
    2-the total value for this resource...
    Grouped by the cost component class IE: (Labor , Machine ) ...
    Waiting for your ideas and any thing that may helps.
    Thanks in advance.

    Hi karthik..
    here you are.
    SELECT   br.resources, rmst.resource_desc, b.cost_cmpntcls_code,
    *(AVG (gmf_cmcommon.get_rsrc_cost (br.resources,*
    bh.organization_id,
    bvd.consume_layer_date,
    *1000,*
    *0*
    *) avg_resource_cost,*
    SUM (bvd.consume_ib_pri_qty) hrs,
    *( (SUM (bvd.consume_ib_pri_qty))*
    ** (AVG (gmf_cmcommon.get_rsrc_cost (br.resources,*
    bh.organization_id,
    bvd.consume_layer_date,
    *1000,*
    *0*
    *) AS rsc_value*
    FROM gmf_batch_vib_details bvd,
    gmf_batch_requirements br,
    gme_batch_header_vw bh,
    cr_rsrc_mst_vl rmst,
    cm_cmpt_mst_b b
    WHERE rmst.cost_cmpntcls_id = b.cost_cmpntcls_id
    AND bh.organization_id = :p_org_id
    AND br.resources BETWEEN NVL (:p_resources_lo, br.resources)
    AND NVL (:p_resources_hi, br.resources)
    AND br.batch_id = bh.batch_id
    AND br.resources IS NOT NULL
    AND br.ingredient_item_id IS NULL
    AND bvd.requirement_id = br.requirement_id
    AND bvd.line_type = 0
    AND rmst.resources = br.resources
    AND b.cost_cmpntcls_code BETWEEN NVL (:p_cmpntcls_lo,
    b.cost_cmpntcls_code
    AND NVL (:p_cmpntcls_hi,
    b.cost_cmpntcls_code
    AND (   rmst.resource_class >=
    NVL (:p_resource_class_low, rmst.resource_class)
    OR (rmst.resource_class IS NULL AND :p_resource_class_low IS NULL)
    AND (   rmst.resource_class <=
    NVL (:p_resource_class_hi, rmst.resource_class)
    OR (rmst.resource_class IS NULL AND :p_resource_class_hi IS NULL)
    GROUP BY b.cost_cmpntcls_code, br.resources, rmst.resource_desc
    waiting for your suggestions .
    Edited by: Ahmed.Abbas on Jul 12, 2011 6:30 AM

  • Tools&dies depriciation and how to allocate to product

    Dear all,
    can you suggest how to do tools&dies depriciation and how to allocate to product this.
    i have searched the forum unable to get the way to handle this
    with regards
    john

    Hi
    This is a grey area where no standard solution is available... I was able to develop couple of Z solutions, which evolved over a period of time...
    The solution depends on
    a. Complexity  - No of products that can be made out of each mould/ dye
    b. Scenario - Discrete or Rep
    I will take the most easier one here i.e. 1 Product per mould & rep scenario... Any complexity more than this will be a variant of this approach
    1. Create each Mould/Dye as an Asset
    2. Create User defined fields in Asset Master using exit AIST00* part of Table ANLU to capture the Material you would be manufacturing from the mould, Mould life in terms of no of pieces, etc
    3. Assign your PCC in the "Order" in the asset master to post the dep to it... Or assign an Internal order and later settle the IO to PCC... if your wish is to post dep based on no of pieces manufactured, then you need to use a Dep Key based on "Units of Production" method.. You will have to create one Dep Key per asset in this case...
    The useful life of the mould will be maintained against dep key and actual qty produced needs to be taken from MB51 and updated against the dep key each month end.. Then run AFAB...
    In case you make multiple materials from one moould, maintain all the materials in asset master... Create a WBS and post dep to it.. Create child WBS elements under this WBS, one for each product made out of the mould and allocate dep from header to child at month end... Later on, settle the WBS to PCC
    In case you are in discrete scenario, you dont have much of choice.., Its practically not possible to allocate to each prod order... You will have to treat it as an overhead only
    br, Ajay M

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

Maybe you are looking for

  • Airport Express and Linksys

    This should be an easy question to answer... If I have a printer connected to an Airport Express Base Station, can I print to it (from a MacBook Pro) and connect to the internet via a Linksys Base Station at the same time? I won't have to swap my Air

  • I need to see what is in a cookiefile, where are cookies stored?

    I need to know where are cookie files stored, so I can study what is inside them(cookiefile).

  • Problems with using tab -button in application

    Hi all, I'm working on a game, using AS 3.0 and would like to use TAB -key in the game to do certain in-game actions. With Firefox,  Chrome and Safari it works without problems and focus stays in the app. With IE8 It also works fine on some cases but

  • Sounds missing

    The problem I ran into is that when I try to load an instrument (nothing particularly) Logic just can't find the sound files needed to open the instrument.It happened so with some Garageband songs as well which I wanted to open in Logic but some inst

  • Verbose Java Error Message and How to Turn Off

    Hello Everyone, Does anyone know of a way to turn off the Verbose Java Error messages that are generated via the Portal?  Is there a Portal parameter or perhaps a parameter in the Config tool that can be used?  I am simply trying to limit what is dis