Custom Apps Schema tables

Hello

I am beginner in oracle apps. I put in place of oracle ebs r12. But I read in several places that we must not create custom apps schema tables.

But I am confused here that why the tables should not be created in the Apps schema.

Custom tables should not be mixed with the tables stocked in apps schema (or any other seeded schema) and it should be created in his own schemes. When you create dashboards customized under scheme apps for your objects will belong to the apps user who is unsupported. In addition, whenever needs correction or upgrade to your custom object can influence these processes. When you include your tables custom in seeded patterns you increase the security risk and make it difficult to debug/fix the problems of stability of the performance/EBS. It would be easy for you to maintain your custom tables when they have its own schema.

https://blogs.Oracle.com/stevenChan/entry/avoid_mixing_custom_applications_with

You must consider the following when creating custom tables:

-Create custom in custom schema tables, and integrate it with applications (and other drawings if necessary)

-Make sure that your custom objects follow Oracle E-Business Suite, naming conventions

Thank you

Hussein

Tags: Oracle Applications

Similar Questions

  • Oracle_Id APPS or < CUSTOM > data schema...?

    Hello
    I have a question about the Metalink Note: 70276.1.

    In point 5, it says the following:
    "It is recommended that you use the STANDARD datagroup and match the schema customized with applications or you can add a new data group. It depends on your own needs. »

    I'll create a custom application and following the directives of the EBS, I'll create the tables, the seqs, indices to the CUSTOM schema so that the views, packages, procs, functions, synonyms to the APPS schema.
    According to the Note above, which can be the difference between the CUSTOM as ORACLE_ID and APPS selection... and happening in architecture app - regarding the db of CUSTOM, schema APPS schema - should be done (as appropriate...)?

    Thank you very much
    SIM

    SIM,

    The standard method is to use apps like Oracle ID when you add a schema customized for a group of data. The custom application will use this ID from Oracle (i.e. apps) to connect to the tables in the database. By default, the apps user has select any table privilege and that's why we recommend to use the apps account. Adding a new data group requires to give more privileges to user custom allowing you access to tables in other patterns.

    In addition, I suggest that you refer to this note, since you're on 11i.

    Note: 176852,1 - custom with Oracle Applications Release 11i Applications integration
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=176852.1

  • applicationContext remains "null" after using the custom url scheme to launch the app

    Hello

    I am currently working on a DPS application for a customer who wishes to use its own authentication system.

    The client system is implemented so that they send the valid token to a URI with a custom method.

    By setting the same pattern custom in my app DPS constructor, I can get the app from the login window.

    What is described in the library of DPS & Api store 2.32 documentation, I understand that

    " adobeDPS.configurationService.applicationContext must contain several variables associated to how the viewer was started or enabled:" ","this class represents the context under which the application is launched '


    However, in my application when I try to see what contains the applicationContext, the object is always 'null '. It doesn't matter if I started the application by clicking on its icon or if it was launched using the custom uri scheme.


    Is this a bug or am I missing something here? I really need this token.

    Hello

    After being stuck for a while trying to work with the url of my client for usage, I finally tested it with a modified version and have found the cause of the problem.

    Work of first information provided by a colleague who was apparently not detailed enough for the customer asked me to use a url of the form App. scheme://auth/#token=...

    It turns out that this kind of url can start or bring the app to the front, but applicationContext remains empty.

    My tests using a url in the same form as you suggested (eg. app. scheme://v1/slot/library) can trigger the app or transmit data.

    The documentation available in the SDK library & shop and article on how to use a custom template is very vague on what formats link actually works, and how we can vary with it.

    A breakdown of official links to pieces, that the parties do and what items can be modified (for example ' / appstate') within the API documentation would be a great help for developers, I think.

    Kind regards

    Lorin

  • Custom in APPS Schema views

    I am looking for your practices copies/opinions on this issue.

    We have all our custom views (for custom applications that are defined as an extension of the oracle application - for example $XXMAR_TOP as an extension of the $AR_TOP)
    defined in the schema of APPS.

    It is important that these views are defined in the APPS schema or it is advisable to define custom views in the custom schema with subsidies for APPS?

    Thank you

    It is recommended to create custom views in the APPS schema (with XX prefix).
    For more details, refer to the standards of customization to http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T458264.htm

    Sandeep Gandhi

  • How to grant privileges to update on the custom procedures created in the apps schema?

    Hello
    We have a R12.0.6 instance that runs within our Organization. Our programmers keep requesting access on some custom procedures that are initially created in the apps 'write (update)' scheme. I have created a read-only as database user and granted ' run/debug' privilege on these custom procedures, but always using this procedure user cannot be updated (in sufficient privileges).

    Once they change the procedure, send me the code. Using profile user apps, I can recreate it using procedures create or replace the control. In this way it works very well. Our concern is how they (programmers) themselves using database read-only user does this work? What privileges should be granted?

    Please guide me?
    Concerning
    Ariz

    Arizuddin wrote:
    Hello
    First of all, I have to give ' run/debug"on a particular procedure that exists in the apps schema. Grant then 'edit any proceedings', it works.

    "alter any procedure" is a privilege of system and now the user can change any procedure in the database. You will need to remember this security risk.

    Concerning
    Rajesh

  • Can FND_USER_PKG be executed or used by the APPS Schema

    Hello

    I have a client who needs to use applications. FND_USER_PKG (to update password etc.) through the APPS Schema.

    Is it supported?

    Kind regards

    Hugues

    Hello Pravin,

    Thanks for the tips.

    It is not supported. It is considered as customization and Oracle will not be supported.

    How to: Run the application as a custom user [1483548.1] Packages

    Kind regards

    Hugues

  • Custom authentication scheme

    Dear community,

    I tried to create a custom authentication scheme based on a tutorial. But seemed to fail since the tutorial works on version 4.0 and I'm working on 4.1.

    Step 1. create table user_repository)
    username varchar2 (8).
    VARCHAR2 (8) password,.
    primary key (username)
    );

    Step 2 insert into user_repository values ('John', '1234');

    Step 3.

    create or replace package pkg_auth as
    function authenticate (p_username in varchar2,
    p_password in varchar2) return Boolean;
    end;

    create or replace package body pkg_auth as
    function authenticate (p_username in varchar2,
    p_password in varchar2) return Boolean is
    v_result integer: = 0;
    Start
    Select 1
    in v_result
    of user_repository
    where username = lower (p_username)
    and password = p_password;
    Return (v_result = 1);
    exception
    When no_data_found then
    Returns false;
    end to authenticate;
    end;

    Step 4. They want to create an authentication scheme from scratch, which does not exist in 4.1 (so it fails pretty well by already). I created a (based on some configs by default) normal authentication scheme.

    Step 5 They want to fill me this service "customized to authenticate": return pkg_auth.authenticate;
    Unfortunenately this functionality is not there either.


    Theyre talking passhashing, who used to work since I don't even get the normal authentication scheme to work.
    If someone could help me to create a custom authentication scheme based on the table in * 4.1, that wouldve was awesome.

    Authentication and authorization have been cleaned up to 4.1

    Create a schema of authentication "based on a pre-configured gallery system", and then select the type of theme of "custom".
    You can place your pl/sql code in the source field, or keep it in your database.
    Set your pkg_auth.authenticate in the field "name of the function of authentication.

    Final note - you should not really store plaintext passwords - I hope that this example of coding has been for the demo only. Check the past of examples that use the custom_hash function, for example.

    Scott

  • Apex 4.1 - Websheets with the custom authentication scheme

    Apex v4.1 (as seen on the hosted apex.oracle.com) - Websheets do not always seem to work with a custom authentication scheme. Database applications work very well with a function of sentry page, but when the same page sentry function is used for a websheet, running, it gives an error the requested page was not found

    One of the Apex team can consult? Thank you

    Hi Vikas,

    Websheet Sentinels have slight differences of sentinels of the application.
    I created a sentinel websheet for you which should operate (see below).

    Christian

    create or replace function sample_page_sentry return boolean
    is
        l_username   varchar2(512);
        l_session_id number;
        l_ws_app_id  number;
    begin
        -- check to ensure that we are running as the correct database user.
        if user != 'APEX_PUBLIC_USER' then
            return false;
        end if;
        -- get sessionid in cookie
        l_session_id := wwv_flow_custom_auth_std.get_session_id_from_cookie;
        if wwv_flow_custom_auth_std.is_session_valid then
            -- the session still exists. we configure the APEX engine to use
            -- this session id and the session's username.
            --
            -- NOTE: it is more secure to also check if this is the session id from
            --       the URL!
            --
            apex_application.g_instance := l_session_id;
            l_username                  := wwv_flow_custom_auth_std.get_username;
            if nvl(l_username,'nobody') != 'nobody' then
                wwv_flow_custom_auth.define_user_session(
                    p_user       => l_username,
                    p_session_id => l_session_id);
                return true;
            end if;
        else
            -- session can not be reused, create a new one
            l_session_id := apex_custom_auth.get_next_session_id;
        end if;                                                                                 
    
        -- the current session is unauthenticated. we have to determine the user
        -- and log in.                                                                          
    
        -- get the username from somewhere, e.g. a cgi variable. it is hard-coded
        -- here for simplification.
        l_username := 'VANJ';
        -- configure the engine to use this username and session.
        apex_custom_auth.define_user_session(
             p_user       => l_username,
             p_session_id => l_session_id );
        -- build a deep link to the websheet start page
        l_ws_app_id  := apex_util.get_session_state ('WS_APP_ID');
        wwv_flow_custom_auth.remember_deep_link (
             p_url=>'ws?p='||l_ws_app_id||'::'||l_session_id );
        -- register the session in apex sessions table, set cookie, redirect back.
        apex_authentication.login(
             p_username => l_username,
             p_password => null );
        return true;
    end sample_page_sentry;
    /                                                                                           
    

    Published by: Christian Neumueller November 15, 2011 07:07 (a wiki format error corrected)

  • Need help-> custom authentication scheme

    Hey,.

    I am working on a custom authentication scheme.

    First, I create a test table:
    CREATE TABLE TBL_USER
      (
        USR_EMAIL VARCHAR2(40 BYTE) NOT NULL ENABLE,
        USR_ID    NUMBER NOT NULL ENABLE,
        USR_PW    VARCHAR2(255 BYTE) NOT NULL ENABLE,
        USR_ROLLE VARCHAR2(20 BYTE),
    CONSTRAINT "TBL_USER_PK" PRIMARY KEY ("USR_ID")
    );
    Then a function to hash the email and pw:
    create or replace
    function app_hash_test (p_email in varchar2, p_passwort in varchar2)
    return varchar2
    is
      l_passwort varchar2(4000);
      l_salt varchar2(4000) := 'DFS2J3DF4S5HG666IO7S8DJGSDF8JH';
                                
    begin
      l_passwort := utl_raw.cast_to_raw(dbms_obfuscation_toolkit.md5
      (input_string => p_passwort || substr(l_salt,10,13) || p_email ||
        substr(l_salt, 4,10)));
      return l_passwort;
    end;
    Then, a function of authentication:
    create or replace
    function app_auth_test (p_email in VARCHAR2, p_passwort in VARCHAR2)
    return number
    is
      l_passwort varchar2(4000);
      l_stored_passwort varchar2(4000);
      l_expires_on date;
      l_count number;
    begin
      select count(*) 
        into l_count 
        from tbl_user 
       where upper(usr_email) = upper(p_email);
    
      if l_count > 0 
      then
        select usr_pw 
          into l_stored_passwort
          from tbl_user 
          where upper(usr_email) = upper(p_email);
    
        l_passwort := app_hash_test(p_email, p_passwort);
    
        if l_passwort = l_stored_passwort 
        then
          return 1;
        else
          return 0;
        end if;
      else
        return 0;
      end if;
    end;
    After this, I create a form on the table tbl_user to insert the users by e-mail, password and rol (drop-down).

    On this Page (3), I create a new process to generate the hash value.
    begin
    :P3_usr_email := upper(:P3_usr_email);
    :P3_usr_pw := app_hash_test(:P3_usr_email,:P3_usr_pw);
    :P3_usr_email := lower(:P3_usr_email);
    end;
    After completing my page reg., I insert some users to test it later.

    The next step was to create a new authentication scheme in the shared components.
    Share components
    1. create
    2 starting at zero
    3. name-> TBL_USER
    4 JUMP
    5 JUMP
    6. the Page of this Application-> Page 1
    7 JUMP
    8 use my custom function to authenticate. -> return app_auth_test
    9 JUMP
    10 JUMP
    11 LOGOUT URL-> wwv_flow_custom_auth_std.logout? p_this_flow = APP_ID. & amp; p_next_flow_page_sess = & APP_ID.:1
    12. create schema

    My next step is to set the new regime as current-> current change

    I'm trying to open a session to my existing page with an e-mail and password in the tbl_user table.

    But all I got, is an error message:

    ORA-06550: line 2, column 8: PLS-00306: wrong Anzahl oder Typen von illuminated by von call 'APP_AUTH_TEST' ORA-06550: 2 line, column 1: PL/SQL: statement ignored

    ERR Fehler - 10460 implement von Funktion zum Prufen der Authentifizierungs-ID-Daten nicht possible.

    Translattion:
    Wrong number or type of argument in the call to 'APP_AUTH_TEST' ORA-06550: 2 line, column 1: PL/SQL: statement ignored

    Error ERR-10460 perform the function of evidence authentication-ID data - is not possible.

    I have check the operation, but it seems ok!
    does anyone know, what I forgot? Perhaps some parameters in the Login Page?

    NEDO

    Edited by: Mr.Nedo the 12.04.2011 07:55

    Your authentication (app_auth_test) matching mist signature exactly as shown in the window help or documentation.

    function app_auth_test (p_email in VARCHAR2, p_passwort in VARCHAR2) RETURN NUMBER

    differs from the documentation

    (p_username in varchar2, p_password in varchar2) return a Boolean value

    Change function app_auth_test so that it matches with the signature expected (return type and the parameter names and types) or write a wrapper for him with this signature and use that work more like authentication.

  • How to give subsidies on the packages belonged to another apps schema

    Hello

    Could you help me by giving subsidies on the packages belonged to another apps schema.

    to give the grant that we can use to either run or debug, but I'm not sure that him on the behaviour of this donation.

    (1) if I give subsidies to the parcel if it may harm data or objects associated with this object IE apps.

    The user who got grants on these packages if it executes this package - make changes in the environment.

    with respect,
    Surya

    Published by: SuryaSrinivas on June 30, 2009 02:31

    Hello

    I think that it should run no problem granting privilege on the packaging of custom schemas apps. However, you must give approval with cautious execute as account APPS is a powerful user and you need to know the implication to give privileges to other diagrams.

    Kind regards
    Hussein

  • Save the custom URL scheme

    Hello!

    Is it possible to save a custom url scheme so that the system will launch my application when the user clicks on a link in the form "customscheme://idontcareaboutthefqdn/"?

    I know you can record a complete domain name by using HttpFilterRegistry, but I really want to react to a plan.

    P.S.: As always, I forgot to include the most important information...
    BB 6.0.0 API

    THX

    A few quick answers:

    (1) ignore, memory shows just a nodule not RIM started

    (2) interesting

    (3) care

    Now, I have a theory here.  I think you are trying to add the template registry etc until your application has actually started.

    If you look at this statement:

    PatternRepository.addPattern (ApplicationDescriptor.currentApplicationDescriptor (), "^ regime:-/-/ \\S*",)

    This is handled in your main() and main is no NOT part of your application - it is used to start your application.  (in fact it becomes part of your Application, but it's out of reach for the moment). So what makes ApplicationDescriptor.currentApplicationDescriptor () actually refers to?  A null descriptor, perhaps?

    I would try to reworjk that so as the record of the model becomes an integral part of your Application, so that ApplicationDescriptor.currentApplicationDescriptor (done) actually refers to the application you want.  Something along these lines - do 'with it ':

        public static void main(String[] args) {
            MyApp theApp = new MyApp (args);
            theApp.enterEventDispatcher();
        }
    
        public MyApp(String [] args) {
            this.invokeLater(new Runnable() {
                public void run() {
                    // In here.....
                }
            });
        }
    

    Note, this is just a theory, I have not tested this.

  • Integration of apex EBS with the APPS schema

    Hello

    I'm a developer APEX with no experience of BSE, but I took on a project to review the current context where the APEX and EBS are integrated. The first thing that I found is that 40 + Apex Applications all use the EBS 'APPS' schema as the schema work space of analysis, I read in the document Oracle 'white paper of March 2015 release on Extending Oracle E-business 12.1 and above using APEX', is a large, no!. Below are the details of the environment. In addition, they use a PLSQL Embedded walkway that once, it looks like the less favored approach and a listener of the Apex on (Glassfish?) must be used.

    So my question is... what would be the best approach, should I change all the existing application to use a newly created Apex analysis schema for example APEX_EBS_EXTENSION and then create views and grants him so it can access the data of the applications. I do this manually through all the applications by looking at each piece of code? This seems a very unpleasant approach. Should we deviate from the integrated bridge, any guidance would be appreciated?

    The task that made me initially was to manage the upgrade of the schema in the database to 5 APEX Apex, regression test all existing applications and create new applications using the universal theme, but I want to get the House in order before the upgrade.

    Environment

    E-Business Suite Release 12.1.3

    Apex 4.1.0.00.32

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production

    Hi AndyLou,

    AndyLou wrote:

    I'm a developer APEX with no experience of BSE, but I took on a project to review the current context where the APEX and EBS are integrated. The first thing that I found is that 40 + Apex Applications all use the EBS 'APPS' schema as the schema work space of analysis, I read in the document Oracle 'white paper of March 2015 release on Extending Oracle E-business 12.1 and above using APEX', is a large, no!. Below are the details of the environment. In addition, they use a PLSQL Embedded walkway that once, it looks like the less favored approach and a listener of the Apex on (Glassfish?) must be used.

    Yes. Oracle REST Data Services (ADR) (formerly known as the APEX listener) deployed to the support for Java EE application servers is a best/best option as for Oracle APEX instead of the EPG Web listener option.

    Reference: https://docs.oracle.com/cd/E59726_01/install.50/e39144/overview.htm#HTMIG29325

    Learn about considerations when using of EPG (Embedded PL/SQL Gateway) as the web listener with Oracle APEX.

    Reference: https://docs.oracle.com/cd/E59726_01/install.50/e39144/overview.htm#HTMIG29140

    So my question is... what would be the best approach, should I change all the existing application to use a newly created Apex analysis schema for example APEX_EBS_EXTENSION and then create views and grants him so it can access the data of the applications. I do this manually through all the applications by looking at each piece of code? This seems a very unpleasant approach. Should we deviate from the integrated bridge, any guidance would be appreciated?

    Yes. You must move far EPG to a better option.

    The task that made me initially was to manage the upgrade of the schema in the database to 5 APEX Apex, regression test all existing applications and create new applications using the universal theme, but I want to get the House in order before the upgrade.

    Environment

    You should go for upgrade of the Oracle APEX of 4.1 to 5.x with existing architecture first. Regression test your applications to remove if any errors introduced by upgrade. The kickoff of a new project to migrate your applications to universal theme.

    Reference:

    After the upgrade, when all the dust about the upgrade issued sets in, then you can consider changing your architecture, analysis scheme for your APEX applications according to white papers issued by Oracle:

    Kind regards

    Kiran

  • How to reset the apps schema password when lost or forgotten

    Hello

    Is it possible to reset the apps schema password when it is lost or forgotten?

    Version of the EBS is 12.2.4.

    Please let me know

    Kind regards

    Hugues

    Hi Hugh,.

    You can find password forgotten in EBS. Please follow the document "https://oracledbamasters.wordpress.com/2013/11/11/how-to-find-apps-password-r12/".

    It is very useful.

    Thank you

    Jeremy

  • EBS 12.2 compile problem APPS schema

    Hello

    In my database as user apps, I use this command:

    EXEC DBMS_UTILITY.compile_schema (pattern = > 'APPS');

    But it never ends and the invalid number of objects is greater:

    SQL > select count (*) from dba_objects where status = 'INVALID ';

    COUNT (*)

    ----------

    72678

    SQL > select count (*) from dba_objects where status = 'INVALID ';

    COUNT (*)

    ----------

    73024

    SQL > select count (*) from dba_objects where status = 'INVALID ';

    COUNT (*)

    ----------

    74876

    What can I do? kill oracle process?

    Thank you

    Luis

    Hello

    It is best to use the apps schema to compile script adadmin or adutlrcmp.sql.

    Using utlrp.sql does the job, too.

    Kind regards

    Bashar

  • Apps Schema need DBA privilege in all cases?

    Dear all,

    In any case drawing apps need DBA privilege in e-business R default 12.1.3,, we should not GRANT DBA to apps?

    Please suggest me when DBA permission necessary for the APPS schema.

    Thank you

    Hello

    Please read on user apps and the security of having a better understanding here

    http://docs.Oracle.com/CD/E18727_01/doc.121/e12841/T120505T120510.htm

    http://docs.Oracle.com/CD/E18727_01/doc.121/e12841/T120505T120521.htm#338810

    Configuration Guide for Oracle E-Business Suite Release 12 (Doc ID 403537.1)

    Concerning

    SANAE

Maybe you are looking for