Restriction based on Variable as well as Fixed Values

Dear Friends,
I have a peculiar situation to be addressed. One of the characteristics is Division with values 01,02,03....09. The user wants to restrict from 01....05 and also he wants the same to be in selction screen with variable option to choose from the restricted 01.....05.
Could you pl. help.
Kind Regards
Paddy

Dear,
I think authorization may help you.
create an authorization object, and give proper authorizations.
hope this will help you.
Regards
Vinay

Similar Messages

  • How to  restrict the output of 0VENDOR by excluding the # value in rows?

    We generated a query whose InfoProvider is 0Vendor. Run the query, find the last row shows # as Vendor number and the description of it is "Not Assigned".  Then we go to this query design screen, pick 0Vendor in the rows frame, right click and select Restrict, there are two tabs, one is "Fixed Values", the other one is "Variables".  Click "Fixed Values" tab, can see that 1st value is "#", but from this window, we can't see any place to exclude this "#" value. 
    We are very appreciated anyone's input on how to get rid of the "#" value when run query.
    Thanks

    Hi,
    Eliminating # in the result area..
    Necessary steps to avail this functionality:
    Written a VB macro for the same
    Here are the steps to do the same
    1) In excel menu Tools->macro
    2) Enter the macro name say SAPBEXonRefresh
    3) click 'create', will go to visual basic editor
    4) To display '#' as '' “ ( blank) paste the following code
    Sub SAPBEXonRefresh (queryID As String, resultArea As Range)
    Dim c As Range
    For Each c In resultArea.Cells
    If c.Value = "#" Then c.Value = ""
    Next c
    End Sub
    5) Close the editor and click on refresh again.
    After refresh you will get blank in the columns with #.
    Hope this will help you.
    Thank you,
    Regards,
    G.Ram

  • Fixed & Variable Cost flow to COPA Value fields

    Hi All,
    I am using the Fixed & Variable Cost option that has to flow to COPA (under which mechanism it will flow to COPA Value fields).
    as structure based sample from OKTZ to KE4R
    OKTZ
    KE4R
    01
    10
    Raw Material
    3
    Sum of Fixed & Var
    ROHST
    Raw Material Cost
    01
    20
    Power
    1
    Fixed Amt
    VVPOW
    Power
    01
    30
    Labour
    1
    Fixed Amt
    VVLAB
    Labour
    02
    10
    Raw Material
    3
    Sum of Fixed & Var
    ROHST
    Raw Material Cost
    02
    20
    Power
    2
    Var Amt
    VVPOW
    Power
    02
    30
    Labour
    2
    Var Amt
    VVLAB
    Labour
    While I run Std cost estimate it will show me "Power & Labour" -as per KP26 Fixed & Variable
    Power
    Fixed Cost 
    15
    Variable Cost
    8
    Labour
    Fixed Cost 
    10
    Variable Cost
    5
    How it ditribute to COPA Value Fields the below amounts

    Any replies ...........pls

  • Excluding a fixed value with variable defined

    Hi
    In Bex report , a variable is defined already.
    Now the requirement is to exclude (FIXED VALUE) i.e batch with value #.
    if using the restrict option of this charactersitic, i am not able to select both fixed value(which is to be excluded)  and the variable (already defined) simultaneously.
    Message is coming as variable is complex...so cannot select both FIXED VALUE and FIXED VALUE)
    Please suggest a solution
    Regards
    DJ
    Message was edited by:
            Vidyut Kichambare

    Vidyut,
    It seems to work fine for me - select the variable you want and also the fixed value you want to exclude and it should work fine.
    select the variable and then go to the fixed values tab and select the value you want to exclude and select it and do an exclude on the same - ideally when you select a value using a variable - the # would get automatically excluded - not sure why you want to exclude # along with the variable.
    Arun
    Assign points if useful

  • WEBI prompt based on bex variable suppress not assigned hashtag value in LOV

    Hi,
    is it possible to suppress the "Not assigned (#)" value from the list of values in a webi prompt based on a bex variable?
    This "Not assigned" value is something BW specific, BW adds this to each characteristic automatically?!
    WEBI:
    RSRT:
    It needs to work in WEBI, not only in RSRT, and the filtering of data still needs to work.
    For rsrt it works, when you exclude the not assigned value in "Filter > Characteristic Restrictions" and use the bex variable in/through "Filter > Default Values", but this does not work in WEBI, because the BEX Query Data is not filtered on the in the prompt selected value.
    Thanks.
    Regards
    David

    Thanks David for a quick reply !
    I could manage to avoid # values in WebI prompt using BAdI implementation, here is the brief:
    Problem:
    WebI report prompt (which shows BEx variable) list of values shows blanks or # . Rrequirement was to avoid these blanks or #
    Environment:
    BW 7.3
    BO 4.0
    BW Cube > BEx Query > OLAP Connection > WebI report
    Solution:
    InfoObject Level1 in BW had # values in masterdata, this could not be deleted since it was in use with other Cubes.
    Vaurable Var_Level1 displays # when pressed F4 running BEx query and in list of values in WebI report prompt.
    I implemented BAdI on Level1 info object and variable Var_Level1.
    Steps to implement BAdI are as in following link
    BEx Query - Control the values which are shown on F4
    Used following code to elimitate #.
    METHOD IF_RSR_VARIABLE_F4_RESTRICT~GET_RESTRICTION_FLAT.
    DATA: l_s_range     LIKE LINE OF c_t_range.
    DATA: l_var_range   LIKE LINE OF i_t_var_range.
    DATA: IT_MZLEVELS TYPE TABLE OF /BIC/MZLEVELS,
    WA_MZLEVELS LIKE LINE OF IT_MZLEVELS.
    DATA: L_ZLEVEL1     TYPE /BIC/OIZEVEL1.
      IF i_vnam EQ 'ZV_LEVEL1'.
    SELECT /BIC/ZLEVEL1
    FROM /BIC/MZLEVELS
    INTO CORRESPONDING FIELDS OF TABLE IT_MZLEVELS
    WHERE OBJVERS       = 'A'.
    IF SY-SUBRC NE 0.
    EXIT.
    ENDIF.
    SORT IT_MZLEVELS BY /BIC/ZLEVEL1.
    DELETE ADJACENT DUPLICATES FROM IT_MZLEVELS COMPARING /BIC/ZCLV1GP.
    DELETE IT_MZLEVELS WHERE /BIC/ZLEVEL1 = ''.
    l_s_range-iobjnm = i_iobjnm.
    l_s_range-sign   = 'I'.
    l_s_range-option = 'EQ'.
    LOOP AT IT_MZLEVELS INTO WA_MZLEVELS.
    l_s_range-low    =  WA_MZLEVELS-/BIC/ZLEVEL1.
    APPEND l_s_range TO c_t_range.
    ENDLOOP.
    ENDIF.
    ENDMETHOD.

  • Restricting particular session variables being shared

    i am using weblogic 10.3.
    I have an EAR with has 2 WAR in it , with session sharing enabled in the weblogic-application.xml . I understand that this will make all the variables that are added in the session to be shared by both WAR, but i want a particular variable added in the session not to shared by both WAR, it should be accessible by only WAR1.
    Please help me
    Zeeshan

    "Restricting particular session variables being shared"
    You can use the 'transient' keyword for this purpose, for example,
    public class Example implements Serializable {
        private String replicate;
        private transient String notReplicate;
    }The 'replicate' attribute is replicated when the Example object is put in the session, the 'notReplicate' attribute is not.

  • Best practices for setting environment based static variables?

    I have a set of static string variables that hold the url location of modules in a project. These locations change depending on whether I'm building for development, staging or production.
    What's the best way to set static variables in this way?

    I don't know if this is best practice, but here's the solution I've come up with.
    The root domain is accessible within the swf via a node on a loaded xml file. So I created a simple method that sets a url variable based on that domain node.
    The domain-based url variable is then used within the static string variables that define the location of the modules.
    Simplified like so:
    var domain:String = xml.node.value;
    static var bucketLocation:String = getLocation()
    static var moduleLocation:String = bucketLocation + "modulename.swf";
    function getLocation():String
         var loc:String
         switch (domain) {
              case stagingUrl:
                  loc = "pathToAmazonStagingBucket";
                   break;
              case productionUrl:
                   loc = "pathToAmazonProductionBucket";
                   break;

  • CRM: PFCG Roles restricted based on Sales Organization

    Hi,
    I have a requirement in SAP CRM 7.0 to create roles restricted based on Sales Organization(locations). We have two Sales Organization XXX and YYY, for which users need to be restricted. I have used the following objects for this regard.
    CRM_ORD_OP,  CRM_ORD_LP, CRM_ORD_PR, CRM_ORD_OE,  CRM_BP_SA
    Every user has assigned a sales role in which the above objects are deactivated and separate roles with values to the objects, with respective Sales Org values for the objects CRM_ORD_OE,  CRM_BP_SA been provided. I have assigned these roles to respective users (User A with XXX, User B with YYY) based on their sales org locations. These users are positioned in the Organizational Model (PPOMA_CRM) under their respective Sales groups as per the requirement for the object CRM_ORD_LP, and authorization to this object is restricted to A for CHECK_LEV (Your Own Sales Organization). We use * for the objects CRM_ORD_OP and CRM_ORD_PR, as we do not control these.
    After restricting all these, we do not find that the result not appearing as we expect, that is, restricting the sales organization data. We need all accounts, all activities, all opportunities, all leads, all campaigns etc. should be restricted by Sales Org, but when we search for accounts, activities, opportunities, leads, campaigns, we get result list with all data without any restrictions. I even checked the following forum, http://forums.sdn.sap.com/thread.jspa?threadID=1579211, which talks about the same kind of issue, but as I have already using the same objects for the restriction, it didnt help me much. I tried deactivating object CRM_BP_SA as it is not discussed on the forum, also tried CHECK_LEV=A,B,C,D,E for object CRM_ORD_LP, but all results the same.
    Additional Info: When tried to create a project, with user A who is authorized for XXX, normally it would pick up the Sales Area Data for the project from the user (meaning User A from the XXX Sales Org.), but I get an error message: Enter a sales org, enter a dist. channel and enter an org unit etc. Even when I search for leads, it displays a list of data, when I click on any, it issues the error message: Enter a sales org, enter a dist. channel and enter an org unit (Sales) etc
    Is that we miss any object restriction that is not restricting these objects properly or is it any customization missing? Please advice.
    Thanks in advance.
    Regards,
    Shahul Hameed M
    BASIS Consultant

    Hi Shahul,
    I have a similar requirement as of yours.  I have maintained auth values, in role as below:
    CRM_ORD_LP
    03       ACTVT
    A        CHECK_LEV
    *         PR_TYPE
    CRM_ORD_OE
    03       ACTVT
    11       DIS_CHANNE   ( the user is assigned to this dstrbtion channel in org structure)
              SALES_GROU
              SALES_OFFI
    SO1   SALES_ORG
              SERVICE_OR   ( the user is assigned to this sales org in org structure)
    And, when I try to display the LEADs in CRM UI ...I still get the display of LEADs belonging to all sales orgs.
    And my trace record  for CRM_ORD_LP is....
    CHECK_LEV    ' blank '
    PR_TYPE          LEAD
    ACTVT               03
    that means, it is not considering the auth value ' A ' for auth field  CHECK_LEV
    Could you please let me know ...how you have achieved this restriction . Is there anything , i m missing here?
    Thank You

  • Problem while restricting onfoprovider with variable

    Hi All.
    I have a scenario where i have to restrict the infoprovider(Data package field )in the characteristic restrictions with an variable.But iam unable to restrict it and iam getting the following error.
    Unhandled exception has occured and also Index was out of range.Must be non-negative and less than the size of the collection.
    please guide me accordingly to solve this.
    Regards
    Amar.

    Hi Karthik,
    The problem is that this query it´s not suposed to have any navigation, because it will be used as a data provider in WAD, so it must run without any user interaction(to select the period again, for instance).
    There´s some place that I would check the standard exit?
    Kind Regards,
    Tomas Prusaczyk

  • How to select different Querys based on Variable Value

    Hi guys i need to know how to select different Querys, based on variable values selected by the user, i try to do it using a Web Template but i don´t know how to program a Dynamic Query.....
    I hope sombody could help me with this
    Message was edited by: Oscar Diaz

    Hi Diaz,
    Can you explain the exact scenario which you are looking for!!!
    regards
    Happy Tony

  • Access restriction based on SSID

    Hello,
    I am interesting in a solution for access restriction based on SSID. I use RADIUS and ACS. Is there any solution to do limitation based on SSID? I use AP1200 series...
    Thanks in advance...
    FCS

    Hi,
    I am attempting this same result: SSID restriction based on group membership.
    When I re-configure the NAS client as Cisco IOS/PIX 6.x in order to rely on the cisco-av-pair field, this works great to limit the user to only the specified SSIDs, however the Access Point is no longer able to austhenticate to WDS since it uses LEAP authentication to the same RADIUS server - the Cisco IOS/Pix 6.x option does not support LEAP...
    Is there any way to change WDS authentication from LEAP to EAP-FAST for example? Or can we implement cisco-av-pair under Cisco Aironet for this?
    Thanks,
    Curtis H.

  • Access restriction based on Sales Units / Sales Area

    Hi all,
    I am looking into the access restriction functionality on business roles.
    One of our customers has a requirement to separate data between their different sales organisations. One sales organisation should not see customers, opportunities of the other sales organisation and vice versa.
    In the access restriction I see that the access context defines on which elements you can set the access restriction.
    For customers and opportunities the possibilities are: Employee or Territory.
    Setting the access restriction on Employees is not a solid solution for me (when the employees are changed in the org model, the access restriction is influenced on several business roles..)
    So what if we do not use territory management / if the territory management setup differs from the actual sales areas / sales units?
    So my main questions are: can we set access restriction based on Sales Units? (we will setup integration with SAP ERP which means we cannot enter sales areas for prospects...). And can we influence the access context or do we need developments for that?
    Kind regards,
    Jasper

    We plan to enhance the access restrictions based on sales organization and distribution channel in a future release.
    If you setup territory management, we offer sales office and sales group including sales organization as attributes to define a territory if you are connected with SAP ERP.

  • 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

  • Fixed value Statistical key Figures based on Profit Centers - 9KE5

    Hi all,
    We have a Statistical Key Figure that is of Fixed Value category, based on Profit Centers. We are manually entering it in 9KE5.
    Since it is of fixed value category, am I right to say that: once we enter in one period,  it will automatically be updated in subsequent periods? But the current situation is, it does not update in subsequent periods, only the period which we enter.
    Does anyone know how to correct this? So that once it is updated in 1 period, it will be automatically be updated in subsequent periods.
    Thanks in advance!

    Hi,
    Yes, I saw the field and chose 1- Equal distribution.
    I then select period 1, enter the quantities and save. Go back to 9KE5 and choose period 2, I expect the quantities entered in period 1 to be reflected in period 2. But this is not the case- there is no value for period 2.
    I also managed to change the selection screen to have Period as select-options. If I choose Periods 1 to 12, the quantity I entered in 1 period is divided into 12, and it will only show that divided quantity. However, if I choose another Period, Period 3 for example, no value is shown.
    Is this the correct behaviour? I am expecting the quantity entered in period 1 will also be shown in any other period.
    Thanks!

  • Range selection for Fix value variable in BPS

    Hi,
       When create vaiable, there is a fix value variable, under selection condition, we can choose either multiple single value or range, however if we choose the range, let say mtareial number from 1 to 100, when we run the BPS application through UPSPL, the value for material variable will be populated with value 1 to 100, when I try to change the value to a single value,it's not allowed me to change,  while the user define value type, we can change the value, Is this supposed to be?

    JW,
    BPS variables does not allow the choice of multiple single values, you can choose a single value OR a range of values. This issues has been brought up with SAP Development.
    If you need single values or a complete range of values, you can add each single value as a fixed value and the range as another fixed value that can be selected. You can select each single value individually or the whole range (or any subranges you specified) but not multiple selections of single values.
    In user definted variable if you check input allowed by users, you can add some values and the users can add more but then they could potentially go into material numbers they should not get access too.
    Hope this helps,
    Mary

Maybe you are looking for

  • Lombard help needed

    After giving up on my two pismos I started to use my old lombard now it won't boot. I took the hd out to connect it to my g5 via a firewire connector, I put it back in and now it won't boot I just get the flashing question mark. I've disconnected all

  • Invalid OCI handle when creating a Blob

    I have an application that talks to an Oracle 11gR2 database. I am using the OCCI C++ library. I can call SPs with no problem when they do not contain a Blob. Now I need to pass in a Blob to a SP and I am getting an ORA-32102: invalid OCI handle exce

  • 90 minutes of content... 1 or 2 DVDs

    Considering video quality, would I be better off splitting this content onto 2 DVDs of 45 minutes each? I'm just curious because Compressor offers 90 minutes as the shortest pre-set for DVD encoding. With all things being equal will that preset give

  • Will run in Automator, won't run as Finder plug-in

    Here is my setup: Desktop:Folder A:Folder B I created a simple Automator workflow to: move Folder B to the desktop, copy Folder A to a thumb drive move Folder B back into Folder A (I want to copy Folder A to the thumb drive MINUS Folder B) This scrip

  • How can M2M dimension display members which do not have fact rows?

    Ex: Fact deals with Customer dimesion related to Conference dimension by a ConferenceCustomer bridge table (M2M). When browing by the M2M dimension (conference), without selecting any measures, I want to see all the customers which participated in th