Exchange database fields by connect to external db-ora-system 10.1.0.5.0

Hello,
we've checked our SAP-Server for the parameters required for exchange and  to show fields of tables from sapbw to administrate those fields new and so on. The following parameters are activ and are difficult do external db-system. Is that a problem to change or to show fields in a sapbw " to take the button "standard system propose" over rsa1 and connections ?
Our BW-System:
sapdb03:oraem1 50>$NSL_LANG
NSL_LANG: Undefined variable.
PARAMETER
VALUE
NLS_LANGUAGE
AMERICAN
NLS_TERRITORY
AMERICA
NLS_CHARACTERSET
UTF8
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE    10.2.0.4.0      Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
And the external system, this will be shown the "standard system propose":
On the other side, the external system is prepared with following parameters:
$NLS_LANG
GERMAN_GERMANY.WE8ISO8859P1
select parameter, value from v$nls_parameters PARAMETER
VALUE
NLS_LANGUAGE
GERMAN
NLS_TERRITORY
GERMANY
NLS_CHARACTERSET
UTF8
V$VERSION;
BANNER
Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - 64bit
PL/SQL Release 10.1.0.5.0 - Production
CORE    10.1.0.5.0      Production
TNS for Linux: Version 10.1.0.5.0 - Production
NLSRTL Version 10.1.0.5.0 - Production
regards,
M. Ruttkowski
sap-basis

Hi,
As far as I understand by your words, you have an external data source running on Oracle and want to extract the data into BW system, isn't it correct? If it is correct, you can extract the data from external system, but you may need to perform some translations while extracting the data because of different character set.
Best regards,
Orkun Gedik

Similar Messages

  • Connecting with external time recording system

    Hi,  I need to know how an in-house Java Time Recordins System can communicate with SAP.  The plan is for this system to send raw data, clock in, clock out to SAP work schedules.  Employees are mostly positive and have occasionnaly shift differentials, similar to additonal payments.  Apparently this upload to SAP seems to be a problem.  Can someone advise.  I am a HR trainer not a functional but I need to know the process inside and out to be able to train on end result.
    a.s.a.p. if you can.
    Regard,
    Sylvie

    Amit, this sounds like a good solution. 
    Our external system captures raw data (swipe cards time)
    → this data is extracted by "text file report" and uploaded to
    → BAPI, where we can do some config so that SAP can understand it all, the way we want it. 
    Once in SAP it will just follow whatever work schedule rules has been configured.  Is this about right ?  Remember I am a trainer not functional.  Is BAPI = to BDC ?
    Regards

  • Full list of database fields not showing in Database Explorer

    Good Afternoon,
    After a recent upgrade to Windows 7 which included having Crystal Reports 2011 reinstalled on to the PC, I am now unable to open the full list of database fields when connecting to an ODBC.
    I can open old reports and refresh them without issue, but I cannot create new reports.
    Any suggestions gratefully received at this point
    Thanks in advance
    Andy

    What type of database are you connecting to?  Is your Win7 machine 32- or 64-bit?  If it's 64-bit you need to create a 32-bit odbc connection.  If you're connecting to SQL Server, make sure that you have the "SQL Server Native Client" version 10 or 11 installed - the connection doesn't work well with the version 6 SQL Server ODBC driver that's installed as part of Win7.
    -Dell

  • Connection to external database

    Hi All,
    we have an requirement to connect SAP R/3 to external database which is oracle and java tool for data uploading.
    One of our team abaper requested us to establish the connection.
    When explored , i got some info on DB11 and DBCON table.
    I created the connection with the DBM user control and SAP user SAPR3.
    Please let me know how to test the connection further and details on connection to external database from BASIS point of view.
    Thanks

    Hi,
    Using transaction SE11, create a table (ZTABLE) with the same fields as the table in the external database, make sure that the type and lengths of the fields are identical.
    Using transaction SE11, create a view (ZTABLE_VIEW, projection view) using BASIS table ZTABLE
    Using SVRMGRL>
    create dblink REMOTE_DB as connect to remote_user identified by password; (database link created)
    drop table ZTABLE; (table dropped)
    create synonym ZTABLE for ZTABLE@REMOTE_DB; (synonym created)
    Using transaction SE16 , type in ZTABLE_VIEW and hit RETURN
    Enter value in key fields and hit execute. (displays rows from the remote table)
    In other words
    To access an external database from ABAP via DBLINK (ORACLE)
    Using transaction SE11, create a table (ZTABLE) with the same fields as the table in the external
    database, make sure that the type and lengths of the fields are identical.
    Using transaction SE11, create a view (ZTABLE_VIEW, projection view) using BASIS table ZTABLE
    Using SVRMGRL>
    create dblink REMOTE_DB as connect to remote_user identified by password; (database link created)
    drop table ZTABLE; (table dropped)
    create synonym ZTABLE for ZTABLE@REMOTE_DB; (synonym created)
    Using transaction SE16 , type in ZTABLE_VIEW and hit RETURN
    Enter  value in key fields and hit execute. (displays rows from the remote table)
    <REMOVED BY MODERATOR>
    Jagadish
    Edited by: Alvaro Tejada Galindo on Apr 8, 2008 6:08 PM

  • How a user of external database can be connected to other database

    Hi
    I have two databases A and B. I have one user XYZ on database B.we want user XYZ to be connected to database A and also wants to create few tables on database A. Can you please tell me what are list of steps i need to perform.
    Regards,
    RJ.

    You can create a database link between database A and B to manipulate data in database A while connected to B. But you cannot create tables using database links. It does not allow DDLs in remote database. Tranparent gateway is a database link between oracle and some other database.
    Syntax is to create the link in B is
    create database link <name> connect to <user_in_A> identified by <password_in_A> using 'A';

  • Retrieve data from a synonym in oracle database through db connect

    Hi Everyone,
    I have created certain synonym for some tables in oracle. I want to retrieve data from it through db connect but where through source system and then selecting database tables, only tables and views are available.
    Synonyms are not available to create data sources and retrieve the data from it. Why is it so. Is this a limitation of db connect.
    Can anyone please let me know about it.
    Thanks,
    Joshua.

    Hi,
    You want to import data from an external Oracle database into your BW 3.X. To do this, you can connect the external database to the BW 3.X release as a source system using the external database connect. BW 3.X here represents BW 3.0, BW 3.1 and BW 3.5 because in other (DB relevant) parts, all 3 versions are based on the same source code.
    General information
    The above function allows you to load data from an external Oracle database (not a BW database) into your BW 3.0 system.
    There may also be constellations which cannot be used directly through the DB Connect access. However, it should be possible to find an adequate, customer-specific solution for most of these scenarios.
    In such situations, the resulting work falls into the area of Consulting and cannot be handled via Support.
    Successful implementation of a connection requires corresponding expertise and experience in the use of the source database in the areas:
                    - Tools
                    - SQL syntax
                    - DB-specific functions
    Corresponding knowledge of the source application is also required to ensure that semantically relevant data arrives in the BW system.
    Procedure
    You should execute the following steps to connect the source system (Q) to the BW system (BW):
    Installing the client software on an BW application server
                         Of course, you only need to install the client software if you are using BW with a non-Oracle database.
                         Use the Oracle setup program on the database CD (runInstaller on Unix) to start the OracleInstaller. Follow the program instructions and the DB installation instructions to install the Oracle Client software on BW.
    Testing connection setup from BW to Q
                         After you install the client software on BW, try to set up a connection from BW to the server on Q. You may need to adjust the tnsnames.ora or sqlnet.ora files for this, to introduce the Oracle systems (to which contact should be made) to BW. You can test the connection by executing the command "tnsping QDB" on BW to check whether the client has established contact to the QDB database on the Q system.
    Creating a separate U user in Q
                         We recommend that you create a separate U user in Q for connection to BW. This means that authorization and administration questions can be solved centrally.
    Displaying data sources in Q for the U user
                         To provide U data for users other than U, you can create views on other user tables as user U:
                         CREATE OR REPLACE VIEW viewname AS
                           SELECT * FROM QDB.tablename
                         You may have to grant SELECT privileges to user U in the QDB schema:
                            GRANT select ON QDB.tablename TO U
                         Of course, you can also restrict or reformat data in the view arrangement (for example, change from internal date format into the SAP date format). JOIN operations using several tables are also available.
                         !!! Synonyms do not yet work!!!
                         Synonyms that you can create as described below are another option for providing a complete table for the user U:
                           CREATE SYNONYM synoname FOR QDB.tablename
                         !!! Synonyms do not (yet) work!!!
                         After you have displayed the require data for user U, you can simply use
                           SELECT * FROM <view or table>
                         on the Q system to check which data is returned.
                         You can now open a link to Q as user U in the BW system with SQLPLUS and check, using the same SELECT, whether this data is also seen in the Oracle client. If this is not the case, there is probably a connection problem.
    Creating a connection from BW to Q in BW
    Including data sources of user U user in Q in BW.
    Solution
    Supported BW, Basis and BW 3.0B database versions, Basis 6.20 Support Package 2 (or higher)
          Oracle 8.1 (or higher, see below)
    Possible problems
    - Synonyms do not (yet) work!
    Up to now, only tables and views have been used as data sources for the DB Connect from the R3 Basis. As soon as synonyms are also used in the Basis, you will be able to convert created views (or even replicated tables) to synonyms as a workaround.
    With Basis 6.40 at the earliest, therefore as of BW 3.5, you will also be able to use synonyms. Until then, the following will help:
      CREATE VIEW <view_on_synonym> AS SELECT * FROM <synonym>
    - The source DB must have at least the release version of the BW DB.
    Oracle only ensures the support of client-server links if the version of the client is not higher than that of the server. So if BW has Oracle version 8.1 and, as in the case of Dbconnect, is run as a client against the server of the source database, the source database must have at least release Oracle 8.1 or higher.
    Of course, you have the option to install the Oracle client software of a lower version and then use this for the DB connect. This is also the procedure used to work with a DB connect on external databases of other vendors.
    Furthermore, the implementation of the DBconnect function in BW uses SAP Basis functions. Specifications of Oracle 8.1 database catalogs are used here. The source database must therefore have at least Version 8.1.
    - Oracle Client Software Version
    If you want to connect from an Oracle BW DB to an Oracle source DB, for the DB connect you naturally use the client software that you already installed on each application server.
    If you want to connect from a non-Oracle BW DB to an Oracle source DB, check item 3 of note 521230 to see which Oracle client software version is released with your BW R3 kernel and use this version.
    - Date and time fields in Oracle and their conversion into SAP-compatible column formats
    Example with a DATE field:
    Since a SAP table does not have a DATE field (date values are NUMC(8) and time specifications are NUMC(6)), we will use the Oracle DBA_TABLES system table as an example.
        SQL> desc dba_tables;
    The Oracle DBA_TABLES system table has a LAST_ANALYZED field. This is a DATE type field and is recognized as a date field of 7 characters by DBA_CONNECT. However, the import does not work because the DATE is a 7-byte conglomerate of "...century, year, month, date, hour, minute and second." (extract from the Oracle documentation).
    To make this DATE field legible for DB connect, you must use the TO_CHAR function in a VIEW. This should display the following examples:
    SQL> select LAST_ANALYZED from dba_tables
          where table_name like 'RS%' and rownum < 10 ;
    The formatting used here is the default used implicitly by SQLPLUS.
    SQL> select  to_char(LAST_ANALYZED,'YYYYMMDD') as dat from dba_tables where table_name like 'RS%' and rownum < 10 ;
    The result now has the SAP compatible format YYYYMMDD and should be loaded correctly by the DB connect as a date.
    SQL> select  to_char(LAST_ANALYZED,'HH24MISS') as tim from dba_tables where table_name like 'RS%' and rownum < 10 ;
    The result now has the SAP compatible format HHMMSS and should be loaded correctly by the DB connect as a time.
    You can use the following example for more detailed experiments:
    SQL> select  to_char(
           TO_DATE('03-FEB-2001 04:05:06','DD-MON-YYYY HH24:MI:SS'),
           'YY-MM-DD HH24-MI-SS') as datim from dual;
    with the result:
      DATIM
      01-02-03 04-05-06
    When you create a VIEW and use the TO_CHAR function (or other functions), you should easily be able to avoid problems with the interpretation of date/time specifications (and other reformatting).
    Details about the functions and the formats are contained in the Oracle documentation.
    - Special characters
    A words that contain special characters can only be imported correctly if the code pages in BW and in the source system are identical. If the code pages are not the same, DB Connect can be used if the characters to be imported appear under the first 127 characters of the character set.
    The use of multibyte code pages in the source system for saving data using character sets with more than 256 characters (Kanji, Katakana, Hiragana, Korean, Chinese, Tagalog, Khmer, Arabic, Cherokee, and so on) can cause the characters to become corrupt.
    For questions concerning the code pages, also refer to the FAQ note 606359 and question/answer 19 that appears there.

  • Field Explorer help, not all Database Fields available

    Greetings all, I'm new to Crystal Reports (version XI by the way) and Tigerpaw.  I've had some great luck editing existing reports to the specifications we've needed thus far.  But now I've run into a real problem, it seems small, but it's important to me. 
    The one change I'm unable to accomplish on our new invoice report:
    -Adding the Tigerpaw field, Account Name, to an invoice.  The "Account Name" field is a field pulled from the tblAccounts Database Fields category in the Field Explorer.  But when I'm in my invoice template, I do not have that category available, I only have tblSysListViewPrint and tvwr_Invoices categories, the latter does have the field for "Account ID" which is close for our purposes, but not the same.  So how might I go in and pull from the tblAccounts category...specifically to get the  tblAccounts.AccountName field.  Copying that field from another existing report does not work either, "one or more formulas fail to compile".
    I'm not sure how it decides what Database Fields to pull from, because on other reports, the tblAccounts category is available, but not the tvwr_Invoices category, so I am quite confusedl.
    Hopefully this makes sense to someone out there. 
    Thanks.

    Thanks, V361,
    When I go to create a blank report, I get no databases available.  My first prompt is the "Database Expert".  The "available data sources" list is Current Connections (no items), Favorites (no items), History (no items), and Create New Connection.  The "selected tables" list on the right is blank.  I honestly don't have a clue how connect to whatever server contains those items.  I realized since I first posted that I need to figure that out to make any progress.  All the created reports already have the database field categories set up already, but it looks like all the available fields were not initially chosen for the reports.
    So what I believe it comes down to is the fact that I need to figure out how to "Create New Connection" to find my available database fields.

  • ORA-28575: unable to open RPC connection to external procedure agent when trying to connect ORE.connect

    Hello,
    I had installed ore 1.3.1 windows server 2008 on top of Oracle DB 11.2.0.3 ,but when I connect the database,it didn't work.
    That is my code and error code.
    ore.connect(user = "rquser", sid = "db11g", host = "....", password = "....", all = TRUE)
    Got error as below:
    error.oci.GetQuery(conn, statement, data = data, prefetch = prefetch, :
    ORA-28575: unable to open RPC connection to external procedure agent
    ORA-06512: at "RQSYS.RQEVALIMPL", line 17
    ORA-06512: at "RQSYS.RQEVALIMPL", line 14
    ORA-06512: at line 4
    Also i have follwed the below link:
    ///ORE1.3-ore-server-win-x86_64-1.3,error ORA-28575: unable to open RPC connec
    But failed to resolve the problem.
    Below are the TNS and Listener file entry:
    # listener.ora Network Configuration File: F:\OracleDB\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = EXTPROC)
          (ORACLE_HOME = H:\ORA11G\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:H:\ORA11G\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.168.11.69)(PORT = 1521))
    ADR_BASE_LISTENER = H:\ORA11G
    -============================
    # tnsnames.ora Network Configuration File: F:\OracleDB\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
        (CONNECT_DATA =
          (SID = EXTPROC)
          (PRESENTATION = RO)
    DB11G = 
    (DESCRIPTION =   
      (ADDRESS_LIST=
       (ADDRESS = (PROTOCOL = TCP)(HOST = 10.168.11.69)(PORT = 1521)) 
      (CONNECT_DATA =   
        (SERVER = DEDICATED) 
        (SID = DB11G)
    ====================================================
    Thanks
    Sandy

    Hi Sandy,
    If you set EXTPROCS_DLLS=ANY in the listener and then restart the listener, does it fix the problem?
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = EXTPROC)
          (ORACLE_HOME = H:\ORA11G\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ANY")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.168.11.69)(PORT = 1521))
    Sherry

  • Irrelevant id's under 'Database Fields' for BW query

    Hi all,
    I am new to Crystal reports and have a problem.
    I installed Crystal Reports 2008 and as integration kit (with BW), i installed 3.1 version.
    I am trying to connect a bw query to the Crystal Reports.
    Now i can connect a bw query, but in 'Fields Explorer' under 'Database Fields' i can not see proper names. I have already selected 'show description ' setting.
    There are items like, Cube creation time, cube type, data update time etc.. and for key figures, there are lots of items that starts with M~[Measures].....
    Some of my collegues have the same version and it is working just fine. So I wonder, what is wrong with mine.
    What can be the problem?
    Thanks
    Ozan

    Settings button can be found in the SAP toolbar.
    Also in Menu bar, you can see 'Settings' under SAP menu.
    By the way, integration kit has to be installed beforehand.

  • Problem while connecting to external DB using DB link

    Hi,
    We've recently upgraded SAP(4.6C) Oracle DB to 10g version. SAP is talking to an external DB which is on a 8.x version.
    The following is the native SQL statement being used to select data from the external DB -
    EXEC SQL PERFORMING APPEND_ISSUE.
          SELECT STOCK_NO,
                 QUANTITY,
                 SOURCE_LOCATION1,
                 SOURCE_LOCATION2,
                 JOB_CODE,
                 ACID_CODE,
                 EMPLOYEE_NO,
                 SOURCE,
                 ROW_ID,
                 CIS_ORDER_NO
           INTO :WA_ISSUES
           FROM [email protected]
      ENDEXEC.
    FORM append_issue.
    *-- Begin HD002666
      SHIFT     wa_issues-quantity         RIGHT DELETING TRAILING space.
      TRANSLATE wa_issues-quantity         USING ' 0'.
      SHIFT     wa_issues-source_location1 RIGHT DELETING TRAILING space.
      TRANSLATE wa_issues-source_location1 USING ' 0'.
      SHIFT     wa_issues-job_code         RIGHT DELETING TRAILING space.
      TRANSLATE wa_issues-job_code         USING ' 0'.
      SHIFT     wa_issues-acid_code        RIGHT DELETING TRAILING space.
      TRANSLATE wa_issues-acid_code        USING ' 0'.
    *-- End HD002666
      APPEND wa_issues.
    ENDFORM.
    The DB link is running fine and we're able to connect to the external DB.
    The 1st record from the extranl DB is read perfectly.
    From the 2nd record, some of the numeric fields are reading a value '~'. We checked the external DB view SAP_TRUCK_INVENTORY_ISSUES_V and it has all non-null numeric values.
    It's confusing that the 1st record has exactly the same values as the external DB, but from 2nd record onwards, it is reading some numeric values as '~'.
    Is there any kind of internal conversion that is happening while reading data from SAP_TRUCK_INVENTORY_ISSUES_V into work area wa_issues.
    Are there any problems faced with DB links b/w 2 Oracle DBs with version difference more than 1?
    Any inputs on this would be helpful.
    Regards
    Deepthi.

    Hi Rich,
    Thank you for a quick reply,
    Here is what I've done to connect to the remote ABAP system:
    1. Configured this remote system in the SLD as a Technical System (SLD=> Technical Landscape).
    2. Opened WebDynpro Content Administrator and created two JCO's for my application pointed to that remote ABAP system (defined in SLD). I was able to test them successfully reaching that remote system.
    But when I run my application the same error occured.
    What did I miss ?
    Thanks & Regards,
    Mike
    Message was edited by: Mykhaylo Puzankev

  • Overwrite database fields

    Hello,
    can I overwrite database fields in Crystal Reports Designer?
    I have reports, which are based on a business view. In this view I have many kpi columns with Euro values. This view also have columns which have stored the local currency.
    Until now, the reports only represent the Euro values. The reports should be adapted now, so that conditioned by a parameter either the Euro or local currency will be displayed.
    So is it possible to overwrite the existing Euro column value by the local currency value if the corresponding parameter was selected in the following way:
    if currency_parameter = 'local' then
       Business_View.KPI_1_EURO = BUsiness_View.KPI_1_LOCAL
    else 
    Business_View.KPI_1_EURO

    Hello,
    here is the sql output of the two different versions. First one with the old logic (without Currency Conversion, the second one with the new logic). Perhaps then you can find my problem. What I can see which seems to be wrong is, that in the new sql no group function were integrated.
    Old:
    SELECT   TO_CHAR ("DATE"."YEAR"),
             SUM ("MONTHLY_TOTAL"."TOTAL_PUBL_COMMISS_OP_EUR"),
        FROM (((("DB_LIVE"."V_MART_MONTHLY_TOTAL" "MONTHLY_TOTAL" INNER JOIN "DB_LIVE"."SYS_DATE" "DATE"
             ON "MONTHLY_TOTAL"."DATE_ID" = "DATE"."DATE_ID")
             INNER JOIN
             "DB_LIVE"."DIM_PUBLISHER_VERSION" "PUBLISHER"         ON "MONTHLY_TOTAL"."PUBLISHER_ID_VERSION" =
                                                "PUBLISHER"."PUBLISHER_ID_VERSION")
             INNER JOIN
             "DB_LIVE"."DIM_PROGRAM_VERSION" "PROGRAM"         ON "MONTHLY_TOTAL"."PROGRAM_ID_VERSION" =
                                                    "PROGRAM"."PROGRAM_ID_VERSION")
             INNER JOIN
             "DB_LIVE"."DIM_LOCATION_VERSION" "PROGRAM_LOCATION"         ON "MONTHLY_TOTAL"."PROGRAM_LOCATION_ID_VERSION" =
                                          "PROGRAM_LOCATION"."LOCATION_ID_VERSION")
             INNER JOIN
             "DB_LIVE"."DIM_BUSINESS_MODEL" "BUSINESS_MODEL"         ON "PUBLISHER"."BUSINESS_MODEL_ID" =
                                              "BUSINESS_MODEL"."BUSINESS_MODEL_ID"
       WHERE "MONTHLY_TOTAL"."PERSPECTIVE" = 2
         AND "DATE"."MONTH" = 3
         AND "PROGRAM_LOCATION"."LOCATION_ID" = 10
         AND "DATE"."YEAR" = 2011
    GROUP BY TO_CHAR ("DATE"."YEAR"),
             "DATE.MONTH",
             "PROGRAM_LOCATION"."NAME"
    NEW:
    ORAPROD.WORLD
    select
    decode({?Currency},1,CLK_PUBL_COMMISS_OP, CLK_PUBL_COMMISS_OP_EUR) CLK_PUBL_COMMISS_OP_EUR,
    u2026
    from
    DB_LIVE.V_MART_MONTHLY_TOTAL
    EXTERNAL JOIN MONTHLY_TOTAL.DATE_ID={?ORAPROD.WORLD: DATE.DATE_ID} AND MONTHLY_TOTAL.PUBLISHER_ID_VERSION={?ORAPROD.WORLD: PUBLISHER.PUBLISHER_ID_VERSION} AND MONTHLY_TOTAL.PROGRAM_ID_VERSION={?ORAPROD.WORLD: PROGRAM.PROGRAM_ID_VERSION} AND MONTHLY_TOTAL.PROGRAM_LOCATION_ID_VERSION={?ORAPROD.WORLD: PROGRAM_LOCATION.LOCATION_ID_VERSION}
    ORAPROD.WORLD
    SELECT
    FROM   ((("DB_LIVE"."SYS_DATE" "DATE" CROSS JOIN "DB_LIVE"."DIM_PUBLISHER_VERSION" "PUBLISHER") CROSS JOIN "DB_LIVE"."DIM_PROGRAM_VERSION" "PROGRAM") CROSS JOIN "DB_LIVE"."DIM_LOCATION_VERSION" "PROGRAM_LOCATION") INNER JOIN "DB_LIVE"."DIM_BUSINESS_MODEL" "BUSINESS_MODEL" ON "PUBLISHER"."BUSINESS_MODEL_ID"="BUSINESS_MODEL"."BUSINESS_MODEL_ID"
    WHERE  "DATE"."DATE_ID"={?ORAPROD.WORLD: MONTHLY_TOTAL.DATE_ID} AND "PUBLISHER"."PUBLISHER_ID_VERSION"={?ORAPROD.WORLD: MONTHLY_TOTAL.PUBLISHER_ID_VERSION} AND "PROGRAM"."PROGRAM_ID_VERSION"={?ORAPROD.WORLD: MONTHLY_TOTAL.PROGRAM_ID_VERSION} AND "PROGRAM_LOCATION"."LOCATION_ID_VERSION"={?ORAPROD.WORLD: MONTHLY_TOTAL.PROGRAM_LOCATION_ID_VERSION} AND "DATE"."MONTH"=3 AND "PROGRAM_LOCATION"."LOCATION_ID"=10 AND "DATE"."YEAR"=2011

  • Pre populating the database field when a user logs into web forms

    Hi,
    When my users log into the web forms application I want the database name field to be pre populated, how do I do this, I presume it can be defined in the config files ?
    Thanks in anticipation.
    SDG.

    Hi,
    I think u are refering to the username, password, database field (connect string)
    here. If this is the case then you can use LOGON(username, password||'@'||connectstring) procedure and hardcode the connect string.
    Best Regards
    Rajesh Alex

  • Update of non-database fields mapped to database fields

    I have two columns start month and start year which
    are non-database columns and which map to one database
    field start date in the database.
    I have a post-query trigger on the start month and
    start year fields to derive the value from the
    database field start date when the form is queried.
    When I try to update the form, the update does not
    work - if I remove the post-query trigger then the
    update works but, the month and year non-database
    fields do not get queried.
    Any help will be greatly appreciated.
    Thanks,
    Suzanne

    since those 2 fields are not connected to the database field you need to code the update to the database.
    Use the pre-insert trigger and set the value of the date item according to the values of the 2 fields.

  • Removing or automatic fill the database field at login when using TWO_TASK

    Couple of questions when using TWO_TASK on HP-UX
    1. Is it possible to alter the login window, by removing the database field, as it is not needed anymore?
    2. Is it possible to automatically fill the login window with the required database connect string?

    Hello,
    Are you sure this question is relative to the Oracle Forms product ?
    Francois

  • Database doen't connect on restart

    Hi All,
    I have 10g 10.1.0 installed....it was all working fine until I restarted the server when it prompted to restart after automatic update of windows server 2003.
    Now when I try to connect it gives error ORA-12505, I first stop and restarted the listener but it didn't work and then I recreated the listener and service name as well but it still the same?
    Any clue on this...why it happened and what we should do?
    Thanking you and best regards

    The listener is needed to monitor requests from the network and special internal process requests such as external procedures. Under normal circumstances, it should be started before the database service.
    The database service should be started from the control panel after the listener so it can register itself to the listener. By registering a database service, the listener knows that it can take requests on the network for that service.
    If the listener service is started, one should be able to open a cmd box and run 'lsnrtctl status' to ensure it is up.
    After the database service is up, one should be able to open a cmd box, and run 'lsnrctl status' with the output showing the database service name in the list. Also, from a cmd box (from the userid that installed Oracle), run sqlplus / as sysdba (or 'sqlplus /nolog', followed by 'connect / as sysdba').
    If the database service does not come up, either the Windows event view log (control panel, admin tools) or the alert.log (iirc, %ORACLE_HOME%\admin\oprcl\bdump\) will give the reason.

Maybe you are looking for