ASAP :: Variables used in planning Level

Dear All ,
I m using variable for each characteristics in Planning Level. This level further is used for Web Interface. Would like to know if in this case if i use Planning variable's in Level  ,, will it  affect in performance ????????????
Regards
Anup Singh

HI
It will not effect in Performance much. It is advisable to use variables only. (There are so many other advantages using variables). It is not advicable to fix the values for characteristics  in planning level until and unless u are confident that the value will not change. For eg: Fisc Yr Varnt , u can fix as K4 etc.
srin

Similar Messages

  • Variable in the planning level

    Hi,
    One variable X is assigned to Y characterstic in the Selection tab of planning level.
    I want see the properties of X variable, i want to see the defination part of X varaible.
    where can i find the x variable?
    It would be great help for me.
    will assign the points.
    thanks
    BPS

    Hi Maynak,
    Thanks for ur quick reply.
    I assigned the points.
    So my question is : if i want the see vairable properties do i need to change the planning area to change mode?
    Is it any other way without changeing the planning area to change mode to find out the variable dfination part.
    Please help me in regards.
    thanks
    BPS

  • Hierarchy node variable in BPS planning level

    Hi gurus,
    I have a set of planning levels and packages that are meant for all users. The users currently are segregated by 0costcenter hierarchy nodes, i.e. groups of users are belonging to different nodes within the 0costcenter hierarchy. These group of users each have its respective authorisation profile assigned based on hierarchy node.
    The planning levels and packages are configured so that 0costcenter is one of the header characteristics in the layout.
    Is there a way for the characteristic 0costcenter in the planning level and packages to derive the cost centers from the authorisation profiles ?
    Advice appreciated.
    Thanks.

    You may consider any of the following:
    1. BPS variables with authorization replacement type.
    2. BPS variables with user defined values replacement type.
    Ravi Thothadri

  • DS 1.3 changing the value of a variable in a planning function

    Hello,
    i created a planning application with Design Studio 1.3 and one of my planning functions is a revaluation function which uses a variable for the revaluation factor. In Analysis for Office you can set a value for this factor by selecting the planning function and then give a fixed value or set a reference to a cell in your workbook. However in Desing Studio i don't see my variable under my planning function and i also couldn't find a script command to use for this problem because the variable is not known to Design Studio. Right now i can only set a default value for the variable in SAP BW (RSPLAN) but i would like to let the user enter a value at runtime of my application.
    Anyone already had a similar problem and can confirm that it is not possible to access variables used in planning functions or has found a way and can tell me how to achieve this?
    Greetings,
    André

    Hi Andre,
    we are using the revaluation function type, too.
    For setting the variable for the factor you should use the following script:
    <ds_planningsequenceOrFunctionAlias>.setVariableValueExt("<techNameOfTheVariable>", <value>);
    It could be possible, that you cannot see the variable in the value help (strg + space) after inserting the planning sequence or planning function to your Design Studio application.
    Please, enter the technical name of the variable manually, it should work.
    We have no problems. In our application the variable is filled by an input field value.
    Kind regards
    Patrick

  • Reading Charact. Selection in Planning Level using Exit Var FM

    Hi Expert,
    i have to do a data slice with an Exit Variable that looks at selected data in the planning level and check in a custom table if the corresponding charact in the level is flagged in order to fill the variable with this value and lock data.
    Any idea of the code for reading, in an Exit Var FM, data from Charact selection in the planning level?
    Any hints will be very appreciated and rewarded.
    Tanks
    Fabio

    Hi,
    You could check the how to guide variables of type exit at:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/650ee690-0201-0010-4bb7-83c3e2a74039
    If you implement the FM 'Z_VARIABLE_GET_DETAIL' you can read the value of the variables and use this in other variables.
    Here is part of the code to use a sales organisation to filter the data from 0mat_sales..
    Get Marketing mat ind using the ZMARKIND variable in the area
      DATA:
        M_subrc like sy-subrc,
        Ms_return like bapiret2,
        M_type like upc_var-vartype,
        Mto_varsel_all type upc_yto_charsel,
        Mto_varsel type upc_yto_charsel,
        Mto_var type upc_yto_charsel,
        Mt_chavl type /BI0/PMAT_SALES occurs 0,
        Ms_chavl like line of lt_chavl,
        Mto_chanm type upc_yto_cha.
    read source value
      call function 'Z_VARIABLE_GET_DETAIL'
        EXPORTING
          i_area         = l_source_area
          i_variable     = 'ZMARKIND'
          i_buffer       = l_buffer_call
        IMPORTING
          e_subrc        = M_subrc
          es_return      = Ms_return
          e_type         = M_type
          eto_varsel_all = Mto_varsel_all
          eto_varsel     = Mto_varsel
          eto_chanm      = Mto_chanm.
      data: Ms_varsel type upc_ys_charsel,
      M_entries type i.
      if l_use_restricted_values is initial.
        lto_var = Mto_varsel_all.
      else.
        Mto_var = Mto_varsel.
      endif.
      read table Mto_var into Ms_varsel index 1.
      if sy-subrc <> 0.
        message i147(upc_fw) with M_source_var.
        exit.
      endif.
      describe table Mto_var lines l_entries.
      if l_entries <> 1.
        message i534(upc) with M_source_var.
        exit.
      endif.
    select all materials related to the Line in the source variable valid
    for the sales org in the zsorgfix variable.
      case Lso_varsel-chanm.
        when 'ZZLINE'.
          select * from /BI0/PMAT_SALES
          into table lt_chavl
          where /BIC/ZZLINE = ls_varsel-low
          and SALESORG = Gs_varsel-low
          and /BIC/ZMARKIND = ms_varsel-low
          and OBJVERS = 'A'.
        when 'ZZBRAND'.
          select * from /BI0/PMAT_SALES
          into table lt_chavl
          where /BIC/ZZBRAND = ls_varsel-low
          and SALESORG = Gs_varsel-low
          and /BIC/ZMARKIND = ms_varsel-low
          and OBJVERS = 'A'.
        when 'ZZHOUSE'.
          select * from /BI0/PMAT_SALES
          into table lt_chavl
          where /BIC/ZZHOUSE = ls_varsel-low
          and SALESORG = Gs_varsel-low
          and /BIC/ZMARKIND = ms_varsel-low
          and OBJVERS = 'A'.
      endcase.
      ls_varsel-SIGN = 'I'.
      ls_varsel-OPT = 'EQ'.
      ls_varsel-seqno = '0000'.
      ls_varsel-chanm = '0MAT_SALES'.
      loop at lt_chavl into ls_chavl.

  • 2 variables for same characteristic in planning level in BPS

    Hello,
    I would appreciate your help implementing this scenario: a user has access to certain versions and should be a able to copy data between 2 of those versions.
    We have 4 versions on our master data: 001, 002, 003 and 004.
    A certain user should be able to access versions 001, 002 and 003, and should not be able to access version 004.
    So we have an authorization object applied to that user with:
      -> 0TCAACTVT EQ 03
      -> 0TCAIPROV EQ <real time infocube>
      -> 0TCAVALID CP *
      -> 0VERSION EQ 001, 002 and 003
    Then, users should be able to copy data between versions.
    We created 2 variables on planning area, named ZVERSOLD and ZVERSNEW, with these characteristics:
      -> Characteristic: 0VERSION
      -> Replacement Type: USERVALUE User-defined values
      -> Restriction of Values Required by User: enabled
      -> Input Allowed by User: enabled
    So this particular user should only see those 3 versions when pressing F4 when filing both variables.
    After that, we created the planning level with the u201Ccopyu201D planning function.
    But now, on planning level, we need to restrict 0VERSION, but we have a problem because we are not able to restrict it using 2 variables (ZVERSOLD and  ZVERSNEW). Only one.
    If we donu2019t use any variable, user gets an authorization error because he is not able to access to all data due to authorizations.
    Does anyone have a way to avoid this issue? Should authorizations be defined in a different way? Should variables be defined in a different way?
    Hopefully I exposed all required details to get help, and that my question wasnu2019t too much confused.
    Again, thank you very much in advance for your support.
    Rui

    Hello,
    If you restrict the VERSION with variable ZVERSNEW for target version then the function should work. But if you get any error related to reading reference data for the source version then you can create a new variable of type exit and populate it with the values selected by the user in two variables ZVERSOLD and ZVERSNEW using the two APIs :
    API_SEMBPS_VARIABLE_GETDETAIL  - to get the current value of the two Variables
    API_SEMBPS_VARIABLE_SET - to set the Variable Values for the Exit type variable
    Regards,
    Deepti

  • How to use global variable defined in planning area in FOX

    Hi guys
    I meet a situation that needs to use variables defined in planning area in FOX.How to code?
    My situation as follows:
    Two variables are defined in planning area,one is zcomp_code,the other is zfiscyear.
    There are two key figures in the planning area,one is sales volume,the other is delta(%).
    I want to use sales volume multiplied by delta(%) in selected zcomp_code and zfiscyear by users.
    Anyone can help?
    Thanks in advance.

    Hi Eric
    check this example
    in fox you shoud declare your data and after call your variable
    after this you could easily operate on data using the f4 for definig the right fox operators
    DATA FYEAR TYPE 0FISCYEAR.
    FYEAR = VARV(PLANYEAR).
    {0COPANETRV, FYEAR,CRA,020} =
    {0COPANETRV,FYEAR,CRA,020} *
    ({ 0CP_DELTAB,FYEAR,CRA,020} + 100 ) /100.
    {0CP_DELTAB,FYEAR,CRA,020} = 0.

  • Using attribute variables in the planning folders

    Hi all,
    Is there way to use attribute variables in the planning folders?
    There is a following situation. We have a number of cost centers (0COSTCENTER). Cost center has responsible person (0RESP_PERS) as attribute.
    We planning some costs for cost center.
    To select certain cost center to cost planning we created
    variable ZVAR1 as type CHAR and placed this variable in the header of planning folder.
    Now we have to restrict list of cost center for selection according to selected responsible person.
    Of course, I can add 0RESP_PERS to my cube, create variable ZVAR2 as type CHAR based on this character. Then place this variable to folder. For variable ZVAR1 use type of replacement as "User Exit" and ABAP routine will restrict list of available cost centers based on value of ZVAR2.
    But... Is there way to use variable with type of attribute and place this variable to header of folder?
    Thanks in advance!

    Hi Dmitry,
        Yes, you can use the attribute variable in your folder.
        Just create attribute variable with 0COSTCENTER as the basic char and 0RESP_PERS as attribute.then when you create your folder with UPSPM, make sure to choose notweb-enable type then under the variable category you will see the the attribute vairable you just created at BPS0, just drug it to you folder, you are done.

  • Use of Planning Filters in Queries in NW2004s

    I was wondering if any Integrated Planning experts could help me with a problem I have.
    In the 'old world' BPS a planning layout was attached to a planning level and by using filters (planning packages) many different 'views' or slices of information could be made available to the user. For example I could create a planning layout for my balance sheet and create a number of filters for the different parts of my business.
    In NW2004s planning is now done in the query and the planning filter can be placed in the filter of the query. However this enforces a one to one relationship between the filter and the query which would mean I would need multiple queries for each of the parts of my business instead of the one layout under BPS3.x. Being able to create a variable on the filter would be one way around this but this is not possible.
    Can anyone advise on how this now works in NW2004s as at present this looks like a significant retrograde step in functionality.
    Cheers,
    R

    I have somehow managed to workaround the issue.
    I use one aggregation level without Stage field to allow users to modify the data and then I use another aggregation level with Stage field to process the Stages using planning functions and filters. This works.
    I am still curious on the user exit proposed by Andrey.
    Andrey can you please provide step by step on how we achieve this?
    Thanks,
    DV

  • Setting # for 0CALYEAR in selection for planning level in BPS

    hi all!
    when i try to set # for 0CALYEAR (and other time variables) in selection for planning level in BPS, i recieve the following error message: 'Value # is not permitted for characteristic Calendar Year' (UPC003). As i understand, this problem began to occur after upgrading to SPS12.
    we have BI 7.0 installed
    can anyone help me solve this problem please?

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi<br>
    Check in year master data if value BLANK (#) exists. System should permit only those values for characteristics which are available in master data tables.<br><br>
    Secondly, does system allow you to select value # for calendar year using the F4 drilldown?
    <br><br>
    Hope it helps.<br>
    Cheers Abhijit</FONT><FONT FACE = "Verdana", Font Color = "Red">
    Please assign Reward Points if I above information was useful
    </FONT>

  • BPS-dynamic columns-single value in the planning level.

    Hello, we would like to use a compound characteristic in dynamic colums.
    Based on test and documentation we already know that we can use compound characteristics in dynamic columns only if the higher-level characteristic is restricted to a single value in the planning level.
    If we use a variable restricted to a singel value per user it does not work. Does it mean in general that a varibel cannot be used in that case and that we have to create about 30 planning packages with a fixed value for the higher level charactersictic?
    Thanks for help.

    This is solved now with support package 12

  • Promotion planning level change from product to product  category.

    Hi
    About the promotion planning level, currently we use product level which means we adds individual products and assign money to there.
    But we are thinkin of changing this to product category level planning.
    Could anyone please teach me some good references or links or how to do it in step by step?
    It seems we need to do a lot of work to change the level of planning, but hopefully it might be not too difficult?
    If you know the solution, could you point me some directions?
    Thanks.

    Looking at all that code, I can suggest one way of debugging the issue(Its a bit hard to guess what went in this case,particularly when the problem could be at so many places).
    1. Run your PLSQL as an anonymous block and check if the generated XML structure is what you expect.
    2. Check Firebug Console (if you have it) if an ajax request is send when the item is changed.
    3. Print out the return XML as a string on the screen so that you can make sure it what you wanted(use alert function or append to some page element)
    4. Now try your XML parser JS section starting with the obtained XML as a static variable, trying printing out the parsed out values at different stages
    5. Setting the page items shouldn't be much of a trouble if everything else worked fine.
    Some Observations: If you are on Apex 4.0 wouldn't a Dynamic Action save you all this trouble (Two SetValue processes). Even otherwise you seem to be fetching two id's from the Ondemand process..Can't you just concatenate them with some separator and send that as the result stream(htp.p), handling them in JS would be simple using the split function. If the data is more complex you could return it as a JSON string and parse it with fewer lines of code.
    Found a problem with the code :
    get.add('PRODUCT_ID',pValue)Do you have a page item by that name(PRODUCT_ID) ? else change it to
    get.add('P4_PRODUCT_ID',pValue)and change the following in ur PLSQL process code
    PRODUCT_ID = TO_NUMBER (v ('PRODUCT_ID'));to
    PRODUCT_ID = TO_NUMBER (v ('P4_PRODUCT_ID'));But as I said earlier, Debugging it step by step might be easier.

  • Cash Management Report FF7B - drill-down from planning levels to AP/AR OIs

    Hi
    I'm configuring cash management and have created all planning levels and groups needed.
    All master data, ie GL accounts, vendors and customers, have the correct planning level or group.
    I've created all the groupings etc that I need.
    I'm running the reports FF7A and FF7B. I have two questions and problems.
    1. When running the Liquidity Forecsat for customers and vendors I drill-down to the standard PL or SL planning levels for AP and AR postings respectively. Then I drill into the planning groups correctly  (E1-E9 and R1-R8). But when I try to drill into the cash management detail records  (or is it the AP/AR line items?) I get "Memo Records: List - List Contains No Data". This happens every time. Should I now see the AP or AP line items? Or should I see some cash management memo records? I have deleted all the cash management data several times and recreated but I still get this problem  (using reports RFFDDL00 and RFFDKU00)
    When I do the same for purchase orders, purchase requisitions or sales orders I see a Memo Records List which agrees with the previous planning level total and I can then drill into the actiual POs, PRs or SOs from this list without an issue.
    2. When running the Cash Position and I do the drill-down to the GL Line Items, I get an enormous list which does not just show the total of items at the previous planning level. Why is this please? Example: a bank account with a balance of £2,000  (shown on the panning level) but with 000's of line items totalling say £5m. Again I have deleted the CM data and recreated but without any improvement to the problem.
    Any help anyone can give me with these issues will be very much appreciated.
    Thanks.
    Wayne

    Hi
    I have the same trouble with Tcode FF7B.  There´s a message "Memo Records: List - List Contains No Data"; bit in the TcodeFF7A, it runs OK.  The message appears just witn Tcode FF7A.
    Also, There´s all TR data in tables FDSB for GL accounts, FDSR and FDFIEP for customers/vendors.
    Can you help me??  can you solved this issue?
    Tanks for your Help

  • How to find out the variable using in the system.

    Hi Friends,
    When I am trying to create a new variable for a infoobject. It is giving me a warning that Change the tecnical name 'New Variable.....' Before save
    This is not allowing me to create any new variable.
    In the system I find out one variable is there with the name  'New Variable.....'
    And It is being used some where. When I am trying to delete this variable it is giving me a msg that it is being used in ZSCEMESTS.
    But I am not able to find out where this ZSCEMESTS is exists.
    Is there any TCODE for find out this object.
    I want to delete this New Varable.....  So can any body pls provide me the solution?
    Regards,
    Sridhar

    Hi Sridhar.
    Can you please tell me, is the variable entry mandatory? If yes please make the variable entry is optional.
    Hi Sridhar,
    Can you please tell me which type of variable it is? On which object this variable built?
    Variable is available global level, so you can view this variable on the same object right click restrict --- variable --- select --- delete.
    If it though it is already used in another query then use where used list then go to respective query and delete the same.
    Regards,
    Lokanatha.

  • Using patch plans for 12.1.0.2 target oracle home fails with 'PREREQ_MESG: Unable to get the version of OPatch'

    We are attempting to use patch plan to apply PSU and one-offs to a new 12.1.0.2 database oracle home.  Our EM version is 12.1.0.4.
    We are experiencing the same issue described in ''Bug 20271609 : Unable to get the version of OPatch".   This bug is closed as 'duplicate bug to filer' but we do not appear to have visibility into what patch/bug fixes the issue.
    Description from the above mentioned bug is our same issue.  We do not have this issue when we use patch plans against an 11.2.x oracle_home target.  It is unique to 12.1.0.2 oracle_home target.
    Description from the bug:
    The Plan failed in step "Run Prerequisite Checks" with the following errors:
    PREREQ_NAME: Minimum Version of OPatch
    PREREQ_DESC: Check if the required version of OPatch is present on the target
    PREREQ_TYPE: PATCH_TOOL_CHECK
    PREREQ_STATUS: FAILED
    PREREQ_MESG: Unable to get the version of OPatch at
    /u01/app/oracle/product/12.1.0/dbhome_2/Opatch
    We have opened an SR to see if we can get more info on what was already identified as a bug.  Has anyone else experienced this issue?  If so, can you share any patches or workarounds (other than manually applying patches) that you found useful?
    Thanks.

    You'll probably get the same info from Support, but the workaround is to use the Patch Database (however that doesn't work if there's no DB target associated to that home).   If you were trying to do patchign out of place (clone home, patch, then move db's), EM can do this for you.   If you're just installing a new DB Home and trying to patch, then i don' think there's another workaround.  The base bug is marked fixed though, so a backport for the 12.1.0.6 plugin should be available very soon.  I would ask the support analyst to request the backport for your plugin/patch level...

Maybe you are looking for