Replication of Users from portal to R/3
Hi,
I would like to develop a portal functionnality that allows replication of users from portal to R/3. I know that the functionnality already exists in portal but we need to do another one because of special requirements. How could I find the java code of the existing functionnality to understand how SAP built it?
Thanks
Hi,
You can check the following link
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/5b/5d2706ebc04e4d98036f2e1dcfd47d/frameset.htm">UME</a>
It will give you an idea of UME Architecture.
See if it helps you.
Similar Messages
-
Hey
Im trying to get the user from the Portal.
Im using following code:
IWDClientUser user = WDClientUser.getCurrentUser();
String User = user.getFirstName() + " " + user.getLastName();
the problem is that this code only works on one client. If i try another client with the same user, it doesnt return anything. What could be wrong? Am I missing some jar files?Hi Kristoffer,
Your code is not enough to get Portal user.I am not also understanding your problem with 2 different clients.What you mean by 2 clients.Is that 2 different pc's with development environment or just 2 different browsers ?.
Anyway you can try this code to get the portal user and probably you have to change ep5 user things.From ep6 getting ep5 user is depriciated but it will still work.
IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
IUser sapUser = wdClientUser.getSAPUser();
IUser ep5User = WPUMFactory.getUserFactory().getEP5User(sapUser); -
Adding mail users from Portal 'sign me up' facility
When users access the Portal for the first time, they have the opportunity to sign up as new users.
This will create their user id and they can then access IM or Calendar quite happily.
They can't, however, access mail. Adding mail users appears only to be possible via the command line tools. This essentially means that it's not practical to have users sign themselves up!
Is there any integration module/howto out that describes how to let users sign up to mail and the other services and not just an inconvenient subset?If you create a Mail service (have a look at the sample one provided with Identity Server 6.1 in /opt/SUNWam/samples/integration) you can specify default values for the relevant attributes, then specify that the service you create is a required service in the organization your users area being created in.
Haven't tried it myself but it should work.
--Stephen -
Impossible to create or Edit an User from PORTAL (WWC-00000)
Ihave installed PORTAL 9IAS on W2000 with ORACLE DATABASE 8.1.7 EE
I can login to PORTAL (with portal30 user), but when i want create or edit an user, i have the following error
on HTML Page (URL : http://hddms001.sdsi.local/pls/portal30_sso/portal30_sso.wwsso_home.process_signon)
<TD><FONT CLASS="OraErrorHeader">Error:</FONT></TD>
<TD ALIGN="LEFT"><FONT CLASS="OraErrorText"><NOBR> (WWC-00000)</NOBR><BR><!-- wwsso_home.process_signon --></FONT></TD>
</TR>
On the server, i have the following error in sqlnet.log
Fatal NI connect error 12640, connecting to:
(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 8.1.7.0.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 8.1.7.0.0 - Production
Time: 15-FEV-2002 14:09:42
Tracing not turned on.
Tns error struct:
nr err code: 0
ns main err code: 12640
TNS-12640: Echec d'initialisation du service d'authentification
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Could you help me
Thanks in advancedhi!
please refer the followink links.
http://help.sap.com/saphelp_nw04/helpdata/en/1f/1b1041a0f6f16fe10000000a1550b0/frameset.htm
Failed to create deployable object 'sap.com/pcui_gp_xssutils'
thanks
vishal -
How to tranport the users from SAP R/3 to portal ?
Hi All,
I had connected to SAP R/3 system from portal. I am trying to tranport the users from SAP development server . So that everyuser can enter through the portal only and work on SAP.
Please guide me the procudure how can i tranport the users from SAP system to portal.
Please urgent replies are appreciated .Hi Abhishek,
Thanks for your information.
please let me tell you the detailed information. My basis guy had configured the system for me as i didnt have any idea on installation procedure. So i am facing th e fallowing problems.
<b> First Problem</b>
I am not able to create the user from portal directly. Its showing the fallowing error.
<b>An error occurred in the persistence; contact your system administrator</b>.
so i had created the users in WAS by SU01.
<b>Second</b>
We have some users at production server ( Assume 5 users ). and those users need to be mapped at portal. So that those users can directly enter into portal and operate on SAP system .
<i>If u dont mine Please provide with me the steps to fallow</i>
<b>Third</b>
i had created some transactional Iviews that are working fine when i am log in with Administrator( super administrator role). The problem is that the reports are not showing when i am log in with general user ( with out super administrator role ) .
Its showing the error
<b>Could not able to look up the system.</b>
And the problem with user mapping also .
For aministrator its working fine .and for a general end user ( created on WAS )
i am not able to provide user mapping. Its showing
There are no systems available for user mapping for the selected principal
wat could be the problem ?
Your solutions will be appreciated .please urgent -
Need User Name/userid from Portal in WebDynpro Java application
Hi All,
I am using my Webdynpro for Java application as a iveiw in Enterprise portal. I want to get the Username/userid for the portal. how can we get that?
Regards,
Puneet AggarwalUse below code for retrive al users from portal:
try {
IUserFactory ufactory=UMFactory.getUserFactory();
ISearchResult rst = UMFactory.getUserFactory().getUniqueIDs();
IUserFactory usf = UMFactory.getUserFactory();
IUser iuser = null;
//IUserListElement userElement = null;
int i = 0;
IPrivateKmnewsView.IUserNodeNode usernode=wdContext.nodeUserNode();
IPrivateKmnewsView.IUserNodeElement usernodeelement = null;
while (rst.hasNext()) {
iuser =
UMFactory.getUserFactory().getUser(rst.next().toString());
//wdComponentAPI.getMessageManager().reportSuccess("rst.next().toString() : "+rst.next().toString());
usernodeelement = usernode.createUserNodeElement();
String UID=iuser.getUid().toString();
//wdComponentAPI.getMessageManager().reportSuccess("UID:"+UID);
usernodeelement.setUserId(UID);
//wdContext.currentUserNodeElement().setUserId(UID);
String UniqueID=iuser.getUniqueID().toString();
//wdComponentAPI.getMessageManager().reportSuccess("UniqueID:"+UniqueID);
String email = iuser.getEmail();
String fname = iuser.getFirstName();
String lname = iuser.getLastName();
String Name =fname+lname;
//if(!(fname.equalsIgnoreCase("") ^ fname.equalsIgnoreCase("")))
//if(currentUsers.equals()
usernodeelement.setUserName(Name);
usernodeelement.setUserEmailID(email);
usernode.addElement(usernodeelement);
//wdComponentAPI.getMessageManager().reportSuccess("Name : "+fname+""+lname);
//wdComponentAPI.getMessageManager().reportSuccess("Email : "+email);
wdContext.currentContextElement().setUserTableVisible(WDVisibility.VISIBLE);
} catch (UMException e) {
// TODO Auto-generated catch block
wdComponentAPI.getMessageManager().reportSuccess("Exception "+e); -
Migrate Users from 3.0.9 to 9.0.4
Hi:
We successfully migrated our users from Portal 3.0.9 (DB 8.1.7.4) to iAS 9.0.2 follow portalstudio/upgrade notes, running ssomig script. After upgrade the atribute "userpassword" in OID does not exist, and when the user connects for first time the sso page request a new password and the the atribute has a value. Due to a bug we install 9.0.4 and try to migrate users from 3.0.9 to iAS 9.0.4. Unfortunately is necesary upgrade our database 8.1.7.4 to 9.0.1 before run the upgrade.csh script. We cannot do this. And ran the new ssomig script against 8.1.7 and get a error when compile a package. Then we ran the ssomig script (9.0.2 whitout the patch part) and get the ldif files but when the script try to load the files, get the ldap 50 error. Then we modify the ldif files and load with ldapdadd command (note 251775.1) and the users are in the OID whitout the "userpassword" atribute but when we try to connect in the sso page get the invalid password error. Any idea?Hi
The ssomig scripts (patch 2995671) must be run from a 309 SSO schema to an iAS 902 infrastructure. No other combination is currently supported. You can not migrate directly to a 904 infrastructure, although this may change at some future point in time. You must also be careful when running the commands because they require different environment variable settings for the export and the import operations.
Immediately after migration the password attribute in OID will not have a value. 309 SSO and 902 OID use different one way hashing to encrypt the value therefore it can not be directly transferred. The values are populated when the user logs in again. The password is checked against the old value and if ok is re-encypted into OID. This process is modified if the password does not meet the default password policy and in this scenario the user will be prompted to enter a new value.
You must follow the steps and sequence in the Portal Upgrade Guide carefully to succeed. Changing from the documented path is not supported and will almost certainly fail.
I recommend you get in touch with support ie log a TAR and discuss your configuration to put in place the correct upgrade plan for your environment.
Regards -
How to set up reverse proxy to allow user access portal site from internet
Hi all,
I have installed 10g(10.1.2.0.2) AS on same machine(single IP for both mid and infra with different users respectively). there is a DMZ on which windows IIS is working through which we need to redirect the request to application server such that users access portal page from internet (within intranet all URLs are working fine). I have went through technet documentation where i found 3 ways : through this link
http://download.oracle.com/docs/cd/B14099_19/core.1012/b13998/variants.htm
Section 9.2.1.1, "Configuring OracleAS Web Cache as a Reverse Proxy"
Section 9.2.1.2, "Configuring the Oracle HTTP Server as a Reverse Proxy"
Section 9.2.1.3, "Configuring Internet Information Services as a Reverse Proxy"
I am confused to which option to use. Also i went through the metalink document 270160.1
Please help me which option to choose to do this.
Thanks.Hi Hozy,
May be it's too late, I am thinking to go in the same route for our sap portal access to external customers. Please can you share your experience , like what are the challenges have you faced? what is the complexity? what are all the resources we need to configure this?
I appreciate your feedback.
Thanks
Krish -
How to prevent a portal user from using the BEx Analyzer ?
Hi,
we have different type of users : most users may use the portal as well
as the analyzer ;
we have one special user with extended authorizations : this user
should use the portal , where he has a limited set of queries to run
with hardcoded filters ==> this user should not be able to use the
analyzer however, since he then would be able to call all other queries
by using the find function ;
how can we make sure this user cannot use the analyzer , using SAP
authorizations ?
best regards,
Erwin Van Giel.Hi,
if I remove the complete S_RFC authorization for the user then the BEx Analyzer cannot connect anymore to the BW system, but neither can the user run reports from the portal : it needs the S_RFC with 'SYST'.
If I only remove the RRMX from the S_TCODE and from the S_RFC, it does not prevent the user from starting the BEx Analyzer and connecting to the BW system. It only stops the user if he would start the RRMX transaction from within an SAPGUI session.
Perhaps there should be a value in the S_RFC that allows connections from the portal but not from the BEx Analyzer .... ?
so not solved yet ....
best regards,
Erwin. -
Programmatically adding/deleting users to/from portal groups
I am using the following PDK api, to delete an user from a portal group (otp_sales).
I get the following error which doestn make sense. I tested the following api from a
script shown below. In my application, this gets called from a trigger, and fails
because it sees a ROLLBACK getting used in the API.
<<<<<<<<<<<<< delete_from_group.sql >>>>>>>>>>>>>>>>>>>>>>
DECLARE
BEGIN
moc.wwsec_api.delete_user_from_list (p_group_id
=>MOC.wwsec_API.GROUP_ID('OTP_SALES')
,p_member_person_id =>73);
END;
<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
SQL> @delete_from_group.sql
Input truncated to 1 characters
DECLARE
ERROR at line 1:
ORA-01086: savepoint 'DELETEUSERFROMLIST_SAVEPOINT' never established
ORA-06512: at "MOC.WWSEC_API", line 2467
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "MOC.WWCTX_SSO", line 849
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "MOC.WWCTX_SSO", line 669
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at line 3
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Thanks
regards
-AnanthWe had the same problem and it turned out that deleting a portal user(delete_portal_user), removing a portal user from a list (delete_user_from_list) or updating a portal user, the "savepoint xxxx never established message" came up when there was no context set. If the procedure is called from within a portal page (or as user portal30) ,and the context is set and it works. The solution is to check to see if the context was set, and then set it if not.
if not portal30.wwctx_api_private.is_context_set then
portal30.wwctx_api_private.set_context(p_user_name => 'portal30');
end if;
Hope this helps
Tania -
Exporting and Importing Portal users from Source system to Target system
Hi All,
I have exported all portal users from source portal in to file Users.txt do i need to convert this file in to some other format so that i can import these users in Target portal.
any links documents
Regards,
MuraliHi,
If you look in to User.txt
I have role also i have deleted role in User.txt uploded file with rest of the otherdata including group it it able to create users.
so in Nut shell let's say
1. UID-Murali
Role- Manager
Group- HRGroup
user existing in DEV and i want to trnasfer data to PRD
Role:Manger should exist in PRD, and group is not mandatory optional
but the link http://help.sap.com/saphelp_nw70/helpdata/EN/ae/7cdf3dffadd95ee10000000a114084/frameset.htm
says while uploading users role is optional it throws waring but i got error.
i am bit confused.
Now let's sau there are 10 users, 10 roles and 2 groups in source system if i want to export all users,roles,groups to target system what sequnce i have to follow without getting any error , warining is there any restriction on number of users, roles, groups i know file size should be less than 1MB.
Points are on the way.
Regards,
Murali -
Metadata through user input from portal application while new check In
Hi,
We have a requirment to create new doc/html from portal end, and check in it into UCM with user populated metadata's
I have few quetions
- Can I user OOTB RichtextEditor taskflow with little customization.
- Is it a easy option to add a check in form (custom taskflow).
- or we have to create new custom taskflow and use CHECKIN_NEW service using RIDC api.
Thanks
Edited by: 953836 on Aug 21, 2012 2:20 AMYou could go with the standard stuff, but everything depends on what user experience you want to achieve.
a) doc/html
What formats you want to support? HTML is OK, but .DOC (especially if it means MS-Word) might be a challenge
b) you could use SSXA tags (see here: http://docs.oracle.com/cd/E23943_01/doc.1111/e13650/toc.htm ) which could do exactly what you ask for (via Contributor Data Files). Note, however, that this user experience is not often met with understanding. And even more important, mind this: Clarification on SSXA Support with WebCenter Portal
c) you could also use CHECKIN_NEW_FORM (see here http://docs.oracle.com/cd/E23943_01/doc.1111/e11011/c04_core.htm#BABGBCHI ) and somehow consume its output in your custom code. By doing this, you could use Content's standard functionality, profiles, but yet, achieve the user experience similar to what Desktop Integration Suite provides. -
If user locked (backend) then from portal i m not able to send data
If user locked (backend) then from portal i m not able to send data
both user are same in front end and backend.
But once user is unlocked i am able to send data from portal to backend...
Regards
RuturajHi
Since you are in CUA landscape(as u said portal and r3 user are same) unless and utill you unlock it data will not be process.
[Help|What's the right user to access;
BR
Satish Kumar -
User cannot receive the mail from portal
Hi team
One of the user is not receving mail in portal, when i check the status of the user is active and mail id is correct.
Now my question is how to find the log from portal or we have to check from the R/3 end,
since i am new to this portal administation please guide me. Your replies are very helpful.
Regards
Bhaskar.THi
you can get the logs from /usr/sap/<SID>/j2ee/logs/defautltrace.trc, the file with the less size will be the latest one, alternatively you can monitor the the logs fron NWA,
http://server.domain.name:50xx00/nwa ->monitoring ->Logs and traces.
jo -
Using Powershell to delete all users from the Portal
Summary
This script will delete all users from the Portal except for Administrator and the Built-In Sync account.
Based on Markus's "Delete a User" script.
Useful when developing your system if you want to quickly clear out the data and start again.
set-variable -name URI -value "http://localhost:5725/resourcemanagementservice' " -option constant
function DeleteObject
PARAM($objectType, $objectId)
END
$importObject = New-Object Microsoft.ResourceManagement.Automation.ObjectModel.ImportObject
$importObject.ObjectType = $objectType
$importObject.TargetObjectIdentifier = $objectId
$importObject.SourceObjectIdentifier = $objectId
$importObject.State = 2
$importObject | Import-FIMConfig -uri $URI
if(@(get-pssnapin | where-object {$_.Name -eq "FIMAutomation"} ).count -eq 0) {add-pssnapin FIMAutomation}
$allobjects = export-fimconfig -uri $URI `
–onlyBaseResources `
-customconfig "/Person"
$allobjects | Foreach-Object {
$displayName = $_.ResourceManagementObject.ResourceManagementAttributes | `
Where-Object {$_.AttributeName -eq "DisplayName"}
if([string]::Compare($displayName.Value, "Administrator", $True) -eq 0)
{write-host "Administrator NOT deleted"}
elseif([string]::Compare($displayName.Value, "Built-in Synchronization Account", $True) -eq 0)
{write-host "Built-in Synchronization Account NOT deleted"}
else {
$objectId = (($_.ResourceManagementObject.ObjectIdentifier).split(":"))[2]
DeleteObject -objectType "Person" `
-objectId $objectId
write-host "`nObject deleted`n" $displayName.Value }
Go to the FIM ScriptBox
http://www.wapshere.com/missmiisThe DeleteObject function opens and closes a connection for each object. This approach is faster:
http://social.technet.microsoft.com/wiki/contents/articles/23570.how-to-use-powershell-to-delete-fim-users-that-have-a-null-attribute-name.aspx
Mike Crowley | MVP
My Blog --
Planet Technologies
Maybe you are looking for
-
I want make a apple id for my 12 year old where is the page for that
trying to set up different apple ids for kids one of them is under 14 how do i do the parent thingy
-
It was very easy to add a calculation field in previous versions of Adobe. This one has got me. I'm trying to create a field that sums other fields. I don't know where to add the script or the language. Any assistance would be greatly appreciated.
-
Adding fields to the standard Report
hi , could u plz tell me what r the guidelines we have to follow while adding fields to the standard Report. (Ver ECC 6.0) in QA32 Tcode, after executing it will generate a report there i hv to add it. I could find structure of that main final table,
-
How do you auto populate a dynpro field when hit key while in other fields?
This is a dialog programming question for a custom dialog program (it is NOT an SAP program). I have a dialog program that neds to be changed to accomodate the following. i have searched SDN and can not find anything to resolve this issue. I have a s
-
In iphoto calendar creation, I have selected a 13 month calendar from December 2012-December 2013, wanting 13 pages. I have selected all my photos for the year and have started placing them in the Calendar. I'm at October and noticed that December