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

Similar Messages

  • 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>

  • ABAP Function for renaming of a planning level?

    Hi all,
    i wanna know if does exist an ABAP Function for renaming of a planning level or parameter group.
    Someone can help me please?
    Thanx a lot,
    Paolo.

    <Font Face="Tahoma" Color="Blue">
    Hi,
    I don't think any such Function Module exists. Nonetheless I can give you a good hint.
    All the details of all planning objects (Planning Areas, Planning Levels, Planning Functions. Parameter Groups etc) are stored in UP* Tables. Just go to T-code SE11 and search for tables with name UP*.
    Once you know the tables, you can write your own customized ABAP code.
    PS: I can recommend above method to just read the details of Planning Objects. I don't think you should be ambitious to change planning object names by attempting to change system table contents. Hope you are getting me.
    Regards,
    Abhijit
    </Font>

  • How to create Inpection Lot Z01 & 04 Type for same Material different Plans

    I am trying to create an Inspectoin Lot for two different Inspection Types.  One for (Z01) Incoming Inspection via MIGO and the other for (04) GR Inspection for Production via MFBF.  The problem is I have the same Material for two different Inspection Plans.  The Z01 Inspection Type was copies from the 01 Inspection Type only difference is I activated the Multiple Specs feature for Z01.
    1st Plan = Materia Group....BM206014,  Group Counter....1  (GR Incoming Inspectoin Z01 type)
    2nd Plan = Material Group....BM206014,   Group Counter....2    (GR Inspection for Production 04 type)
    A)  When I do the (Material Backflush) MFBF for the 04 type, the Inspection Lot gets created OK.  I then can go into QA32 and assign the correct Inspection Plat by clicking the Inspection Lot button.
    B)  When I do the MIGO via the Purchase Order (type Z01), it will not create the Lot if I have the Multiple Specs selected in the QM Material Master MM02.  If, I turn off the Multiple Specs in the QM Material Master and create a new PO and MIGO, it will create the Lot, however, it automatically assigns the lot to the wrong Inspection Plan (2nd Plan see above)  I need to be able to select the plan like I can with the 04 type.
    Is their some setting that can be changed in Config or somewhere that acts the same way as example A above?

    >
    dhayes12 wrote:
    > A)  When I do the (Material Backflush) MFBF for the 04 type, the Inspection Lot gets created OK.  I then can go into QA32 and assign the correct Inspection Plat by clicking the Inspection Lot button.
    >
    > B)  When I do the MIGO via the Purchase Order (type Z01), it will not create the Lot if I have the Multiple Specs selected in the QM Material Master MM02.  If, I turn off the Multiple Specs in the QM Material Master and create a new PO and MIGO, it will create the Lot, however, it automatically assigns the lot to the wrong Inspection Plan (2nd Plan see above)  I need to be able to select the plan like I can with the 04 type.
    >
    > Is their some setting that can be changed in Config or somewhere that acts the same way as example A above?
    For case A, create insp plan with usage "1- production" If you have one IP with this usage for given material then system will assign Plan to lot automatically. In your case for second plan update usage as 1.
    For case B, system should assign 1st plan make sure for both plan udage is correct. for 1st plan usage should be 5 while 2nd plan usage should be 1. Now if your 1st have status 4 and key date before lot date then system will assign plan auto.
    Thanks!!!

  • Restriction with multiple variables for a characteristic present in Row

    Hi all,
    I am facing a problem when I am restricting a characteristic in the 'defaut value' section of the filter tab.
    Details of the problem is given below:
    Characteristic is restricted by 3 variables. When I execute the query for the first time there are no problems. I can enter value for all the three varaibles.
    But when I want to change the variable value, the variable screen does not list the variables and the system displays the following message.
    'variables could not be processed'.
    Diagnosis
    In the query definition, the default values of characteristic are stored as variables. The system tires to fill these variables again from the last restrictions so that it can use them as default values. In this case, however, the restriction is so complex, that the variable values cannot be reconstructed from it.
    System Response
    Procedure
    Change the restrictions in the query result if necessary.
    Kindly help to resolve this issue.
    Thanks in advance.
    Meera

    Hi All,
    Even I faced the same issue, and the issue is resolved with above solution.
    Now the second time I'm able to see the variable in Analyser, but now the output is not getting refreshed as per the variable entry for the second time.
    Thanks,
    Gaurav

  • 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

  • Query Designer: diferent selection for same key figure

    Hi,
    I have some queries that compare many key figures (Total sales, margins,...) between different periods for the same plant or between different plant for the same period or between different periods and plants. For do that I have 2 key figures for each concept (Total sales 1, Total sales 2, Margin 1, Margin 2,....) And two selection variable for each characteristic (plant 1, plant 2, period 1, period 2).
    So I put a selection for "1 characteristics" for each "1 key figures" and a selection for "2 characteristics"  for each "2 key figures". Simple but laborious.
    My customer, than want to maintain queries himself, ask me for a more "smart" way to do that. Can anybody help me?

    Hi,
    What i can suggest you is to make three new columns and respectively name then small team medium tam and big team.
    For first column wirte a condiiton like (SPOC < 10 ) * 1
    Second column condition (SPOC >10 AND SPOC < 30 )*1
    Third column condition (SPOC >30 )*1
    Make use of boolean operators to make these conditions.
    SO whenever your conditions satisfies it will give 1 there in there respective columns and for rest it will be blank.
    If your requirement is different then please sample output of your report.
    Hope it helps.
    Regards,
    AL

  • Variable for Query without changing Datamodel

    Hello Experts,
    I need in the Query a variable, which should have inpact on the processing in the user-exit. This variable should no be used directly for constraining data.
    It is an Yes/No variable. And I don't have in my multicube any characteristic which have Yes/No in their domain.
    In such situation I have always added to Multiprovider and Cube an new characteristic and created an variable for this characteristic.
    But I don't like this solution, because this changes in the datamodel are in really not important for the datamodel. It only an work around for getting the possibility of adding a variable.
    Does someone know an better idea for adding variables to query, without changing datamodel like this.
    Thanks
    Wojciech

    Hi Bhanu,
    Not really - I don't want to change Cubes.
    Thanks
    Wojciech

  • 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

  • Using a variable for STS Planning Sequence

    Hi guys,
    I would like to execute planning sequence when users approves data for Profit Center in STS. The filter used in the planning sequence have a variable for Profit Center. This is not working.
    Whats the altenative of using a variable Instead of creating planning sequence for every profit center? Pls assist

    The planning sequence runs when the user approves on STS. The planning sequence runs for all profit center (this is a variable in the filter). I want to execute planning sequence for the profit center level selected on STS.

  • 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

  • 2 variables on the same characteristic

    Hi Experts,
    Currently I'm using BEx BI7.x.
    I restrict a characteristic Scenario with 2 variables for FACT and PLAN. When entering both values on the selection screen and opening a workbook the PLAN variable is Not assigned. When I update the workbook with different value for PLAN variable it is assigned the value I've selected.
    Any ideas?

    Hi,
    Check the conditions if you are using any.
    Regards,
    anil

  • Variable (optional) and exclude value(#) for single characteristic

    Hi,
    In the reporting i want to apply variable and also fixed value restriction for one characteristic.
    Example: I want to apply variable(single and optional) for plant  and also restrict not assigned values(#)
    I created variable (given single and optional)and also excluded #  for plant but at the run time the variable act as a mandatory variable.
    please help me.
    Thanks
    vijj

    Hi Vijj
    in your case that is not possible.here i am providing diagnosis of the SAP in which cases the optional is not possible.so try creating a customer exit variable.
    Diagnosis
    An optional entry for is not possible in the following cases:
    is used in a selection row with Exclude (SIGN = E).
    v1& is used in a selection row whose operation is not EQ or BETWEEN.
    The selection row is an interval and both the from value and the to value are optional variables.
    The selection is a structure element (FEMS >0) and comprises multiple rows for the same characteristic.
    System response
    Procedure
    If you are able to accept the mandatory entry, you need not do anything. In the third case, you can use an optional interval variable. In the latter case, you define two or more (not visible) selection
    elements that you combine with a formula element.
    Procedure for System Administration
    Praveen.
    Message was edited by:
            praveen

  • Two selection option-variables for the same object

    Hi,
    I'm using two selection-option variables for the same characteristic in my query:
    One is authorization variable and the other is used for restrictions (filter) in a selection screen.
    I get an error: SELOPT/Query variable .... does not allow any further selections.
    If a selection option-variable is used, no additional selections can be specified for this characteristic in this element.
    Is there a way to overcome this problem?
    Thanks,
    Hagit

    Hi,
    I have solved the problem by changing the authorization object (in RSECADMIN) from range to single value and also the variable in BEx from selection single value.
    To be more clear:
    object in RSECADMIN was: infoobject BT var1 - var5
    I have changed it to:
    infoobject EQ var1
    infoobject EQ var2
    infoobject EQ var3
    infoobject EQ var4
    infoobject EQ var5
    Hope this helps.
    Hagit

  • Characteristic Selection u201Cnot assignedu201D on planning level

    Hi experts,
    we are using BW-BPS.
    On planning level selection some characteristics have the following condition.
    0PROFIT_CTR     Equal to: #
    What does it mean exactly ?
    What is the difference between  u201Cno selectionu201D and  = u201C#u201D ?
    Thanks

    If it is blank, then any underlying layouts, or functions can be run for any specifiv profit centres, or all possible profit centres including 'not assigned' - there is no restriction at the Level, so all will be read.
    if the restriction is set to #, then the functions/layouts can have no assigned profit centre, and no postings will be made on any profit centre (or whatever the characteristic is set to). (It is more like leaving the chracteristic completely out of the level than leaving it blank).

Maybe you are looking for