Creating batch Discoverer private connections from SSO information

We have a portal that has single sign on the discoverer. We need a way for the RAD descriptor we defined in the portal for a user (This being that database connection details a portal user has) to be the private
discoverer connection. We are able to query the sso information via a script we found on Metalink. Now we are searching for a way to create private Discoverer connections by batch for these details. Please Help as we can not enter 400 private connections.

If creating the connections ahead of time, why not use the CAPI script. In the past (9.0.2 time frame) before Oracle created the CAPI utility, there was a plsql script floating around,but I would use CAPI since it is the supported utility.
Any manual manipulation of the tables could introduce corruption and leave you in an unsupported state or situation where you have to restore from backup.
There are a few caveats with CAPI that I have run into.. these MetaLink documents may help you avoid them:
463346.1     Private Connections Not Displayed When Created With CAPI
This one is especially trick as putting enableAppsSSOConnection="true" in the configuration.xml if you are not integrating with E-BS SSO is not intuitive, but it indeed needs to be there.419805.1     Creating A Private Connection With The Discoverer Connections API (CAPI) Fails With 'Error message 'Problem in Authenticating the request. Check Username/Password ...'
They syntax is in the 10.1.2.2 Release Notes.
Other comments welcomed.
Regards,
Steve.

Similar Messages

  • Attaching a Discoverer Private Connection via role

    Is it possible to define a discoverer viewer private connection that everyone attached to a specific role can view? So far we have seen that a private connection needs to be attached to a username and this can be very problematic if you have 600 users.

    I hope this can helu u!!!
    SET DEFINE OFF;
    CREATE OR REPLACE PACKAGE DISCO_PRIV_CONN IS
    /**********************************************************************=
    * DISCLAIMER: You may be use this AS-IS. There is no support involved=
    and
    * you may use at your own risk.
    * AUTHOR : Caroline Cintra
    * DATE : 27-FEB-03
    * PURPOSE : Currently there is no means provided to create Discoverer c=
    onnections
    * (public or private) in a programmatical way. The below PLS=
    QL
    * package is used to create private connections in Oracle9iAS=
    Release 2
    * 9.0.2.x.
    * Private connections are defined on a per user basis specify=
    ing the
    * user/pwd/connect string to run a Discoverer Report through =
    Viewer.
    * This can be called in a batch program to create multiple Di=
    scoverer
    * connections in bulk.
    * This package must be owned by ORASSO.
    ***********************************************************************=
    -- Error code returned when exceptions are raised in this package
    g_error_code NUMBER := -20220;
    -- Variables used to handle Discoverer private connections (fix values)=
    g_subscriber_id orasso.wwsso_psex_user_info$.subscriber_id%TYPE := 1;
    g_app_id orasso.wwsso_psex_user_info$.app_id%TYPE := '1325';
    g_app_creator orasso.wwsso_psex_user_info$.app_creator%TYPE := 'ORASSO_DS';
    /**********************************************************************=
    * PARAMETERS:
    * p_sso_username IN orasso.wwsso_psex_user_info$.sso_username%type
    *     Oracle Single Sign On user name
    * p_db_username IN orasso.wwsso_psex_user_info$.app_username%type
    * Discoverer (DW) database username
    * p_db_password IN orasso.wwsso_psex_user_info$.app_password%type
    * Discoverer (DW) database password
    * p_eul IN orasso.wwsso_psex_user_info$.fval1%type
    * Discoverer End User Layer in the <p_db_username> sc=
    hema
    * p_conn_name IN orasso.wwsso_psex_user_info$.fval1%type
    * Name of the Discoverer private connection being cre=
    ated
    * p_conn_desc IN orasso.wwsso_psex_user_info$.fval1%type
    * Name of the Discoverer private connection being cre=
    ated
    * p_db_name IN orasso.wwsso_psex_user_info$.fval1%type
    * Discoverer (DW) database name
    * (tnsnames entry defined in the server)
    * EXAMPLE USE: ORASSO.DISCO_PRIV_CONN.CREATE_PRIVATE_CONNECTION (
    * 'JP111111' -- p_sso_username
    * , 'global_user' -- p_db_username
    * , 'global_user_pwd' -- p_db_password
    * , 'EUL9I' -- p_eul
    * , 'default_priv_conn' -- p_conn_name
    * , 'Connection created via API' -- p_conn_name
    * , 'devap' -- p_db_name
    * NOTES:
    * 1) This procedure does not perform a COMMIT of the database transac=
    tions
    * it executes. The reaon for this decision is the fact that this
    * procedure is designed to be called as part of a Single Sign On u=
    ser
    * set up. Therefore, the database operations performed here must o=
    nly
    * be commited when the user set up entire process was successful.
    * 2) If there is a problem creating the connection (e.g. this connect=
    ion
    * already exists), an application exception is raised with the err=
    or
    * code of DISCO_PRIV_CONN.g_error_code.
    ***********************************************************************=
    PROCEDURE CREATE_PRIVATE_CONNECTION(
    p_sso_username IN orasso.wwsso_psex_user_info$.sso_username%TYPE
    , p_db_username IN orasso.wwsso_psex_user_info$.app_username%TYPE
    , p_db_password IN orasso.wwsso_psex_user_info$.app_password%TYPE
    , p_eul IN orasso.wwsso_psex_user_info$.fval1%TYPE
    , p_conn_name IN orasso.wwsso_psex_user_info$.fval1%TYPE
    , p_conn_desc IN orasso.wwsso_psex_user_info$.fval1%TYPE
    , p_db_name IN orasso.wwsso_psex_user_info$.fval1%TYPE
    /**********************************************************************=
    * PARAMETERS:
    * p_fld_index IN orasso.wwsso_psex_user_info$.fld_index%type
    * Connection identifier
    * EXAMPLE USE: DISCO_PRIV_CONN.REMOVE_PRIVATE_CONNECTION(
    * 'a170' -- p_fld_index
    * NOTES:
    * 1) This procedure does not perform a COMMIT of the database transac=
    tions
    * it executes. The reaon for this decision is the fact that this
    * procedure is designed to be called as part of more complex
    * processes. Therefore, the database operations performed here mus=
    t
    * only be commited when the complete process was successful.
    * 2) If there is a problem creating the connection (no connection was=
    * found based on the input parameters), an application exception i=
    s
    * raised with the error code of DISCO_PRIV_CONN.g_error_code.
    ***********************************************************************=
    PROCEDURE REMOVE_PRIVATE_CONNECTION(
    p_fld_index IN orasso.wwsso_psex_user_info$.fld_index%TYPE
    /**********************************************************************=
    * PARAMETERS:
    * p_fld_index IN orasso.wwsso_psex_user_info$.fld_index%type
    * Connection identifier
    * p_new_password IN orasso.wwsso_psex_user_info$.app_password%type
    * Discoverer (DW) database new password
    * EXAMPLE USE: DISCO_PRIV_CONN.UPDATE_PRIVATE_CONNECTION_PWD(
    * 'a170' -- p_fld_index
    * , 'new_global_user_pwd' -- p_new_password
    * NOTES:
    * 1) This procedure does not perform a COMMIT of the database transac=
    tions
    * it executes. The reaon for this decision is the fact that this
    * procedure is designed to be called as part of more complex
    * processes. Therefore, the database operations performed here mus=
    t
    * only be commited when the complete process was successful.
    * 2) If there is a problem creating the connection (no connection was=
    * found based on the input parameters), an application exception i=
    s
    * raised with the error code of DISCO_PRIV_CONN.g_error_code.
    ***********************************************************************=
    PROCEDURE UPDATE_PRIVATE_CONNECTION_PWD(
    p_fld_index IN orasso.wwsso_psex_user_info$.fld_index%TYPE
         , p_new_password IN orasso.wwsso_psex_user_info$.app_password%TYPE
    /**********************************************************************=
    * PARAMETERS:
    * p_fld_index IN orasso.wwsso_psex_user_info$.fld_index%type
    * Connection identifier
    * p_new_password IN orasso.wwsso_psex_user_info$.app_password%type
    * Discoverer (DW) database new password
    * RETURN:
    * The connection unique identifier (wwsso_psex_user_info$.fld_index)
    * EXAMPLE USE: DISCO_PRIV_CONN.SELECT_PRIVATE_CONNECTION_ID(
    * 'JP111111' -- sso_username
    * , 'my_connection' -- p_conn_name
    ***********************************************************************=
    FUNCTION SELECT_PRIVATE_CONNECTION_ID(
    p_sso_username IN orasso.wwsso_psex_user_info$.sso_username%TYPE
         , p_conn_name IN orasso.wwsso_psex_user_info$.fval1%TYPE
    ) RETURN VARCHAR2;
    END DISCO_PRIV_CONN;
    CREATE OR REPLACE PACKAGE BODY DISCO_PRIV_CONN IS
    PROCEDURE CREATE_PRIVATE_CONNECTION(
    p_sso_username IN orasso.wwsso_psex_user_info$.sso_username%TYPE
    , p_db_username IN orasso.wwsso_psex_user_info$.app_username%TYPE
    , p_db_password IN orasso.wwsso_psex_user_info$.app_password%TYPE
    , p_eul IN orasso.wwsso_psex_user_info$.fval1%TYPE
    , p_conn_name IN orasso.wwsso_psex_user_info$.fval1%TYPE
    , p_conn_desc IN orasso.wwsso_psex_user_info$.fval1%TYPE
    , p_db_name IN orasso.wwsso_psex_user_info$.fval1%TYPE
    ) IS
    BEGIN
    INSERT INTO
    orasso.wwsso_psex_user_info$ (
    subscriber_id
    , sso_username
    , app_id
    , app_creator
    , fld_index
    , app_username
    , app_password
    , user_prefs
    , fname1, fval1, fname2, fval2 , fname3, fval3, fname4, fval4
    , fname5, fval5, fname6, fval6, fname7, fval7, fname8, fval8
    , fname9, fval9
    VALUES (
    g_subscriber_id -- subscriber_id
    , p_sso_username -- sso_username
    , g_app_id -- app_id
    , g_app_creator -- app_creator
    , 'a' || orasso.wwsso_jps_seq.NEXTVAL -- fld_index
    , orasso.wwsso_api_private.ENCRYPT_STRING(p_db_username) -- app=_username
    , orasso.wwsso_api_private.ENCRYPT_STRING(p_db_password) -- app=_password
    , '' -- user_prefs
    , 'discard_password' -- fname1
    , 'false' -- fval1
    , 'eul' -- fname2
    , p_eul -- fval2
    , 'connection_name' -- fname3
    , p_conn_name -- fval3
    , 'show_details' -- fname4
    , 'true' -- fval4
    , 'database' -- fname5
    , p_db_name -- fval5
    , 'description' -- fname6
    , p_conn_desc -- fval6
    , 'default_locale' -- fname7
    , 'en-US' -- fval7
    , 'null' -- fname8
    , 'null' -- fval8
    , 'null' -- fname9
    , 'null' -- fval9
         -- If there is a problem, raise exception
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(g_error_code,SQLERRM,TRUE);
    END;-- of PROCEDURE CREATE_PRIVATE_CONNECTION
    PROCEDURE REMOVE_PRIVATE_CONNECTION (
    p_fld_index IN orasso.wwsso_psex_user_info$.fld_index%TYPE
    ) IS
         l_rowid ROWID := '0';
    BEGIN
    SELECT ROWID
    INTO l_rowid
         FROM orasso.wwsso_psex_user_info$
         WHERE fld_index = p_fld_index;
    DELETE FROM orasso.wwsso_psex_user_info$
    WHERE ROWID = l_rowid;
         -- If there is a problem, raise exception
    EXCEPTION
         WHEN NO_DATA_FOUND THEN
    RAISE_APPLICATION_ERROR(
              g_error_code
                   , 'Discoverer private connection to be deleted does not exist.'
                   , TRUE);
         WHEN TOO_MANY_ROWS THEN
    RAISE_APPLICATION_ERROR(
              g_error_code
                   , 'Too many Discoverer private connections were found (delete).'
                   , TRUE);
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(g_error_code,SQLERRM,TRUE);
    END;-- of PROCEDURE REMOVE_PRIVATE_CONNECTION
    PROCEDURE UPDATE_PRIVATE_CONNECTION_PWD (
    p_fld_index IN orasso.wwsso_psex_user_info$.fld_index%TYPE
         , p_new_password IN orasso.wwsso_psex_user_info$.app_password%TYPE
    ) IS
         l_rowid ROWID := '0';
    BEGIN
    SELECT ROWID
    INTO l_rowid
         FROM orasso.wwsso_psex_user_info$
         WHERE fld_index = p_fld_index;
    UPDATE orasso.wwsso_psex_user_info$
    SET app_password = orasso.wwsso_api_private.ENCRYPT_STRING(p_new_password)
    WHERE ROWID = l_rowid;
         -- If there is a problem, raise exception
    EXCEPTION
         WHEN NO_DATA_FOUND THEN
    RAISE_APPLICATION_ERROR(g_error_code,'Discoverer private connec=
    tion TO be updated does NOT exist.',TRUE);
         WHEN TOO_MANY_ROWS THEN
    RAISE_APPLICATION_ERROR(g_error_code,'Too many Discoverer priva=
    te connections were FOUND (UPDATE).',TRUE);
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(g_error_code,SQLERRM,TRUE);
    END;-- of UPDATE_PRIVATE_CONNECTION_PWD
    FUNCTION SELECT_PRIVATE_CONNECTION_ID(
    p_sso_username IN orasso.wwsso_psex_user_info$.sso_username%TYPE
         , p_conn_name IN orasso.wwsso_psex_user_info$.fval1%TYPE
    ) RETURN VARCHAR2 IS
         identifier orasso.wwsso_psex_user_info$.fval1%TYPE;
    BEGIN
    SELECT fld_index
    INTO identifier
         FROM orasso.wwsso_psex_user_info$
         WHERE
         sso_username = p_sso_username
              AND app_id = g_app_id
              AND p_conn_name = DECODE(
              fname1
              , 'connection_name'
                                       , fval1
                                       , DECODE(
                                       fname2
                                       , 'connection_name'
                                       , fval2
                                       , DECODE(
                                       fname3
                                            , 'connection_name'
                                            , fval3
                                            , DECODE(
                                       fname4
                                            , 'connection_name'
                                            , fval4
                                            , DECODE(
                                       fname5
                                            , 'connection_name'
                                            , fval5
                                            , DECODE(
                                       fname6
                                            , 'connection_name'
                                            , fval6
                                                 , DECODE(
                                       fname7
                                            , 'connection_name'
                                            , fval7
                                                      , DECODE(
                                       fname8
                                            , 'connection_name'
                                            , fval8
                                                      , DECODE(
                                       fname9
                                            , 'connection_name'
                                            , fval9
                                                      , 'INVALIDVALUE'
                                                           ) --fname9
                                                      ) --fname8
                                                 ) --fname7
                                                 ) --fname7
                                                 ) --fname5
                                            ) --fname4
                                            ) --fname3
                                       ) --fname2
    ); --fname1
         RETURN identifier;
         -- If there is a problem, raise exception
    EXCEPTION
         WHEN NO_DATA_FOUND THEN
    RAISE_APPLICATION_ERROR(
              g_error_code
                   , 'Discoverer private connection not found (select).'
                   , TRUE);
         WHEN TOO_MANY_ROWS THEN
    RAISE_APPLICATION_ERROR(
              g_error_code
                   , 'Too many Discoverer private connections were found (select).'
                   , TRUE);
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(g_error_code,SQLERRM,TRUE);
    END;-- of PROCEDURE REMOVE_PRIVATE_CONNECTION
    END DISCO_PRIV_CONN;
    SHOW ERRORS;

  • Discoverer private connection on 10g

    Hi,
    Can anyone please advise me on the ff issue. I managed to create a private connection for the user, but this gets lost every time he unplugs his laptop and reconnects. Hence the private connection needs to be re-created all the time.
    How can I create the connection and have it stored on the connection page.
    tx
    Saliha

    Hi Saliha
    Presumably you are using Discoverer in stand-alone mode? in this mode private connections are stored as cookies on the client machine. This is done for security purposes. Is your user's laptop somehow setup to automatically delete cookies? If so, try disabling this.
    Another option would be to use a connection on a desktop machine that is permanently attached to your network.
    However, the correct way to have private connections stay permanent is to use a full-blown application server with an Infrastructure database. If you also enable SSO then even the password will be remembered.
    I hope this helps
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • Rel 12 - How to create a new APPS connection from custom Java/Shell Script

    Hi,
    I am looking to write a custom JAVA code / Shell Script which needs to establish a connection to execute a PL/SQL API on Rel 12 db.
    The challenge is to be able to connect without specifying APPS Password anywhere (just like Oracle Apps does it).
    This Shell script / Java code is not called from within Apps hence I need to establish a brand new connection along the lines of using ....
    WebAppsContext ctx = new WebAppsContext(System.getProperty("JTFDBCFILE"));
    OracleConnection conn = (OracleConnection)ctx.getJDBCConnection();
    like in 11i world or possibly using APPLSYSPUB username
    I need help / direction in how to do this in a Rel 12 env. I understnad there are lot of architecture changes and if someone can provide a generic code snipped it will be great.
    I need to keep this as closely aligned to Rel 12 coding and security standards as possible.
    This code will reside in $XXCUSTOM_TOP/bin file or under XXCUSTOM.oracle.apps.java....... if its Java.
    Pls help.
    Cheers
    -- VK.

    Hi,
    Have you looked at Oracle produced dbc file and its contents? That might help. It is under $FND_TOP/secure. It uses GWYUID=APPLSYSPUB/PUB. I am hoping that the APPS_JDBC_URL would help too.
    Regards,

  • Creating a virtual private network from OSX Leopard to Windows Vista

    Well as the title suggests, I need to be on the same VLAN with another user running Windows Vista. What solutions are there to accomplish this?
    (HamachiX stops responding. The HamachiX CLI (command line) makes me login without me knowing how to. I'm ultimately trying to have a VLAN for some online gaming, NOT transferring files.)
    Thanks so much!

    This issue is not resolved but is being closed due to lack of response.

  • BEST PRACTICES FOR CREATING DISCOVERER DATABASE CONNECTION -PUBLIC VS. PRIV

    I have enabled SSO for Discoverer. So when you browse to http://host:port/discoverer/viewer you get prompted for your SSO
    username/password. I have enabled users to create their own private
    connections. I log in as portal and created a private connection. I then from
    Oracle Portal create a portlet and add a discoverer worksheet using the private
    connection that I created as the portal user. This works fine...users access
    the portal they can see the worksheet. When they click the analyze link, the
    users are prompted to enter a password for the private connection. The
    following message is displayed:
    The item you are requesting requires you to enter a password. This could occur because this is a private connection or
    because the public connection password was invalid. Please enter the correct
    password now to continue.
    I originally created a public connection...and then follow the same steps from Oracle portal to create the portlet and display the
    worksheet. Worksheet is displayed properly from Portal, when users click the
    analyze link they are taken to Discoverer Viewer without having to enter a
    password. The problem with this is that when a user browses to
    http://host:port/discoverer/viewer they enter their SSO information and then
    any user with an SSO account can see the public connection...very insecure!
    When private connections are used, no connection information is displayed to
    SSO users when logging into Discoverer Viewer.
    For the very first step, when editing the Worksheet portlet from Portal, I enter the following for Database
    Connections:
    Publisher: I choose either the private or public connection that I created
    Users Logged In: Display same data to all users using connection (Publisher's Connection)
    Users Not Logged In: Do no display data
    My question is what are the best practices for creating Discoverer Database
    Connections.
    Is there a way to create a public connection, but not display it in at http://host:port/discoverer/viewer?
    Can I restrict access to http://host:port/discoverer/viewer to specific SSO users?
    So overall, I want roughly 40 users to have access to my Portal Page Group. I then want to
    display portlets with Discoverer worksheets. Certain worksheets I want to have
    the ability to display the analyze link. When the SSO user clicks on this they
    will be taken to Discoverer Viewer and prompted for no logon information. All
    SSO users will see the same data...there is no need to restrict access based on
    SSO username...1 database user will be set up in either the public or private
    connection.

    You can make it happen by creating a private connection for 40 users by capi script and when creating portlet select 2nd option in Users Logged in section. In this the portlet uses there own private connection every time user logs in.
    So that it won't ask for password.
    Another thing is there is an option of entering password or not in ASC in discoverer section, if your version 10.1.2.2. Let me know if you need more information
    thnaks
    kiran

  • Is there a way to create a SD Customer from Employee information?

    Hi!
    Is there a way to create a SD Customer from Employee information?
    We have implemented HR, I know that we can transfer the employee information to ECC using the transaction PFAL, also we know that the transaction PRAA is used to create vendors from employee information.
    Is there a similar transaction to create a sold to party from employee information? 
    Thanks!

    Hi Christian,
    Please have a look at the F1 help for the origin field:                                                                               
    "If the field is empty when creating a sales document (standard setting)   
    the partner functions are determined from those partner functions given    
    in the sold-to party customer master (Table KNVP). If the system can not   
    determine all functions, it enters the number of the sold-to party (SP)    
    for the remaining partner functions of partner type customer (KU).                                                                               
    Maintain this field if you want a specific partner to be determined that   
    is not in the partner screen of the sold-to party master.                                                                               
    Use the following entries:                                                                               
    A - if a credit management partner function (e.g. CM) should be taken      
       directly from the credit representative table (T024P). The credit       
       representative must not then be created in the customer master.                                                                               
    -   For determining partners of partner type personnel                                                                               
    B - if functions should be taken from a customer hierarchy (Standard       
       setting for customer hierarchy partners)                                                                               
    C - if you want to take the partner function exclusively from the          
       partner screen entries in the customer master. If no partner is         
       specified in the customer master for this function, it will not be      
       used in the document. In this case you may have to extend the           
       mandatory partner functions in the document manually.                   
        As this setting can lead to incomplete documents, the functions SP,    
        BP, PY and SH, which are not absolutely necessary for sales and        
        distribution processing, are not used.                                                                               
    -   Determining partners of partner type customer                                                                               
    D - if the personnel number of the system user should be used as the       
       function, e.g. for sales executives. This function is only carried      
       out online, not in the background. Therefore you should not carry out   
       this setting for mandatory partner functions.                                                                               
    -   Determining partners of partner type Personnel                                                                               
    E - if the partner function should be replaced with a contact person       
       from the contact person screen for the corresponding partner (table     
       KNVK). If another contact person has been specified on the partner      
       screen than the one on the contact person screen, this is not copied    
       into the document.                                                                               
    -   For determining partners of partner type contact person                                                                               
    F - if it should be possible to determine the contact partners not only    
       from the contact person screen but also from the partner screen of      
       the partner with the current source partner function.                                                                               
    -   Determining partners of partner type contact person"           
    Also, please have a look in note 752091 where explain the partner rule.
    Regards
    Ruy Castro

  • Automatically/Programmatically setting private connection in portlets

    We are creating a BI dashboard with Discoverer Relational 10g and Portal 10g (latest versions). Our dashoard consists of approximately 15 portlets.
    We have opted for private connections in which each portal user connects using his own private connection and the VPD is used for data security. We have been able to use the capi.sh scripts to programmatically create 1 private connection per user.
    Is there a way to avoid that each of the 50 users have to "customize" each of the 15 portlets to choose their one and only private connection from the list of connections before they see their own data. Please note that we cannot show default data as the data is specific to the user.
    we need a way of programmatically preset the connections of each portlet for each user so that the see the data as soon as they enter instead of us spending all the time to explain all the users how to set the connection and then each of them spending time choosing the connections.
    Has anyone come up with a solution?
    Thanks in advance

    Hi Goga
    Let's look at your points in turn.
    1> You do need to create a database user, granting necessary privileges and sharing required workbooks
    2> Yes you do need to have an OID entry for the single sign on piece. Personally I'd use the same username for both single sign-on and the database. It will be far easier for the users, and for you who has to manage it. Thus if a user leaves you will be removing / disabling the same user in both environments
    3> You will need to have a private connection for each user. This cannot be done through OEM and can either be done online as you suggest or scriptually using CAPI or using your own script. I know of a company that has created a front-end to Discoverer such that when the user enters their SSO username correctly the system checks to see if a private connection exists for ths user - you can do this if the accounts have the same name - and then creates the connection on the fly if no such account exists. Because the user has a database role they will see all reports shared with them using the role. By the way, the connections are stored in this table in the infrastructure: wwsso_psex_user_info$
    4> This is the one that has me confused too. I've been trying to think if there was a way to allow portlets to be accessed using a user's private connection automatically. There isn't exactly. I've been reading the Publising Workbooks in Oracle Application Server guide (page 3-23) and it seems to suggest a way. Here is what it says:
    If you choose connections other than the Publisher’s Connection to display data
    or allow users to choose their own connection, only those connections that have access to the worksheet defined in the portlet will be able to see it. For example, you create a worksheet portlet using worksheet MyWorkbook.sheet1 and choose the Publisher’s Connection to be user SCOTT and you allow users to customize their database connection. The user SCOTT has shared the MyWorkbook workbook to user MARY but not to user FRED. When user MARY customizes the portlet to use her connection, she will see the contents of MyWorkbook.sheet1. If user FRED customizes the portlet to use his connection he will get an error stating that he does not have access to the worksheet.
    This might just be the clue. I think its worth a try. Please let me know how you get on.
    Best wishes
    Michael

  • SQL 2012 Linked Server connection from SQL 2000

    Hi,
    Does anyone know if it's possible to create a linked server connection in SQL 2000 to a SQL 2012 instance?
    If so, which provider should I use?
    Many Thanks,
    Phil

    Hi Shanky,
    I'm afraid you misunderstood my Q. The above posts show how to create a linked server connection FROM SQL2012 --> SQL 2000.
    I'm trying to create a linked server connection FROM SQL 2000 --> SQL 2012.
    Does anyone know if it's possible?
    Many Thanks,
    Phil
    I guess you dont read posts patiently below link ,which i also posted in my first reply, has details about the same
    http://social.msdn.microsoft.com/Forums/en-US/2e02c603-e28d-49eb-b073-548c59732b5d/linked-server-from-sql2012-to-sql2000?forum=sqlsetupandupgrade
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • How to create a new report from an information structure?

    Dear gurus,
    My customer wants to have a sales report by product hierachy. I want to create an information structure for product hierachy and create a report from this info structure like a standard report. I dun know which steps to do. Pls tell me how to do. Your help are highly appreciated.
    Thank you!
    Rgds,
    Nghi Do

    Hi,
    Steps in LIS EXTRACTION:
    T.code - :MC18 u2013 create field catalog
    1. Characteristic Catalog
    Application-01-Sales and Distribution, 02-Purchasing, 03-Inventory Controlling, etc..
    Catalog category 1. Characteristic catalog, 2. Key figures catalog 3. Date catalog Select characteristic catalog and enter, click on characteristic select the source table and it will be display the relevant source field and select the source field, copy + close, copy.
    Save, similarly create key figures catalog
    T.code : MC21 u2013 create infostructure
    Example u2013
    Inforstructure : S789
    Application u2013 01
    Choose characteristic select the catalog, select the fields, copy + close Choose key figures catalog select the key figures ,copy + close, save and generate
    T.code u2013 MC24 u2013 create updating
    Infostructure : S789
    Update group : 01- Sales document, delivery, billing document ,enter Select the key figures click on rules for key figures give suggest rules, copy save and generate Click on updating (activate updating) Select the infostructure set periodic split 1. Daily, 2. Week, 3. Month, 4. Posting period Updating u20131)No updating,2)Synchronous updating (V1), 3)As synchronous updating (V2), 4)As synchronous updating (V3),
    T.code u2013 LBW0 - Connection of LIS Information structures to SAPBW Information structure : S786 Select the radio button-Setup LIS environment and Execute.
    Select the radio button-Generate data source and Execute.
    For Delta update:
    Select the radio button-Generate updating and Execute Select the radio button -Activate / deactivate and Execute.
    T.code u2013 SBIW u2013 Display IMG (implementation guide) Setting for applications specific data source u2013 logistics u2013 Managing transfer information structure u2013 setup of statistical data u2013 applications specific setup of statistical data u2013perform statistical setup u2013 sales.
    Choose activity
    Setup u2013 Orders, deliveries, billing
    Choose the activities enter the infostructure (S789), give name of the run, date of termination, time of termination, No. of tolerated faulty documents. Then execute
    T.code u2013 RSA3 u2013 Extractor checker
    Give the data source name eg. 2LIS 01S789 and execute, result will get some records Go to BW side replicate data source u2013 Assign infosource u2013 Create infocube u2013 Create update rules u2013 create infopackage and schedule the package with initialize delta process.
    For delta update :
    In R/3 side
    T.code u2013 MC25, set update (V1) or (V2) or (V3)
    T.code u2013 LBW0, choose generate updating and execute then choose activate / deactivate and execute
    BW side - create infopackage and schedule the package with delta update.
    First time if your scheduling the infopackage -in R/3 side T.code :MC25 -Udating set to No update,insted of selecting the update V1,V2,V3.
    If your doing the Delta update:in R/3 side T.code :MC25-Updating set to either V1 or V2 or V3. and the to T.code :LBW0 -Select the radio button Active/deactivate and Execute.
    and schedule the infopackage with delta update.
    Modules for LIS : SD,MM, PP,QM.
    Deltas for LIS:
    After setting up the LIS environment, 2 transparent tables and 1 extract structure is generated for this particular info structure. Within transaction SE11 you can view the tables u2018SnnnBIW1u2019, u2018SnnnBIW2u2019 and the structure u2018SnnnBIWSu2019 and the InfoStructure itself u201ASnnnu2018
    The tables S5nnnBIW1 & SnnnnBIW2 are used to assist the delta update process within BW.
    Extract structure u2018SnnnnBIWCu2019 is used as an interface structure between OLTP InfoStructure and BW
    The OLTP system has automatically created an entry in the control table u2018TMCBIWu2019. Within transaction u2018SE16u2019 youu2019ll see, that for your particular InfoStructure the field u2018BIW activeu2019 has the value u2018Xu2019 and the field u2018BIW statusu2019 is filled with value u20181u2019 (refers to table SnnnBIW1).
    The orgininal LIS update program u201ARMCX#### will be enhanced within the form routines u201Aform Snnnbiw1_update_....u2018 and u201Aform Snnnbiw2_update
    With the transaction u2018SE38u2019 youu2019ll see at the end of the program starting at line 870 / 1006, that the program is enhanced within a u2018BIW delta updateu2019 coding
    Within the flag u201AActivate/Deactivateu2018 the update process into the delta tables (SnnnBIW1/Sn5nnBIW2) is swichted on/off. In the table u201ATMCBIWu2018 is defined, which table is active for delta update.
    Note: The delta updating is client dependent !
    Regards,
    Ram Pedarla
    Edited by: RamPedarla on Apr 1, 2010 10:35 AM
    Edited by: RamPedarla on Apr 1, 2010 10:35 AM

  • Error While creating new database connection from HFM workspace

    Hi,
    We have recently installed HFM and was trying to create database connection from database connection manager in HFM workspace.
    I am getting below error:
    "Error connecting to database connection : no HssJNIDriver950 in java.library.path" initially and later
    "Error connecting to database connection : com/hyperion/ap/adm/HssConn".
    Any information in this direction would helpful.
    Thanks,
    Bhargav
    Edited by: bhargavr on Jan 24, 2011 6:55 PM

    Hi bhargavr,
    We came accross the same issue. Try the following solution below for this 'KNOWN ISSUE' and let me know how you get on. Drop me a note if you have any questions regarding this post.
    Error: *"Error connecting to database connection: com/hyperion/ap/adm/HssConn" While Creating a Financial Management Database Connection* [ID 1102697.1]
    Modified 04-JAN-2011 Type PROBLEM Status PUBLISHED
    Applies to:
    Hyperion BI+ - Version: 11.1.2.0.00 and later [Release: 11.1 and later ]
    Microsoft Windows x64 (64-bit)
    Symptoms:
    You are running the Financial Reporting Web Server on a 64-bit server.
    When you try to create a new Financial Management (HFM) database connection using the Database Connection Manager in Workspace you receive the following message:
    “Error connecting to database connection <connection_name>: com/hyperion/ap/adm/HssConn”
    You can create a database connection in Financial Reporting Studio. When you refresh a report with a Financial Management database connection, you receive one of the following messages:
    “1001: Error connecting to database connection <DATABASE_CONNECTION_NAME>: com/hyperion/ap/adm/HssConn”
    or
    “1001: Error connecting to database connection <DATABASE_CONNECTION_NAME>: no HssJNIDriver950 in java.library.path”
    Cause:
    The issue is documented in unpublished bug 9537050, and in Known Issues in the 11.1.2 Reporting and Analysis Readme. Cross-reference unpublished bug 9707353.
    Solution:
    In the Windows registry, take the following steps:
    Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\HyperionSolutions\FinancialReporting0\HyS9FRReports.
    For each of the following entries, prefix the contents with text in the blue box: Env2, JVMOption13, and JVMOption17 (note that the JVMOption numbers might be slightly different in your environment).
    C:\Oracle\Middleware\EPMSystem11R1\common\ADM\11.1.2.0\bin-64
    If your EPM_ORACLE_HOME is not located at C:\Oracle\Middleware\EPMSystem11R1, replace that location with your location.
    Restart the server.
    G'Luck,
    -David

  • TS2756 How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )

    How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )
    i know its not a problem whit my carrier o data plan or sharing preferences on the ipone because when i use it un my laptop it works perfectly through
    the usb and even works on the Imac through wifi and bluethood tethering but NOT through usb!!.
    the problem is that trying to make it work i deleted the "profile" usb iphone on the network prefereces panel. Now i only have 3 options: ethernet / wifi / bluetooth
    but not the usb iPhone i used to have.
    And when i try to add a new one i dont get a USB option.
    can some one help me please??
    this is how it looks (after the bluetooth PAN i used to have USB iPhone option)

    The question would be more appropriate in the Mac forums as it is not really related to the iPhone.

  • User type for creating the Http connection from sap to xi

    Hi Friends,
         I need to create the Http and Rfc destination connection from R3 to XI.
         For that what type of user is needed, like Dialog user and etc.,
    Please guide me.
    Thanks in advance
    Karthikeyan

    Hi,
    If my Understanding is Correct You want to Make the RFC Destination of Type H From R/3 to XI.
    If you want to send Any XML Data to XI( In case of Proxies Used means)
    For Testing purpose You can use Your User And Once it went to production means You can Use Service User in the Logon Details( Ask Basis people to create one Service User & Use it)
    REgards
    Seshagiri

  • Trouble creating PL/SQL connection from JDEV to 10g XE

    Hi,
    I am wanting to run PL/SQL from JDev against the hr table in the 10g XE database.
    <br><br>
    In doing so I first need to create <em>my first</em> connection from inside JDev 10.1.3.2.0 to an Oracle Lite (10g) database. Both are installed on my personal PC.
    <br><br>
    So far I have been unable to create the connection; here is where I am so far in my attempts:<br><br>
    Enter the Create Database Connection Wizard<br>
    1) Entered a connection name and choose "Oracle Lite" as the connection type<br>
    2) Entered the User Name and Password for the System user of the 10g XE database<br>
    3) Entered Type 4 Driver; Host Name: localhost, JDBC Port 100, SID XE<br>
    4) I created my own library called "Oracle_Lite" with a class path that points to an olite40.jar file. I did not set the Source path or the Doc path when creating the library. Is this the correct library? <br>
    5) When clicking "Test Connection" it comes back pretty quickly with "Internal Error:Invalid Connect String"<br><br>
    After talking with a work mate I changed the JDBC Port to 1521 and now when I test the connection it starts testing and doesn't stop. The testing indicator bar continues going back and forth indefinitely. Can I assume I am at least now using the correct port?<br><br>
    Any advice or general tips on creating the connection to allow PL/SQL against the 10g XE database from JDEV would be great.

    Oracle 10g XE is not Oracle Lite. Just leave the connection type as the default - Oracle(JDBC), later use the thin JDBC driver, it should work. Continue to use port 1521 and SID as XE.

  • How to create a new connection from SAPGUI to Test drive?

    Hi,
    I have installed Sap Netweaver Test drive on a linux virtual machine (windows host). The installation was successful and I was able to start the instance (application server and the database), yet I don't know how to create a new connection from my SAPGUI client (7.20) to this server. The static IP address of the server is 192.168.1.160.
    I entered the following values for my new connection entry
    Description: SAP Netweaver
    Application server: 192.168.1.160
    Instance number: 01
    System ID: DB2
    SAProuter: /H/192.168.1.160/S/3201/H/
    But it does not work. Any idea about the values needed  for creating a new entry?
    Thanks in advance,
    Dariyoosh

    >
    Dibya R Das wrote:
    > Why are you entering a router string? Can't you reach a box directly from your machine?
    >
    > Doesn't a ping to that host & a "telnet <host/ip address> 3201" work from your machine to the SAP System.
    >
    > Remove the router string you wont need if the above works.
    >
    > - Regards, Dibya
    Hello there,
    Thank you very much for your answer which solved my problem. In fact there was no need of providing router string.
    Kind Regards,
    Dariyoosh

Maybe you are looking for

  • CMP Entity Beans with custom finders an primary key class

    Hi everybody. I've got a Entity with a primary key class and a custom finder. I've defined the finder into the xml file like iPlanet's documentation say, but, when I try to run the aplication I get the following error: Exception: SERVLET-run_failed:

  • How much does it cost to replace the home button

    My ipad mini is out of warranty. Any ideas how much it may cost to repair the home button at the Apple Store?

  • Hiding of super class members in subclass

    I want to hide super class members in subclass. like this class super{ public int method(){ class sub extends super{ public string method(){ give any solution for this criteria, I cann't make methods as private

  • Z87-GD65 USB headset and BIOS 1.7 problems

    OK...as i've stated on these forums before there is a problem with attaching USB headsets with this motherboard. There is already many posts about the problem so it "is a problem". F.R.E.Q 5 headphone will not work with the mobo, other people on thes

  • CREATING SUBCLIPS - WITH SOUNDTRACK PROBLEMS

    Hello I am creating a series of sub-clips on one of my editing projects, so far the process is really smooth, but with one interview clip that is probably 6 minutes long and that i want to break up on some more specific multi-clips I had a problem wi