How to create groups and assign users thru program
Hi,
I am planning to create groups by program and assign users to them based on some condition.Once users are assigned to those groups we need to change the Language value for those users in User profile
We are using Central User Administration.
Please let me know the solution
Thanks
Bala Duvvuri
probably you can use this code to create a group
IGroupFactory groupFact = UMFactory.getGroupFactory();
IGroup group = groupFact.newGroup(wdContext.currentContextElement().getGroup());
group.commit();
for this required com.sap.security.api.jar
Similar Messages
-
How to create groups and add users?
Hello,
I have created 3 groups as Portal_Admin and added 2 users for each group.
When I am trying to grant permissions to these groups to the Applications owned by Portal30( I have logged in as portal30 at this point), I am unable to see these groups but am able to see these individual users.
I am trying to grant access to individual menu items/sub menus of a Portal Menu.
Is it correct way to do things?
Or am I wrong somewhere?
My Idea:
I would like to create 20 users 10 of each belong to particular Oracle schema and then organize these 20 as groups
who will access certain application objects.
I wanted to give Admin an option to add/del/modify users to and from a Group once initial setup is done.
We really stopped here.
Your help is appreciated.
Thanks
MadhavIt's a bug.
Type the name of the group you want to add the user to and click apply, if you typed it correctly the the group name will appear.
We are building a fix for this.
Portal PM -
How to Create groups and targets....
Hi guys,
Here is a chance of getting some easy points
I know that it may seem a dumb question but I can't find out how to create a transport group and a transport target....
I've read help.sap and some other threads related to the subject but all I was able to get was:
help.SAP.com
"Procedure
Defining Groups of Business Systems
Define groups of business systems for different areas of use (for example, testing and production) and assign an Integration Server to each group.
1. On the initial screen of the SLD, choose Business Landscape.
2. From the dropdown list box for the input field Groups, choose Edit Groups . "
Well I can't find where is the dropdown list....:S
I'm using SP10 and all I have in the SLD are 3 options:
1.Technical Systems
View and Define Systems and Servers
2. Landscapes
View and Configure Groups of Systems
3. Business Systems
View and Configure Business Systems for Use in Exchange Infrastructure (XI)
If I choose "Landscapes", the only thing I'm able to do is to create a landscape from a specific type (Adminitration, General, Transports, NWDI systems, etc....)
If I create a landscape with the type 'Transports" and then associate a technical System, I thought that in my Business System I would be able to choose this lanscape....
But The only thing I have is group and transport target and they're completely empty, showing "No additional groups available" and "No targets"...
Can anyone help me and get some easy rewarding points?Hi Chirag,
I've read the following link, but the question is....
- Where is the link to create transport groups? That is my only question It's as easy as that
Found it...sorry I knew it was easy
Edited by: Gonçalo Mouro Vaz on Dec 20, 2007 5:13 PM -
How to create Groups and Group Leaders in Clusters.
Hi,
As we know in unicast there is one to one communication and there are groups to control the Thread
Management, How the Groups and the Group Leaders are created.
Regards,
Vardhan.Unicast clustering uses TCP/IP sockets to pass cluster messages between members. To avoid requiring each cluster member
to have connectivity to every other cluster member, WebLogic Server uses a group leader strategy whereby the oldest member
of the group (in other words, the server that was started first) is designated the group leader. All members of the cluster
connect to the group leader so that the group leader acts as the relay point for cluster messages between members.
If the group leader goes down, the next oldest member becomes the new group leader.
As you can imagine, the group leader strategy works well for small groups but becomes less efficient as the number of members
of the group grows large. As such, WebLogic Server uses a multiple group leader strategy where it limits the number of members
in a group to 10. If the cluster is larger than 10 members, WebLogic Server splits into two or more groups, each with their own
group leader. The group leaders themselves are all interconnected to minimize the number of hops that a cluster message must
traverse to reach all cluster members. -
HOW TO CREATE ROLE AND ASSIGN TO USER
Dear all
1- Create ROLE data_entry
2- Now open the Form Builder --> open Mennu.mmb --> F4,it open the property pallete --> Set use secturity option
YES and in Module Role option set Roles --> form_entry
5- Press F3 (Come back in Navigator Pane) then double click on Mennu, it open Mennu which is attached Forms then
double click on that one Form which attach Role with it --> click on Item Role --> and attach the Role
6- Go start Mennu --> Oracle Form6i-Admin --> Build after this it will ask
‘Enter System Passwors’ then Give the Local Password.
'Enter database connection ( e.g. t:node:SID) [LOCAL] ' Give ORCL ( but me confused what should i give over
here)
7- Create User DEO Identified By DEO
8- Grant DBA to DEO
9- Grant data_entry to DEO
When i run my application and get login by DEO user then i receive this Error:
FRM-10247: No activate items in root menu of application.
please let me know where i am making mistake
Thanks in advance
Regards,Hi,
Just check your second point.
- Now open the Form Builder --> open Mennu.mmb --> F4,it open the property pallete --> Set use secturity option
YES and in Module Role option set Roles --> form_entryHere, you are using "form_entry" role to the menu but you've granted data_entry role to the user.
Hence, at run time forms is expecting user with form_entry role, which it's not getting.
Hope it helps.
Please mark answer as helpful / correct, if it helps you
Navnit -
Define and assign user authorization groups in FI
Hi All,
In order to allow some specific group of users to post in AUGR allowed periods, how do I define and assign user authorization groups in FI?
Thanks,
TeoHi Teo,
Here i am giving some authorisations in fi
F_AVIK_BUK FI Payment Advice: Authorization for Company Codes
F_BKPF_BED FI Accounting Document: Account Authorization for Customers
F_BKPF_BEK FI Accounting Document: Account Authorization for Vendors
F_BKPF_BES FI Accounting Document: Account Authorization for G/L Accounts
F_BKPF_BLA FI Accounting Document: Authorization for Document Types
F_BKPF_BUK FI Accounting Document: Authorization for Company Codes
F_BKPF_BUP FI Accounting Document: Authorization for Posting Periods
F_BKPF_GSB FI Accounting Document: Authorization for Business Areas
F_BKPF_KOA FI Accounting Document: Authorization for Account Types
F_BKPF_VW FI Acc. Document: Change/Display Default Vals for Doc.Type/PKey
F_BL_BANK FI Authorization for House Banks and Payment Methods
F_BNKA_BUK FI Banks: Authorization for Company Codes
I hope it will help.
BR,
Satya -
Urgent : How to create Manager and Reportee of a User in Embedded LDAP in W
Hi All,
I have created user in Weblogic Server Embdeed LDAP (Console-->SecurityRealm)
however how can I assign another user as Manager of this user and some other user as reportee of this user.
Basically how to create Manager and Reportee of a User in Embedded LDAP in Weblogic 10.3.5
ie I have a user A and user B created in Security Realm.
Now I want user A to be as Manager of User B so that when I use getManager() function in Human Task,I get A as Manager of B.
Thanks
Edited by: Vivek on 28 Sep, 2011 3:54 AMTo get an idea check these links.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/aaa1a890-0201-0010-eb93-ae3d2bb74a78
BSP/HowTo - Customizing the design of System Logon page in NetWeaver '04
-Aman -
Hi All.
How to end/terminate and assignment with end dated entered by user Apps R12.1?
when i try to end or terminate and assignemnt the sysdate is begin registered for effective_end date.
any help is reaaly greatly appriciated
thanks and regards
SoniHi Soni,
What is the end date you want to enter as. Are you talking about 31-Dec-4712. If not, please change the sytem effective date (calendar icon on the oracle menu) to the date you want to terminate and follow the termination process.
Thanks,
Avinash -
Error is in example "How to Create Online and Offline Forms in Web Dynpro"
Hi,
I am developing " How to Create Online and Offline Forms in Web Dynpro " in nwds 7.0. This is standard example which is available at sdn. but when i run it gives me error like "
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
... 34 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Thu Feb 15 10:23:57 IST 2007
J2EE Engine 7.00 patchlevel
Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Mon Oct 29 12:13:24 IST 2007 (Java Time: 1193640204484)
Web Dynpro Code Generation Infos
local/TravelRequest
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
So please help me to correct this error .....
Help will be rewarded.
Regards,
Gurprit BhatiaHi Gurprit,
A null value is being passed at runtime. Make sure that you enter values when filling in the form.
Also check for the cardinality of the nodes being used. You can also initiliaze your value attributes as follows:
In wdDoInit() method:
wdContext.currentNodeAElement.setValueA("");
Context is as follows:
RootNode
|____NodeA
|_____ValueA
Hope it helps. -
How to create Lookup field in user form in OIM 11g - Urgent
Hi Experts,
How to create Lookup field in User Form - OIM 11g.
Pls. provide your support on priority.
Regards
KaranThanks all for your suggestion.
Our requirement, is we need to have a user defined field similar to how its there in "Organisation".
For example we need to create an user defined field like "Service Holding" which holds different services say like Service 1, Service 2, Service 3 etc.
Under each service there are multiple roles....
Eg:
Service 1 - Role 1, Role 2, Role 3
Service 2 - Role 4, Role 5
Service 3 - Role 6, Role 7, Role 8
Is there a way to store multi-valued attribute in OIM UDF? If so, pls. guide us
If its not possible we would need to create a Lookup field (something similar to Organization or Manager). User clicks on the button (lens button), which should invoke an API wherein he can select specific Roles and save in User. Eg. like Service 1 - Role 1#Service 2 # Role 5 and store in the backend database.
Is this possible. Pls. guide.
Regards,
Karan -
How can create SEGMENTS and IDOC TYPE in BADI in ECC 6.0 version
Hi All,
Can any one help, how to create SEGMENTS and IDOC TYPE in BADI in ECC 6.0 version.This is my task.
Given BADI name was----VENDOR_ADD_DATA_BI .
ThanksAnil,
look at this thread ..may be this helps you.
Re: 824 IDOC and BADI/User Exit
sateesh. -
How to Create inspection that assign to Purchase Order / Material Document
Dear QM Master,
I am using QA01 to create inspection lot but can any master tell me , How to Create inspection that assign to Purchase Order / Material Document ?
Appreciate.
Thank you.Hello,
When you create an inspection lot manually, you cannot reference an original document (for example, a goods receipt document, an order, or a delivery note).
In QA01 you can create inspection lot manually for all inspection lot origins except the following:
10 - Delivery to customer with sales order
11 - Delivery to customer without sales order
12 - General delivery
13 - Repetitive manufacturing
14 - Plant maintenance
You can also refer this link
http://help.sap.com/saphelp_47x200/helpdata/en/2d/3519d8448c11d189420000e829fbbd/frameset.htm
Please check and revert.
Regards,
Priyanka -
How to create a new admin user in oracle 9i?.
Hi I am new to oracle. I want to set up a new database for my application.
How to create a new admin user in oracle 9i?. I would like to have a new schema. where I can create tables for my application from scratch.If I understand your question correctly:
You need to be connected to the database with the user SYS.
open a command-line session and do the following to create an Oracle user with DBA option other than SYS.
C:\>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 14 08:46:13 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn / as sysdba
Connected.
SQL>
SQL> create user test identified by pass;
User created.
SQL> grant create session to test;
Grant succeeded.
SQL> alter user test account unlock;
User altered.
SQL> grant dba to test with admin option;
Grant succeeded.
SQL> conn test/pass
Connected.
SQL>
SQL> sho user
USER is "TEST"
SQL>Now you have a user with username 'test' and password 'pass' with DBA role with Admin option
Tony Garabedian
From now on you can connect directly with SQL*Plus no need for comman-line. Just provide the username/password and you're logged in.
Message was edited by:
Tony Garabedian -
How to create DataSource and ConnectionPooling in WAS
hi,
can u please tell me how to create connectionpool and data source in WAS.pls send me step by step procedure
regards
GuruHi,
Here is the steps to creat a JNDI lookup using Datasource for MSSQL Server. Follow this and use necessary oracle parameters (in bold) as gives by me in the help link above.
Click DataSources in the same path i.e. server > services > JDBC connector
Click new driver or datasource.
Enter/ Set the following properties:
Main Tab
DataSource Name : KAAR_DS
Add Alias : KAAR
SRI
Driver Name : KaarSQLDriver
JDBC version :2.0 (with XA support)
<b>Object factory : com.microsoft.jdbcx.sqlserver.SQLServerDataSourceFactory
DataSource Type : ConnectionPoolDataSource
CPDS classname : com.microsoft.jdbcx.sqlserver.SQLServerDataSource</b>
Additional tab
Add the following properties (key-value):
serverName = localhost
databaseName = KA4
portNumber = 1433
user = CV
password =<password>
Save and restart J2EE. The datasource is now ready to use.
Connection Pooling
Initial connection : 0
Maximum connection : 100
Maximum time to wait for connection : 60
Default connection isolation : DEFAULT
SQL Engine
Select, Vendor SQL
DB Initialization Tab
Add a valid sql statement, and execute. If it is successfully executed, a popup window comes up saying Executing <sql query> . OK.
It is done. Now you can use the JNDI look up name in your coding to access the database. Get connection and use the queries to fetch data from db.
Regards,
Srinivasan T
<b>Helpful answer=>points</b> -
How to create Service and response profiles
Hello Gurus
I have configured the IC Web Client in solution manager 4.0 system. But in sservice ticket i am not able to see the SLA info. Please tell me
where to give these SLA parameters ?
How to create service and response profiles?
Shuold i use SLF1 instead of SLFN to maintain SLA ?
Please tell me how to do these it will be very helpful....Hi Naveen
The Service and Response Profiles can be created in the easy access menu using the path
SAP Menu> Service> Service Contracts and Service Plans--> Maintain availability and Response Time
Availability time is also know as service profile
And then assign these service and response profiles to your Servie Product Master which will be used in the service ticket.
For the field to be available to enter teh service and response profile in the product master, assign the set types COMM_PR_SRV to the category in which the product will be created
Hope this would help.
Regards,
Rekha Dadwal
<b>
You gain a point for every point that you reward. So reward helpful answers generously</b>
Maybe you are looking for
-
Getting the error "Adobe Send cannot currently send this file" how can I find out why?
Getting the error "Adobe Send cannot currently send this file" how can I find out why?
-
Form based authentication HTTP 403 access forbidden in WL 8.1
Hi there.. I found following message posted in April-2004 by Sandeep very useful. I also ended up getting the following HTTP 403 Forbidden access error while using Pageflow controller and Form based authentication. I noticed 2 things. If you have a n
-
Music stream from pc (home media server) to n80
Hi I have successfully connected my N80 over wlan to my pc. i can copy music to my mobile over the wlan using the media server... But is ist also possible to play music wich is stored on my pc on my N80, without copying it to the phone. I mean someth
-
Wsimport multiple wsdl problem
Hello, I have been using wsimport successfully to generate a class library based on a wsdl file. The application hits 2 different web services on the same server which I have no control over, and each of these web services use a common xsd. Therefore
-
Hey guys, So my MBPr is acting up, Time Machine is taking forever, Spotlight keeps reindexing for hours and whole bunch of unexplained processes that is eatting up my resources like Fontworker never stops running...etc. So I am kind of fed up. And