Restrict a t.code VK11 using Site as authorization object

Hi all,
We want to restrict VK11 t.code using Site as one of the authorizations. By default it has only Sales Org, Distr channel and division. I've added one more field for "Site" manually.
We have defined specific values for Site in authorization objects. Still system does not restrict VK11 executed by  user as per site. It works with Sales org/Distr ch/Division. But it does not restrict Site-wise for that role.
Please help.
Regards,
Ankush

> I've never got past 'play dead' with such objects
Yip, I know that feeling. It is like when you leave home for a long trip having packed everything you need, but you still have the feeling that you have forgotten something important behind and will kick yourself when you need it.
> Can you please provide step by step instructions for that?
There is no step-by-step procedure nor medication to take for it. You just have to wait for it to dawn on you...
Enjoy the weekend and happy coding authority-checks,
Julius
ps: I heard that this feeling is also caused by the rising popularity of ABAP OO programming techniques, where the checks are often natively imbedded.

Similar Messages

  • Is it possible to use a multiply authorization objects to one infocube?

    Hello!
    BPS-BW implementation required to use security on several CHAR including hierarchies for one infocube. What the right way to implement this requirement?
    I created (RSSM) several authorization objects: one per CHAR, and assigned it to infocube. Then I created a role and included the craeted objects. But cube data didn't display in a queries or planing folders. But, when I created the auth object for the required CHARs and assigned it to role the cube data displayed accordance setted values.
    What's wrong?

    Hi,
    I think u have checked the check box for authorization relevant in the maintanance screen of chraracteristics ,thats the reason.
    Regards-
    Siddhu

  • How to use CRM authorization object.

    Hi All,
    I have a specific requirement to restrict user while he/she tries to save a record. It appears that if that restrictions are implemented the save logic for an entity has to be changed because there are some validation regarding relationship management in SAP system. SO I need to bypass that validation to allow some users of specific(Marketting) role to save the entity record bypassing that validation. here I am planning to use the CRM authorization objects. But dont know how to use these and which authorization object to refer.
    Please let me know if you guys have any idea.
    Regards,
    Bikramjit.

    Hi Bikramjit.,
    You might need to create a Custom authorization object and then use it. Else you can create one Z table and maintain the User ID of all users. The mainatin one field with flag and set it to X for the user that are aloowed to save the transaction.
    Also once you maintain the table, generate the table maintenance so that it becomes easier for future use.
    Hope this helps

  • Use of RSSM to create authorization objects

    I have a few questions on the way of using authorization objects via RSSM.
    First, i would like to know if there is a limit in the number of values used as a filter in the authorisation object.
    First, what is the quantity limit of values that we can use as filter? CC00000010, CC00000011, CC00000012, ..., n. In this case what would be the value of n. In our fonctionnal need, ranges of values would not be an option.
    My second question is in relation with the use of an authorization object composed of two characteristics. Is there a way to build a case in witch the authorization check return a positive answer to a logical OR between the two  characteristics?
    Example 2, lets say that you want to perform an authority check on the cost center OR on the profit centre. Is there a way to build the authorization object to make sure that there is no error messages when the user has the authorization for the cost center CC00000010 OR the profit center PF00000011.
    Best regards,
    Stéphane Beaudoin

    why would you use Pages when there are templates in iweb
    as for the URL question, that is determined by the host, not iweb which just writes the page. but I would not use tinyurl since it has become a favorite of phishers and other web nasties. it might be worth getting a domain name if you can find a good deal.
    i would search for some realtor sites to see the kinds of information they are giving and how they are laying it out. and make sure that all photos look really really good. nothing is more off putting on a house ad than crappy photos

  • [SCCM 2012 R2] Re-using site code

    Hi All,
    I have a situation where I need to uninstall SCCM Primary Site because of wrong server name convention. SCCM 2012 documentation do not mention of reusing site code after previous site uninstallation.
    Is it possible to use same Site Code for new primary site after uninstall old one?
    SCCM 2007 Documentation: Site codes should never be used more than once in a Configuration Manager 2007 hierarchy for active sites. If you have uninstalled a site that was publishing site data to Active Directory Domain Services in preparation for installing
    a new Configuration Manager 2007 site with the same site code, you should ensure that the previous site's information has been removed from Active Directory Domain Services, and possibly WINS, before use the old site code for a new Configuration Manager 2007
    site. All references to the original site need to be removed from all other sites in the hierarchy, and you need to clean up any objects previously replicated to potential child sites of the new site. If this is not done, any newly replicated objects from
    the newly created site could overwrite objects already replicated to the child sites by the previous installation.
    SCCM 2012 Documentation: Site codes cannot be used more than one time in a Configuration Manager hierarchy for a central administration site or primary sites. If you reuse a site code, you run the risk of having object ID conflicts in your Configuration
    Manager hierarchy. You can reuse the site code for a secondary site if it is no longer in use in your Configuration Manager hierarchy or in the Active Directory forest.
    Thank you in advance.
    Regards,

    I have a CAS (CAS) and One Primary site (AU1) connected to CAS.
    I want to install second Primary site (EU1) connected to same CAS (CAS). Server name for EU1 Primary site is wrong and guys that are higher in hierarchy than me want from me to fix the server name.
    Reason for everything is always: Politics
    So you know that you are begging for trouble by having a CAS. You do also know that all the administration should be done ONLY on the CAS and nowhere else.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • I am trying to use sites on the internet which require Adobe Flash Player, but when I click on the free download, it says that Apple does not support this application, so I cannot use it.  This stops me viewing quite a few interesting things.  Any ideas?

    I am trying to use sites on the internet which require Adobe Flash Player, and when I click for a free download it says that "it is not available for your device because of restrictions that Apple has put in place".  Any suggestions on how to overcome this?

    Flash is not, and probably never will be, supported on the iPad : http://www.apple.com/hotnews/thoughts-on-flash/ . Plus it would be up to Adobe to make a version of their flash player that works on iOS devices, something which they have never managed to do and which they have now given up on trying to do.
    Browser apps such as Skyfire, iSwifter and Puffin 'work' on some sites, but judging by their reviews not all sites. Also some websites, especially news sites, have their own apps in the App Store, so your could try checking there for your sites (and there is the built-in YouTube app).

  • How to specify finite simulation stop time in VI generated using SIT connection manager

    Hello,
    I have a SIMULINK model which I want to run on a desktop ETS. I'm following this procedure:
    1. Convert the SIMULINK model in a .DLL using RTW build in Matlab. The target of this build is nidll.tlc.
    2. Create a host VI with required indicators and map the parameters using SIT connection manager.
    3. Configure the DAQ (and then SIT connection manager generated the driver and IO files for me.)
    4. Using LV project, run the driver on the desktop ETS and host VI on the host machine.
    The code is working fine, without any error.
    My question is this: Since in the driver VI, the simulation time is set to -1, which implies "continuous", the simulation goes on until I hit the stop button on the host VI.
    I tried changing this default value to some other value. The simulation then does run for the defined amount of time but then I'm getting error 2206.
    What is an appropriate way to stop the simulation on the RT target?
    Thanks
    Gayatri
    PS: I'm using LV 8.5, LVRT 8.5, SIT 4.0, Matlab @2007a.

    The VI in the Driver VI called SIT Initialize Model.vi has an input called time step (sec) (-1: use model time step) which does what you want it to. It doesn't actually affect the time step of the solver used in the built model DLL, just the rate at which the main base rate loop actually runs in real time. In fact, base rate loop period would be a better name for this control. If you set it, you won't alter your model, but you will be able to adjust the rate of the base rate loop.
    Simply create a control from this input terminal on your driver VI and fill in an appropriate period in seconds. Make sure to set this value as default in the control so that the Driver VI remembers it.
    You will have to take into account that your model will still think it's running at the time step it was compiled at. So your model simulation time and the actual wall clock time won't match up.
    Jarrod S.
    National Instruments

  • Solution to using Site Root with Sub-folders on Testing Server & Browser Previews

    Hi Everyone
    Have found an elegant solution when using Site Root relative linking for a website, that allows browser previews, even when the testing server uses sub-folders and the live code references just the server site root " / " of the live server and not the sub-folder structure of the testing server.  This is really useful when you don't want to use document relative linking, which normally takes care of this problem in Dreamweaver.
    The solution is to use sub-domains referencing the sub-folders on the testing server, so the sub-folders appear as the root of each website and the html code pointing to the site root works correctly on both testing & live servers without alteration.
    Testing Server Setup
    One testing server domain is used for all client development work:
    For example:  www.testingserver.com
    On the testing server there are multiple sub-folder (one for each client website being developed):
    For example:  www.testingserver.com/clientA/ ,  www.testingserver.com/clientB/ , www.testingserver.com/clientC/
    Live Server Setup
    The site code needs to be developed with the final live server folder structure (url references) in mind:
    For example:  www.livesite.com (with all pages referencing the root of the live site server)
    Page URLs on Testing & Live Servers
    /page-name.html
    Testing server url:  www.testingserver.com/clientA/page-name.html
    Live server url:  www.livesite.com/page-name.html (without /clientA/ sub-folder)
    Browser Previews Don't Work
    You want to be able to run browser previews on the testing server while developing the website.  To do this you normally have to reference the sub-folder structure of the testing server in the url for things to work right:
    For example www.testingserver.com/clientA/page-name.html
    What do you do, when you can't keep switching all the urls in the code from pointing to the sub-folder to pointing to the site root, and you don't want to use document relative linking?
    One Solution - Sub-domains on Testing Server
    In your domain hosting (outside of Dreamweaver) setup a sub-domain to point to the testing server sub-folder.
    For example:  Sub-domain clientA.testingserver.com points to www.testingserver.com/clientA (sub-folder)
    So now when you reference the sub-domain it sees the sub-folder as the site root and all your problems are solved.
    Dreamweaver Site Definition Setup
    Site Definition under "Local Info"
    Links relative to: Site Root
    Site Definition under "Remote Info" (live server)
    Access: FTP
    FTP host:  ftp.livesite.com
    Host directory: /
    Site Definition under "Testing Server" 
    Access: FTP
    FTP host:  clientA.testingserver.com
    Host directory: /
    URL prefix: http://clientA.testingserver.com
    (location of the site's root folder on the testing server, the sub-domain redirection takes care of pointing to the sub-folder)
    This is just one solution but it works well for me as it doesn't have any cost associated with it under our hosting package where you can have multiple sub-domains setup.
    Hope this helps someone in a similar situation.
    Aly

    Just Google it, or run out and buy a copy of David Powers' Foundations Dreamweaver CS4 with CSS, Ajax and PHP, a book that is never out of reach for me.  He details the process explicitly for both Mac and PC.
    For me, on W7, I edit the C:/Windows/System32/drivers/etc/hosts file, and add the ip of my testing server along with the site alias -
    192.168.1.82  site.local
    Then I add this same designation to my httpd.conf file in Apache on the testing server.  Finally I restart Apache.
    Now from my production machine if I browse to "http://site.local", I get to see either the default file in the root of the site on the testing server, or a directory of the site on the testing server (my testing server is a unix box running on my LAN at that ip address).  Furthermore, all of my root relative links now work as they would if the pages were being browsed from the live server.

  • Error code "A valid key code to use the Business View Manager is not found"

    Hello.
    I am trying to resolve this message in the Business View Manager. The message of " A valid key code to use the Business View Manager is not found" appears when accessing a folder in the Repositiry Explorer. I have admin rights for View, Edit and Set Security.
    What am I doing wrong?

    Try running this query in the CMS Query Builder tool:
    Select * from CI_SystemObjects where si_id = 4
    When the query returns, look for the attribute "SI_CAN_USE_METADATA" and see if its set to false. Or see if something else in there is set to false that looks more suitable.  Your keycode might have the BusinessView manager locked out.  The error sounds more like a keycode restriction than a permissions issue with security.

  • Sensitive fields restriction to company code

    Hello
    we would like to activate sensitive fields for one specific company code. In standard SAP we can only define the sensitive fields for the whole client. Anybody did this before? Or do we need something like enhancement SAPMF02D to do this?
    dT123

    Hello Spotty/Accenture Accenture,
    There can be different approaches to achieve the same, for which, I would like to know the following from you:
    1. Are you using direct or indirect role assignments?
    2. Do you want to restrict the authorization object at the user level or at the role level?
    Regards,
    Hersh.

  • UOM in T-code:VK11

    Dear All,
    I am confused about the UOM in T-code:VK11
    ex:
    Currently in material master A of Units of measure have only below data:
    1 DRM -
    > 50 KG
    1 KG   -
    >  1 KG
    Basically in VK11 ,once we input the record which UOM does not maintain in MM side (ex: CTR)system will pop a windows to maintian the  "Conversion Factor " of  CTR -
    > KG.
    But Why if I input the record with G in VK11 ,system does not pop the "Conversion Factor"?
    I know ,and we all know that 1 kg =1000 g
    Still it is strange ,does system have this recognition or configuration ?
    where is it?
    Thanks
    Best regards,
    Sophia

    Dear PAVA,
    Thank you very much for your kindly reply.
    It is really usful.
    Another question:
    Seems conversion factor  of  data in the select list  all base on the SI Unit.
    Currently my system is set the KG as the SI Unit.
    How to set other unit as the SI Unit? I try click "G" ,then "Declare SI Unit", no use
    Thanks a lot for your help
    Best regards,
    Sophia

  • How to edit the html source code for my site

    I have just started a blog, and am VERY new to it. I am trying to edit the html source code on my site (ie, to insert google adsense search bars). I go to my blog site, get to page source and see the html but I am not able to edit it. Not sure what I am doing wrong. Thanks!

    You can use any editor you want mine is set up for notepad.exe
    :see http://dmcritchie.mvps.org/firefox/firefox.htm#notepad
    :to invoke use "Ctrl+U" or View > Page Source
    :this is for sites that you maintain on your local drives or servers, and copy over to a website.

  • Bdc on vk11 using control break events

    hi
    have any one done bdc for vk11 using control break events.my flat file is
    ZTAX     X     IN     1000     1200     2000     A0
    ZTAX     X     IN     1000     1210     3000     A1
    ZTAX     X     US     7676     01     4000     L3
    ZTAX     X     US     7676     02     5000     s1
    i need the logic for this any sample code will be useful

    hi, check the sample code using Control break statements.
      LOOP AT IT_MAIN.
    WRITE : IT_MAIN.
    C_TABIX = SY-TABIX.
    <b>AT NEW LIFNR_001.</b>
    READ TABLE IT_MAIN INDEX C_TABIX.
    REFRESH IT_BDC.
    perform bdc_dynpro      using 'SAPMM06E' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RM06E-BSTNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'EKKO-LIFNR'
                                  IT_MAIN-LIFNR_001.
    perform bdc_field       using 'RM06E-BSART'
                                  IT_MAIN-BSART_002.
    perform bdc_field       using 'RM06E-BEDAT'
                                  IT_MAIN-BEDAT_003.
    perform bdc_field       using 'EKKO-EKORG'
                                  IT_MAIN-EKORG_004.
    perform bdc_field       using 'EKKO-EKGRP'
                                  IT_MAIN-EKGRP_005.
    perform bdc_field       using 'RM06E-LPEIN'
                                  IT_MAIN-LPEIN_006.
    perform bdc_field       using 'RM06E-WERKS'
                                  IT_MAIN-WERKS_007.
    MOVE 1 TO CNT.
    <b>ENDAT.</b>
    perform bdc_dynpro      using 'SAPMM06E' '0120'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'EKPO-TXZ01(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    CONCATENATE 'EKPO-EMATN(' CNT ')' INTO FLD.
    perform bdc_field       using FLD IT_MAIN-EMATN_01_008.
    CONCATENATE 'EKPO-TXZ01(' CNT ')' INTO FLD.
    perform bdc_field       using FLD IT_MAIN-TXZ01_01_009.
    CONCATENATE 'EKPO-MENGE(' CNT ')' INTO FLD.
    perform bdc_field       using FLD IT_MAIN-MENGE_01_010.
    perform bdc_dynpro      using 'SAPMM06E' '0120'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RM06E-EBELP'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    CNT = CNT + 1.
           IF CNT = 6.
            CNT = 1.
            PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                                  '=P+'.
           ENDIF.
    <b>AT END OF LIFNR_001.</b>
    READ TABLE IT_MAIN INDEX C_TABIX.
    RECORD = IT_MAIN.
    perform bdc_dynpro      using 'SAPLSPO1' '0100'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=YES'.
    CALL TRANSACTION 'ME21' USING IT_BDC MODE 'A' MESSAGES INTO IT_MESSAGES.
      clear: cnt, C_tabix .
    <b>ENDAT.</b>
    ENDLOOP.

  • Logout implementation using Site Studio

    Hi,
    I just wanted to know if the logout functionality of UCM has been implemented using site studio and if yes, how to go about it. We are currently using the logout component that is present in UCM. However, the problem is, that the usage of that component requires you to add a registry entry in IE, to allow this to work. This isnt something that can be done on all machines and is hence not a feasible solution. So I was wondering if there's any other way that this can be implemented. Suggestions please?!
    Thanks.

    Is there a way to use Fragments or do I need to get a developer to write me non-Stellent code? Well, you need to get yourself a developer to write a fragment. And - dependet on what you want to do - maybe some Content Server customizaitons like custom services.
    Imho though it is not a good idea to use Site Studio as a web application plattform. A simple form is fine but if it gets more than that, you should consider writing a jsp or hcsp and check it in to the content server. This jsp or hcsp can still use your fragments and your html layout so that it does not look different from the Site Studio pages. Then you can link this script to a section in your Site Studio web site hierachy and by doing so include this dynamic part into your web site.
    Another approach for when you really need to do a lot of application stuff is to write the applications in another Java web app - not checked in to the Content Server - and use CIS to pull content from the Content Server. Or Web Services.

  • Transferred Digital Copy to iTunes all well, reinstalled laptop and says Redeem Code already used, what can I do?

    I Transferred the Digital Copy of my DVD to iTunes.
    Later had to reinstal my Laptop, and when I try to put the Digital Copy on my iTunes now, it says Redeem code already used, what can I do?

    danielcallen wrote:
    I Transferred the Digital Copy of my DVD to iTunes.
    Later had to reinstal my Laptop, and when I try to put the Digital Copy on my iTunes now, it says Redeem code already used, what can I do?
    I found this site: http://www.foxdigitalcopy.com/uk/ and I explained what had happened, and gave my old Codes, and then they e-mailed me a while later with new Redeem codes!!!
    They work perfectly and it's brilliant!

Maybe you are looking for

  • Follow up question, case number 018397991

    This is a follow up discussion. My case number is 018397991. I was told (message signed "Sherin") to "try to install the product from Design Premium CS5". But I do not understand that instruction. What is "Design Premium CS5"? Tx, Antonio

  • Acrobat 8 Slow Encoding from Word, Missing Text in Result!

    I am getting so frustrated with Acrobat 8.x.. not only do I have to put up with the 90-second hang after launching ANY PDF doc, but when I author docs out of Word and Quark, many times it takes ten minutes or more to export a 1-page doc and 40% of th

  • JSP -- default list selection

    I am working on an application that is using something like this <option value="0" <%if(selected_in.equals("0")) %><%="selected"%><%;%>>12:00am</option> to populate a list. I need to have a default value assigned to this based on username that is bei

  • ADF DI : Need to disable edit on a column in excel spread sheet

    Hi, I need to make a column disable for edit in ADF table in excel.I tried making read only property to true but , user can still edit that column but will get update failed error.I want my column to be completely disabled even for editing.Is there a

  • How to reset security questions and answers???, How to reset security questions and answers???

    I'm trying to purchase an app on my iPod touch for the first time and it is asking for my security answer and I don't remember what I put.... ANY IDEAS QUICKLY