Populate v$session.module with BO report name in oracle database

Post Author: yoavb
CA Forum: Administration
Hi,
This is the first time i am asking question in this forum. If its the worng place for this question please feel free to move it to the right place...
I am using BO against oracle 9.2.0.8 database.
In oracle this is view called v$session , which hold information regrarding the connected sessions.
There are fields like o.s user,machine,terminal and ech.
One of the the fileds called module , and it value can be populate by using oracle package called dbms_application_info.set_module
I would like to set the name of the report currently running from the user machine , to this column (e.g v$session.module).
Could you please help with this issue ?
Best Regards.

See Metalink note 1413688.1. This is a feature in 11g. Let alone that one might have used the module column in your own application, everytime this happens they set the action to null, deleting what you might have logged into the action column using dbms_application_info.set_action (in an MDI environment the module gets reset when you put the focus to another form too). If I wanted to have the form name in the module column I'd have implemented that myself (without resetting action).
Anyway; you could use client_info instead
http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_appinf.htm#CHEJCFGG
cheers

Similar Messages

  • Log on into the function module with different user name.

    hi,
            i log on into the system with my user id suppose 'mukka' and i have to check the authorization of another user say 'you' using the function module "authority_check_tcode". but here i am getting the problem that when i assigned sy-uname to 'you' and execute the function module it is entering into the function module with 'mukka' user name only.
    sample code:-
                                sy-uname  = p_uname.
        CALL FUNCTION 'AUTHORITY_CHECK_TCODE'  "#EC"
          EXPORTING
            tcode  = v_tcode
          EXCEPTIONS
            ok     = 1
            not_ok = 2.
    when i am changing the sy-uname with p_uname the sy-uname is changed but when i entered into the function module authority_check_tcode in the debugging mode at the below the sy-uname variable is showing  as 'mukka' only. but i need to check the authorizations of user 'you' pls give me solution to my problem.

    Hi,
    Why would you want to check the authorisation of another user and not the one currently logged in?  The idea of authorisations is to check the current user is able to perform a certain activity.  The majority of fields on SYST are constantly updated to have the correct values (partly so you can't fiddel authorisation checks like this
    Maybe if you explain to us what you are trying to do we can offer some other help.
    Gareth.

  • Ajax with Ruby on Rails and Oracle Database

    Ajax may be used with Ruby on Rails and Oracle database.
    http://www.ftponline.com/channels/java/2007_02/dvohra/

    okay, that helped. Here's what I get:
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$ ls
    comp_err mysql_zap
    makesharedlibdistribution mysqlaccess
    makewin_bindist mysqlaccess.conf
    makewin_srcdistribution mysqladmin
    msql2mysql mysqlbinlog
    myprintdefaults mysqlbug
    myisam_ftdump mysqlcheck
    myisamchk mysqld
    myisamlog mysqld_multi
    myisampack mysqld_safe
    mysql mysqldump
    mysqlclienttest mysqldumpslow
    mysql_config mysqlhotcopy
    mysqlconvert_tableformat mysqlimport
    mysqlcreate_systemtables mysqlmanager
    mysqlexplainlog mysqlshow
    mysqlfindrows mysqltest
    mysqlfixextensions mysqltestmanager
    mysqlfix_privilegetables mysqltestmanager-pwgen
    mysqlsecureinstallation mysqltestmanagerc
    mysql_setpermission perror
    mysql_tableinfo replace
    mysqltzinfo_tosql resolvestackdump
    mysql_upgrade resolveip
    mysqlupgradeshell safe_mysqld
    mysql_waitpid
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$
    How would I create a new database from here?

  • Free Report Writer for Oracle Database except Crystal Report and Data Vison

    Dear All,
    I want Free Report Writer for Oracle Database except Crystal Report and Data Vision software.
    Wr are working on Linux and windows both platform.
    Any one have direct link or website address for it ?
    Regards,
    Vipul Patel
    Ahmedabad

    Please check the following link -
    http://www.google.co.in/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=open+source+report+writer+for+oracle&meta=&btnG=Google+Search
    Regards.
    Satyaki De.

  • URGENT Problem with Greek Character from an Oracle database

    Hello, I am having a serious and urgent problem with the character settings of an oracle database (8.1.7). The database is sitting in a solaris unix server and when we run the env command we have the following in the NLS_LANG parameter: AMERICAN_AMERICA.WE8ISO8859P1 (I do not know if this is helpful). When I retrieve data from oracle database (through a VB.NET 2005 program)to a dataset I use a special font in order to see the greek characters (HELLASARIAL). But when I am trying to save these data to a TXT file the greek characters are like Chinese to us. I tried several encodings (System.Text.Encoding.GetEncoding(869)) but without success. Can someone tell me how to convert the oracle greek characters during the selection or during the saving to the TXT file?
    Please respond as fast as you can.
    Thanks in advance

    Here is the answer of the microsoft:
    I have the information that you have a VB.Net 2005 application connected to an Oracle database 8.1.7.4 hosted on a UNIX server.
    This database has the CharacterSet WE8ISO8859P1.
    When retrieving Greek characters from this database in the application, you cannot see them.
    Could you please send me a screenshot of these characters in the .Net application?
    Are they displayed as gibberish, or as inverted questions marks (?)?
    I already had similar cases with Hebrew characters hosted on an Oracle database.
    These characters were displayed as questions marks on the client side.
    This is due to the fact that System.Data.OracleClient is using the Server CharacterSet to display the characters.
    If your Greek characters are not stored in the WE8ISO8859P1 characterset, then they won’t display correctly on the client-side.
    This is different from OLEDB where you could interact on client side by modifying the NLS_LANG parameter in the registry HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0.
    The client NLS_LANG and the server CharacterSet had to match in order to correctly display the data, and avoid SQL*NET conversion.
    So there are two solutions to your case:
    - The first one is to create a new database using the P8 characterset. The Oracle .Net managed provider will so be able to use it and display the characters correctly.
    - The second one is to use the OLEDB.Net managed provider, and then use OLEDB for Oracle provider. OLEDB will take care of the client NLS_LANG registry parameter.
    Would it be possible to test your application against an Oracle database with WE8ISO8859P8 characterset?
    Would it be possible to test it with the OLEDB .Net managed provider, and after checking the NLS_LANG client registry parameter?

  • Access Reports, Forms in Oracle Database

    Hi,
    I want to migrate one application from MS-Access to Oracle(8.1.5) Database.
    I know, migration of database is possible,but I want to keep the existing Access reports and forms as it is.
    Is it possible, Can Access reports and forms run under oracle database.

    Initially you write 12345 and when you modify you are modiyfing only 3 bytes from offset 1 and hence the results. When you modify oracle will not erase the complete lob you need to use erase before you modify (write)
    Following doc give you an insight into pl/sql lob functions
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_lob.htm#sthref4428
    Following is the Pro*C Lobs Guide
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28427/pc_16lob.htm#i998068

  • Report generation from oracle database

    I need help in generating a report and the data needs to be populated from the oracle database
    Thanks,
    Balaji

    Hi,
    1 do you need somehow to persist the report data in CRX?
    2 do you want to use CQ Reporting tool? (http://dev.day.com/docs/en/cq/current/administering/reporting.html)
    If no & no, you just have to do a servlet that access your database through a datasource.
    If 1, you have to do a background job, that will regularily retrieve data from a datasource.
    If 1&2, please refer to http://dev.day.com/docs/en/cq/current/developing/developing-reports.html
    If 2 without 1, you would have to override the tool to use your homemade servlet that access the datasource

  • How to get the available profile names in oracle database

    How we can get the available profile names in oracle 11g

    Hi;
    It isnt to check from dictionary ?
    select * from dictionary where table_name like '%PROFILE%'
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • CPI-C calling a report with long report name

    Hi there,
    we are communicating to a SAP System with CPI-C.
    My question:
    How can I call a report with CPI-C which has a name with more than 8 characters?
    (I am using SAP_CMLOGON2 of CPI-C SDK for C++)
    I want to use namespaces and 8 Characters are too short for this.
    Any Ideas?
    Thx,
    Andi

    Hi Scott,
    According to your description, you want to call the report which contains subreports in asp.net.
    Based on my research, when we call the report which contains subreports in asp.net, we should attach a handler to the SubReportProcessing event of the report. For more information, please refer to the similar thread: Running
    Reports SubReports and parameters from Asp.net. Besides, you could also refer to this
    article to render the main report and sub report in ReportViewer control.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Trouble with MSSQL Reporting Services and Oracle: PLS-00553: character set

    First off, Oracle version is 8.1.7.4.0. SQL is 64bit 2005 on Windows 2003 with all the latest patches. We’re using the Oracle 10.2 client on the SQL box.
    A few months ago queries against Oracle stopped working on our MSSQL reporting services server - after a service pack on this same system.
    I ended up having to grant permissions on Oracle directories to eliminate the first error and then renamed the NLS_LANG registry entry (effectively deleting it) to get rid of the second error.
    The second error was: ORA-12705: Cannot access NLS data files or invalid environment specified. I don’t have docs on the first error, but it was a reference to a file access problem. Looking at this error again makes me think that I still have some file access problems.
    The old value for the NLS_LANG registry key was: AMERICAN_AMERICA.WE8MSWIN1252
    Everything has been working fine since then.
    Now we are moving some new reports into production which use Oracle stored procedures and they are getting this error:
    --- End of inner exception stack trace ---
    w3wp!processing!8!7/27/2009-09:26:09:: e ERROR: An exception has occurred in data source 'CSUD3_RPTAPL'. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'MYDATASET'. ---> System.Data.OracleClient.OracleException: ORA-06550: line 1, column 57:
    PLS-00553: character set name is not recognized
    ORA-06550: line 0, column 0:
    PL/SQL: Compilation unit analysis terminated
    I've created a test package as below, which has also gotten the same error.
    create or replace
    PACKAGE BODY SQLTEST AS
    PROCEDURE OPEN_CURSOR (ResultCursor OUT T_CURSOR,
    SQLTESTIN IN VARCHAR
    AS
    l_query varchar2(3000);
    BEGIN
    l_query := 'Hi there';
    open ResultCursor for select l_query "field1" from dual;
    END OPEN_CURSOR;
    END SQLTEST;
    I tried setting the NLS_Lang value back to its old value, but it did not fix this problem – and made all the regular oracle queries break again.
    From what I've read, the client should be using the database default if the charset is not specified on the client.
    Can anyone advise on what the problem might be?
    Thanks!
    Sam Greene

    With all due respects I can not think of a worse reporting tool than MS Reporting Services.
    Give serious consideration to getting a real report writing tool from Oracle or SAP (Business Objects / Crystal).
    Reporting Services is one nightmare after another.

  • Problem with column/field names in Oracle resultset being UPPERCASE

    Hi everyone,
    I understand that Oracle DBMS returns all the field names in UPPERCASE in the result set. However this is undesired for my application and I was wondering if there is any workaround for getting the field names in the application in exactly the same format as your select query. Is there any set method which can be called before to control this behavior.
    E.g. select ename as employeename from table_name;
    ORACLE RETURNS --> EMPLOYEENAME
    Required --> employeename
    Please help me
    ..Vinit

    Vinit,
    You can use column aliases in your query -- see Oracle SQL Reference for more details.
    Then you can set some connection property in Oracle JDBC that allows you to obtain the column alias (I think). Check the Oracle JDBC User's Guide and Reference for more details.
    Good Luck,
    Avi.

  • How to configure Oracle forms/reports 10g to Oracle Database 10g

    Dear All,
    I have downloaded oracle Developer Suite 10g for microsoft Windows (CD1/CD2) from edelivery.oracle.com.
    I have also downloaded Oracle 10g xe edition from oracle.com.
    Both above software are on the same machine.
    Now, I have creaated new database, created few tablespaces,tables,indexes,functions etc on it. SID_NAME=xe.
    I want to configure both the software(connect them) so that i can generate some reports, create forms and applications(on the same machine not on network).
    How do i do that?
    Best Regards,

    did you set tns_admin? do you know what it's for?
    don't edit tnsnames.ora manually if you can help it.
    you have 2 tnsnames.ora. one is from the xe install. the other is from the developer suite install.
    what does the one for your developer suite look like?
    if you used the the network config assistant in a straightforward way, then it should end up with an entry similar to what you have in your tnsnames.ora from your xe installation.
    the netconfig assistant has a TEST step in it. did you try that? you might need to change the username/password when you test it.
    the main thing here is the tnsnames.ora. the way it will be located is in a particular order. it will check in this order, more or less
    1. in current working directory
    2. TNS_ADMIN defined by the session
    3. TNS_ADMIN defined as a global environment (in control panel)
    4. TNS_ADMIN defined in registry
    5. default location (network\admin directory).
    so if your developer says it can't resolve the name, then it means it is not defined in the tnsnames.ora it used. you need to determine which tnsnames.ora file it's using, and is it configured correctly.
    if you did not set tns_admin, check your E:\DevSuiteHome_1\NETWORK\ADMIN\tnsnames.ora
    this is the one developer will use by default.
    it should have an entry similar to the one from your xe install e.g.
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oraclelaptop.yic.edu.sa)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = XE)
    then when you run forms/reports, you should connect as user/password@xe

  • Can we have a group name in oracle database???

    Hello,
    what i want to know is that can we have a group name, a set of all usernames for a database,
    the whole purpose is to simplify the grant statement, rather then doing this
    grant select to <user1>
         grant select to <user2>
         grant select to <user3>
         it would be simple to do
         grant select to <group1>
         where group1 consists of user1,user2 and user3...
         cheere

    all_users
    describe all_users
    Name                                      Null?    Type
    USERNAME                                  NOT NULL VARCHAR2(30)
    USER_ID                                   NOT NULL NUMBER
    CREATED                                   NOT NULL DATE

  • Report 3.0 oracle database 9i(Encounter the symbol "(" when expecting

    Hi,
    i am using oracle 9i database and report 3.0 and OS win xp
    and my procedure is
    PROCEDURE GET_MILLION_TEXT (MILLION IN NUMBER,MILLTEXT OUT VARCHAR2(30)) IS
    BEGIN
    SELECT ARA_TEXT1 INTO MILLTEXT FROM NUM_WORD WHERE NUMB=MILLION;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN NULL;
    END;
    while compiling i am getting the following error
    Encountered the symbol "(" when expecting one of the following
    if i change VARCHAR2(30) to VARCHAR2 then i am getting the following error
    Report Designer has encounter a problem and needs to close.(and then the report is going to close automatically)
    help will be appreciable thank you.
    Edited by: 960991 on May 18, 2013 5:08 AM

    hi,
    yes in oracle 9i it is working fine the below query
    PROCEDURE GET_MILLION_TEXT (MILLION IN NUMBER,MILLTEXT OUT VARCHAR2) IS
    butin oracle 10g database it is giving error
    "Report Designer has encountered a problem and needs to close. We are sorry for inconvenience."
    thank you.
    Edited by: 960991 on May 15, 2013 7:04 AM

  • Developing MVC, with ADF, problem saving to oracle database

    Following this tutorial
    http://www.oracle.com/technology/obe/obe_as_1012/j2ee/develop/endtoend/newADFto
    J
    SP/defaultendtoend.htm, I'm developing an application MVC, I create a jsp, for
    show my datas, in this jsp I have a Button in order to creta a new record and
    alaso have a button to make commit. When click create button, it take me to a
    new jsp where you can put the data for new record. When click submit my record
    has been created but when I tried to create a new record, the application just
    update the record that I Created, and the rest of button like next, previous,
    commit, just stop working. Also when I tried to make a commit, it take me to
    the jsp of create a new record.

    LD,
    You don't need to set the CLASSPATH environment variable.
    Personally, I prefer not setting CLASSPATH at all and using the "-classpath" option to the "java" command.
    You only need to include the JDBC driver.
    Your command should be:
    java -classpath C:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar test
    Your error message states that class "java.sql.Savepoint" is not found.
    I see the following in your CLASSPATH:
    C:\Program Files\Oracle\jre\1.1.8\bin
    I'm guessing you're probably running java version 1.1
    Class "Savepoint" was introduced in java 1.4
    Try the following command:
    (Again, I recommend unsetting CLASSPATH first.)
    java -version
    If it doesn't say you're running java 1.4 then that explains the cause of your error message.
    Also, I suggest visiting this Web page:
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html
    One of the links on that page is to the OTN forum on JDBC.
    That forum contains an announcement that class "oracle.jdbc.driver.OracleDriver" is deprecated.
    Here is the link:
    http://forums.oracle.com/forums/ann.jspa?annID=201
    The first URL I posted above has links to sample code as well.
    It's not a good idea to do connect to the database as the SYSTEM user if you aren't intending to do administration work.
    That's why Oracle supplies the sample SCOTT schema.
    The login and password is usually "scott/tiger".
    Story goes that the guy who developed the SCOTT schema is indeed called Scott and Tiger is the name of his cat. (Whatever ;-)
    Good Luck,
    Avi.

Maybe you are looking for