Role assignment user-exit

Hi All,
I am in search of a user exit or badi which gets called once role has been assigned to the user. We are into a process so that whenever few critical role/roles are assigned to the user, a email should be sent to the responsible person.
I am looking for a user exit so that I can create my logic there. If you can also let me know the table/view which has the history of all the roles are being assigned till date.
Thanks,
Mark

Hi
Check the Tables
AGR_USERS for User roles
Other tables are
AGR_DEFINE,
AGR_PROF
UST12 etc.
reward if useful
regards,
Anji

Similar Messages

  • Assigning User Exit for Substitution type 003 - OBBH

    Hi Gurus,
    I have created a Sustitution for the complete document i.e type 003 for replacing Assingment Field with PO number during MIRO.
    I have copied the standard program RGGB000 in to Z.. add my user eixt and have written the code. But i dont know how and where to assign the user exit that i hav created.
    Could anyone please help on this...
    Thanks in advance.
    Raj.

    Hi,
    It's done via GCX2 transaction. Please, consult note 842318 for further info.
    Regards,
    Eli

  • User exit for field addition on standard SAP Screen

    Hi,
    I want to add one customer specific field on notification at header level. I have found one enhancement i.e. user exit QQMA0001, which says that this is to be used for adding the extra field on the notification header. Now my question is that
    1. If I have to add the field, how user exit can help (I am aware that user exist consists of the function module, screen exit, programme and includes. Now do I need to use the screen exit for this or something else?)
    2. Other question is that before going to screen exit in the above step, do in need to add the field in structure VIQMEL and the respective table QMEL or when the table QMEL is updated then the field in structure VIQMEL will get auto updated.
    3. If the step 2 is only sufficient, then why is the need of step 1, I mean what is the point in considering the user exit i.e. we can simply update the QMEL data table and then this field will get autoavailable on the structure and after going to SE51, if we view the field added, then we can place it wherever we want on the screen of notification.
    Request for the reply.

    Thanks Pete,
    I am not a developer and a functional person and right now i am in very initial phase with no developer around.
    I got most of the points you mentioned here
    Creation of data elemnt
    Append the data table
    Create the new subscreen for the main programme and then assign this subscreen to the notification type in SPRO.
    If i am rightly followed then my questions are
    1. What is the role of user exit here?
    2. Why functional module is required here?
    3. SE51 transaction you mentioned is the screen painter, Is it possible to create sub screen there. If no then where the new sub screen will be created i.e. T code in ABAP.
    And the fianl question is that -
    I f i succeed in attaching the subscreen to the notification type and my sub screen is only for one field then is it possible for me to set it up as a header data and place it anywhere below the notification user status field because i dont want to display it as subscreen bu header level information.
    Thanks

  • Create Custom screen - User Exit.

    Hi All,
    As i am new to the USER-EXIT and SCREEN-EXIT, I want how to create new custom screen for VT02N Transaction.
    My requirement is,
    Userexit MWMRF800 u2018ENHANCEMENT FOR USER SCREENS (LOGICAL SCREEN 0800)u2019
    The SAP RF standard screen 2800 of function group LMOB has to copy to the custom screen 9800 of function group XLRF.
    Here i need to create new custom screen as mentioned above and assign user exit to this screen.
    Could anyone help me to do this.
    Thanks in Advance.

    I  have similar problem here. As suggested, I tried to change the package of the standard function group but its asking for access key. I am assigning CONFPP07 component to my project which is already saved under a Z package.

  • User exit: save PM order

    Dear all,
    I'm looking for an user exit that will be actived during order save. However, it seems most exits just for check, I can not change any data.
    The requirement is: if user save certain order, then field function area 'CAUFVD-FUNC_AREA' is filled automatically. This fiels in the order header.
    Thanks,
    Ben

    Hi,
    Orders     
    User Exits     BBPK0001
    Description     Exit for determining the external procurement profile
    User Exits     CNEX0013
    Description     Default item category for component assignment
    User Exits     CNEX0026
    Description     Customer enhancement for general inspection of material
    User Exits     CNEX0027
    Description     Customer enhancement: Plant, storage loc. finding for comp.
    User Exits     CNEX0037
    Description     Check new component
    User Exits     COCCA002
    Description     Customer Functions for Organizational Authorization Checks (SETTLEMENT)
    User Exits     COI20001
    Description     Changing of person found
    User Exits     COI20002
    Description     Alternative procurement of HR availability data
    User Exits     COOM0001
    Description     Customer Functions for Overhead Percentages
    User Exits     COOPA_01
    Description     Customer check modules for internal orders
    User Exits     COOPA002
    Description     Customer function for master data maintenance - internal orders
    User Exits     COOPA003
    Description     User-Defined Fields in the Order Master
    User Exits     COOPA004
    Description     Customer function: Print order master data
    User Exits     COPCP005 (see: 1, )
    Description     Material Costing: User exit for material valuation (strategy U)
    User Exits     CY190001
    Description     Capacity Planning: Change order operation
    User Exits     COZF0001
    Description     Change purchase req. for externally processed operation
    User Exits     COZF0002
    Description     Change purchase req. for externally procured component
    User Exits     CYPP0001
    Description     Change sequence criteria and sequencing
    User Exits     ICSV0001
    Description     Display of geographic location data
    User Exits     ICSV0002
    Description     Automatic task determination for service notifications
    User Exits     ICSV0003
    Description     Partner selection
    User Exits     ICSV0004
    Description     Check PM object and display object information
    User Exits     ICSV0005
    Description     Determining reason for rejection - resource-related billing
    User Exits     ICSV0008
    Description     Validation of additional partner types
    User Exits     IWMI0001
    Description     User exits for SM/PM IDOCs
    User Exits     IWO10001
    Description     Create a PM sub-order
    User Exits     IWO10002
    Description     Customer check for order release
    User Exits     IWO10004
    Description     Customer check for order completion
    User Exits     IWO10005
    Description     Customer specific determination of profit centre
    User Exits     IWO10006
    Description     FCode exclusion through customer enhancement
    User Exits     IWO10007
    Description     Customer enhancement - permits in the order
    User Exits     IWO10008
    Description     Customer enhancement: Determination of tax jurisdiction code
    User Exits     IWO10009
    Description     Customer Check for 'Save' Event
    User Exits     IWO10010
    Description     Customer enhancement for determining WBS element
    User Exits     IWO10011
    Description     Customer enhancement for component selection
    User Exits     IWO10012
    Description     Priority handling on central header
    User Exits     IWO10015
    Description     F4 Help for user fields on operation
    User Exits     IWO10016
    Description     Customer enhancement to check operation user fields
    User Exits     IWO10017
    Description     Determine external order number by customer logic
    User Exits     IWO10018
    Description     User fields on order header
    User Exits     IWO10020
    Description     Automatically include task list
    User Exits     IWO10021
    Description     Automatic task list transfer when creating order from notification
    User Exits     IWO10022
    Description     Determine calendar from user exit
    User Exits     IWO10023
    Description     Service order: Change header data for advance shipment document
    User Exits     IWO10024
    Description     Service order: Changes to items for advance shipment
    User Exits     IWO10025
    Description     Finding responsible cost centre
    User Exits     IWO10026
    Description     User check on setting status 'Do not perform'
    User Exits     IWO10027
    Description     User exit: Generate user-defined settlement rule
    User Exits     IWO10029
    Description     Inclusion of bill of material in PM/SM order
    User Exits     IWO10030
    Description     Predefining the fields for the profitability segment
    User Exits     IWO10031
    Description     Hide personnel number in PM/SM order
    User Exits     IWO10033
    Description     Customer-Specific Authorization Check PM/CS Order
    User Exits     IWO10034
    Description     Operation status based on the status of capacity requirements
    User Exits     IWO20001
    Description     User exit to pass routing/task list to order
    User Exits     IWOC0003
    Description     PM/SM authorization check of ref. object and planner group
    User Exits     M06B0002
    Description     Change communication structure for purchase requisition release
    User Exits     MGA00003
    Description     Material Master (Industry and Retail): Number Display
    User Exits     PPCO0001
    Description     Application development: PP orders
    User Exits     PPCO0005
    Description     Storage location/backflushing when order is created
    User Exits     PPCO0023
    Description     Checks changes to components
    regards,
    Venkatesan Anandan

  • BADI or User Exit for role/profile assignment SU01/PFCG

    Hi ABAP gurus,
    I need a way, BADI, UserExit to do some verifications over a role or a profile before is assigned in the Tcode: SU01 and PFCG.
    These verifications prevent the assigment of critical roles, transacction or access to tables.
    Any information about this topic it would be very helpful...
    thanks...

    Hi RAFAEL ,
    Only one exit is available for this  Tcode SU01.No Exits available for PFCG
    Enhancement     SUSR0001     User exit after logon to SAP System                    
    For SU01 we can check the profile assignment  in program MS01CU10 and some AUTHORITY-CHECK:
    AuthCheck     MS01CC10     S_DEVELOP     AUTHORITY-CHECK     ABAP Workbench                    
    AuthCheck     MS01CU10     S_TCODE     AUTHORITY-CHECK     Transaction Code Check at Transaction Start                    
    AuthCheck     MS01CC10     S_USER_AUT     AUTHORITY-CHECK     User Master Maintenance: Authorizations                    
    AuthCheck     MS01CC10     S_USER_GRP     AUTHORITY-CHECK     User Master Maintenance: User Groups                    
    AuthCheck     MS01CC10     S_USER_PRO     AUTHORITY-CHECK     User Master Maintenance: Authorization Profile                    
    AuthCheck     MS01CC10     S_USER_SYS     AUTHORITY-CHECK     User Master Maintenance: System for Central User Maintenance                    
    In the same way PFCG contains some AUTHORITY-CHECK:
    AuthCheck     LSUPRNU18     S_USER_TCD     AUTHORITY-CHECK     Authorizations: Transactions in Roles                    
    AuthCheck     LSUPRNU27     S_USER_PRO     AUTHORITY-CHECK     User Master Maintenance: Authorization Profile                    
    AuthCheck     LSUPRNU23     S_TCODE     AUTHORITY-CHECK     Transaction Code Check at Transaction Start                    
    AuthCheck     LPRGN_TREEI0O     S_USER_AGR     AUTHORITY-CHECK     Authorizations: Role Check                    
    I hope this may helpfull.
    Thank you,
    Thanks,
    AMS

  • Can i assign a string to a variable in User Exit?

    Friends,
    I would like ot write a User Exit that will assign a string to a variable depending on the value of the other variable.
    I just wanted to know if such a code is valid:
    When zimport
    IF i_step = 2.      " read user input parameter
            l_s_range-low = 'Important'.
         APPEND l_s_range TO e_t_range.
        ENDIF.
    If so, my second problem is that in the variable exit definition with processing Customer type you need to identify a "Dimension" for the variable. Non of them really fit, because the value is a string so why convert it to another format?
    Your input is appreciated in advance,
    Xibi

    hi Xibi,
    say you have var1 and var2, var2 will be filled depend on value of var1, you can write something like following.
    please be remind that var2 is not marked as “ready for input” and is set to “mandatory variable entry”.
    hope this helps.
    The second step (I_STEP = 2) is called after the processing of the variable pop-up. This step is called only for those variables that are not marked as “ready for input” and are set to “mandatory variable entry”.
    WHEN 'var2'.
        IF I_STEP = 2.
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
                  WHERE VNAM = 'var1'.
            CLEAR L_S_RANGE.
            if LOC_VAR_RANGE-low = ...
              L_S_RANGE-LOW = 'IMPORTANT'.
            else.
              L_S_RANGE-LOW = '....'.       
            endif.
            L_S_RANGE-SIGN   = 'I'.
            L_S_RANGE-OPT    = 'EQ'.
            APPEND L_S_RANGE TO E_T_RANGE.
          ENDLOOP.
        ENDIF.

  • Error assigning users to application Role in Obiee 11.1.1.7.0

    Hello
    I installed Obiee 11.1.1.7.0 both on Windows and Linux platform and after that, I successfully set Active Directory integration. I have a problem assigning users to Application Role in EM. When I'm trying to search a user on Display name, the Principal userName returned is blank and the error is : Java Null Pointer Exception
    After that I install a fresh copy of 11.1.6.0. After AD Integration, I was able to assign users to Application Role. I made 11.1.1.7.0 upgrade and same error has come. I think this is a bug because same AD settings on 11.1.1.6.0 works.
    The error:
    ava.lang.NullPointerException
    #{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: java.lang.NullPointerException
         Hide Additional Trace Information
    javax.faces.FacesException: #{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: java.lang.NullPointerException at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1086) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:434) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) ... 67 more Caused by: java.lang.NullPointerException at oracle.sysman.emas.model.security.DialogAdminBean$1.compare(DialogAdminBean.java:567) at java.util.Arrays.mergeSort(Arrays.java:1270) at java.util.Arrays.mergeSort(Arrays.java:1281) at java.util.Arrays.sort(Arrays.java:1210) at java.util.Collections.sort(Collections.java:157) at oracle.sysman.emas.model.security.DialogAdminBean.fetchPrincipals(DialogAdminBean.java:563) at oracle.sysman.emas.pagemodel.security.identity.EditAppRolePageModel.searchPrincipal(EditAppRolePageModel.java:496) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46) ... 68 more
    Any suggestion?
    Thx
    Gabriel
    Edited by: Gabbriel on Apr 23, 2013 10:46 PM

    We received from Oracle a work-around of this problem.
    It seems to be related to the virtualize flag set to true. I f you set it to false the problem disappear (it works for me).
    (rif. http://docs.oracle.com/cd/E28280_01/bi.1111/e10543/privileges.htm#BABDCJBH)
    There's an open BUG on this problem: Bug 16808088 - 11G JAVA.LANG.NULLPOINTEREXCEPTION ADDING USER TO ROLE AFTER UPGRADE TO 11.1.1.7.
    Hope this works.
    S.

  • Assigning roles to users programmatically

    Hi,
    I want to programmatically create roles, assign roles to users etc.
    I saw at this thread
    ADF Security Policy Store
    the folowing scriptlet by Frank Nimphius
    try {
    IdentityStore idstore = JpsCommonUtil.getValidIdStore("idstore.xml.provider").getIdmStore();
    try {
    UserManager userManager = idstore.getUserManager();
    RoleManager roleManager = idstore.getRoleManager();
    Role adminRole = idstore.searchRole(Role.SCOPE_APPLICATION,"admin");
    // create user
    //TODO check for empty username and password
    User newUser = userManager.createUser(this.username,this.password.toCharArray());
    roleManager.grantRole(adminRole,newUser.getPrincipal());
    } catch (IMException e) {
    // TODO
    } catch (JpsException e) {
    // TODO
    return null;
    this is a TP3 scriptlet, is it still working on the 11g production?
    I try it and i get a JpsException
    oracle.security.jps.JpsException
         at oracle.security.jps.internal.common.util.JpsCommonUtil.getValidIdStore(JpsCommonUtil.java:1004)
    do I have to replace "idstore.xml.provider" with something else depending on my configuration?
    thanks
    Tilemahos

    Hi Frank thanks for the answer,
    I check this functionality at WLS embeded LDAP and I shaw your "How-to configure OID for authentication in WebLogic Server" post.
    I manage to add users and assign them roles that i created at my application.
    But what if I want to have a super user that can create new roles and assign them member roles?
    eg.
    Developer created roles (policy store):
    accessPage1 ( granted all the necesery principals to access page1 )
    accessPage2 ( granted all the necesery principals to access page2 )
    Super user created roles
    Role1 member roles :accessPage1,accessPage2
    If i want my application to have that functionallity i must create roles programmatically wont I?
    If there another way?
    By the way I followed the advices at the following useful links
    Chris Muir: http://one-size-doesnt-fit-all.blogspot.com/2008/12/configuring-wls-with-ms-active.html
    Frank Nimphius's How-to configure OID for authentication in WebLogic Server
    Edwin Biemond's Using OpenLDAP as security provider in WebLogic
    Andrejus Baranovskis: Practical ADF Security Deployment on WebLogic Server
    And I manage to add users of the Microsoft LDAP at the WLS
    but I could't mekae them group members of my application groups (roles)
    is this possible?
    Thanks

  • Assigning Roles to Users and Groups

    Hi,
    We have installed EP 5.0 SP4...with Content Management...we configured the LDAP to Portal......all the users are maintained through LDAP only...the problem is assigning the Role's to user..here in portal how to assign the roles to the users...we are not getting the Role assignment option under Portal Admin TAB..is there any way to configure the roles to User's are Group's.....
    it is an urgent assignment for me..help can be appreciated...
    sudhir

    Sudhir,
    You can assign the roles to users and groups as below.
    1. Select the System Administration in the top level navigtion
    2. Select user administration
    3. You can search for a specific user or a group from this iView.
    4. Use the edit button to edit the profie of the user or group.
    5. Search for the role in the search iView.
    6. Add the role to the user of group and save.

  • Problem in assigning roles to users

    Hi
    I created Role in EP, which i want to assign to the users. i assigned that role to user. the user i not able to access the particular iviews. i attached some R/3 transactions iviews to that role. it says unable to lookup the system or system alias. when i assign that role to me, i'm able to access that iviews(R/3).
    i have superadmin role permissions.
    what default roles and permissions need to assign for users.
    suggest me
    thx
    pradeep

    Hi Pradeep,
    In SP9 apart form creating a System, we need to assign permissions for users.
    Follow this path:
    System Administration -> Permissions -> <select your System in Portal Content> -> Open Permissions <on right click>. This would take you to the Permission Editor.
    Here you need to add the user and assign permissions.
    Please check this and let me know if its working.
    Awaiting Reply.
    Warm Regards,
    Ritu

  • User Exit/Badi for G/L account assignment in ME21n/ME22n

    Hi All,
    I need user exit/badi for account assignment in item details for following requirement.
    If user changes G/L account of the first line item then I have to copy same G/L account to all line items.
    Please suggest me suitable user exit for this.

    hello,
    follow the steps.......
    For User Exit's
    goto to tcode->status->program name->double click on that,
    then goto to-> attribute take the package name and
    Goto SMOD tcode ->Utilities->give the package name and F8
    then a list of exits will display for that tcode as well as that package.
    u can check the table MODSAP
    For BADI's,
    1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
    keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
    then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
    2)Goto to tcode->status->program name->double click on that program will display's
    then  press crtl+F then cl_exithandler
    Thank u,
    santhosh

  • Need user exit, BAdI for acc. determination in PO-multiple a/c assignment

    Hi,
      I am looking for a user exit in ME21N transaction.
      In case of multiple account assignment, I need a user exit where I can calculate the percentage to split the item to post into different G/L accounts. The percentages need to be calculated based on custom configuration tables. The percentage and G/L Account should be defaulted on the screen. Even setting them during save may also be fine.
    Thanks.
    Srinivas.

    Hi,
    U can try this badi:
    ME_PROCESS_PO_CUST.

  • User Exit/BADI/Enhancement Point  in VF01 before new document no assignment

    Hi Expert,
       I am looking for a user exit/BADI/Enhancement point which will trigger in VF01 before the new document no (Billing document no assign).
    I need to cross check few things in Billing via VF01 at billing document save and give error message accordingly. The problem is if new number assign and there is error due to my code then when user save the document next he get a new no. its mean a no skip.
    Example: The invoice no is 1000. User start creating a billing document with Vf01 and he get an error message due to my code at exit , at this point of time the next number assign to billing which is 1001 but document not save due to my error message. Now after applying correction user save data and billing document created with no 1002. So there is no skip.
    I tried BADI BADI_SD_ACCOUNTING but this will trigger after no assignment.  Can someone provide me a user exit/BADI/Enhancement point in VF01 which trigger before no range assignment and contain at least Billing header data to use in my code?
    Regards
    Swati
    Edited by: Swati Namdev on Nov 16, 2010 9:55 PM

    HI Brad and team,
       BRED is right. I check few user exit normally all of us have that list or easily available on net.
    BRED: my question is: I need to check the billing date VBRK-FKDAT of document should not be less than the sales order plan billing date VBAP-Oldate.
    If this check fail then won't allow the user to create billing document. The problem is I used one user exit SDVFX001 already define previously that's work fine but issue is that user exit trigger after the billing no assignment. That's why when user get that error message he correct the document and create billing this time he get a new number which is skip of one no.
    That why I need a User Exit/BADI/Enhancement Point  which trigger at save but before document no assignment.
    Please update more about your comment "Why not use a header level copy requirement routine to perform the checks and log the messages? This is the standard process."  .
    Suggest user exit USEREXIT_FILL_VBRK_VBRP  trigger before save. I need at save the reason is VBRK-FKDAT  this can be change.
    Feel free to contact me back if you need more clarification.
    Regards
    Swati
    Edited by: Swati Namdev on Nov 17, 2010 6:22 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:25 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:32 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:47 PM

  • Assign Source of Supply User Exit with Quota Arrangements in ME57 and ME56

    Hi there,
    We are using Quota Arrangements to define Vendor rebate levels and we have enabled User Exit EXIT_SAPLMEQR_001 to provide a more informative popup to replace standard Source of Supply popup as need to display current allocation quantities and % allocation fulfiled.
    This User Exit is invoked during Assign Source of Supply during PReq processing (More precisely during Assign Source of Supply in ME51n and Automatic Source of Supply in ME57 and ME56) which all works fine.
    When used in ME51n and Source of Supply Assigned and PReq saved, the allocated quantity against the valid Quota Arrangement (EQUK-QUMNG) is successfully updated with the relevant amount
    When using ME56 or ME57 to Automatically Assign source of Supply via the PReq list, the User Exit is invoked correctly and on selecting Vendor and saving the PReq is update correctly, however the allocated quantity against the valid Quota Arrangement (EQUK-QUMNG) is NOT updated with the relevant amount
    I have searched SAP Notes and debuged with limited success but cannot find evidence as to why this difference is happening - I assume that it has something to do with User Exit but any advice gratefully received if anyone else has experienced this issue?
    Ben

    Hello Jerry,
    source will be determine based on the following points:
    Outline Agreement
    Info record
    Quota Arrangement
    Source List
    For more information, <a href="http://help.sap.com/saphelp_47x200/helpdata/en/75/ee11b255c811d189900000e8322d00/content.htm">Click here</a>
    Hope this helps.
    Regards
    Arif Mansuri

Maybe you are looking for