Custom user table

Hello,
I'm a newbie to Oracle Portal and I'm currently working on a conference project. We already have database from last year. There we have user table and other tables. I have already created custom login portlet for users to login but I used portal SSO package. Here comes the tricky part: How can I link portal user table and my user table, so I would know the details of a user when he logs in.
The best solution would be if I could use my table instead of PORTAL30_SSO.WWSEC_PERSON table.
Can anybody help me please !?!
Tnx in advance.
Mitja.

To handle using DIP, refer to the Oracle Identity Manager, Application Developers Guide. That gives recommendations on the ldap-ntfy package.
Handling the operation using OID plug-in will have performance impact on the ldap operations performed on OID.

Similar Messages

  • How to populate custom USER table with data from Oracle Internet Directory?

    Hi all,
    We have a Users table in our internal forms application.
    I want to populate this USERS table each time users are added in Oracle Internet Directory.
    Likewise for modification and deletion.
    How to go about doing this ?
    I know that it involves Oracle Directory Provisioning Integration Service and we might have to use LDAP_NTFY plsql proc to implement this.
    Am I on the right track ? Can anyone point me to the exact steps to go about synching up the USERS table from Oracle Internet Directory ?
    Thanks,
    Sam

    To handle using DIP, refer to the Oracle Identity Manager, Application Developers Guide. That gives recommendations on the ldap-ntfy package.
    Handling the operation using OID plug-in will have performance impact on the ldap operations performed on OID.

  • User provisioning to custom DB tables

    Hi All,
    I have a requiremnt where I need to provision users to custom DB tables(user table,role table and user_roles).
    We need to treat this as a test app which will be used for further implementations.
    what are the ways to achieve this?
    1.using GTC-Will it allow me to provision to 2 different tables? and how?
    2.normally defining the IT resourse-But I am not sure how the where will I define the table names to whcih I need to provision
    Anyways,
    I am using OOTB connectors
    Thanks as always

    hmm...rite...
    Do i need to specify the Status Lookup Code and status attribute values.I just need to implement this requirement for further implementation of the workflows..
    Once I clicked next..the admin console returned to the home page with the following error in the log file
    10/04/07 05:45:57 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
    *ERROR,07 Apr 2010 06:47:59,750,[org.apache.struts.actions.DispatchAction],Dispatch[CreateConnector] to method goNext returned an exception*
    java.lang.reflect.InvocationTargetException
    *     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:585)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
         at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
         at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
         at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
         at com.thortech.xl.webclient.actions.CreateConnectorAction.execute(Unknown Source)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
         at com.thortech.xl.dataobj.tcADPClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
    Edited by: watisoim on Apr 7, 2010 4:47 AM
    My OIm uses jdk1.5 and the connector is in 1.6...i already raised this issue i received earlier bt oracle say its nt the issue with jd version
    Edited by: watisoim on Apr 7, 2010 4:57 AM

  • User exit  with a field in custom z table

    hi ..
    I have a custom z table with a z field in it. This z field is linked with t800d data base table. when a report is executed using this t800d table they want text data from the z field, but it is not displaying . they said the possible solution would be defining  a user exit. how can i do this?

    Hi,
    Your requirement is not clear. Can you explain a bit.
    Regards,
    Atish

  • How to use customer extension table for schedule line for shopping cart ?

    Dear Experts,
    One of our client wants to have schedule lines in shopping cart item. I am thinking of using customer extension table at item level for shopping cart. Could you please help me on  how I should proceed with the appending the structures so that the end user can fill the shopping cart schedule line details?
    Which fields should I consider in such cases?
    Thanks and regards,
    Ranjan

    Hi.
    I guess you use SRM 7.0. Please go to IMG.
    SRM -> SRM Server -> Cross-Application Basic Settings -> Extensions and Field Control (Personalization) -> Create Table Extensions and Supply with Data
    Regards,
    Masa

  • How to specify a custom User-Agent for an HTTPService call?

    I'm trying to have HTTPService send a custom User-Agent
    string in the request headers but it seems to ignore the header=""
    method.
    Is there any documentation on how to do this? Or would I have
    to use URLRequest instead?

    Hi,
    The column's style classes will be added on the <td> elements, not the header sadly. So for your use case you'll have to place the class on the table itself then use the selector
    af|table.MyStyleClass af|column.formHeader::header-text{}Sadly this will affect all columns, not just one so I don't know if it's going to fir your need.
    Regards,
    ~ Simon

  • Linking user table with system table

    Hello, I'm trying to link a user table with IC table in order to asign many sales person to a customer.
    I've created a new button in the IC form. When clicked a new form is opened to asign sales person to the IC. Now I need to retrieve the records assigned to this IC. How can I do that???
    Regards.
    Angel.

    Hi Angel,
    I would put a matrix in the new form where you could see/asign/delete the sales person.
    Have a look at this post where you can find a great code from Sebastian Danober to fill a matrix from a recordset.
    Another option could be to modify the existing IC form and add a new folder with a matrix where you can manage the sales person.
    Check this other post with code for adding folder to an existing form.
    Regards,
    Ibai Peñ

  • Population of custom LIS tables thorugh MFBF transaction

    Hello Friends,
    I have created a custom LIS tables S728 for Shop floor control (04) and it is updated though REM Backflush (transaction MFBF). But some of the fields are not populated. Can someone help me to understand how this LIS table is populated? I am looking for piece of code where this table is populated.
    I see some includes inside main program for MFBF transaction related to LIS structures, but control does not stop there in while debugging MFBF Tran code.
    Any direction/suggestion will help.
    Thanks.
    Sujoy

    I added the following code at the beginning of the user exit and was able to prevent the execution of user exit for S031, S032 and S033 during reload of old material documents using OLI1 or OLI2.
    DATA: lv_ex_flg TYPE c.
    DATA: lfd_string TYPE string VALUE '(SAPLMCB1)XMCINF[]'.
    FIELD-SYMBOLS : <fs1> type any,
            <fs2> type any,
            <fs> TYPE table,
            <fs_wa> TYPE any.
    IF sy-tcode EQ 'OLI1' OR sy-tcode EQ 'OLI2'.
    ASSIGN (lfd_string) TO <fs>.
    IF sy-subrc EQ 0.
    LOOP AT <fs> ASSIGNING <fs_wa>.
       ASSIGN COMPONENT 'LOW' OF STRUCTURE <fs_wa> TO <fs1>.
       ASSIGN COMPONENT 'HIGH' OF STRUCTURE <fs_wa> TO <fs2>.
       IF <fs1> EQ 'S031' OR
         <fs1> EQ 'S032' OR
         <fs1> EQ 'S033'.
         lv_ex_flg = '1'.
         EXIT.
       ELSEIF <fs2> EQ 'S031' OR
              <fs2> EQ 'S032' OR
               <fs2> EQ 'S033'.
         lv_ex_flg = '1'.
         EXIT.
       ELSEIF <fs2> EQ 'S920' OR
               <fs1> EQ 'S920'.
         EXIT.
       ENDIF.
    ENDLOOP.
    ENDIF.
    ENDIF.
    CHECK lv_ex_flg NE '1'.

  • User tables belonging to the dbo schema were found in the database...

    Hi
    I´m running SAP on windows server 2003 R2 x64 sql 2005.
    I have installed a sandbox system based on NW 7.01 SR1 ECC 6.0. It´s only abap.
    After that I wanted to make a system copy of our production system to the the sandbox. So my sql colleague took a full backup of the production database and restored it into the sandbox.
    Now I´m trying to run the system copy installation sapinst - SAP ERP 6.0 EHP4 Ready (Support Release 1) - Sotware life Cycle Options - System Copy - MS SQL Server - Target System Installation - Central System - Based on AS ABAP - Central System...
    I choose custom and say it´s a Homogeneus System Copy (MS SQL Servver-specific)
    After that I choose "Use existing database" but the it say:
    *User tables belonging to the dbo schema were found in the database ES0. SOLUTION: You can only install an SAP system in a database with no user objects belonging to the system schema dbo. If there already is an SAP system in the database (MCOD), or you install a Java Add-In, you might have to convert the existing system to its own schema, or contact your SAP support.*
    I have searched the forums and can´t find anything I can use. I found someone wrote that I should change the control.xml file under sapinst directory:
    Proceed as follows:
    1. Stop SAPinst.
    2. Open the file control.xml in the sapinst log directory and look for the following lines:
    AllowNew: mig ? ?false? : ?true?,
    AllowDboObjects: mig ? ?true? : ?false?,
    3. Change these lines to
    AllowNew: ins ? ?true? : ?false?,
    AllowDboObjects: ins ? ?false? : ?true?,
    4. Save the control.xml, restart SAPinst and choose ?Continue old installation?.
    but it is not helping.
    Please advise me.
    If this is the wrong forum please tell which one is correct.
    Best regards
    Thomas
    Edited by: Thomas Aastrøm on Feb 23, 2012 3:49 PM

    Hi again
    Phase 11 is ok now. We changed the database owner to sap SIDadm.
    But now it fails at phase 12 (Move MS SQL Server objects from one schema to another)
    An error occurred while processing option SAP ERP 6.0 EHP4 Ready - Support Release 1 > Software Life-Cycle Options > System Copy > MS SQL Server > Target System Installation > Central System > Based on AS ABAP > Central System. You can now:
    Choose Retry to repeat the current step.
    Choose View Log to get more information about the error.
    Stop the option and continue with it later.
    Log files are written to C:\Program Files/sapinst_instdir/ERPEhP4/LM/COPY/MSS/SYSTEM/CENTRAL/AS-ABAP/.
    sapinst.log:
    INFO 2012-02-24 13:18:55.427
    Execute step MoveSchema of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSysCopy|ind|ind|ind|ind|10|0|MssSchemaMove|ind|ind|ind|ind|2|0
    ERROR 2012-02-24 13:18:56.349
    FCO-00011  The step MoveSchema with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSysCopy|ind|ind|ind|ind|10|0|MssSchemaMove|ind|ind|ind|ind|2|0|MoveSchema was executed with status ERROR .
    ERROR 2012-02-24 13:18:56.146
    MDB-05053  Errors when executing sql command: [Microsoft][ODBC SQL Server Driver][SQL Server]Object 'ep0.AFKO' does not exist or is not a valid object for this operation.
    <p> SOLUTION: If this message is displayed as a warning, you can ignore it. If this is an error, contact SAP support.</p>
    INFO 2012-02-24 13:19:02.583
    An error occured and the user decided to retry the current step: "|NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSysCopy|ind|ind|ind|ind|10|0|MssSchemaMove|ind|ind|ind|ind|2|0|MoveSchema".
    ERROR 2012-02-24 13:19:02.770
    FCO-00011  The step MoveSchema with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSysCopy|ind|ind|ind|ind|10|0|MssSchemaMove|ind|ind|ind|ind|2|0|MoveSchema was executed with status ERROR .
    What to do?
    Best Regards
    Thomas

  • End User Tables

    hello ,
    i have installed Oracle Discoverer 10 g for our Oracle EBS 11i,
    when i try to connect through apps user in Discoverer Desktop
    it says that Apps user cant use End USer Tables,
    Please reply that how can i give privilege to apps user from Discoverer Administrator??

    Pl post exact versions of server OS, database, 11i, Discoverer and client OS being used.
    Are you trying to access a seeded EBS End User Layer or have you created a custom EUL ?
    Depending on your Disco version, pl follow the steps in one of these docs
    Discoverer 10g (9.0.4) with Oracle Applications 11i          (Doc ID 257798.1)
    Using Discoverer 10.1.2 with Oracle E-Business Suite 11i          (Doc ID 313418.1)
    Srini

  • Grant Apps Privileges to custom User

    Hi, gurus,
    after successfully upgrading ebs 11.5.10.2 database to 10.2.0.5, we want to create a database user that will have all APPS Schema privileges.
    Please can anyone help us with all the Privileges,Roles etc that have to be granted to this User.
    thanks

    Thanks for the reply hsawwan,
    I have granted all the roles and privileges of apps to custom user. I have also created synonyms on the following apps tables and packages in the custom schema:
    sqlplus custom_schema/password
    create synonym fnd_global for apps.fnd_global;
    create synonym fnd_client_info for apps.fnd_client_info;
    create synonym fnd_profile for apps.fnd_profile;
    create synonym fnd_message for apps.fnd_message;
    create synonym app_exception for apps.app_exception;
    create synonym fnd_log_repository for apps.fnd_log_repository;
    create synonym fnd_log for apps.fnd_log;
    create synonym hr_signon for apps.hr_signon;
    create synonym jg_context for apps.jg_context;
    create synonym fnd_application_vl for apps.fnd_application_vl;
    create synonym fnd_responsibility_vl for apps.fnd_responsibility_vl;
    create synonym fnd_languages for apps.fnd_languages;
    create synonym fnd_user for apps.fnd_user;
    create synonym fnd_application for apps.fnd_application;
    create synonym fnd_lookup_types for apps.fnd_lookup_types;
    create synonym fnd_product_groups for apps.fnd_product_groups;
    create synonym fnd_profile_options_vl for apps.fnd_profile_options_vl;
    create synonym fnd_new_messages for apps.fnd_new_messages;
    create synonym fnd_data_group_units for apps.fnd_data_group_units;
    create synonym fnd_oracle_userid for apps.fnd_oracle_userid;
    create synonym fnd_product_groups for apps.fnd_product_groups;
    create synonym fnd_product_initialization for apps.fnd_product_initialization;
    create synonym fnd_product_init_condition for apps.fnd_product_init_condition;
    create synonym fnd_product_init_dependency for apps.fnd_product_init_dependency;
    create synonym fnd_product_installations for apps.fnd_product_installations;
    create synonym fnd_profile_options for apps.fnd_profile_options;
    create synonym fnd_profile_option_values for apps.fnd_profile_option_values;
    create synonym fnd_security_groups_vl for apps.fnd_security_groups_vl;
    create synonym fnd_user_resp_groups for apps.fnd_user_resp_groups;
    create synonym icx_parameters for apps.icx_parameters;
    create synonym fnd_log_messages for apps.fnd_log_messages;
    create synonym fnd_cache_versions for apps.fnd_cache_versions;
    i have granted execute on APPS.FND_CORE_LOG to custom_schema
    I created the procedure below with custom_schema (procedure created successfully):
    CREATE OR REPLACE PROCEDURE INSERT_PEN_BALANCES_MAR11(p_payroll_date IN DATE, p_low_line_id IN NUMBER, p_high_line_id IN NUMBER) AS
    CURSOR all_people IS
    SELECT LINE_ID,
    STAFF_ID,
    EMPLOYEE_NUMBER,
    FULL_NAME,
    ASSIGNMENT_ID,
    PAYROLL,
    ORGANIZATION
    FROM
    APIREPORTS.ALL_PENSION_PEOPLE_INFO_MAR11
    WHERE
    LINE_ID BETWEEN p_low_line_id AND p_high_line_id
    AND
    BALANCE_LOAD_STATUS = 'NO';
    CURSOR assignment_actions(l_assignment_id IN NUMBER) IS
    SELECT
    A.ASSIGNMENT_ACTION_ID, B.PAYROLL_ACTION_ID, B.ACTION_TYPE, B.EFFECTIVE_DATE, B.PAYROLL_ID
    FROM
    APPS.PAY_ASSIGNMENT_ACTIONS A,
    APPS.PAY_PAYROLL_ACTIONS B
    WHERE
    A.PAYROLL_ACTION_ID = B.PAYROLL_ACTION_ID
    AND
    A.ASSIGNMENT_ID = l_assignment_id
    AND
    B.EFFECTIVE_DATE BETWEEN TRUNC(p_payroll_date, 'MONTH') AND p_payroll_date
    --B.EFFECTIVE_DATE = p_payroll_date
    AND
    B.ACTION_TYPE IN ('R','Q')
    -- AND
    -- B.ACTION_STATUS = 'C'
    AND
    A.ACTION_STATUS = 'C';
    CURSOR balance_ids(l_assignment_action_id IN NUMBER) IS
    SELECT
    A.BALANCE_NAME_AND_SUFFIX,
    A.DEFINED_BALANCE_ID,
    A.BALANCE_DIMENSION_ID
    FROM
    APPS.PAY_BALANCES_V A,
    APPS.PAY_BALANCE_DIMENSIONS B
    WHERE
    A.BALANCE_DIMENSION_ID=B.BALANCE_DIMENSION_ID
    AND
    B.DATABASE_ITEM_SUFFIX IN ('_ASG_ITD','_ASG_RUN','_ASG_YTD')
    AND A.ASSIGNMENT_ACTION_ID = l_assignment_action_id;
    --AND A.BALANCE_NAME_AND_SUFFIX IN ('GOG Net Salary_ASG_RUN','Total Earnings_ASG_RUN');
    -- Variable to hold the calculated value
    balance_value NUMBER;
    -- Counter to commit after a fixed number of records
    p_counter INTEGER := 0;
    -- Local Variable to hold the status of each insert
    l_status VARCHAR2(30);
    BEGIN
    -- Initialize the environment
    --BEGIN
    --APPS.fnd_global.apps_initialize(2352,50001,800);
    --END;
    FOR i IN all_people
    LOOP
    p_counter := p_counter + 1;
    FOR j IN assignment_actions(i.ASSIGNMENT_ID)
    LOOP
    FOR k IN balance_ids(j.ASSIGNMENT_ACTION_ID)
    LOOP
    BEGIN
    -- Retrieve the value of the balance
    balance_value := NULL;
    l_status := 'INSERT SUCCESSFUL';
    balance_value := apps.pay_balance_pkg.get_value(k.DEFINED_BALANCE_ID, j.ASSIGNMENT_ACTION_ID);
    BEGIN
    INSERT INTO APIREPORTS.ALL_PENSION_LATEST_BAL_MAR11
    (STAFF_ID,
    FULL_NAME,
    ASSIGNMENT_ID,
    EMPLOYEE_NUMBER,
    BALANCE_NAME_AND_SUFFIX,
    AMOUNT,
    PAYROLL,
    PAYROLL_ID,
    PAY_PERIOD,
    ORGANIZATION,
    ASSIGNMENT_ACTION_ID,
    PAYROLL_ACTION_ID,
    PAYROLL_ACTION_TYPE,
    CREATION_DATE
    VALUES
    (i.STAFF_ID,
    i.FULL_NAME,
    i.ASSIGNMENT_ID,
    i.EMPLOYEE_NUMBER,
    k.BALANCE_NAME_AND_SUFFIX,
    balance_value,
    i.PAYROLL,
    j.PAYROLL_ID,
    j.EFFECTIVE_DATE,
    i.ORGANIZATION,
    j.ASSIGNMENT_ACTION_ID,
    j.PAYROLL_ACTION_ID,
    j.ACTION_TYPE,
    SYSDATE
    EXCEPTION WHEN OTHERS THEN
    l_status := 'ERROR WITH INSERT';
    END;
    END;
    END LOOP;
    END LOOP;
    IF (l_status = 'INSERT SUCCESSFUL') THEN
    UPDATE APIREPORTS.ALL_PENSION_PEOPLE_INFO_MAR11
    SET
    BALANCE_LOAD_STATUS = 'YES'
    WHERE
    LINE_ID = i.LINE_ID;
    END IF;
    IF (p_counter = 10) THEN
    COMMIT;
    p_counter := 0;
    END IF;
    END LOOP;
    COMMIT;
    END INSERT_PEN_BALANCES_MAR11;
    procedure created successfully.
    Now when i execute the procedure i get the following error:
    EXEC INSERT_PEN_BALANCES_MAR11('31-DEC-2010',1,1930);
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ORA-06512: at APPS.FND_CORE_LOG line 25
    ORA-06512: at APPS.FND_CORE_LOG line 432
    ORA-06512: at "APPS.FND_PROFILE", line 110
    ORA-06512: at "APPS.PAY_MONITOR_BALANCE_RETRIEVAL", line 35
    ORA-06512: at "APPS.PAY_BALANCE_PKG", line 4426
    ORA-06512: at "APPS.PAY_BALANCE_PKG", line 5403
    ORA-06512: at "APPS.PAY_BALANCE_PKG", line 5265
    ORA-06512: at "APPS.PAY_BALANCE_PKG", line 5250
    ORA-06512: at "ADARI.INSERT_PEN_BALANCES_MAR11", line 71
    Please help me out.
    Thanks.

  • Built-in users table

    Hello,
    I want to build an authentication function based on the built-in users table, some thing like:
    (select * from (appex-user) where user=&varialble and password=&varialbes)
    How can I do that?
    Edited by: Najla on Jan 16, 2013 8:34 AM

    Hi,
    you can build table like
    CREATE TABLE  "USER_LOGIN"
       (     "USER_NAME" VARCHAR2(50) NOT NULL ENABLE,
         "USER_PASS" VARCHAR2(50))and use function like this
    create or replace FUNCTION  "AACU_F" (
    p_username IN VARCHAR2,
    p_password IN VARCHAR2)
    RETURN BOOLEAN IS
    BEGIN
    FOR c1 IN (SELECT 1
    FROM USER_LOGIN
    WHERE UPPER(USER_NAME) = UPPER(p_username)
    AND UPPER(USER_PASS) = UPPER(p_password))   
    LOOP
    RETURN TRUE;
    END LOOP;
    RETURN FALSE;
    END;now change your Authentication Schemes
    Scheme Type : custom
    in Authentication Function Name : use the function name you created (AACU_F) .
    Abo Yahya

  • Global Users Table

    Good afternoon,
    I wasn't sure what to enter in the subject line, so as you see I used "Global Users Table". It doesn't completely convey what my question is, so I'll try to explain better.
    We perform custom authentication in our Apex apps. Currently, we have a user table for each application that stores information about the user. It contains name, email address, password hash, roles, etc. It's a pretty nice process and works very well for us.
    We want to migrate to a global user table and store all of our Apex users in 1 table. (We'll also have a separate table which will contain a row for each Apex app a person has access to and what their roles are.) This will have obvious advantages. For one we won't have to create a new app specific users table each time we create a new Apex app. And, we'll be able to use the same authentication procedure for all of our Apex apps since all users and their passwords will be in 1 table.
    We haven't created any of the objects yet. We're just building the spec right now. Does anyone have experience in doing what we're attempting to do? If so, will you share how you accomplished it?
    Thx, Tony

    Sounds like an interesting idea.. Have you looked at the article from a few years back in Oracle magazine that showed how to code a portal type application that allowed access to individual applications, this handled the user information at that level, similar to what you are doing..
    See this article from Oracle magazine June 2006: http://www.oracle.com/technetwork/issue-archive/2006/06-may/o36apex-086847.html
    Thank you,
    Tony Miller
    Webster, TX
    While it is true that technology waits for no man; stupidity will always stop to take on new passengers.

  • Help with setting up User Table/Picklist

    Hello:
    I am creating an application where I am using a custom authentication scheme and capturing all user information in a separate table. When the user logs in it will refer to the table to identify a user name and password stored in the table.
    I am allowing users to create their own user accounts which will default to basic access levels. Further along in the process users will be required to select an individual to approve something. I want to use a pick list so that the approver name is entered consistently every time. The user table has the following format:
    Column Name Data Type Nullable Default Primary Key
    USERNAME VARCHAR2(8) No - 1
    PASSWORD VARCHAR2(8) No - -
    FNAME VARCHAR2(30) No - -
    LNAME VARCHAR2(30) No - -
    EMAIL VARCHAR2(50) No - -
    ADMIN VARCHAR2(1) Yes - -
    APPROVER VARCHAR2(1) Yes - -
    I'd like the users to be able to select from a pick list that displays LNAME, FNAME. I don't know how to have both fields show up in a pick list.
    Alternatively I'd like (if possible) to keep the two seperate fields for the creation of the user accounts so that I can get a consistent LNAME, FNAME format and people aren't entering it backwards (i.e. Smith, Joe v. Joe Smith).
    If I cannot show the two fields in the picklist, is there a way where I could add a self calculating filed to the table that will concatenate LNAME", "FNAME?
    Thanks for any help you can provide.

    RKD,
    Create a dynamic list of values.
    select lname||', '||fname displayed, username returned
    from user
    order by 1You can display anything you want, independent of the returned value. And that includes concatenating items together (or doing other calculations/manipulations).
    -David

  • FBCJ Profit Center Field mapping with customized z-table

    Hi Techies,
    Requirement is that: in FBCJ t-code, the field profit Center will be connected with customized z-table, and while user will input except values of customized table, system will generate error message.

    Hi Krishna,
    This check can be achieved by creating validation using T.Code GGB0. How this can be done can be got from the following links.
    Validations - ERP Financials - SCN Wiki
    Regards,
    Abijith

Maybe you are looking for