Strong concerns about creating users programatically vs. through Portal GUI
Hi,
I am working with a Portal install right now where we have created some portal users through the Portal GUI, and some users using PORTAL30_SSO.WWSSO_API_USER_ADMIN.CREATE_USER procedure.
The strong concerns come when I select the USER_NAME from WWSEC_PERSON$ connected as PORTAL30, and I only get the users created through the portal GUI.
However, if I connect as PORTAL30_SSO I get all the users created programatically, as well as the users created through the GUI.
Is there a reasonable explanation for this?
Thanks.
null
Daniel,
I was in the same quandry. But, you will notice a record automatically created in portal30's wwsec_person$ table, when the user logs in the first time. It is almost as if the Login server checks for the existence of the record. No one in Portal Dev. confirmed this, but it seems like the most logical explanation. Try it. Create a user programmatically, you should see the new user in SSO, but not in portal30. Login as the new user and then see the diff.
hth
Sanjay
Similar Messages
-
Creating user in oracle through JDBC
I m trying to create a user in oracle through jdbc. When I m creating user through SQL plus I m able to do it successfully but when I m doing it through java code I can see that user�s entry in dba_users & dba_role_privs tables.But when I am trying to drop that user I get message �User doesn�t exist�. Also when I am trying to logged in through the newly created user (one that I have created through code)in SQL Plus , I get error �ORA-01017: invalid username/password ; logon denied�.If user doesn�t exist then how can I see it�s entry in dba_users & dba_role_privs?? One more thing �. I can drop that user through code but not using SQL Plus.
This is the code�.In this code I have logged in using system-manager & I m trying to create user test88 with password test88.I am granting 3 roles to this user Connect , Resource & DBA same as Scott �Tiger. Please help.
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
public class OracleDB1 {
public static final String isSUCCESS = "SUCCESS";
public static final String isORACLE = "ORACLE";
public static final String isFail = "ERROR";
public String dbDriver;
public String dbURL;
public String dbUserName;
public String dbName;
public String dbPassword;
public String dbType;
private Connection con;
private Statement stmt;
* @param s Username
* @param s1 Indentified by
* @param s2 tablespace
* @param s3
* @return
* @throws SQLException
* @throws ClassNotFoundException
public String createUserOracle(String s, String s1, String s2, String s3)
throws SQLException, ClassNotFoundException {
System.out.println("Creating user method ");
String s4 = "";
if (!s2.equals("")) {
if (!s3.equals("")) {
s4 = new String("CREATE USER \"" + s + "\" IDENTIFIED BY \""
+ s1 + "\" DEFAULT TABLESPACE " + s2 + " QUOTA " + s3
+ " ON " + s2);
else {
s4 = new String("CREATE USER \"" + s + "\" IDENTIFIED BY \""
+ s1 + "\" DEFAULT TABLESPACE " + s2
+ " TEMPORARY TABLESPACE TEMP QUOTA UNLIMITED ON " + s2);
else {
s4 = new String("CREATE USER \"" + s + "\" IDENTIFIED BY \"" + s1
+ "\"");
try {
con = this.init();
System.out.println("The new user statemeent " + s4);
stmt = con.createStatement();
System.out.println("The new user statemeent " + s4);
stmt.execute(s4);
System.out.println("the info success "+stmt.SUCCESS_NO_INFO);
stmt.close();
} finally {
if (null != con) {
con.close();
return "SUCCESS";
public String grantRightsOracle(String s)
throws SQLException, ClassNotFoundException
String s1 = new String("GRANT connect , resource , dba to \"" + s + "\"");
try
con=this.init();
stmt = con.createStatement();
System.out.println("granting "+s+"with the connect priveleges");
stmt.execute(s1);
stmt.close();
finally
if(null != con)
this.close(con);
return "SUCCESS";
public Connection init() throws SQLException, ClassNotFoundException {
System.out.println("initialising");
Class.forName("oracle.jdbc.driver.OracleDriver");
dbURL = "jdbc:oracle:thin:@localhost:1521:priya";
con = DriverManager.getConnection(dbURL, "system", "manager");
return con;
public void close(Connection connection) throws SQLException {
if (!connection.isClosed()) {
connection.close();
public String disableUserOracle(String s) throws SQLException,
ClassNotFoundException {
String s1 = "REVOKE CONNECT, RESOURCE, SELECT ANY TABLE FROM \"" + s
+ "\"";
try {
con = this.init();
stmt = con.createStatement();
stmt.execute(s1);
stmt.close();
} finally {
if (null != con) {
this.close(con);
return "SUCCESS";
public String deleteUserOracle(String s) throws SQLException,
ClassNotFoundException {
String s1 = new String("DROP USER \"" + s + "\" CASCADE");
try {
con = this.init();
stmt = con.createStatement();
stmt.execute(s1);
stmt.close();
} finally {
if (null != con) {
this.close(con);
return "SUCCESS";
public static void main(String args[]) {
String s = "";
OracleDB1 oracleoperations = new OracleDB1();
try {
System.out.println("creating user");
s = oracleoperations.createUserOracle("test88", "test88", "", "");
System.out.println("creating user is " + s);
s=oracleoperations.grantRightsOracle("test88");
System.out.println("granting rights" + s);
//s=oracleoperations.deleteUserOracle("test88");
//System.out.println("deleting user" + s );
} catch (Exception exception) {
exception.printStackTrace();I read that by default, JDBC uses an operation mode called auto-commit. This means that every update to the database is immediately made permanent.Still for this program I have tried connection.commit() also , Still it is not working.
I think that problem is not with commit otherwise I shouldn't be able to see that newly created user entry in these tables from Sql Plus:-
1)DBA_ROLE_PRIVS
2) DBA_USERS
3) DBA_sys_privs
Ya but these is no entry in DBA_OBJECTS table for this user. -
Error while creating user on Unix through OIM timeout waiting for user password
Hello all ,
we made integration with Unix using connector , while creating user we receive the following error
<Jun 27, 2013 1:30:14 PM AST> <Error> <ORACLE.IAM.CONNECTORS.ICFCOMMON.PROV.ICPROVISIONINGMANAGER> <BEA-000000> <oracle.iam.connectors.icfcommon.prov.ICProvisioningManager : createObject : Error while creating user
org.identityconnectors.framework.common.exceptions.ConnectorException: Exception occured while setting the password.org.identityconnectors.framework.common.exceptions.OperationTimeoutException: Command timed-out while waiting for: new[\s](unix[\s])?password:
at org.identityconnectors.genericunix.GenericUnixConnection.setUserPassword(GenericUnixConnection.java:866)
at org.identityconnectors.genericunix.operation.GenericUnixCreate.setUserPassword(GenericUnixCreate.java:193)
at org.identityconnectors.genericunix.operation.GenericUnixCreate.analyzeResult(GenericUnixCreate.java:233)
at org.identityconnectors.genericunix.operation.GenericUnixCreate.createOp(GenericUnixCreate.java:180)
at org.identityconnectors.genericunix.operation.GenericUnixCreate.create(GenericUnixCreate.java:111)
at org.identityconnectors.genericunix.GenericUnixConnector.create(GenericUnixConnector.java:200)
at org.identityconnectors.framework.impl.api.local.operations.CreateImpl.create(CreateImpl.java:80)
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 org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:93)
at $Proxy363.create(Unknown Source)
any one can support me how to fix thisTry increasing the commandTimeout from 100seconds to 200seconds and see if this works?
Also, look at the Section 5.2.5 in the connector doc. -
Not able to create users in OID through OIM
HI,
I am creating users in OIM and provisioning them to OID. The create user is working fine but provisioning is not working.
The create user task is getting rejected with error message as :
Response: Target Unavailable Error
Response Description: Target server not available
In the weblogic console its showing error as:
INFO,24 Feb 2010 18:42:13,140,[XL_INTG.OID], Parameter Variables passed into co
m.thortech.xl.integration.OID.tcUtilOIDUserOperations:createUser(S,S,S,S,S): are
sContainerDN = ou=AGI(ENI UK Ltd),o=Shippers,dc=xoserve-apps,dc=com, sFirstName
= testuser17, sLastName = testuser17, sUserDNParam = TESTUSER17,
INFO,24 Feb 2010 18:42:13,156,[XL_INTG.OID],com.thortech.xl.integration.OID.uti
l.tcUtilLDAPOperations : connectToAvailableOID() : SSL option is not selected in
ITResource
ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID], ERROR in OID:connectToAvailableOID
() CommunicationExceptionUnable to create Initial LDAP Context
ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],10.224.29.51:389
ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],===================================
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],com.thortech.xl.integration.OID.uti
l.tcUtilLDAPOperations : disconnectFromLDAP() : : Unable to close LDAP Context.
The context was probably not created, since it is null
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID], ERROR in com.thortech.xl.integrati
on.OID.tcUtilOIDUserOperations:createUser(S,S,S,S,S) NoInitialContextExceptionEr
ror while connecting to target
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],com.thortech.xl.integration.OID.uti
l.tcUtilLDAPOperations: Unable to close LDAP Context. The context was probably n
ot created, since it is null
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
=================
Please help.
Thanks in advance.Thank a zillion to both of you...
It was connection problem. Somebody changed my OID's IP address.
Now my users are getting provisioned.
One more doubt how to give points to both of you. I dont know how to give points in this forum. -
This is how to bulk create users programatically (source code included)
After scouring all of the related forums and gathering all of
the clips of code and viewing all of the comments and docs on
the api's, I have found a working means of bulk loading my users
into portal from my previous system...
NOTE: THIS CODE SHOULD BE USED VERY CAREFULLY, AS, IT CAN REALLY
DESTROY YOUR SYSTEM MAYBE EVEN YOUR HARDWARE AND IN REARE CASES,
BRING WORLD WIDE PLAGUES ACCOMANIED BY WEIGHT GAIN...
Now, the only thing it does not do is trap the error of trying
to create a user that already exists.
If, only someone would give me a job doing this stuff (hint,
hint):
DECLARE
CURSOR user_cursor IS
/* Add your own query to get needed data
for import.... this is mine coming from a
migrated SQL2000 db...
SELECT
"SYSTEM"."OnlineProfiles"."LogonName",
"SA"."EMPLOYEES"."EMPLOYEEID",
"SA"."EMPLOYEES"."LAST_NAME",
"SA"."EMPLOYEES"."FIRST_NAME",
"SA"."EMPLOYEES"."MIDDLE_NAME",
"SA"."EMPLOYEES"."DOB",
"SA"."EMPLOYEES"."EMAIL",
"SA"."EMPLOYEES"."PHONE",
"SA"."EMPLOYEES"."STREET_ADDRESS",
"SA"."EMPLOYEES"."APT",
"SA"."EMPLOYEES"."CITY",
"SA"."EMPLOYEES"."STATE",
"SA"."EMPLOYEES"."ZIP",
"SA"."EMPLOYEES"."DISTRICT",
"SA"."EMPLOYEES"."JOB",
"SA"."EMPLOYEES"."DATEOFHIRE",
"SYSTEM"."OnlineProfiles"."Password"
from "SA"."EMPLOYEES", "SYSTEM"."OnlineProfiles"
WHERE "SA"."EMPLOYEES"."EMPLOYEEID"
= "SYSTEM"."OnlineProfiles"."EmployeeID";
P_USER_NAME VARCHAR2(256);
P_EMPNO VARCHAR2(30);
P_LAST_NAME VARCHAR2(60);
P_FIRST_NAME VARCHAR2(60);
P_MIDDLE_NAME VARCHAR2(60);
P_DATE_OF_BIRTH DATE;
P_EMAIL VARCHAR2(256);
P_HOME_PHONE VARCHAR2(30);
P_HOME_ADDR1 VARCHAR2(60);
P_HOME_ADDR2 VARCHAR2(30);
P_HOME_CITY VARCHAR2(30);
P_HOME_STATE VARCHAR2(30);
P_HOME_ZIP VARCHAR2(30);
P_ORGANIZATION VARCHAR2(150);
P_TITLE VARCHAR2(80);
P_HIREDATE DATE;
P_PASSWORD VARCHAR2(30);
l_uid number(32);
l_gid number(32);
l_errno number(30);
l_group varchar2(100) := 'BDS_USERS'; -- All users added to same
group
l_debug number(10) := 0;
BEGIN
OPEN user_cursor;
LOOP
FETCH user_cursor INTO P_USER_NAME,
P_EMPNO,
P_LAST_NAME,
P_FIRST_NAME,
P_MIDDLE_NAME,
P_DATE_OF_BIRTH,
P_EMAIL,
P_HOME_PHONE,
P_HOME_ADDR1,
P_HOME_ADDR2,
P_HOME_CITY,
P_HOME_STATE,
P_HOME_ZIP,
P_ORGANIZATION,
P_TITLE,
P_HIREDATE,
P_PASSWORD;
EXIT WHEN user_cursor%NOTFOUND;
l_debug := 1; -- Add user to portal...
l_uid := portal30.wwsec_api.add_portal_user(
p_user_name =>P_USER_NAME,
p_portal_user => 'Y',
p_Display_Personal_Info=>'Y',
p_Known_As=>P_FISRT_NAME,
p_Organization=>P_ORGANIZATION,
p_Empno=>P_EMPNO,
p_Last_Name=>P_LAST_NAME,
p_First_Name=>P_FIRST_NAME,
p_Middle_Name=>P_MIDDLE_NAME,
p_Date_Of_Birth=>P_DATE_OF_BIRTH,
p_Email=>P_EMAIL,
p_Home_Phone=>P_HOME_PHONE,
p_Home_Addr1=>P_HOME_ADDR1,
p_Home_Addr2=>P_HOME_ADDR2,
p_Home_City=>P_HOME_CITY,
p_Home_State=>P_HOME_STATE,
p_Home_Zip=>P_HOME_ZIP,
p_Organization=>P_ORGANIZATION,
p_Title=>P_TITLE,
p_Hiredate=>P_HIREDATE);
l_debug := 2; -- Create a User for Login Server...
portal30_sso.wwsso_api_user_admin.create_user
(P_USER_NAME
,P_PASSWORD
,P_EMAIL
,sysdate
,null
,FALSE
,l_errno);
l_debug := 3; -- Get default group id number...
l_gid := portal30.wwsec_api.group_id(l_GROUP);
l_debug := 4; -- Activate new user...
portal30.wwsec_api.add_user_to_list(l_uid, l_gid, 0);
l_debug := 5; -- Assign new user to default group...
portal30.wwsec_api.set_defaultgroup(p_groupid =>
l_gid,p_username => P_USER_NAME);
l_debug := 51;
commit;
l_debug := 6; -- Output progress to screen...
htp.p('Created User : '||P_USER_NAME||' UID '||l_uid||'
with the Group ID '||l_gid||htf.br);
END LOOP;
CLOSE user_cursor;
END;
Enjoy!
PS someone write the trap for the unique constraint violation
and email it to me....
BryancanSorry had a couple of typos in there... this one works...
DECLARE
CURSOR user_cursor IS
SELECT
"SYSTEM"."OnlineProfiles"."LogonName",
"SA"."EMPLOYEES"."EMPLOYEEID",
"SA"."EMPLOYEES"."LAST_NAME",
"SA"."EMPLOYEES"."FIRST_NAME",
"SA"."EMPLOYEES"."MIDDLE_NAME",
"SA"."EMPLOYEES"."DOB",
"SA"."EMPLOYEES"."EMAIL",
"SA"."EMPLOYEES"."PHONE",
"SA"."EMPLOYEES"."STREET_ADDRESS",
"SA"."EMPLOYEES"."APT",
"SA"."EMPLOYEES"."CITY",
"SA"."EMPLOYEES"."STATE",
"SA"."EMPLOYEES"."ZIP",
"SA"."EMPLOYEES"."DISTRICT",
"SA"."EMPLOYEES"."JOB",
"SA"."EMPLOYEES"."DATEOFHIRE",
"SYSTEM"."OnlineProfiles"."Password"
from "SA"."EMPLOYEES", "SYSTEM"."OnlineProfiles"
WHERE "SA"."EMPLOYEES"."EMPLOYEEID"
= "SYSTEM"."OnlineProfiles"."EmployeeID";
P_USER_NAME VARCHAR2(256);
P_EMPNO VARCHAR2(30);
P_LAST_NAME VARCHAR2(60);
P_FIRST_NAME VARCHAR2(60);
P_MIDDLE_NAME VARCHAR2(60);
P_DATE_OF_BIRTH DATE;
P_EMAIL VARCHAR2(256);
P_HOME_PHONE VARCHAR2(30);
P_HOME_ADDR1 VARCHAR2(60);
P_HOME_ADDR2 VARCHAR2(30);
P_HOME_CITY VARCHAR2(30);
P_HOME_STATE VARCHAR2(30);
P_HOME_ZIP VARCHAR2(30);
P_ORGANIZATION VARCHAR2(150);
P_TITLE VARCHAR2(80);
P_HIREDATE DATE;
P_PASSWORD VARCHAR2(30);
l_uid number(32);
l_gid number(32);
l_errno number(30);
l_user varchar2(100);
l_group varchar2(100) := 'BDS_USERS';
l_debug number(10) := 0;
BEGIN
OPEN user_cursor;
LOOP
FETCH user_cursor INTO P_USER_NAME,
P_EMPNO,
P_LAST_NAME,
P_FIRST_NAME,
P_MIDDLE_NAME,
P_DATE_OF_BIRTH,
P_EMAIL,
P_HOME_PHONE,
P_HOME_ADDR1,
P_HOME_ADDR2,
P_HOME_CITY,
P_HOME_STATE,
P_HOME_ZIP,
P_ORGANIZATION,
P_TITLE,
P_HIREDATE,
P_PASSWORD;
EXIT WHEN user_cursor%NOTFOUND;
l_debug := 1;
l_uid := portal30.wwsec_api.add_portal_user(p_user_name
=>P_USER_NAME,p_portal_user => 'Y',
p_Organization=>P_ORGANIZATION,
p_Empno=>P_EMPNO,
p_Last_Name=>P_LAST_NAME,
p_First_Name=>P_FIRST_NAME,
p_Middle_Name=>P_MIDDLE_NAME,
p_Date_Of_Birth=>P_DATE_OF_BIRTH,
p_Email=>P_EMAIL,
p_Home_Phone=>P_HOME_PHONE,
p_Home_Addr1=>P_HOME_ADDR1,
p_Home_Addr2=>P_HOME_ADDR2,
p_Home_City=>P_HOME_CITY,
p_Home_State=>P_HOME_STATE,
p_Home_Zip=>P_HOME_ZIP,
p_Title=>P_TITLE,
p_Hiredate=>P_HIREDATE);
l_debug := 2;
portal30_sso.wwsso_api_user_admin.create_user
(P_USER_NAME
,P_USER_NAME
,P_USER_NAME||'@getbenefits.com'
,sysdate
,null
,FALSE
,l_errno);
l_debug := 3;
l_gid := portal30.wwsec_api.group_id(l_GROUP);
l_debug := 4;
portal30.wwsec_api.add_user_to_list(l_uid, l_gid, 0);
l_debug := 5;
portal30.wwsec_api.set_defaultgroup(p_groupid =>
l_gid,p_username => P_USER_NAME);
l_debug := 51;
commit;
l_debug := 6;
htp.p('Created User : '||P_USER_NAME||' UID '||l_uid||'
with the Group ID '||l_gid||htf.br);
END LOOP;
CLOSE user_cursor;
END; -
Server Error on Create user page in 9iAS Portal 9.0.2.0
Hi,
I have installed Oracle 9iAS Portal 9.0.2.0 on WinNT
I got the SSO page loging thru admin login and everything is fine .....i can get into build page groups etc.....
Problem
creation of users
When i click Build --> Administer --> Create User
Page error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Oracle HTTP Server/1.3.22 Server at accentur-jpdq.accenture.com Port 7777
Kindly let me know how to solve this and get the Create User page --> To Create users ....
Thanks & Regards,
Gopinath.G
Accenture Technology services.
Bangalore,INDIACan you pls confirm if OC4J_DAS instance is up?
Refer Oracle9i Application Server Administrator's Guide
Release 2 (9.0.2) -> Starting and Stopping the Application Server for 'Starting an Infrastructure'
link: http://download-west.oracle.com/docs/cd/A97329_01/core.902/a92171/start.htm#1011347 -
How to Create a text file through Portal
Hi,
Is there any way to create a text file(e.g Excel file) through Portal? Thanks.
SumitaI have a way to do this in VBScript, I don't know if it will work with the portal but the steps are simple. If you can create a text file within portal, try to create it as an html table:
<table>
<tr>
<td>Column Header 1</td>
<td>Column Header 2</td>
</tr>
<tr>
<td>Value 1</td>
<td>Value 2</td>
</tr>
<tr>
</tr>
</table>
When you create this file save it with XLS extension instead of TXT, create a link to it and voila! it will load Excel and you will have your data well formatted. I found this method rather better than save the file as a CSV. You can also include any html attribute inside the <TD> or <TR> like background color and font type, Excel will keep those attributes.
I hope this will help
Arturo -
Creating user's objective through API ot working
I am making use of the HR_OBJECTIVES_API API to create objective for users. to test the API, I run the small script below. It create a new row in the per_objective table but the HRMS interface fail to recognize it. It does not appear in the scorecard of the user. What am I missing?
/* Auto Generation of Script Start */
DECLARE
-- Start of Variable declarations, Initialize Variables with appropriate values to test the script
-- VARCHAR2 size is set to 2000 by default, please enter target table name to retrieve the exact limit
-- Input Variables
V_VALIDATE BOOLEAN:=false;
V_EFFECTIVE_DATE DATE := trunc(sysdate);
V_BUSINESS_GROUP_ID NUMBER:=81;
V_NAME VARCHAR2(2000):='Just a Second test from TOAD';
V_START_DATE DATE:=trunc(sysdate);
V_OWNING_PERSON_ID NUMBER:=264;
V_TARGET_DATE DATE;
V_ACHIEVEMENT_DATE DATE;
V_DETAIL VARCHAR2(2000);
V_COMMENTS VARCHAR2(2000);
V_SUCCESS_CRITERIA VARCHAR2(2000);
V_APPRAISAL_ID NUMBER;
V_ATTRIBUTE_CATEGORY VARCHAR2(2000);
V_ATTRIBUTE1 VARCHAR2(2000);
V_ATTRIBUTE2 VARCHAR2(2000);
V_ATTRIBUTE3 VARCHAR2(2000);
V_ATTRIBUTE4 VARCHAR2(2000);
V_ATTRIBUTE5 VARCHAR2(2000);
V_ATTRIBUTE6 VARCHAR2(2000);
V_ATTRIBUTE7 VARCHAR2(2000);
V_ATTRIBUTE8 VARCHAR2(2000);
V_ATTRIBUTE9 VARCHAR2(2000);
V_ATTRIBUTE10 VARCHAR2(2000);
V_ATTRIBUTE11 VARCHAR2(2000);
V_ATTRIBUTE12 VARCHAR2(2000);
V_ATTRIBUTE13 VARCHAR2(2000);
V_ATTRIBUTE14 VARCHAR2(2000);
V_ATTRIBUTE15 VARCHAR2(2000);
V_ATTRIBUTE16 VARCHAR2(2000);
V_ATTRIBUTE17 VARCHAR2(2000);
V_ATTRIBUTE18 VARCHAR2(2000);
V_ATTRIBUTE19 VARCHAR2(2000);
V_ATTRIBUTE20 VARCHAR2(2000);
V_ATTRIBUTE21 VARCHAR2(2000);
V_ATTRIBUTE22 VARCHAR2(2000);
V_ATTRIBUTE23 VARCHAR2(2000);
V_ATTRIBUTE24 VARCHAR2(2000);
V_ATTRIBUTE25 VARCHAR2(2000);
V_ATTRIBUTE26 VARCHAR2(2000);
V_ATTRIBUTE27 VARCHAR2(2000);
V_ATTRIBUTE28 VARCHAR2(2000);
V_ATTRIBUTE29 VARCHAR2(2000);
V_ATTRIBUTE30 VARCHAR2(2000);
V_SCORECARD_ID NUMBER:=9193;
V_COPIED_FROM_LIBRARY_ID NUMBER;
V_COPIED_FROM_OBJECTIVE_ID NUMBER;
V_ALIGNED_WITH_OBJECTIVE_ID NUMBER;
V_NEXT_REVIEW_DATE DATE;
V_GROUP_CODE VARCHAR2(2000);
V_PRIORITY_CODE VARCHAR2(2000);
V_APPRAISE_FLAG VARCHAR2(2000):='Y';
V_VERIFIED_FLAG VARCHAR2(2000);
V_TARGET_VALUE NUMBER;
V_ACTUAL_VALUE NUMBER;
V_WEIGHTING_PERCENT NUMBER;
V_COMPLETE_PERCENT NUMBER;
V_UOM_CODE VARCHAR2(2000);
V_MEASUREMENT_STYLE_CODE VARCHAR2(2000):='N_M';
V_MEASURE_NAME VARCHAR2(2000);
V_MEASURE_TYPE_CODE VARCHAR2(2000);
V_MEASURE_COMMENTS VARCHAR2(2000);
V_SHARING_ACCESS_CODE VARCHAR2(2000);
-- Output Variables
V_WEIGHTING_OVER_100_WARNING BOOLEAN;
V_WEIGHTING_APPRAISAL_WARNING BOOLEAN;
V_OBJECTIVE_ID NUMBER;
V_OBJECT_VERSION_NUMBER NUMBER;
BEGIN
DBMS_output.enable(800000);
-- Calling API HR_OBJECTIVES_API.CREATE_OBJECTIVE
HR_OBJECTIVES_API.CREATE_OBJECTIVE(P_VALIDATE => V_VALIDATE
,P_EFFECTIVE_DATE => V_EFFECTIVE_DATE
,P_BUSINESS_GROUP_ID => V_BUSINESS_GROUP_ID
,P_NAME => V_NAME
,P_START_DATE => V_START_DATE
,P_OWNING_PERSON_ID => V_OWNING_PERSON_ID
,P_TARGET_DATE => V_TARGET_DATE
,P_ACHIEVEMENT_DATE => V_ACHIEVEMENT_DATE
,P_DETAIL => V_DETAIL
,P_COMMENTS => V_COMMENTS
,P_SUCCESS_CRITERIA => V_SUCCESS_CRITERIA
,P_APPRAISAL_ID => V_APPRAISAL_ID
,P_ATTRIBUTE_CATEGORY => V_ATTRIBUTE_CATEGORY
,P_ATTRIBUTE1 => V_ATTRIBUTE1
,P_ATTRIBUTE2 => V_ATTRIBUTE2
,P_ATTRIBUTE3 => V_ATTRIBUTE3
,P_ATTRIBUTE4 => V_ATTRIBUTE4
,P_ATTRIBUTE5 => V_ATTRIBUTE5
,P_ATTRIBUTE6 => V_ATTRIBUTE6
,P_ATTRIBUTE7 => V_ATTRIBUTE7
,P_ATTRIBUTE8 => V_ATTRIBUTE8
,P_ATTRIBUTE9 => V_ATTRIBUTE9
,P_ATTRIBUTE10 => V_ATTRIBUTE10
,P_ATTRIBUTE11 => V_ATTRIBUTE11
,P_ATTRIBUTE12 => V_ATTRIBUTE12
,P_ATTRIBUTE13 => V_ATTRIBUTE13
,P_ATTRIBUTE14 => V_ATTRIBUTE14
,P_ATTRIBUTE15 => V_ATTRIBUTE15
,P_ATTRIBUTE16 => V_ATTRIBUTE16
,P_ATTRIBUTE17 => V_ATTRIBUTE17
,P_ATTRIBUTE18 => V_ATTRIBUTE18
,P_ATTRIBUTE19 => V_ATTRIBUTE19
,P_ATTRIBUTE20 => V_ATTRIBUTE20
,P_ATTRIBUTE21 => V_ATTRIBUTE21
,P_ATTRIBUTE22 => V_ATTRIBUTE22
,P_ATTRIBUTE23 => V_ATTRIBUTE23
,P_ATTRIBUTE24 => V_ATTRIBUTE24
,P_ATTRIBUTE25 => V_ATTRIBUTE25
,P_ATTRIBUTE26 => V_ATTRIBUTE26
,P_ATTRIBUTE27 => V_ATTRIBUTE27
,P_ATTRIBUTE28 => V_ATTRIBUTE28
,P_ATTRIBUTE29 => V_ATTRIBUTE29
,P_ATTRIBUTE30 => V_ATTRIBUTE30
,P_SCORECARD_ID => V_SCORECARD_ID
,P_COPIED_FROM_LIBRARY_ID => V_COPIED_FROM_LIBRARY_ID
,P_COPIED_FROM_OBJECTIVE_ID => V_COPIED_FROM_OBJECTIVE_ID
,P_ALIGNED_WITH_OBJECTIVE_ID => V_ALIGNED_WITH_OBJECTIVE_ID
,P_NEXT_REVIEW_DATE => V_NEXT_REVIEW_DATE
,P_GROUP_CODE => V_GROUP_CODE
,P_PRIORITY_CODE => V_PRIORITY_CODE
,P_APPRAISE_FLAG => V_APPRAISE_FLAG
,P_VERIFIED_FLAG => V_VERIFIED_FLAG
,P_TARGET_VALUE => V_TARGET_VALUE
,P_ACTUAL_VALUE => V_ACTUAL_VALUE
,P_WEIGHTING_PERCENT => V_WEIGHTING_PERCENT
,P_COMPLETE_PERCENT => V_COMPLETE_PERCENT
,P_UOM_CODE => V_UOM_CODE
,P_MEASUREMENT_STYLE_CODE => V_MEASUREMENT_STYLE_CODE
,P_MEASURE_NAME => V_MEASURE_NAME
,P_MEASURE_TYPE_CODE => V_MEASURE_TYPE_CODE
,P_MEASURE_COMMENTS => V_MEASURE_COMMENTS
,P_SHARING_ACCESS_CODE => V_SHARING_ACCESS_CODE
,P_WEIGHTING_OVER_100_WARNING => V_WEIGHTING_OVER_100_WARNING
,P_WEIGHTING_APPRAISAL_WARNING => V_WEIGHTING_APPRAISAL_WARNING
,P_OBJECTIVE_ID => V_OBJECTIVE_ID
,P_OBJECT_VERSION_NUMBER => V_OBJECT_VERSION_NUMBER
dbms_output.put_line('Successfully created objective: ' || v_objective_id ||
' for TARGET PERSON_ID: ' || v_owning_person_id );
exception when others then
dbms_output.put_line('error : ' || sqlerrm);
END;Hi,
Can you just try by giving effective date and start date as some previous date rather than sysdate?
Regards,
Vinod -
Create user field image through coding
i want to create type general and structure image through coding in vb
please helpHi,
Below is a table from SAP's SDK documentation. You should use the last option.
Application
DI API
Type
Structure
Type
SubType
Alphanumeric
Regular
db_Alpha
st_None
Alphanumeric
Address
db_Alpha
st_Address
Alphanumeric
Phone
db_Alpha
st_Phone
Alphanumeric
Text
db_Memo
st_None
Numeric
None
db_Numeric
st_None
Date/Hour
Date
db_Date
st_None
Date/Hour
Hour
db_Date
st_Time
Units And Totals
Rate
db_Float
st_Rate
Units And Totals
Sum
db_Float
st_Sum
Units And Totals
Price
db_Float
st_Price
Units And Totals
Quantity
db_Float
st_Quantity
Units And Totals
Percent
db_Float
st_Percentage
Units And Totals
Measure
db_Float
st_Measurement
General
Link
db_Memo
st_Link
General
Image
db_Alpha
st_Image
Beni. -
URGENT: issue while creating user through reconciliation of AD
Hi,
We have a requirement where we need to create users in IDM through reconcilition against Active Directory. For certain type of account Ids I want to trigger a custom workflow used for user creation. So I set "viewOptions.Process" to my custom workflow in the user form assigned to the admin who is the proxy admin for the reconcilaition process. But it doesn't seem to kick off my custom workflow. Will this work? Is this the correct form to specify the custom workflow to be triggered?
Also I tried putting some trace satements in the default "Create User" workflow to see that if it is being called during user creation by recon. In the logs I don't see my trace statements. So the question is: Which is the workflow that is called when a user is created through reconciliation? How to specify a custom workflow name in this regard?
Thanks,
kIDMan.I'm wondering if you have an answer to this?
I need to do a similar thing. For me, I reconcile against an oracle DB and there are Active and Inactive users. I only want to reconcile Active users. I put the following code in the user form but it still created Inactive users. "Exclude Inactive User" is an empty WF that has only start and end activities.
<Field name='viewOptions.Process'>
<Expansion>
<s>Exclude Inactive User</s>
</Expansion>
<Disable>
<neq>
<ref>global.status</ref>
<s>I</s>
</neq>
</Disable>
</Field> -
Can't create user into backend system and contents in portal.
hi expert,
I installed EP(EP,BI-JAVA) as add in installation on existing BI-ABAP system based NW04s.
I can log on portal by abap user. But unubale to create any content and user in ABAP through portal.
What must be done after setup Addin JAVA STACK??
I assign following roles to test user.
Administrators :UME Database
Authenticated Users:Built-in Group Authenticated Users Built-in Groups Adapter
Everyone
but the error message is like "An error occurred in the persistence. The original and possible not translatet message was: "BAPI_USER_CREATE1@BWBCLNT100: ID=01, NUMBER=491, MESSAGE=You are not authorized to create users in group". Contact your system administrator. "
If anyone can advice me, it would be appreciated very much.
Regards
MASAKIIf this is what you mean "But unubale to create any content and user in ABAP through portal"....
creating users in portal is not possible since your UME is now linked to the ABAP in an add-in installation or a dual stack system users can only be created in the ABAP system and with the roles SAP_BC_JSF_COMMUNICATION_RO /without RO should let you create users in the ABAP stack....
you can only assign roles to users on the Portal for the ABAP users ...
heres the reason...
Combined AS for ABAP + Java installation
If you install an AS for ABAP + Java, UME is automatically set up to use the ABAP user management of the same Web AS installation. This option uses the configuration file dataSourceConfiguration_abap.xml.
AS for Java installation
If you install SAP Net Weaver AS for Java the UME is linked to the java database with users and groups in the Java system database, or if you want to subsequently connect an LDAP directory to the UME. This option uses the configuration file dataSourceConfiguration_database_only.xml -
Hi everybody,
Where can I find information about creating users in oracle e business suite 12(12i)? Though I know how to do such procedure but I am thinking of a thorough mannual to integrate what I know about this matter.
All the best,Check the [User Guide|http://download.oracle.com/docs/cd/B34956_01/current/acrobat/120sasg.pdf].
By
Vamsi -
Hi,
I have some question about creating user in EPM11.2.
I have 1,000 user to make in EPM. I think that It takes many time to register.
but I just have user name list with Excel files.
Is there any fast way to create user in Hyperion share service console.
thanksAre you trying to create Native users or connect to MSAD/LDAP?
If you are attaching to an external user directory, you can use LCM import/export in the Foundation to mass update Users/Groups and Provisioning. Do an export first to get an idea of the format, and you can read up on LCM at:
http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_lifecycle_management.pdf
There's a small learning curve to get used to the LCM format, but basically it all boils down to a .csv text format... Here's an example export:
#userid,provider,login_name,first_name,last_name,description,email,internal_id,passwordadmin,
Native Directory,admin,admin,,Administrative
hypadmin,Native Directory,hypadmin,ADMIN,user,,,b0ff0d64f03bc7d7:-63b85a69:11e521b18f
a:abd,{SHA}7zNBJSaWP3SEbucHWLNrcK1JET8=
#group
id,provider,name,description,internal_id
AllPlanningUsers,Native Directory,AllPlanningUsers,,05ba5f0967ff4f2c:-23a91ad5:120d8a87dfb:-76fc
tgroup1,Native Directory,tgroup1,,05ba5f0967ff4f2c:3d577042:128d125d051:-74de
#group_children
id,group_id,group_provider,user_id,user_provider
AllPlanningUsers,,,user1,Native Directory
#provisioning
project_name,aduct_type,user_id,user_provider,group_id,group_provider
Reporting and Analysis,Reporting and Analysis,Provisioning pplication_name,role_id,proManager,HUB-9.5.0,admin,Native Directory,,
Reporting and Analysis,Reporting and Analysis,Reporting and Analysis Administrator,HAVA-9.5.0,admin,Native Directory,,
Reporting and Analysis,Reporting and Analysis,Reporting and Analysis Global Administrator,HAVA-9.5.0,admin,Native Directory,, -
How to create user in oracle 11 g
Hi.
i am new to oracle 11 g. i am learning for oragle 11g dummies pdf.i have some doubts about create user in that what is for identified by used in create user.
eg: create user acme_own identified by acme_own2008 temporary tablespace temp, default tablespace user,
in this what identified user is used and what it does.
if anyone tell me it will be very helpfull.Hi;
Please see below notes if you have still doubt please update thread:
http://docs.oracle.com/cd/E11882_01/network.112/e16543/users.htm#BABGIFFE
http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_8003.htm
http://www.adp-gmbh.ch/ora/sql/create_user.html
Regard
Helios -
How do I go about creating user profiles for subscribed viewers to use?
Hi,
Use the administration portal to create user profiles.
Click User and Groups tab.
Then u can easily add user and groups use can also enter
details in the property set from there.
Or
U can use the Weblogic workshop for that
--jerry
Maybe you are looking for
-
LaserJet_600_M602_NW_access
hello i have LaserJet 600 M602. how to setup 802.1x auth? when i enter name, password, server address and then i click on submit, nothing happens. i can see "successful" but 802.1x auth is still inactive. also i have Network access protection server
-
How to construct an order form in Muse
want to use this form as an order form and need to know how to enter elements (checkboxes, pull-down menus, radio buttons, number fields, etc). This info was not covered at all. How do I achieve that level of form? I notice that I can build a form by
-
Today summary in iOS 8 not working correctly
Hello all, I have some problems with my iOS 8 Notifications center widgets. First of all I don't get any weather summary shown. Location Services are on and the weather option is also on. Background refresh for weather is also on. I tried several res
-
hello gurus Can i get an idea of how do i restrict a particular t code for a certain mvt type. like issuing of goods for a process order by mb1a n mvt type 261 only. no other mvt type will be allowed.
-
ASAP! Exporting to Powerpoint and move it from computer to computer
I want to be able to load my xcelsius dashboard onto powerpoint, have it displayed (at least when played) and have it be able to move from computer to computer without any problems or changes. How can I do this? I really need an answer quickly. Th