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

Similar Messages

  • 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

  • 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

  • Unable to capture trace, when user logs in throuigh Web Interface

    The Trace shows 'No Records Found', when user logs in through Web Interface of CRM. But there is Trace found, when the same user logs in through logon pad and carries out normal actvities.
    sufficient auth. is provided.
    Is there any setting in ST01, through which i can get trace , when user logs in through Web Interface
    Regards

    ST10 traces 1 instance only.
    Your CRM web interface could use another instance than your backend. Go to transaction SM21, choose the appropriate server and run ST10 again.
    Succes!
    Kind regards,
    Lodewijk Borsboom

  • 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

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

  • User who opened a web interface

    Hi all,
    I'd like to know if a certain user is using a web interface or a planning layout, but looking in a sytem table and not with a tcode (once I found this table but now I can't remenber the name).
    Anyone can help me ?
    best regards,
    Mirco

    Hi all,
    I'd like to know if a certain user is using a web interface or a planning layout, but looking in a sytem table and not with a tcode (once I found this table but now I can't remenber the name).
    Anyone can help me ?
    best regards,
    Mirco

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

  • Range of Variable in Web Interface Builder

    Hi,
    I have created a Web Interface Builder in BW-BPS. I have created Cost Center as a Variable. However, I am unable to get this range of cost centers say 1001 to 1005 in Web Inteface Builder.
    Whereas, in the Planning Folder, this works fine and I am able to select the range of Cost Centers from 1001 to 1005.
    The issue is only with WEB INTERFACE BUILDER.
    Looking forward for some valueable inputs.
    Regards,
    Ravi

    Hi Mayank,
    Thanks for your reply.
    I will also look at the different options given.
    I also found the following thread is more useful.
    BSP Value Help Input Field and Select-Options Ranges
    I will let you know on this.
    Regards,
    Ravi

  • Add users to OpenDirectory through web interface??

    Is there any way to implement a solution where people can create an account on my OpenDirectory server through a web interface instead of having to go through the OS X Server application?

    Not an answer, but maybe some pointers to how this'd probably work when you write your own...  Haven't seen such a tool and don't see one posted anywhere, but wrapping a CGI script around the command line user creation tools shouldn't be that difficult, likely starting from this Apple user-creation script, and invoked via CGI. 
    Probably the most challenging part of all of this work will be getting su_exec installed, configured and working within OS X Server, or you'll have to figure out how to communicate between the web form and something with administrative access to the directory server; of getting the Open Directory access necessary for the user creation.
    I've built an application allowing users to anonymously request a login (for another platform, not web based and not tied to Open Directory), and it can be a decent-sized development project by the time you add in error checking, logging, the inevitable forgotten-password-reset support, and related features.

  • Few Issues as a beginer on 'Variables' and  'Web Interface'

    Very very new to BPS..
    Dear Friends,
    I have the following 2 issues ( Actually many.. but this post has restricted to only 2..   )
    1) I have created a Characteristic 'Variable' with User Exit and filled by using FM ZXXXX to with some value on Planning Area. No syntax errors.. but looks like this has no affect (or) not triggered when I try to add some values from the 'Layout'??
    Are varibles are for different use? (or) Am I missing anything?
    2) I have generated WebInterface from a Planning Folder and when I tried to execute in the Web (using BPS_WB).. it showed an authorisation error..
    HTTP 403 Forbidden error...
    Can any one help me out?
    Regards,
    Hari

    1) I just figured it out that 'The variable' has to be selected in the planning level to make it apply. I also noted that the FM is getting triggered..
    I was just defaulting the varible with one value and saw in the debugger that it is doing that.. but that has no affect on the 'displayed' results or when I make new entries from the layout.. ?
    can anyone try to explain me whats happening?
    regards,
    Hari
    Message was edited by: Hari Kiran Y

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

  • Web Interface Builder & Variable???

    Hi,
    Can someone help me to resolve this two issues.
    I try to create variables by using web interface builder.
    <b>1)</b>The variable- company code-<b>US100, CA100</b> are only ones I use in the selection of my planning leveL. <b>However, it shows all possible entries for the variable-company code</b> when I added the variable-company code in the web interface builder.
    <b>2)</b>Another variable-forecast year, I created it in the planning area (using 'fiscl year') and try to add this variable in the web interface builder and got <b>an error message-the selection to 0fisclyear is not 'restricted'.</b>
    Advices are appreciated.
    J.

    1) Set "Planning level" property of selector for you variable in web interface builder
    2) Restrict fiscal year

  • Filtering by Keyfigure in web interface

    Hello,
    I would like to add a radiobutton/variable in web interface, when clicked - that would have to filter out the keyfigures that are 0 and provides the list of characteristics that have non-zero in the layout. Any ideas on how this can be implemented? ( I do not want to delete those records, since they will have to be used in the calculations/copy functions, but will have to filtered out for just display).
    Thanks
    Priya

    Srini,
       My scenario is to list out all the PO's for a specific marketing brand. The screen is used by users to enter '% complete' by PO( this is used to accrue amounts and to calculate their forecast automatically). The need for the 'push button' is to filter the PO's that have 0 balance. ( Sometimes , users may want to enter % complete on the 0 balance POs as well).
    The "transaction data" will have all the PO's - with 0 balance as well and I need these POs to calculate the forecast, however , I do want to give the users flexibility not to list them in the screen.
    Priya

Maybe you are looking for

  • Time Machine no longer does hourly backups

    Time machine has quit doing its hourly backups.  I have two disks defined to Time Machine.   One is Firewire and the other eSATA.  So neither drive is on the network.   This has been working for a very long time this way.   The other day one of the d

  • Oracle BPM 12c: getting error while opening of bpm project in bpm composer

    Hi, I am importing bpm project into bpm composer from jdeveloper using PAM and export/import utility but I am not able to open it into the bpm composer. I am getting following error: javax.faces.el.EvaluationException: java.lang.NullPointerException

  • Where can i get a wallet like case for my iPod touch fourth gen.

    So, I am getting a fourth gen. iPod touch for x-mas, and i need to get a case that is wallet like or durable. Are there any brands that you think are well made, durable, long lasting, etc? please let me know what you have or what you have had in the

  • Image stretched on Samsung 16:9LCD TV connected to Satellite M100

    Hi there, I'm struggling to work out why my 40" lcd will only show a stretched image when I connect my Satellite M100 via the vga output. Two weeks ago I was watching movies in the correct resolution and aspect ratio using the tv as an extended deskt

  • Get old item name for renamed files using TFS API

    My current tfs will be retired in next few months.I am using tfs api to create a parallel tfs on a new server from the existing one. I have folders and solutions that have been renamed. I am iterating items and based on their changetype(add, edit, de