Creating portal users from SU01 users
Hi,
We are on SRM 7.0 and have a requirement that whenever an SU01 user is created, a portal user should also be created immediately corresponding to this SU01 user.
Since we are also using SUS, whenever an admin supplier creates a contact person for his company, an SU01 user is created at the backend. We want this contact person to be created automatically in the portal. Currently its an offline activity where the admin supplier calls up the helpdesk to enable his contact person in the portal.
Pl shed some light on this.
Thanks & regards,
Nikhil
Thanks for the update.
We don't have an LDAP and hence option 1 is ruled out for us.
If i have the Portal UME as a data source, then how to replicate the users that are created in SRM?. The Users are created an SRM for EBP-access as end users, approvers, purchasers, bidders etc... and how to replicate these users to the Portal?. The SUS users are accessing both SUS functionality and bidder functions and hence they need to be in Portal Or they have to go to 2 different links with different password and hence we need to replicate the SUS users to the Portal too.
We are not considering CUA as of now and hence as of now this is ruled out too.
Any pointers/suggestions are highly appreciated.
Thanks
velu
Similar Messages
-
Create portal user using web dynpro abap application
Dear All,
I would like to know is it possible to create portal user-id through web dynpro abap application.
My requirement is
> I have to create a web dynpro abap application. In the web dynpro abap application I have name email-id and phone number as entry fields.
> I will click on submit, one unique id will get created. This unique id will be the login id for portal.
I found how to create portal user using web dynpro java, but i could not find regarding web dynpro abap.
If it is possible to create the portal users using web dynpro abap pls share the code as well.
Regards,
Swapnil IndulkarHi swapnil,
I think by using BAPi.. BAPI_USER_CREATE1 you can create.
Please check this...
Create portal user from webdynpro abap
Creating user and assigning a group through code
user administration su01
How can i get the portal user id from logon ticket in the webdyn 4 ABAP
Cheers,
Kris.
Edited by: kissnas on May 21, 2011 8:47 AM -
How to create portal user and integrate with external appl login
How to create portal user and integrate the user with external application for single sign-on ?
I want to access my external application thru portal user ..?
ShyamHi Jithin,
The link that you've shared talks about a different scenario.
In my case, I want to pass the portal user id when the user clicks on the Help Link present in the header area.
I am trying to pass it along with the Help Link Url property of a masthead iview but it is not getting passed to the target Url.
I would like to know if it is possible to pass the Portal User Id in this way or not.
Though if we create a appintegrator iview and pass the user id <User.UserID> along with the target Url, it reaches there.
Thanks & Regards,
Anurag -
Hiii,
Iam creating portal users in the web dynpro.I had taken Grid layout.I written code like this.
public void onActionCreateUser(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionCreateUser(ServerEvent)
String user = wdContext.currentContextElement().getUser();
String lastName = wdContext.currentContextElement().getLastName();
String firstName = wdContext.currentContextElement().getFirstName();
String email = wdContext.currentContextElement().getEmail();
IUserFactory userFact = UMFactory.getUserFactory();
try {
IUserMaint userMaint = userFact.newUser(user);
userMaint.setLastName(lastName);
userMaint.setFirstName(firstName);
userMaint.setEmail(email);
userMaint.commit();
wdComponentAPI.getMessageManager().reportSuccess("User Created "+user);
} catch (UMException e) {
wdComponentAPI.getMessageManager().reportException(e.getMessage(),false);
e.printStackTrace();
//@@end
In the output iam getting
: Vijay
: Vijay
:Tivari
: email address giving
Label is not displaying in the output (.that is the left part).But iam able to create the users.
Name
First Name
Last Name
Email
These things have to be shown in the output.
Please provide the solution for this.Hi
Iam creating portal users in the web dynpro. Iam getting error in the code
_Error : The method setPassword(String) is undefined for the type IUserMaint*_ *
Will anyone help me to sort this issue.
Please reply the necessary code.
public void onActionCreateUser(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionCreateUser(ServerEvent)
String user = wdContext.currentUserDataElement().getUser();
String password = wdContext.currentUserDataElement().getPassword();
String lastName = wdContext.currentUserDataElement().getLastName();
String firstName = wdContext.currentUserDataElement().getFirstName();
String email = wdContext.currentUserDataElement().getEmail();
IUserFactory userFact = UMFactory.getUserFactory();
try
IUserMaint userMaint = userFact.newUser(user);
{code}userMaint.setPassword(password);
userMaint.setLastName(lastName);
userMaint.setFirstName(firstName);
userMaint.setEmail(email);
userMaint.commit();
wdComponentAPI.getMessageManager().reportSuccess("User Created "+user);
catch (UMException e)
wdComponentAPI.getMessageManager().reportException(e.getMessage(),false);
e.printStackTrace();
//@@end
Regards
Sushma -
Create Portal Users (In English)
Hi...
I'm creating users manually in Portal via PL/SQL with this functions:
wwsso_api_user_admin.create_user(uid,pwd,uid || '@xxxxxxx.com',sysdate,null,false,foo);
dbms_output.put_line('user created');
portal30.wwctx_api.set_context(p_user_name => 'PORTAL30',p_password => 'xxxxxxx');
DBMS_OUTPUT.put_line('context set ');
foo := portal30.wwsec_api.add_portal_user(p_user_name => uid,p_db_user => null,p_portal_user => 'Y');
dbms_output.put_line('portal user added ');
l_gid := portal30.wwsec_api.group_id(l_GROUP);
portal30.wwsec_api.add_user_to_list(p_person_id =>foo, p_to_group_id =>l_gid, p_is_owner => portal30.wwsec_api.NOT_OWNER);
portal30.wwsec_api.set_defaultgroup ( p_groupid => l_gid ,p_username => uid );
dbms_output.put_line('portal default group ');
This process creates the user correctly, but after the process, I can't access any application, even do a logout… because I’m getting this error:
[Thu Mar 29 11:34:02 2007] [warn] mod_plsql: Stale Connection due to Oracle error 6510
[Thu Mar 29 11:34:02 2007] [error] mod_plsql: /pls/portal30/STARTER.LOS_HOME_ASEG.show ORA-6510
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWCTX_SSO", line 852
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWCTX_SSO", line 935
ORA-06512: at "PORTAL30.WWCTX_API", line 170
ORA-06512: at "PORTAL30.WWSEC_API", line 3665
ORA-06512: at "PORTAL30.WWV_USER_SECURITY", line 32
ORA-06512: at "STARTER.LOS_HOME_ASEG", line 303
ORA-06512: at line 8
The only way to use any application with this new user is closing all the browsers windows
What can i do?Yes you can. you will need to create the
login server and portal users and activate them as part of a looping block of code.
Check out the security and login server forum for how to create users using the APIs
hth -
Creating portal users with owner privileges?
Hello,
I need to let local adminstrators create users in the portal.
This is based on instance-specific privileges, not global.
Setting them to 'owners' of the group in the portal should let them add users.
Once created and I log in as one of them I do not have the privileges of being an
'owner', eventhough it's visible in the portal that I am an owner.
Anybody?
/Hi,
To make the problem a little clearer.
I want to have "local adminstrators" that can manage portal users i.e; delete, insert and update portal users.
However I do not want these "local administrators" to be "Full administrators"- too dangerous.
The "local adminstrators" should belong to the same group as the users they are set to administer. The
only difference between a "local administrator" and a user of a group is that the "local administrator" have privileges
to manage the other users of the group. If I have understood the concept right an owner have these privileges.
I made them owners of the group, but this did not enable them to manage users.
This must be a rather common approach, to have some users being able to administer other users without being a fullfledge DBA.
Right now I'm looking into mapping them(the local administrators) to a different database schema with rights to manage users.
I realize that to map them to another schema, then the checkbox "Use this schema for Portal Users" have to be checked when creating the
schema. How do I check if this was checked and if it wasn't checked can I alter it now?
Another thought is to dynamically upon meeting certain conditions making them Full Administrators, then after finishing the task
reinstating them as normal users.. but this.. well hmm
Thanks.
/ -
In 9.02 I would like to make a form that creates the portal users, assigns user profile info and assigns them to a specific group. Does anybody have the plsql needed to do this?
Hi,
You can use the form on tables to build a form on the user table and have a trigger on this table which inserts and updates the other tables or have a form on a procedure which will insert into the user table and the other dependant tables. In the case of form on procedure you will have to build a procedure with parameters same as the input fields. -
What Built-ins must I call to create a Portal user?
Tom,
This post is best suited to the Oracle9iAS SSO and Portal Security forum.
Thanks -
Create Portal user within Oracle IAS9.0.4 (10g) using APIs
With the Portal version 3.0 we created our users using the functions:
1. wwsec_api.add_portal_user(...)
2. wwsec_api.activate_portal_user(<user>)
3. WWSSO_API_USER_ADMIN.CREATE_USER(...)
Now with the Portal version 9.0.4 (10g) we can't create the users.
Any sugestions?declare
l_group varchar2(240);
l_member varchar2(240);
l_guid varchar2(32);
l_id number;
l_user_name varchar2(64) := 'user';
l_pass varchar2(64):= 'user';
l_email varchar2(64) := '[email protected]';
begin
--user to ldap
l_guid := wwsec_oid.create_user_entry
p_base => wwsec_oid.get_user_search_base,
P_USER_NAME => l_user_name,
p_password => l_pass,
p_email => l_email
commit;
--include to default group
l_group := 'cn=AUTHENTICATED_USERS,'||wwsec_oid.get_group_search_base;
l_member := 'cn='||l_user_name||','||wwsec_oid.get_user_search_base;
wwsec_oid.grant_group_membership
(p_group_dn => l_group, p_member_dn => l_member);
commit;
--in portal default group
wwsec_api.add_user_to_list(
p_person_id => wwsec_api.id(l_user_name),
p_to_group_id => wwsec_api.group_id('AUTHENTICATED_USERS'),
p_is_owner => wwsec_api.not_owner
commit;
--add to portal
l_id := portal.wwsec_api.add_portal_user(p_User_Name=>l_user_name,
p_Portal_User=>'Y',
p_Email => l_email);
commit;
end;
lower('LUCK') -
Create Portal user programmatically
Hi,
I've been told there was an API in the 3.0.8 portal release to allow the creation of portal users in the Login Server programmatically.
I think this API is called : portal30_sso.wwsso_ls_private.
Does anyone know where I can find this API description ?
Thanks.
nullThis informaiton is contained in the PDK - PL/SQL:Reference Material accessible at http://portalstudio.oracle.com
Direct links: http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/plsql/doc/sdk6pkg.htm http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/plsql/doc/sdk6apo.htm -
Diable Password Generation while creating Portal users..
Is there a way you can disable the passworg generation fields while an Admin creates a user.
Well, I would like to disable all the 3 optionsfor the Admin (Define Pwd/Generate Pwd/Disable Pwd)
The users are going to be authenticated by Site Minder Agent.
ThanksHi Ritu,
>>please guide me as to how can I set mandatory fields in my code??
In ur jsp file or in the controls code add the following attribute
<hbj:label id="userIdLabel"
text="User ID"
labelFor="userIdInput"
design="HEADER3"
required="true"/>
and to check the mandatory entry for that field do this in the submit button
<hbj:button id="insert"
text="Submit"
design="emphasized"
onClick="save"
onClientClick="if(!isMandatory()) htmlbevent.cancelSubmit=true;;"/>
and in the javascript write the client validation code.
Hope this helps.
Regards,
Joshua Kiran -
Creating Portal Reports from Collab rooms
Curious to know if the following is possible...and if so, how it would be accomplished...
can a threaded discussion within a portal collaboration room can be combined with other SAP information (i.e. inventory data) to create a report....
Thanks in advance,
GeoffYou can do save the views in the Bex Analyzer. Like hwne you execute a query, then lets say you filter and add a drilldown, you can save this as a View from the Save button (View Global). Later views can be opened up in the Open button a sOpen > Saved Views. These views can be used as data providers in a web template.
Another idea...I am not sure if this works, but when you publish to the web you get a URL that has the "Query=..." at the end. You can try putting in your view technical name here and see if it works.
Hope this helps... -
Dear Gurus
To map the employees from R/3 to Portal Users, we have to create a user id for every employee in the portal, at the same time is it necessary to create the user in the R/3
Eg. We have 3000 employees, and their data is maintained in R/3, now we have to create the Users for these employees in Portal, at the same time is it necessary to create the Users for all the 3000 employees in R/3?
Regards
kumarYes in case ur UME is database data source then u need to create the portal users as well the r/3 users.
in case ur UME is ABAP data source then in portal automatically the r/3 users will be appeared and there is no need to create portal users seperately.
Always ESS Users need to have userid in the Backend system also (i.,e SAP R/3)
Edited by: Vijay Mohan on Mar 30, 2010 12:23 PM
Edited by: Vijay Mohan on Mar 30, 2010 12:24 PM -
What is the difference between WebLogic Server users and Portal users
Hi All
What is the difference between users created in the WebLogic server and those
created from the webLogic Portal Admin console.
- leoHi Leo,
The WebLogic server console allows you to create users in the File realm (
http://e-docs.bea.com/wls/docs61/adminguide/cnfgsec.html#1057106 , "Defining
Users" ).
The WebLogic Portal Admin console creates Portal users in the alternate security
realm that was written to store user/password in the Portal schema. This realm is
com.bea.p13n.security.realm.RDBMSRealm. See the javadoc for RDBMSRealm at (
http://edocs.bea.com/wlp/docs40/javadoc/wlp/com/bea/p13n/security/realm/RDBMSRealm.html
For information on alternate security realms see
http://e-docs.bea.com/wls/docs61/security/prog.html#1041025 , "Writing a Custom
Security Realm".
For information on the File realm see
http://e-docs.bea.com/wls/docs61/ConsoleHelp/security.html , "Security" and also
search the WLS 6.1 docs for "File realm" for lots of other references.
Leo wrote:
Hi All
What is the difference between users created in the WebLogic server and those
created from the webLogic Portal Admin console.
- leo--
Ture Hoefner
BEA Systems, Inc.
2590 Pearl St.
Suite 110
Boulder, CO 80302
www.bea.com -
How to set DEFAULT GROUP for a user when I create a user manually thru pl/s
Hi Gurus,
I am creating portal user accounts and groups thru pl/sql calls to
portal.wwsec_oid.create_user_entry
portal.wwsec_api.ADD_USER_TO_LIST
I didn't find any parameters to set the DEFAULT GROUP for the users. I want to set the default group for all my users. I don't want to do it thru portal. Cuz, We have around 1600 users. Please post a reply if you have some info about how I can set this thru code.
Thanks
RajYou can achieve that using 'wwsec_api.set_defaultgroup'....
Maybe you are looking for
-
I have what I thought would be a simple task. I have a sample project that will let a user click a button to pull up the AddressBook user interface within a view. From what I see most of the work is done here: -(IBAction) checkOutBook: (id)sender ABP
-
My grandsons new Apple refurbed 35g ipad keeps locking up with a black screen amd nothing else. I have reset it many times pressing the home and off buttons together but it keeps locking up. Help,please!
-
Hi, I have been trying to print the values from the print prongram into the form. in the print program the values are getting populated but, the same values when i am trying to print in the form they are not getting printed. after opening the form i
-
Keychain migration problem 10.3.9 - 10.5
I am in the process of moving my husband's user account from an old imac running 10.3.9 to an wiped iMac G5 PPC with a fresh install of 10.5. I used setup assistant and find now that the keychain didn't transfer. The older keychain is not the same fo
-
How do we use Data rules/error table for source validation?
How do we use Data rules/error table for source validation? We are using OWB repository 10.2.0.3.0 and OWB client 10.2.0.3.33. The Oracle version is 10 G (10.2.0.3.0). OWB is installed on Linux. I reviewed the posting Re: Using Data Rules Thanks for