BPS User-Specific Variables by Web

Hi,
I'm triyng to setup a CC planning interface for my company.
I configured the levels and layouts and they work fine.
I run the interface with the planning folders and everything works fine but when I setup the Web Interface tha layout stops working. The message is something like "Variable XXXX can't be specified".
I'm using user specific variables in the planning level so every user can only see and modificate certain CCs.
Any ideas?
Thank you very much.

Alejandro,
Sorry, I had been at a new client this week doing a review and it is long hours so have not checked back. 
The other discussions groups I participate on is e-mail based so only checking here when I have a block of time.
What type of cost center variable are you using?  on 0costcenter or on the hierarhcy?  Are you using variable with user specific value or with of type authorization or something else?
did you configure the web interface using web enabled layout or using Web interface buillder?
Mary

Similar Messages

  • Clear BPS user-specific variable values

    Hi,
    Is there a way to quicly delete all the variable values (user ID and cost center) for a user-specific variable in BPS without access to the configuration (BPS0) or do I need to write a small piece of ABAP for that ?
    Thanks
    David

    Hello David,
    You either have to access the BPS0 and delete each of the variable values or write a little ABAP program. You could include this ABAP in a planning function type Exit so the user can press a button in a web interface or planning folder to delete the settings. The coding using internal methods you need is:
    DATA:
    lr_variable TYPE REF TO cl_sem_variable.
    Get variable instance
    CALL METHOD cl_sem_variable=>get_instance
    EXPORTING
    i_area = 'name of area where the variable is defined'
    i_variable = 'name of the variable'
    RECEIVING
    rr_variable = lr_variable
    EXCEPTIONS
    not_existing = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    do s.th., eg send a message
    EXIT.
    ENDIF.
    delete the restrictions
    CALL METHOD lr_variable->set_user_restriction
    EXPORTING
    i_user = 'user name, e.g. sy-uname'
    i_delete = 'X'
    EXCEPTIONS
    failed = 1
    OTHERS = 2.
    Best regards,
    Gerd Schoeffl,
    SAP NetWeaver RIG BI

  • User-Specific Variable in Web Interface

    I have created a manual planning layout with User-Specific variables – one for Sale Group and one for Sales District.
    The variable successfully restricts user access to data when executed in SAP GUI.
    A Web Interface was successfully generated from the Planning Folder containing the manual planning layout described above.
    When I execute planning via the web, all possible values are displayed, even though the User-Specific variable limits this user to a single value for each variable.
    Is there a way to restore the restriction defined in the User-Specific variable ?
    I saw an earlier thread indicating that the “Planning Level” property of the Selector Variable Value for each variable used in the Web Interface Builder had to be set - but that field is protected from input.
    Any insights would be appreciated !
    Thanks,
    Lyle

    Narasimha,
    Each variable was created as :
    -     Replacement Type = User-Defined Values.
    -     Restriction of Values required by User = OFF.
    -     Input Allowed by User = OFF.
    Several users are defined within each variable.
    Most users represent Sales Representatives, with a single value assigned to each – a single Sales Rep is assigned a single Group and District ( i.e one-to-one relationship ).
    The other type user represents a Sales Manager, and includes all the values assigned to the Sales Reps reporting to him.
    When Restriction functionality is turned on, the following error message is received :
    Restrict variable UDSALDST (Sales District - User-Defined) (area ZBILLIC (IC Billings Estimate)) to single value
    <b>Diagnosis</b>
    Variable UDSALDST (Sales District - User-Defined) (planning area ZBILLIC (IC Billings Estimate)) is defined so that the user must restrict the values of the variable (indicator 'Restriction of values required by user' is set). However, you have not defined a restriction.
    <b>Procedure</b>
    Restrict the variable or change the definition of the variable so that restriction is no longer required.
    •     To restrict the variable, choose Goto -> Set variables and search for variable UDSALDST (Sales District - User-Defined) in the list. Make the restriction and subsequently continue the planning session.
    •     To change the variable definition, choose the tab page Variables in the context of planning area ZBILLIC (IC Billings Estimate) and reset the indicator 'Restriction of values required by user'.
    While the first option ( Goto > Set Variables ) seems to defeat the purpose of a User-Specific variable, I tried it.  When I use F4 to determine available values, it displays those previously assigned when creating the User-Specific variable !? – this doe not seem to add any more than I already have.
    The second option effectively puts me back to where I was when I posted the question.
    Of interest though, I noticed when the Restriction functionality was turned on, the “All” value previously displayed as available for selection was no longer available – but the specific values for each of the other Sales Reps continue to be reflected, and this user can select values related to another Sales Rep..
    As mentioned in my original posting,
    I saw an earlier thread indicating that the “Planning Level” property of the Selector Variable Value for each variable used in the Web Interface Builder has to be set – but that the field is protected from input.
    Should this object property be ‘open’ to permit input ?  If so, is there a step or setting that needs to be performed.  Could authorization be an issue ?
    Thanks,
    Lyle

  • Clear Flag for BPS user-specific variable values

    Hi Experts!
    I have a 'user-specific variable' settintg with the flag 'on', then the user should choose only one value. 
    But now I need execute an abap program which read all values available for this variable. For this reason, I need clear this flag with abap code, and after put on again.
    Could somebody show me a small piece of abap code for this?
    Thank you in advance!

    Hi,
    Analysis of your question:
    <i>Second line of your question "...<b>which read all values available for this variable</b>".</i>
    1) When you mean you wish to read all possible values with which the variable could be filled up, then please use the Function Module:
    UPC_CHA_VALUES_GET 
    The parameter <b>ETO_CHAVL</b> would then return all master data of the variable's characteristic
    2) When you mean you wish to read all the variable values "<b>selected from the user in the past</b>" then use the function  module
    API_SEMBPS_VARIABLE_GET_DETAIL
    Here the table <b>ETK_VARSEL_ALL</b> returns you all the values selected by user in the past. The "<b>current selected value</b>" for the user is stored in the table "ETK_VARSEL".
    Check out these How-To Documents. If these dosen't suffices, then please elaborate your requirement, for me to write a ABAP Pseudo-code.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/324de5a1-0201-0010-dc9a-a093cde87bb5">How to use Reporting Variables in BPS</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/650ee690-0201-0010-4bb7-83c3e2a74039">How to variable of type Exit</a>
    Many regards.

  • BPS User Exit Variable based on Planning Package Selection

    Hi,
    I'm implementing a SAP BW-BPS planning layout to be integrated into the CRM we user interface.
    Most of the characteristic selections come from the CRM fields that need to be filled by the user when creates a trade promotion.
    The charcteristic selections work (as standard) just if in the planning level I flag "Selection in Package", then in package these selections are dinamically defined from what the user select in the CRM fields at runtime.
    My problem is that I have to build a BPS User Exit variable to filter, in the planning level, the proper Planning Area based on the CRM Sales Organization value.
    The characteristic CRM Sales Organization belongs to whose chararcteristic the value is determined dinamically in the planning package.
    Is it possible for a BPS user exit variable, set in the planning level, to catch the value of a characteristic selection made at planning package?
    Many thanks for your help.
    Alessandro

    Hi Indu,
    Many thanks for your answer.
    I have already took a look at the document posted by you but I didn't find the solution to my problem.
    This because i have to create a user exit variable that need to get the value of the characteristic selection in package.
    I mean in the planning level I will have the user exit variable that restrict the planning area and, his function module, need to read, at runtime, what is the value of the characteristic CRM Sales Organization restricted in package by CRM.
    So I don't have any idea to which BPS internal table I have referred to in my funcion module to catch the value of the CRM Sales Organization dinamically filtered by CRM.
    Many thanks,
    Alessandro

  • BEX User exit variables in WEBI

    Hi Experts,
    Need your help please.
    I have a report in BEX with a user exit variable wich depends on other manual input variable.
    In BEX it works properly but in WEBI it doesn't recognize the user exit variable.
    It displays the error message: Not possible to determine the value for ZPD_YEAR_DAY variable
    Error in DB.​ ​Error message is​:​ ​failure to execute the query ​M​D​X​ ​S​E​L​E​C​T​ ​ ​{​ ​[​M​e​a​s​u​r​e​s​]​.​[​D​9​C​S​1​W​7​F​A​8​F​E​O​H​J​3​T​3​2​H​4​Q​D​Z​4​]​,​ ​[​M​e​a​s​u​r​e​s​]​.​[​D​9​D​H​9​K​1​N​I​T​C​Z​E​4​U​Y​3​J​4​U​A​E​T​Z​4​]​,​ ​[​M​e​a​s​u​r​e​s​]​.​[​D​9​D​H​9​K​1​N​I​T​D​R​2​R​6​P​F​2​K​G​C​U​8​8​W​]​,​ ​[​M​e​a​s​u​r​e​s​]​.​[​D​9​C​S​1​W​7​F​A​8​E​M​Z​V​7​C​H​J​M​V​2​A​Z​P​C​]​,​ ​[​M​e​a​s​u​r​e​s​]​.​[​D​9​C​S​1​W​7​F​A​8​K​0​S​7​H​N​Q​B​O​5​J​A​R​L​S​]​,​ ​[​M​e​a​s​u​r​e​s​]​.​[​D​9​C​S​1​W​7​F​A​8​G​6​D​3​U​V​4​M​I​3​7​5​S​8​W​]​,​ ​[​M​e​a​s​u​r​e​s​]​.​[​D​9​C​S​1​W​7​F​A​8​H​P​Q​C​I​D​R​P​D​B​C​0​K​S​G​]​,​ ​[​M​e​a​s​u​r​e​s​]​.​[​D​9​C​S​1​W​7​F​A​8​I​H​E​Y​U​5​3​8​S​X​E​F​Z​2​8​]​,​ ​[​M​e​a​s​u​r​e​s​]​.​[​D​9​D​H​2​8​D​W​V​F​6​7​4​2​E​6​4​Z​O​L​8​F​X​3​4​]​ ​}​ ​ ​O​N​ ​C​O​L​U​M​N​S​ ​,​ ​N​O​N​ ​E​M​P​T​Y​ ​C​R​O​S​S​J​O​I​N​(​ ​C​R​O​S​S​J​O​I​N​(​ ​C​R​O​S​S​J​O​I​N​(​ ​C​R​O​S​S​J​O​I​N​(​ ​C​R​O​S​S​J​O​I​N​(​ ​C​R​O​S​S​J​O​I​N​(​ ​C​R​O​S​S​J​O​I​N​(​ ​C​R​O​S​S​J​O​I​N​(​ ​C​R​O​S​S​J​O​I​N​(​ ​ ​{​ ​[​0​C​A​L​Y​E​A​R​]​.​[​2​0​1​0​]​ ​}​ ​,​ ​ ​{​ ​[​0​H​A​P​_​D​O​C​_​I​D​_​_​Z​A​P​_​S​U​B​S​T​]​.​[​5​0​]​,​ ​[​0​H​A​P​_​D​O​C​_​I​D​_​_​Z​A​P​_​S​U​B​S​T​]​.​[​7​0​]​ ​}​ ​ ​)​,​ ​[​0​I​N​F​O​P​R​O​V​]​.​[​L​E​V​E​L​0​1​]​.​M​E​M​B​E​R​S​ ​)​,​ ​[​Z​D​A​T​E​_​A​T​]​.​[​L​E​V​E​L​0​1​]​.​M​E​M​B​E​R​S​ ​)​,​ ​ ​{​ ​[​Z​C​P​M​]​.​[​X​]​ ​}​ ​ ​)​,​ ​[​Z​P​R​O​M​O​C​A​O​]​.​[​L​E​V​E​L​0​1​]​.​M​E​M​B​E​R​S​ ​)​,​ ​[​Z​R​E​S​P​_​A​V​L​_​_​Z​N​I​V​_​C​A​R​R​]​.​[​L​E​V​E​L​0​1​]​.​M​E​M​B​E​R​S​ ​)​,​ ​[​Z​R​E​S​P​_​A​V​L​]​.​[​L​E​V​E​L​0​1​]​.​M​E​M​B​E​R​S​ ​)​,​ ​[​Z​N​I​V​_​C​A​R​R​]​.​[​L​E​V​E​L​0​1​]​.​M​E​M​B​E​R​S​ ​)​,​ ​[​0​E​M​P​L​O​Y​E​E​]​.​[​L​E​V​E​L​0​1​]​.​M​E​M​B​E​R​S​ ​)​ ​D​I​M​E​N​S​I​O​N​ ​P​R​O​P​E​R​T​I​E​S​ ​M​E​M​B​E​R​_​N​A​M​E​,​ ​M​E​M​B​E​R​_​C​A​P​T​I​O​N​,​ ​[​0​E​M​P​L​O​Y​E​E​]​.​[​2​0​E​M​P​L​O​Y​E​E​]​,​ ​[​0​E​M​P​L​O​Y​E​E​]​.​[​4​0​E​M​P​L​O​Y​E​E​]​,​ ​[​0​H​A​P​_​D​O​C​_​I​D​_​_​Z​A​P​_​S​U​B​S​T​]​.​[​2​0​H​A​P​_​D​O​C​_​I​D​_​_​Z​A​P​_​S​U​B​S​T​]​,​ ​[​Z​R​E​S​P​_​A​V​L​]​.​[​2​Z​R​E​S​P​_​A​V​L​]​ ​O​N​ ​R​O​W​S​ ​F​R​O​M​ ​[​Z​A​V​D​P​_​M​0​1​/​Z​P​D​_​G​P​S​_​V​A​R​I​A​V​E​L​_​0​0​2​]​ ​ ​with error:​ Not possible to determine the value for ZPD_YEAR_DAY variable​.​ ​(​W​I​S​ ​1​0​9​0​1​)
    This ZPD_YEAR_DAY variable​ is the user exit variable.
    Thanks in advance,
    José Simões

    Hi!
    I am following up to this post to see if there is something I am missing.
    We have bex query with user exit variable and webi bi4sp04.4
    In bex the user exit variable works correctly, in webi, it is ignored  (the webi results are not filtered as they are in bex web results)
    I have tried moving the variable to the char restrictions and removed ready for input - so there are now no prompts in bex query.
    I have reviewed note 1611185 as well as other info on restrictions of BICS and webi, but cannot find a clear answer if bex user exit variables are supported in BI4 clients or not.
    Lee Lewis

  • #unavailable on User defined variables in WEBI  using BEX (BO 4.0)

    Hi Experts,
    I am using Business Objects 4.0 SP2   with SAP BEX.
    I am using WebI and from WebI I direcltly connect to BEX connection and pull the report.
    I have a field in which i need to do like this
    if the value of a is between 1 to 5 then the result will be 10%
    if the value of a is between 5 to 10 then the result will be 20%
    if the value of a is between 10 to 15 then the result will be 30%
    The above is acheived but if I put the sales revenue with the above varilable
    it gives me #unavailable
    Above Said Variable        Sales Revenue
    10%                                      #unavailable
    20%                                       #unavailable
    30%                                          #unavailable
    Please let me know if we have any solution for this
    Regards
    Lekshmy

    Hi,
    it is not possible to change the aggregation currently. this is under review for a later SP
    Please take a look at Note 1603634 - BI 4.0: #UNAVAILABLE in Web Intelligence report using BEx query when adding a variable based on a dimension
    it describes a workaround an explanation from Product Group:
    "Imagine the formula for the dimension returns the fist letter of the country:
    All countries starting with 'A' would aggregate into a single line: but this is local aggregation and the measure are defined to be aggregated on the back end.
    When you are sure that the formula will not produce aggregates (1 value of the formula <-> 1 single value for the dimension) then you can use the workaround with the detail*.
    This will not be fully addressed with 4.1: only for measures that aggregate on 'Sum'. They will be no longer delegated, but aggregated locally with 'Sum'."
    *Possible workaround: define the variable as a detail, and associate it to the original dimension. Included it in the block along with the original dimension, which needs to be formatted to be hidden.
    Regards,
    H

  • User-specific Selection Variables in Variants

    Hi,
    I am triing to follow the tutorial in the help.sap.com concerning the variants.
    http://help.sap.com/saphelp_47x200/helpdata/en/c0/980386e58611d194cc00a0c94260a5/frameset.htm
    I would like to create a User-specific Variables for a variant.
    I created set/get param for my report, I also created entries in the user master record. But: In the variants maintenance tool (SE38). First I edit the attributes of my variables and choose the selection variable option for some fields. Second I highlight in green the user specific column stoplight. But clicking F4 doesnt propose any value. Then saving doesnt work neither.
    Thank you,
    Younes

    Umar,
    When I click on the button save a modal popup it says "Variables not supplied with values. Save anyway?". I dont know how to supply the variables with values.
    With the Function module VARI_USER_VARS_GET I am not able to Read existing variable values. Also in the selection screen of my report the menu  Goto -> User variables is not enabled. Maybe I am missing something? Could you help me.
    Thanks,
    Younes

  • How To guide...for Flat File upload for User-Defined variables

    Has anyone got link to the guide that describes how to do a flat file upload for populating User-Defined Variables ?
    Any assistance will be appreciated.
    Uche

    SAP BW Business Planning and Simulation "How To" Guides
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ab9fd590-0201-0010-2590-be78eb70015c
    How to Upload User-Specific Variable Selections in BW-BPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to upload user-specific variable selections in bw-bps.pdf
    this is what you are looking for ?
    Message was edited by: Murali

  • User Defined Variable in REPOST function

    Hai friends,
    I have a planning package where i have defined a Planning function for REPOST. What I want to do is to change a characteristic value based on the User entered another characteristic value. For instance say there are 2 characteristic C1 and C2 , I want the user to enter the set of values of C1 for which C2 value must change. For this , i created a USER SPECIFIC variable and put in  the selection condition of parameter group. But when I execute the function , it doesnt ask for the C1 value and changes the C2 value for all records.
    It is highly urgent. Kindly help !
    Regards,
    Neha Solanki

    Hai friends,
    My problem has been resolved.
    It was a mistake at my end.
    Regards,
    Neha Solanki

  • How to create an user input variable in SEM-BPS?

    Hi,
    anyone please guide me how to create an user input variable in SEM-BPS? I want to utilized user input variable to udpate characteristic with repost function.
    I tried to create in planning folder, variables right-click create, but the system said 'operation cannot be executed here'...
    please help....
    thanks.

    Hi Bindu,
    would you give me one more help,
    I want to use the variable created for a repost process, how do I achieve that?
    My scenario:
    - There will be a repost function on the planing folder
    - User can select a row or many rows then click the repost function button, then a popup window will appear for user to input the value for the variable
    Is it possible with the scenario? Please advise if I can use standard repost function or should i create a FOX or exit function for this purpose.
    thanks.

  • User exit variable I_STEP=1 does not show default value WebI selection scr

    Hello,
    We have a BW query with a user exit variable. We have written user exit code under I_STEP = 1 so that the default value for the field is displayed on the selection screen to the user. Works very well on the BW side.
    We based a universe on top of the query and then created a WebI report.
    When the WebI report is executed the default value is NOT seen on the selection screen,
    Note:
    1. If the user exit variable is optional and we execute the report, the default value is NOT seen on the selection screen. However if the report is executed without entering any value for the field the logic under I_STEP = 1 is picked up and the report gets the correct output
    1. If the user exit variable is mandatoryand we execute the report, the default value is NOT seen on the selection screen. The user now has to enter the value for the field.
    The scheduled reports will work in case of optional user exit variable.
    However this amounts to loss of functionality.
    Is this a known bug?
    Is there a way to display default values based on user exit variables on the WebI selection screen?
    Kindly advice. Btw we are on XI 3.1 SP3
    Rgds
    Edited by: Anup Deshmukh on Jun 29, 2010 11:13 PM

    OSS Note 1285993 - "Support of Customer Exit Variables from BEx query into WebIntelligence via OLAP universe"  deals with this issue and has deemed it out of scope for XI 3.1 SP3.
    Rgds

  • "Global" BPS Variable in WEB Planning Folder/Layout ?

    We want to create a dynamic planning in the WEB where an administrator could change for all planners every month the variable "Planning Period". The Variable has to be restricted to a single value (WEB Restricion) to get no error when opening the WEB Layout. This could be achieved if every user "set variable" per default a value (best the actual) but this could not be done by the administrator! Even it is called a global variable it has to be set by each user (in the SAPGUI)! I could nor believe that we are the only who needs this functionality. Does anyody have an idea? Please advise.
    Thanks Didi

    Hi Frank, you are right but it is very exhausting to discuss with the customer about data consistency and the planning process. The tool has to follow the wishes...
    But from technical view I believe that ist should be possible to set on global Level (admin) an initial variable value to start a planning session. Actual I could not see (without EXIT) a solution in the WEB to set a Variable (Version or Month etc.) in this way. It should be shure that the planner has a "global default" but could change this if it is necessary. Do you have any idea?
    Thanks Dieter

  • How does java access user specific environment variables ?

    Hi,
    I'm running a java application on a W2K o/s. My application needs to be able to access the user environment variables in Windows but I don't know how to do this. Can anyone help ?
    Thanks.

    http://www.rgagnon.com/javadetails/java-0150.html

  • To retreive the data based on input in a variable in web interface.

    Hello all,
    I am working on BW-BPS.
    I have a web interface which has many variables.One of them is Version.
    I fill in the values in the variables(including the version) and save the data.
    This saves the plan data in the Infocube.
    Now next time the user opens the web interface.when he enters the version which is existing in the cube,then
    all the variables should get filled in with the values in the cube for that particular version.
    how do i achieve this??I mean how do i code this in the BSP page of my web interface.
    I have read about methods for redefinition in the class CL_UPWB_BSP_APPL.but do not know much about this.
    Regards,
    Dhanya.

    hi,
    you have to create a sub class of CL_UPWB_BSP_APPL i.e(create a class whose super class is CL_UPWB_BSP_APPL).
    since the BSP Event Handlers are implemented in it
    you can change accordingly.
    check this for enhancement for web interface:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/62/e5a562753511d5b3d70050dadfb23f/frameset.htm
    regards,

Maybe you are looking for