Creating Custom Tables in the Portal Database

Is there a way to create custom tables in the portal database in EP6?
Thanks,
Melissa

Thanks for responding, Nick.
We want to be able to display informational messages on the logon page before the user logs in.  Currently we make changes to several ASP files in EP5 to display the messages.  We want to be able to give privileged users the ability to enter the message, enter start/end date, etc.  We want to do this in EP6 as well.

Similar Messages

  • Hw to find the tables in the Portal Database

    Hello,
    I'm new to this Portals. I would like to know where the database tables stored in Portal Database. We are using the Oracle as the database. Can you please tell me where can I view the database tables.
    thnx in advance
    cheers
    murali

    Hi Murali,
    they are stored in a database which has the same name as your instance, for example J2E. KMC tables (most of them - if not all - starting with "KMC_") are stored within the same database as the portal tables are (this wasn't the case for EP5 and EP6 SP2 on 6.20).
    Anyhow, you shouldn't touch or trying to access these tables directly. Two reasons for this: (a) there are APIs for (almost) everything which can be accessed from the DB tables, even if sometimes not documented. Anyhow, the DB schema isn't documented, too, so you should choose the "upper layer"; (b) the DB schema is subject to change without notice (and this is also done regulary); whereas the released (=documented) APIs are stable and the non-released are at least quite stable, too.
    Hope it helps
    Detlev

  • Is it possible to create a new table in the master database with SSMS ?

    Hello ,
    I have problems with this thread :
    http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/5153c43b-7844-41c4-a414-d14730abe435/
    If no user database has been created , in SSMS , we can see only the 5 system databases ( master, msdb , tempdb... ).
    Logically , the user should connect automatically on the Master database ( if the user is the same as this used to install a new SQL Server instance, this user should be sysadmin that's to say he/she has all possible permissions and especially dbcreator ).
    Is it true that it is impossible to create a new table on the master database ?
    I have done many researches about this possibility , all I have found is the advice : don't touch to the master database. This database is used to store critical information about the instance and its user databases. Even in the last book of Kalen Delaney
    about SQL Server 2012 Internals , I have found nothing clear about the creation of tables in this database ( and what about the other system databases ? I am excluding tempdb ).
    If someone has an idea about this thread and my questions , I would be thankful for a reply on this thread or on the related thread in the SQL Server Express Forum ( with my poor written English , I am not sure to have poster in a correct and understandable
    way ).
    If you think that this thread is not in the good forum , a moderator of this forum can move this related thread ( I have not done the move as I am not sure which is the good forum Database Engine or Transact-SQL ... )
    Thanks beforehand and have a nice day.
    Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

    >>Logically , the user should connect automatically on the Master database ( if the user is the same as this used
    to >>install a new SQL Server instance, this user should be sysadmin that's to say he/she has all possible permissions and >>especially dbcreator ).
    If you add the current user during the installation you can have it as system admin , or you can add him/her later on
    in SQL Server. BTW regarding dbcreator I have wrote some blog , need to read... :-)
    http://sqlblog.com/blogs/uri_dimant/archive/2010/09/02/be-careful-to-grant-dbcreator-server-role-to-the-user.aspx
    You can (if you have needed permissions) to create objects in master database, usually I create objects for instance maintenance (like rebuild indexes...) 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Moving the Portal Database

    I have attempted to move the portal database onto another host machine. When I move the database and point the portal at the database everything seems to work fine except for the administration area of the portal. When I try to navigate to the administration area I get an error. Can anyone help with a resolution for this?
    Chris
    error:
    Server Error in '/portal' Application.
    Runtime ErrorDescription: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details:To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".<!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>
    Notes:The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.<!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>

    I did it a few times succesfull and this is (my) procedure:
    1. stop the SAP system
    2. detach th DB on the Source server
    3. copy db+log files to the Target server
    4. attach the db on the Target server
    5. repair login/db user account following the steps:
    -  http://support.microsoft.com/kb/274188
    OR
    -  http://blog3.daqureshi.com/archive/2008/12/16/11.aspx
    6. update/change the file usr\sap\<sid>\sys\profile\default.prf
    7. start the configtool and within the keystore change the jdbc connection parameters so that it points to the new DB Server
    8. save this action!!!!
    9. exit and restart the configtool and look if its connecting to the new DB Server
    10. exit the confconfigtool.
    11. start your SAP System
    Good Luck!
    Benjamin Houttuin

  • Update customizing table on the production

    Hi all,
    Ik maked a customizing table on the development environment.
    Evert time i need to update the data of this table , then i have to do it on the development and then tranport it to the production via a transport request.
    Is it possible to change this (setting) table in the production, without using the transporting request ?
    I changed the properties of the table from C (Customizing)
    to A ( Application table), but it doenst help.
    Anyone have a suggestion ?
    Thanks,

    Goto Development system-> again change settings from C to A,use database utility ->activate and adjust database.
    now delete table maintaince and re create table maintaince,now transport your request to production,it should be fine now.
    Thanks
    Seshu

  • I want to update the Custom table using the data available in ITAB.

    Hi,
    I want to updaste the Custom Table which is created by me (Ztable) using the data available in itab.(which i got from defferent standard tables)
    I want to update the custom table using the itab data How is it possible?
    Is any possible by using Modify ?
    DPK.

    example here
    modifying datbase table useing internal table
    advises before updating this datbase table plz lock that table to avoid incosistency
    write the logic for modifying
    Modify the database table as per new dunning procedure
    MODIFY fkkvkp FROM TABLE lt_fkkvkp .
    and finally unlock the table
    example
    *To lock table for further operations
    constants: lc_tabname TYPE rstable-tabname VALUE 'FKKVKP' . "FKKVKP
    CALL FUNCTION 'ENQUEUE_E_TABLE'
    EXPORTING
    tabname = lc_tabname
    EXCEPTIONS
    foreign_lock = 1
    system_failure = 2
    OTHERS = 3.
    IF sy-subrc EQ 0.
    To fetch all the contract accounts for customers of the segment
    Households/SME.
    PERFORM fetch_contract_accounts using lc_tabname .
    ENDIF. " IF sy-subrc EQ 0.
    *wrote the logic
    Modify the database table as per new dunning procedure from internal table
    MODIFY fkkvkp FROM TABLE lt_fkkvkp .
    *unlock the tbale
    CALL FUNCTION 'DEQUEUE_E_TABLE'
    EXPORTING
    TABNAME = uc_tabname .

  • A new application built on a schema not in the portal database

    I want to create a new application using the create "new application" function of the "build" tab of Portal.
    I want this application to use a schema not in the Portal Database. The schema the application has to use belongs to a different database residing on the same machine the Portal database resides.
    But the Portal "Application Name and Schema" form does allow me to choose a schema outside the Oracle Portal database.
    I run Oracle Portal Version: 3.0.7.6.2 on WNT.
    Thank for any suggestion.

    Maurizio
    Carol's right. Create a schema in the local database then create a db link to the remote db connecting as that schema user (or some other of your choice). In my experience this has to be a public db link.
    I run a portal application against a database on another sun box. There's some hassles, but it works ok mostly.
    The db link connects as the user to the remote database and I grant privileges in the remote db to that db link user. I also have public synonyms in the portal database that point to the objects in the remote db. I have public synonyms in the remote database that sort out the schema of the objects required.
    This sounds complicated and I've explained it in a rush, but if you sit down and work it through it's not so bad. You may find a better way, but after several trials I've got a setup that works.
    Also, when I create a form I always refer only to the synonym - never to a schema.object. That way you can adjust the synonym easily without rewriting your report.
    I always make reports from sql for the reason that you can change the sql, though I always refer to my synonym never to schema.object.
    Session info doesn't travel well to the remote instance. I've had to build a work-around to get my table triggers in the remote instance to figure out who the portal user is because wwctx_api.get_user returns public.
    I've been unable to directly call procedures in the remote database from portal components, but I've got around that by creating wrapper procedures in the local database.
    It hasn't been a trivial exercise, but it does work.
    Greg
    I want to create a new application using the create "new application" function of the "build" tab of Portal.>I want this application to use a schema not in the Portal Database. The schema the application has to use belongs to a different database residing on the same machine the Portal database resides.>>But the Portal "Application Name and Schema" form does allow me to choose a schema outside the Oracle Portal database.>>I run Oracle Portal Version: 3.0.7.6.2 on WNT.>>Thank for any suggestion.

  • Error: Page Metadata could not be obtained from the Portal database.

    Hi,
    Maybe some one can help me with this.
    After my installation (oas portal 10.1.4) I changed my URL in portal and sso.
    modplsql : http://<webserver>:<port>/pls/portal/htp.p?cbuf=test --> its working fine. I got test
    Parallel Page Engine (PPE) : http://<webserver>:<port>/portal/page --> its working fine. I got PPE is working.
    http://login.hostname:port/oiddas --> It`s working fine
    http://login.hostname:port/sso --> It`s working fine
    http://hostname:port/portal/page/portal/TOPLEVELSITE --> It's not working I got in firefox Error: Page Metadata could not be obtained from the Portal database. In explorer i got HTTP 500 error.
    I checked my application.log and I got this:
    **portal: id=45342345678,1 ContentFetcher Unexpected Exception Request Failed:oracle.webdb.dispatcher.DispatcherException: I/O Error dispatching request name=content-fetcher19 label=pageMeta url=http://<webserver>:port/portal/pls/portal/!PORTAL.wwpob_page.show/TOPLEVELSITE time=1ms timeout=60000ms process=Dispatching**
    Maybe some one can help me to solve this threat.
    Thank you.

    C@rlitos wrote:Edited by: C@rlitos on Sep 30, 2009 6:14 PM
    Hi!!
    To register the url in portal I used this doc 434795.1 - 558634.1 from metalink.
    http://download-west.oracle.com/docs/cd/B14099_17/core.1012/b13998/variants.htm#CBDBDJHD
    I verified and i got this:
    LSNR_TOKEN
    SITE_TOKEN
    SITE_ID
    LS_LOGIN_URL
    URLCOOKIE_VERSION
    ENCRYPTION_KEY
    ENCRYPTION_MASK_PRE
    ENCRYPTION_MASK_POST
    U
    oldurl.com:7781
    XY776FQWDCY4EFF
    8AC54EFF
    http://oldurl.com:7780/pls/orasso/orasso.wwsso_app_admin.ls_login
    v1.2
    2FWERFW768767866
    6B4DEERWF87W87897E89WRF897W3FC9
    F0FEC6AREW76786WEFWER76F8968695
    N
    newurl.com
    1RG8IYA4F9D2E30A
    F9D2E233A
    http://newurl.com/pls/orasso/orasso.wwsso_app_admin.ls_login
    v1.2
    B32852345661513F0
    1A5DTR546EYEYEHEHSVSGFB44C
    A33RTWERGERGERGREFWERF8
    N
    I havent create new token values.
    Edited by: C@rlitos on Sep 30, 2009 6:14 PMHave you configured your Infra with a new hostname on a different port ?
    Unless, you had installed your OAS with custom ports, and have not used the default ports for the components, your lsnr_token for the newurl has a problem. orasso and sso should be configured at 7777, and by default they configure at that port. That means that your newURL should be pointing to http://newurl.com:7777/pls/orasso/orasso.wwsso_app_admin.ls_login for the ls_login_url.
    This might have happened due to some error in registering your portal with the SSO. Have you used custom ports for your installations?
    Additionally, did you configure your newurl on port 80?

  • How to access the portal database ?

    Hi ,
    1. How to access the portal database from an abstract portal component program ?
    2. How to insert data to the Table from the abstract portal component program ?
    Please provide me some direction to proceed .
    plz send me the steps how to access the Database using SQL.
    Thanks
    Smita
    Edited by: Smita Mohanty on Nov 14, 2008 9:21 AM

    Hi Smita,
    In case your portal has MS SQL server as its databse, then I am giving the step by step directions to achieve 90% of what you wish to do. Rest 10% you can try on your own.
    Go through my article given below:
    [How to Create a Web Service using Enterprise JavaBeans|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10]
    First go through pages 1-12 which will help you to create user/table in MS SQL database as well as create a data source in Visual Admin. Page 19 will give you the code which you can use in your Portal component to access the tables you have created in your SQL database.
    I hope your problem gets solved.
    Bye
    Ankur

  • Accesing the portal database

    HI ALL,
    some one pls explain the how can i access the portal database . i want to accees the portal database tables, along with each tableu2019s fields, for holding the aggregated data that is used for creating portal activity reports.
    Thanks
    Suresh

    HI Michale,
    Thanks for quick response . I am new to  EP Portal.
    but i want to view the data of WcR_USERSTAT ,WCR_WEBCONTENTSTAT,WCR_USERFIRSTLOGON, WCR_USERPAGEUSAGE data base tables.i need to extract all the above mentiioned tables data ,please explain me how can view tha data and extract db tables data from portal system.
    pls explain detailed how can i achive this.
    Thanks alot in Advance .
    Thanks
    Suresh.

  • How to create many user in the same database

    hi
    my question is "How to create many user in the same database(application)?"
    for example, i have students, teachers, and staffs user using my application.
    i can create many users to use the same application right?, how ^^''' ???
    (right now i can only create application and then it shows every data in my DB
    but i want it to show only the data for the user who login to that application)
    Thanks.
    ps. i'm newbie, please help T^T

    You need to create a user table within your application that maintains their privileges. If you have LDAP you could use this for authorisation otherwise the table would handle that as well (store passwords etc). Your reports etc would then be filtered on information from this table.
    Check out some of the sample applications to see how authorisation and access is implemented (Online store is one). The how-to on the issue tracking system should also have some useful pointers.
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/issue_track.htm#BABBGBJG
    cheers,
    Ron

  • How to create a table in Oracle Lite database?

    Hi,
    I have installed SOA 10.1.3 on my laptop. Now I am trying to create a table in the database to do some own examples. I have problem in installing oracle database. So I am trying to create a table in Oracle Lite database which comes with SOA suite. I am not able to do it, can some body suggest me please?
    Regards
    Khaleel

    HI James,
    Thank you so much. I am able to create table and insert rows and able to select them too. However I am not able to use these tables in my BPEL process for my practice. The DB adapter is throwing some error, any idea?
    --khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to Create a table in the middle of a transaction ?

    This software was written for sql and has a number of temporary table calls within transactions. We cannot precreate the temporary tables as some of the columns vary.
    So we create temp tables on the fly during the transaction, but the problem with that is that Oracle will commit your transaction at the point you create a temp table.
    Here's the logic:
    Begin Transaction
    Do some inserts, updates and deletes (IUDs)
    Create Global temp Table zx as select <some of those IUDs>
    Do some more inserts, updates and deletes
    Drop temp tables
    If worked
    Commit
    else
    Rollback entire transaction
    This is what I've tried so far:
    1. Run the create table on a different connection - has no visibility to the IUDs in the current transaction
    2. Split the create table and insert (instead of using CREATE AS) statements - to allow just the create table to be on a different connection - its going to be too much work to rewrite all the statements
    3. Create a permanent table instead of a temp table - same problem with committing data before the transaction has ended
    4. Put the Create As in a stored proc with AUTONOMOUS TRANSACTION turned on - same problem it has no visibility to the current outer transaction

    Thanks for coming on this thread
    The tables are used throughout the product, for example to
    (a) simplify complex queries, some too complex for oracle to process in one stmt
    (b) sub selects which will be reused
    (c) performance enhancements
    (d) left joins to summary queries
    We have 120 tables in our data model and there are many scenarios where temp tables are used. In sql server its not considered such a problem and programmers often create temp tables "on the fly".
    In fact, when we ported to oracle a couple of years ago, we had to add more temp table creates because some of the queries were too complex for oracle.
    It would be at least a months work to rewrite so temp tables are either not used or precreated, and we really have to go live with this build by the end of the week.
    No doubt we will rewrite these parts of the product to cut out temp tables, or perhaps drop oracle as a supported database, but for the time being we have oracle customers waiting for other fixes so I must find a way of giving them this software without doing this huge rewrite

  • How to create a table in the following format?

    Hi,
    I want to create a table of the following layout :
    ATTRIBUTE     Text Key     Description
                         12           B
                        13           C
                         8           D
                         0           F
                         8           G
                         8           G
                         8           U
    Base                    8            K
                        8            M
                        8            N
                        8           Pre
                       80           Pre
    In the table i have added Text key and Description fields.
    But I dont know how to add attribute field with only one value in the middle of the coloumn(BASE) and the whole colomn as blank.
    Please help
    Smriti

    Hi.. Singh....
    What is the table you are talking about?
    Custom table?
    Internal table?
    What all you given? Entries?
    Get back again....
    Thanks,
    Naveen.I

  • Creating new tables in Logical Standby database

    Hi
    I have a requirement to create new tables in logical standby database. These tables will not be present on primary database. Is it possible to do this ?
    I have a new schema already created which has the privilege to CREATE new table.
    I have stopped the logical standby apply.
    When I am now trying to create a new table but it is failing with error : insufficient privileges.
    When I am trying to run below statement on new schema it is also failing with error of insufficient privileges.
    alter session disable dataguard;
    Please help.

    user8819121 wrote:
    Thanks Mahir,
    I was able to create the table after logging in as sysdba.
    But I need my user on that table to execute DML statements. My user has privileges to insert,delete and update any table.
    I tried the following statements to disable the guard but it is sill not working
    ALTER DATABASE GUARD STANDBY.
    Do I need to skip the tables created using dbms_logstdby package to not making it part of SQL Apply ? I guess not since the table is not in primary database.
    Amit
    You can skip only on primary, your created schema on Standby is not in primary.
    Then you must change Status of data guard to NONE. NONE is means is not any security on your data.
    In Guard status NONE can change all schema data.
    Please check link: http://docs.oracle.com/cd/E11882_01/server.112/e10700/manage_ls.htm#CHDGFGHG
    Following tests on user created before guard status is change from ALL to STANDBY.
    C:\Users\Administrator>sqlplus / as sysdba
    SQL> conn test/test
    Connected.
    SQL> select table_name from user_tables;
    TABLE_NAME
    T
    SQL> insert into t values(22);
    insert into t values(22)
    ERROR at line 1:
    ORA-16224: Database Guard is enabled
    SQL> conn / as sysdba
    Connected.
    SQL> select guard_Status from  v$database;
    GUARD_S
    ALL
    SQL> alter  database guard standby;
    Database altered.
    SQL> conn test/test
    Connected.
    SQL> insert into t values(1);
    insert into t values(1)
    ERROR at line 1:
    ORA-16224: Database Guard is enabled
    SQL> conn / as sysdba
    Connected.
    SQL> select guard_Status from  v$database;
    GUARD_S
    STANDBY
    SQL> alter  database guard none;
    Database altered.
    SQL> select guard_Status from  v$database;
    GUARD_S
    NONE
    SQL> conn test/test
    Connected.
    SQL> insert into t values(1);
    1 row created.
    SQL> commit;
    Commit complete.And Now I want share with you new tests :)
    Now user creating when after guard status change
    SQL> drop  user test cascade;
    User dropped.
    SQL> select guard_status from v$database;
    GUARD_S
    STANDBY
    SQL> create user test identified by test;
    User created.
    SQL> grant create session,  resource, create table to test;
    Grant succeeded.
    SQL> conn test/test
    Connected.
    SQL> create table t (n number);
    Table created.
    SQL> insert into t values(1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL>It means when guard status is ALL then all of user created guarding.
    When you changed status to STANDBY then Logical Standby guard only primary schema and created schema before change.
    NONE is not guard any schema. it means you can delete standby schema data too.
    Regards
    Mahir M. Quluzade
    Edited by: Mahir M. Quluzade on Apr 19, 2013 4:07 PM

Maybe you are looking for

  • HP Color LaserJet Laser/Scanner Assembly Removal

    Hello, I have a HP Color Laserjet 4600 in a hundred pieces. I'm experiencing the 51.2 error, specifically with the Magenta Laser/Scanner Assembly. I have diagnosed a few simple fixes found in these forums as well as others to try to find out what my

  • Text/Character Counter

    It quite annoys me that the iPhone doesn't have this very simple feature. Because you can type 'normally' with a full keypad available, I find it very easy to write long text messages that may span 2 or 3 texts, which was not the case when I had a no

  • Photoshop Elements 12 Cannot Read Sony A7Mk2 ARW File

    Hello, My Photoshop Elements 12 (v12.1) program cannot read raw riles from a Sony A7Mk2 ILCE-7M2.  I have updated to the latest Adobe Camera Raw Plug-In (8.5.0.236) which purportedly supports this camera's raw files but it does not. The error receive

  • How to use Application log (slg0 & slg1)

    Hi all, Can u please give me some hints to utilize Application log? Hope you will help me. Thanq in advance, Bye.

  • New to photoshop cc,  CPU running at 100%

    right, basically ive started doing abit more photography and have bought a new camera and several lenses,  im currently using the trial version of photoshop cc to see if i like it but when trying to reduce camera shake it runs my CPU at 100% and give