Little Challenge --How to give or restrict TRX in derive roles !

Want to give 10 trx in 2 derive roles and 15 in another 2 derive roles from same Parent role-Any method to do so?One I know is to give additional 5 Trx access through manually Adding TCD in remaning 2 derive roleANY other way to give or restrict so that tabs should not be in manually or changed mode?

>
ARYENDRA DALAL wrote:
> so that tabs should not be in manually or changed mode?
Hi,
Excellent answer from Juluis. Also the way you want to do this is conflicting with the Ref-Derive role concept.
I can add/modify some thing to the previous two answers.
One point I want to make clear that you mentioned as quoted above. Do you mean to say that the S_TCode will not be in changed mode (_or_ need not to add S_TCode manually) in Profile generator?
If Yes, then please check the following approach:
1. Create your first parent role and pair of derived roles with 10 Tcodes.
2. Create one role as per the concept of Transaction role - value role. That means, the role will contain those 5 TCodes in the menu but will not contain any authorization (except S_TCODE, all objects should be deactivated).
3. Then create one composite role with these two (one derive role of the pair and the other single role).
if No, then follow this approach:
1. Follow step one of above.
2. Create one generic role without any menue entry. Add TCode manually in authorization tab and then 5 TCodes there.
3. Create another role (value role) [let me know if you need details concept on this] and maintain the authorization of those 5 TCodes here together with org. values.
4. Create composite role by using these three roles (one derive role from the pair, one generic transaction role and one value role).
But please note that the menue entry should not be maintained in the derive role in any circumstances and if you do then you are no longer maintaining SAP Ref-Derive role concept.
Please let me know if these help you to some extent.
Regards,
Dipanjan

Similar Messages

  • How will I block/restrict the user to change the payment term in FBL5N?

    Hi All,
    How will I block/restrict the user to change the payment term in FBL5N????
    I have tried on following objects:
    F_BKPF_BLA
    F_BKPF_BUK
    F_BKPF_GSB
    F_BKPF_KOA
    F_IT_ALV
    F_KNA1_BED
    F_KNA1_BUK
    F_LFA1_BUK
    S_ALV_LAYO
    But, not succeeded.
    =>Actually user runs FBL5N, double click on a record then click on Change icon.
    =>Change Payment Term.
    Please reply ASAP. Point will be awarded.
    With Best Regards
    Dharmendra

    Hi Dharmendra,
    Please set an authorization trace in ST01 and then ask the user to execute the transaction and the steps on the same application server as the o ne on which the trace has been set (valid in case we are talking about mutiple application servers for same <SID>). After this is done switch off the trace,list it and fill all the authorization objects. That might give you the perfect idea.
    Regards.
    Ruchit.

  • How to block or restrict document type

    Hi friends
    How to block or restrict document types .
    My Business people will not use document types in feature

    Hi,
    The documentation about the authority check within posting is given in the online documentation for the posting ta eg. FB01:
    Perhaps you would like to read the documentation from IMG on the authorization:
    Financial Accounting > Financial Accounting Global Settings > Document > Document Header > Check Display Authorization for
    Document type
    Defining Authorizations for Document Types
    Use
    You can define a special authorization for every document type. To do this, you need to determine what document types in which
    form employees are allowed to process. Authorizations are checked for the following activities:
    Posting documents
    Document display and line item display
    Changing documents
    Programs that evaluate documents.
    The system does not check the authorization for document types that are not assigned an authorization group.
    Procedure
    In Customizing for Financial Accounting, carry out the activity Maintain Enter an authorization group in the document type. You then assign autho For each document type, you can specify whether users are required to enter.
    The same for check of the authorizations of gl accounts.
    PLease check in OMR4 and in OBA7 that for the document types the athorizations groups are maintained.
    F_BKPF_BLA Accounting Document: Authorization for Document Type
    F_BKPF_BES Accounting Document: Account Authorization for G/L Account.
    For example:
    The transaction FB01 includes the above objects - you can see this in Trx. SU24, also as transaction F-02 is a parameter transaction with the original being FB01 these objects would be valid for F-02 also.
    Please also refer to the following NoteS
      150496     F_BKPF_BLA: Authorization for document types
      198238     FI reporting: Authorization check for documen
    I hope this helps to solve the problem.
    Regards
    Ravinagh Boni

  • How to Create a Restricted Key Figure in BO Webi Report

    Hi Experts,
    Please tell me How to Create a Restricted Key Figure in BO Webi Report.
    Thanks in Advance.
    Regards,
    Rafi

    Hi,
    1. Define a new measure in the designer.
    2. In the select clause give the reference to the key figure on which restriction to be applied.
    For example
    @Select(Key Figures\Number of Records)
    3. In the where clause, give the MDX expression for the filter to be applied.
    For example
    <FILTER KEY="[0PURCH_ORG].[LEVEL01]">
    <CONDITION OPERATORCONDITION="InList">
    <CONSTANT CAPTION="HAS"/>
    </CONDITION>
    </FILTER>
    Regards

  • How to give the no of lines per a page in script

    hi
    could anybody tell me
    how to give no of lines per page in scripts.
    actually i want to set n lines per page in scripts.
    could anybody suggest me..
    thanx.
    kals.

    Hi,
    You can not set the No of Lines per page in the SCRIPT programetically, but here is the way to count the lines per page and you can restrict the lines per page also, just count the Total lines of all winodws in that page, lines mean The length of the windoe, lets say all the window lenghts are 20cm, then 20 lines will be printed. and you can convert this lenght cm to Lines also in the script. by converting the lenght Cm tyo lines you can count and reqtrict ..
    Regards
    Sudheer

  • How to give an user permission to access centain Transformations?

    I would like to know how to give an user permission to access centain Transformations in one InfoArea only. I already limited the selection in one InfoArea now. I want users can only Display Transformations for all the InfoObjects under this InfoArea. Does anyone know the detail steps? Thanks!

    HI,
    are you working under Analysis Auth (BI7) or Reporting Auth (BW 3.X)?
    If you work with the new concept you can restrict your authorization by using theinfoobjet: 0TCAIFAREA.
    before you Add 0TCAIFAREA as an external hierarchy characteristic to 0INFOPROV also when you restrict your auth by infoprovider you can choose the infoarea hierarchy
    hope it help
    Regard's

  • How can a parent restrict a child's access to a PARENT'S PRE-EXSISTING iTunes account via iCloud's Family Sharing Program?

    How can a parent restrict a child's access to a PARENT'S PRE-EXSISTING iTunes account via iCloud's Family Sharing Program?  To explain further... I have a young son who is on my iCloud family sharing program... I am excited to be able to share SOME of my music in my iTunes library, but there are some songs and music videos that are not age appropriate for him and currently there is no way to restrict him from viewing and downloading anything off of my iTunes library.  Yes, I suppose I can delete the songs he shouldn't have access to, but I don't think I should have to do that... I paid for them and still like them and listen to them while I work out or am without my kids.  Is there a way for me to personally select which songs/videos I would like to "hide" from my children in an effort to shield them from inappropriate content?

    Hello ggg39,
    Welcome to the Apple Support Communities!
    I understand that you have some content in your iTunes library that you would like to restrict access for the child set up on Family Sharing with you. To do this, you can set restrictions on the child’s device as described in the attached article. 
    Family Sharing - Apple Support
    Now kids under 13 can have their own Apple IDs. As a parent or legal guardian, the family organizer can create an Apple ID for a child and add the child to the family group automatically. Ask to Buy is turned on by default, and the organizer can also limit the content kids have access to on their devices through Restrictions on an iOS device or parental controls in OS X and iTunes.
    For more information on restrictions and how to set them up, please reference the next attached article. 
    About Restrictions (parental controls) on iPhone, iPad, and iPod touch - Apple Support
    Have a great day,
    Joe

  • How to give Authorization?

    I have created a 'Z' application which consists of create, change and display User interface.Whenever the user selects craete all fields go editable, change will have some fields editable and display all uneditable.I used only one view and i handled all three modes using invisible and enable property.
    Now i want to allow only certain users to access create and change but display for all users.How to give this kind of autorization in webdynpro????
    Please explain me about authorization in webdynpro taking my scenario?

    Hello,
    I hope you are aware of authority checks in ABAP in general. In your scenario, what you can do is: create one context attribute IS_AUTHORIZED of type WDY_BOOLEAN.
    And in WDDOINIT of the component controller or view controller,
    do the authorization check using AUTHORITY-CHECK stmt and if the check fails i.e. sy-subrc is not equals to 0, then
    set the attribute  IS_AUTHORIZED to false. Otherwise set it to true.
    And you have to bind the enabled property of the buttons to this context attribute IS_AUTHORIZED.
    Please refer to the following code sample:
        DATA lo_nd_selection_type TYPE REF TO if_wd_context_node.
        DATA lo_el_selection_type TYPE REF TO if_wd_context_element.
        lo_nd_selection_type = wd_context->get_child_node( name = wd_this->wdctx_flex_config ).
        lo_el_selection_type = lo_nd_selection_type->get_element( ).
      AUTHORITY-CHECK OBJECT <objectName>
      ID <name1> FIELD <f1>
      ID <name2> FIELD <f2>.
      IF sy-subrc <> 0.
    * Prohibhit the user from modifying config
        lo_el_selection_type->set_attribute(
          name =  `IS_AUTHORIZED`
          value = abap_false ).
      ELSE.
        lo_el_selection_type->set_attribute(
          name =  `IS_AUTHORIZED`
          value = abap_true ).
      ENDIF.
    Hope this helps!
    Regards,
    Srilatha

  • How to give backgound color

    H All :
    I am using collection in my application for textbox
    HTMLDB_ITEM.TEXT(2,null,30,500,''style="background-color: RED"'')
    i am using this which give me the red in color background effect
    i am using
    HTMLDB_ITEM.DISPLAY_AND_SAVE(2,null,30,500)
    how to give a background or a fore ground color this item
    please suggest
    Thanks
    Sudhir

    It's actually quite easy.
    What you have to do is write a custom tree cell renderer which extends DefaultTreeCellRenderer. In that class, your getTreeCellRenderer() method should do something like the following:
    public Component getTreeCellRendererComponent(
        JTree tree, Object value, boolean selected,
        boolean expanded, boolean leaf, int row, boolean hasFocus )
            Component treeCellRenderer =
                  super.getTreeCellRendererComponent(tree, value, selected, expanded, leaf, row, hasFocus);
            if (selected) {
                setForeground(Color.WHITE);
                setBackground(BACKGROUND_SELECTION_COLOR);
            } else {
                treeCellRenderer.setForeground(Color.RED);
            return treeCellRenderer;
    Then you'll need to make sure that you call myTree.setCellRenderer(new CustomTreeCellRenderer());
    cheers,
    Greg

  • How to give the no of lines per a page in alv report

    hi
    could u plz inform me
    how to give the no of lines per page in alv report
    in ordinary report we can give line-count na
    how can we give in alvs.
    thanx
    kals.

    Hi Kalyan,
    There is another Forum(Abap Development) where u can post abap related stuffs and u can also get quick answers there..
    Cheers...
    Santosh

  • How to give no of lines per page in alv report

    hi
    could anybody tell me
    how to give no of lines per page in alv report
    i need bottom of page too
    if possible plz send the code too
    it ll be very helpful to me
    thanx
    kals.

    Hi,
    This is possible, using some of the events in the ALV.
    You could use AFTER_LINE_OUTPUT event and call you form after say, a certain line count is reached on the list output.
      MOVE 'AFTER_LINE_OUTPUT' TO gw_event-name.
      MOVE 'AFTER_LINE_OUTPUT' TO gw_event-form.
      APPEND gw_event TO gt_events.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                it_events                = gt_events[]
    and define the form for each event as follows - this would be a dynamic call by the ALV.
    *&      Form  after_line_output
    *       Form for the After Line Output Event in the internal table
    *      --> rs_lineinfo
    FORM after_line_output USING rs_lineinfo TYPE slis_lineinfo.
      IF sy-linno eq v_linno.          "Defaulted value for line count
        perform write_footer.
        NEW-PAGE.
      ENDIF.
    ENDFORM.                    " after_line_output
    For lines per page:
    rs_lineinfo-tabindex would give you the index of the current line in the list, which you could use to read the t_outtab table, and reduce the line count of items displayed on the earlier page.
    There are a few other events too, like BEFORE_LINE_OUTPUT and END_OF_LIST which you can use as required and print the data.
    Regards,
    Anil.

  • How to give constant space in sap scripts.

    Dear experts,
    In my requirement I am printing invoice line item details. In my program,I am printing 8 columns. How to give the constant space in my output.
    My issue.: here am fetching Internal Excise Document Number (DOCNO) item number (zeile) plant (werks) quantity (menge) storage location (lgort) and so on.
    when i am fetching the values from the table, the values are different from each and every rows. so nothing would be aligned properly into the column. For example, if the  doc no is having 10 char,from item no all the values of the column is getting moved to right side. in my second row doc no is having only 2 chars. in this case every column value is moving left side. its looking like realigned and not good.
    How do i give constant space for each and every column. so if the values are more or less it could not be moved to any side.
    please hellp me to solve this issue.
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Thanks in advance.
    Regards,
    Sandy.
    Edited by: Alvaro Tejada Galindo on Sep 28, 2011 3:40 PM

    Hi,
    check out ur tab positioning in paragraph format...any misalignment is their or not.
    second thing you can do is checkout your printer i.e zebra printer or .matrix etc. your using sometimes misalignment happens
    in printer..or print some sample values for verifying the root cause .
    regards,
    KRISHNA

  • On iOS 7 on iPad mini how do I reset restrictions?

    On iOS 7 on iPad mini how do I reset restrictions? I forgot the password and can not disable them

    You have to restore the iPad to factory settings without using the back - if the backup contains the password for restrictions. If the backup does not contain the password, you can use it. But remember that if you use that backup, you turn back the clock on the iPad to the date and time that the backup was created and you lose everything that you have acquired with regard to data and photos since then.
    However, when you restore to factory settings, you erase the iPad complete and will have to start all over again. Much of your paid content can be downloaded again for free as long as you use the same Apple ID.
    Use iTunes to restore your iOS device to factory settings

  • How to give a message in the UI page if there is an error in AppImpl method

    How to give an error message in the jsf page if the AppImpl method fails ?
    Use case : I have a create form and a submit button which binds with a client interface method in Application Impl class. If the method fails due to some exception , how can I notify the users with proper error message ?
    Thanks
    Suneesh

    Hi,
    As the previous reply (casting the result) is the best solution here (separating model and view logic) but sometimes we do a shortcut.
    may be it is not the best approach but it comes handy most of the time, this approach is also error-proven. we used it more than 2 years in large applications.
    add the following code whenever you want to add message in UI be aware that we have add it in a jar and add that library to the model projects
    FacesContext ctx = getFacesContext();
    FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, "");
    ctx.addMessage(null, fm);
    you just need to add jsf library to the model applications and replace msg with your message.
    regarding throw jboException, it seems good most of the time but sometimes when you are in middle of the transaction it somehow ruin the flow of the transactions.
    Regards.

  • How to give ** bydefault in password in module pool screen .

    Hi experts
    how to give  *******  by default in password in module pool screen .
    Thanks

    Hi ,
        Double click on the field u will get a pop up window
        i.e. attribute window for that field.
        in that window you have a tab called Program at the bottom.
       in program tab you have many checkboxes.
      check the check box with name *Entry.
      and activate.
    what ever you enter now will be in password formate
    Regards
    Ajay

Maybe you are looking for

  • No data set found when creating a report

    Dear all, This is my first time using BI Publisher, and I am stuck at a very early stage. I have followed the various steps described in the documentation, up to creating a new report. When I try to do so, I fail as there is no available data set in

  • Want to change item category at the time of order creation

    Hi Gurus, Client require to implement individual PO scenario. I was configured the same and working fine. I am facing problem at the time of item category determination. User using same material and order type and they are not ready to accept to crea

  • Firefox will not update to 12 from 8

    Application Basics Name Firefox Version 8.0.1 User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0.1) Gecko/20100101 Firefox/8.0.1 Profile Directory Open Containing Folder Enabled Plugins about:plugins Build Configuration about:buildconfig Crash Rep

  • Dynamic graphic in smartform with exception handle.

    Hi All, I have already created a graphic node in the PO Smartform which will display the buyer signature, i have uploaded some signatures graphics to the server and used the &PO-CREATED_BY& parameter in the general attributes of the node. The signatu

  • COPA - Product Hierarchy

    Dear all experts, My client has split the product hierarchy in COPA into 3 levels. For example, ProdHier01-1, ProdHier01-2 & ProdHier01-3. Then they use these values in COPA to further derive the detailed product characteristics. By looking at the qu