Even with parameters, reports reading entire data source and then filtering

I'm working with an Oracle database (read-only access) and Crystal Reports 2008.  I have created a report and added three parameters for which I have already done all necessary steps in the select expert.  But when I do a Print preview of the report, and after selecting the parameter values, the report tries to read all of the data source records before the parameters are utilized by the report.  In other words, if the data source has 100,000 records, the report will return (in the background) all 100,000 records and then filter among these returned records to present/display the data according to the provided parameter values.  Instead, I would like it to use the parameters first so that only those records that meet the parameter value criteria are read into the report from the "get go"...Since I only have read only access to the Oracle database, I cannot write a stored procedure either...(company policy)...Can parameters be used to read in only pertaining records instead of filtering already read in records in a given report?  Is there some syntax that can be entered into a Command type connection to do this?

I've tried that but I'm now getting an error on line 6...
Crystal Reports Error:
Failed to retrieve data from the database.
Details: HYooo:[Oracle][ODBC][Ora]ORA-00911: invalid character
ORA-06512: at line 6
[Database Vendor Code: 911 ]
for the following syntax: (Not sure why...any help would be extremely appreciated!)
DECLARE
varCCN CHAR(7);
varMASLOC char(3);
varWO char(10);
BEGIN
EXECUTE IMMEDIATE '
SELECT Trim(DB.D_WO.SERIAL) AS Serial,
Trim(DB.WO.WO_NUM) AS WO,
DB.WO.WO_LINE AS Line,
DB.WO_HDR.WO_DESCRIPTION,
DB.WO.ITEM,
DB.WO.REVISION,
CASE WHEN DB.WO.ITEM=' || '''\''' || 'THEN DB.WONSD.DESC_ ELSE DB.ITEM.DESCRIPTION END AS Item_Description,
DB.WO.ORD_QTY,
DB.WO.START_DATE,
DB.WO.DUE_DATE,
DB.WO_RTG.OPERATION,
DB.D_OPERNM.D_OPER_NUM_SEQ,
DB.WC.DESCRIPTION AS WC_Description,
DB.WO.CCN,
DB.WO.MAS_LOC,
DB.D_WKINST.D_WORK_INSTRUCTION,
DB.D_WORTG.NA_OPER,
DB.D_WORTG.D_OPER_GROUP,
DB.GLOVCLB.CONTENT,
DB.D_WOHDR.D_J_MACHINE,
DB.D_WOHDR.D_H_MACHINE,
DB.D_WOHDR.D_STD_ASSEMBLY,
DB.D_WOHDR.D_T_C_A_ASSEMBLY,
DB.D_WOHDR.D_T_C_B_ASSEMBLY,
DB.D_WOHDR.D_B_S_ASSEMBLY
FROM DB.WO_HDR
LEFT JOIN DB.WO
ON DB.WO_HDR.CCN = DB.WO.CCN
AND DB.WO_HDR.MAS_LOC = DB.WO.MAS_LOC
AND DB.WO_HDR.WO_NUM = DB.WO.WO_NUM 
LEFT JOIN DB.D_WO
ON DB.WO.WO_LINE = DB.D_WO.WO_LINE
AND DB.WO.WO_NUM = DB.D_WO.WO_NUM
AND DB.WO.MAS_LOC = DB.D_WO.MAS_LOC
AND DB.WO.CCN = DB.D_WO.CCN
LEFT JOIN DB.WONSD
ON DB.WO.WO_LINE = DB.WONSD.WO_LINE
AND DB.WO.WO_NUM = DB.WONSD.WO_NUM
AND DB.WO.MAS_LOC = DB.WONSD.MAS_LOC
AND DB.WO.CCN = DB.WONSD.CCN
LEFT JOIN DB.ITEM
ON DB.WO.REVISION = DB.ITEM.REVISION
AND DB.WO.ITEM = DB.ITEM.ITEM
LEFT JOIN DB.WO_RTG
ON DB.WO.WO_LINE = DB.WO_RTG.WO_LINE
AND DB.WO.WO_NUM = DB.WO_RTG.WO_NUM
AND DB.WO.MAS_LOC = DB.WO_RTG.MAS_LOC
AND DB.WO.CCN = DB.WO_RTG.CCN
LEFT JOIN DB.D_WORTG
ON DB.WO_RTG.OPERATION = DB.D_WORTG.OPERATION
AND DB.WO_RTG.WO_LINE = DB.D_WORTG.WO_LINE
AND DB.WO_RTG.WO_NUM = DB.D_WORTG.WO_NUM
AND DB.WO_RTG.MAS_LOC = DB.D_WORTG.MAS_LOC
AND DB.WO_RTG.CCN = DB.D_WORTG.CCN
LEFT JOIN DB.WC
ON DB.WO_RTG.WC = DB.WC.WC
AND DB.WO_RTG.CCN = DB.WC.CCN
LEFT JOIN DB.D_OPERNM
ON DB.WO_RTG.OPERATION = DB.D_OPERNM.OPERATION
AND DB.WO_RTG.WO_LINE = DB.D_OPERNM.WO_LINE
AND DB.WO_RTG.WO_NUM = DB.D_OPERNM.WO_NUM
AND DB.WO_RTG.MAS_LOC = DB.D_OPERNM.MAS_LOC
AND DB.WO_RTG.CCN = DB.D_OPERNM.CCN
LEFT JOIN DB.D_WKINST
ON DB.D_WORTG.D_WORK_INSTRUCTION = DB.D_WKINST.D_WORK_INSTRUCTION
LEFT JOIN DB.WOLN_TXT
ON DB.WO.WO_LINE = DB.WOLN_TXT.WO_LINE
AND DB.WO.WO_NUM = DB.WOLN_TXT.WO_NUM
AND DB.WO.MAS_LOC = DB.WOLN_TXT.MAS_LOC
AND DB.WO.CCN = DB.WOLN_TXT.CCN
LEFT JOIN DB.GLOVCLB
ON DB.WOLN_TXT.OBJECT_ID = DB.GLOVCLB.OBJECT_ID
LEFT JOIN DB.D_WOHDR
ON DB.WO.CCN = DB.D_WOHDR.CCN
AND DB.WO.MAS_LOC = DB.D_WOHDR.MAS_LOC
AND DB.WO.WO_NUM = DB.D_WOHDR.WO_NUM
WHERE DB.WO_HDR.CCN=' || varCCN || ';
AND DB.WO_HDR.MAS_LOC=' || varMASLOC || ';
AND TRIM(DB.WO_HDR.WO_NUM)=' || varWO || ';';
END;
Edited by: lirizarry on Nov 6, 2009 4:37 PM

Similar Messages

  • Schedule webi report using  BW data source and send through email..

    Hi  all,
    I want to schedule webi report and send it through email.
    I am able to send through email.
    here im  got stopped how to schedule the report from bw data source . i have to schedule in webi infoview how to give date format in universe the report sholud run for (sysdate-2) daily
    eg. today is 02-DEC-2011 if i schedule the report it should run for 30-NOV-2011.  iam trying in both BW qyuery and CUBE im not getting how to give date format in
    let me knw is there any solutions..
    im using XIR3 3.1 sp3
    bw 7.1
    Integration kit sp3
    Regards,
    Ravi Sarma.

    it is resolvede by keeping sysdate-2 variable at bw query side i have solved my issue.
    Regards
    ravi

  • Reporting Services: XML Data Source and Parameters

    I’ve created an XML service (asmx) in ASP.Net that I want to use as a data source for an SQL Reporting Services report. The report and service work just fine if I use a Method from the service that does not have parameters. However, if I use a Method that
    needs a parameter, the query/report fails. My investigation makes it seem that the parameter is not getting passed to the Method at all. (The parameter is a DateTime and it always ends up uninitialized and the WebMethod throws an exception.)
    I’ve exhausted all my TechNet resources and Googled this excessively. It would seem that I am doing this correctly, based on all the examples I’ve seen, but I still can’t get it to work.
    I've done a lot of different permutations, but this is where I’m at right now.
    (Note: I've changed the Web Method's parameter to be a String instead of a DateTime. I did this as part of my trial-and-error process. Once I get this figured I'll return it to a DateTime.)
    I'm trying to include everything here that will help you help me (see attached image). I had to obfuscate a few things (not sure if that is necessary).
    See attached image:
    Created Shared Data Source in SQL Report Services
    Create Report Parameter (matching Web Method parameter)
    Created a data set in Report Builder (with Query, and parameter - matching Web Method parameter)
    Query in Data Source
    <Query>
    <Method Name="GetDueDateAging" Namespace="http://zzz.com/vvv">
    <Parameters>
    <Parameter Name="cutoffDate">
    <DefaultValue></DefaultValue>
    </Parameter>
    </Parameters>
    </Method>
    <SoapAction>http://zzz.com/vvv/GetDueDateAging</SoapAction>
    <ElementPath IgnoreNamespaces="true">*</ElementPath>
    </Query>
    This is where I needed the most help, and I don't totally understand it. But again, the parameter-less Method worked. I've tried adding different things in the <DefaultValue> tag (like @cuttoffDate and constant values), with no success.
    WebMethod Code
    [WebMethod]
    public List<AgingInvoice> GetDueDateAging(string cutoffDate)
    DateTime cd = DateTime.MinValue;
    if (!DateTime.TryParse(cutoffDate, out cd))
    cd = DateTime.Now;
    Shared.DueDateAging aging = new Shared.DueDateAging();
    return aging.GetDueDateAging(cd, Settings.Default.ConnectionString);
    I've looked at every online resource that I could find, but I'm striking out right now. Any help or hints would be greatly appreciated.
    Thanks.
    Derrick

    Hi Derrick,
    In your case, please refer to the following method to troubleshooting this problem:
    We can use Fiddler2 to monitor the HTTP post, and check whether the parameter is being sent. The Fiddler tool can helps us debug web applications by capturing network traffic between the Internet and test computers. If the parameter is being sent, please
    debug the web service to ensure the method has values return.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Help to read a table with data source and convert time stamp

    Hi Gurus,
      I have a req and need to write a ABAP prog. As soon as i excute ABAP program it should ask me enter a data source name, then my ABAP prog has excute teh code, in ABAP code i have to read a table with this data source as key, sort time stamp from table and should display the data source and time stamp as output.
    As follows:
    Enter Data Source Name: 
    Then user enters : 2lis_11_vahdr
    Then out put should be "Data source  :"  10-15-2008.
    The time stamp format in table is 20,050,126,031,520 (YYYYMMDDhhmmss). I have to display as 05-26-2005. Any help would be apprciated.
    Thanks,
    Ram

    Hi Jayanthi Babu Peruri,
    I tried to extract YEAR, MONTH, DAY separately and using
    EDIT MASK written it.
    Definitely there will be some STANDARD CONVERSION ROUTINE will be there. But no idea about it.
    DATA : V_TS      TYPE TIMESTAMP,
           V_TS_T    TYPE CHAR16,
           V_YYYY    TYPE CHAR04,
           V_MM      TYPE CHAR02,
           V_DD      TYPE CHAR02.
    START-OF-SELECTION.
      GET TIME STAMP FIELD V_TS.
      V_TS_T = V_TS.
      CONDENSE V_TS_T.
      V_YYYY = V_TS_T.
      V_MM   = V_TS_T+4(2).
      V_DD   = V_TS_T+6(2).
      V_TS_T(2) = V_MM.
      V_TS_T+2(2) = V_DD.
      V_TS_T+4(4) = V_YYYY.
      SKIP 10.
      WRITE : /10 V_TS," USING EDIT MASK '____-__-________'.
              /10 V_YYYY,
              /10 V_MM,
              /10 V_DD,
              /10 V_TS_T USING EDIT MASK '__-__-__________'.
    If you want DATE alone, just declare the length of V_TS_T as 10.
    Regards,
    R.Nagarajan.
    We can -

  • ConnectionCacheName not read from data-sources.xml

    I created a simple web application to test the use of the ConnectionCacheBean (from the jdbc 3.0 examples page). I read through the code and some other articles regarding data sources and noted that you "should" be able to set the connection cache name and caching enabled, as well as failover support, even in oc4j 9.0.4 and 10.1.2. I tried this (at least the first two), and it would NOT set the cache name.
    The data-sources.xml entry was the same as in the one documented here:
    http://www.oracle.com/technology/tech/java/newsletter/articles/oc4j_data_sources/oc4j_ds.htm
    What gives?
    Also, I tried to simulate the database going down - I killed all the sessions rather than doing a shutdown, but anyway... even with a connection cache property of validatelogin (i think that's the name) to true, and a refresh of invalid connections (they'd all be invalid if I killed them), it would only reactivate ONE SESSION. If I refreshed ALL Sessions, then it would do 9 of the 10 sessions (10 being my initial cache limit).
    Any ideas?
    I can post the code if that is an issue.

    A response I got back from Frances Zhao regarding the two issues that I experienced was:
    Issue#1: Cannot set the connectionCacheName via data-sources.xml
    1. This is very likely because of an OC4J bug that affects the actual order of
        setting each <property> specified in data-sources.xml.  The connection cache
        in OracleDataSource requires the cache-name property be set after the cache
        is enabled; but OC4J may not always follow this order, causing the name
        to be null.  If you really need the cache name, you have to do it in the code
        for now.
    Issue#2: Can't refresh the invalid connections
    2. These are known issues in the Oracle JDBC driver in both 10.1.0.4 and
        10.2.0.1.  The fix for the REFRESH_INVALID case will be in the next
        patch release for both 10.1.x and 10.2.x; the fix for the REFRESH_ALL
        case will come later.

  • SQL ENTERPRISE: The edition of Reporting Services that you are using requires that you use local SQL Server relational databases for report data sources and the report server database

    The error below makes absolutely no sense! I'm using Enterprise Core...yet I'm being told I can't use remote data sources:
    w3wp!library!8!03/05/2015-19:08:48:: i INFO: Catalog SQL Server Edition = EnterpriseCore
    w3wp!library!8!03/05/2015-19:08:48:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException: , Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException: The feature: "The edition of Reporting
    Services that you are using requires that you use local SQL Server relational databases for report data sources and the report server database." is not supported in this edition of Reporting Services.;
    Really? This totally contradicts the documentation found here:
    https://msdn.microsoft.com/en-us/library/ms157285(v=sql.110).aspx
    That article says remote connections are completely supported.
    ARGH! Why does this have to be so difficult to setup?!?

    Hi jeffoliver1000,
    According to your description, you are using Enterprise Core edition and you are prompted that you can’t use remote data sources.
    In your scenario, we neither ignore your point nor be doubt with what you say. But actually we have met the case before that even though the SQL Server engine is Enterprise but the reporting services is still standard. So I would recommend you to find the
    actual edition of reporting services you are using. You can find Reporting Services starting SKU in the Reporting Service logs ( default location: C:\Program Files\Microsoft SQL Server\<instance name>\Reporting Services\LogFiles). For more information,
    please refer to the similar thread below:
    https://social.technet.microsoft.com/Forums/en-US/f98c2f3e-1a30-4993-ab41-acbc5014f92e/data-driven-subscription-button-not-displayed?forum=sqlreportingservices
    By the way, have you installed the other SQL Server edition before?
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Access denied to a READ-ONLY data source

    Post Author: covey9257
    CA Forum: Data Connectivity and SQL
    I'm using Crystal 10 sevice pack 6.  My report is using an ODBC connection to a PSql 9.5 stored procedure.  The stored procedure creates a temp table and inserts records from 3 different ticket tables.  It has one parameter in it that selects which location to load the table with.  My report works fine as long as I don't try to put any of the fields from the temp table on the report.  If I do, then I get the following error.
    Failed to open a rowset. Details: 42000:&#91;Pervasive&#93;&#91;ODBC Client Interface&#93;&#91;LNA&#93;&#91;Pervasive&#93;&#91;ODBC Engine Interface&#93;&#91;Data Record Manager&#93;&#91;SPEng&#93;&#91;Pervasive&#93;&#91;ODBC Engine Interface&#93;Access denied to a READ-ONLY data source.
    I found that this was an issue in Crystal 9.0, but nothing with cr 10.
    Does anyone know of a work around or fix for this scenario??
    Thanks - Cathy

    Thanks for the quick reply Don.
    If you have the option that Pervasive uses to not use the exclusive lock on the DB try adding it to the SQLExpression function in CR.
    I am not sure how to accomplish this.  I've done some quick searching but cannot come up with SQL that indicates locking unless I am using some kind of language like VB or C#.
    Here is my Command Object statement
    INSERT INTO RASAPSign
    (sVendNo, sChqNo, dtDateSigned)
    VALUES
    ('{?VendNum}', '{?ChqNum}', CURDATE());
    SELECT sVendNo, sChqNo, dtDateSigned
    FROM RASAPSign
    WHERE sVendNo = '{?VendNum}' and sChqNo = '{?ChqNum}'
    Can you give me an idea of what to change?  Or at least what terminology to search for?
    I tried this option with BEGIN and END
    BEGIN
    INSERT INTO RASAPSign
    (sVendNo, sChqNo, dtDateSigned)
    VALUES
    ('{?VendNum}', '{?ChqNum}', CURDATE());
    END
    SELECT sVendNo, sChqNo, dtDateSigned
    FROM RASAPSign
    WHERE sVendNo = '{?VendNum}' and sChqNo = '{?ChqNum}'
    But I get a syntax error.
    Thanks, rasinc
    Edited by: rasinc on Apr 14, 2011 3:28 PM
    To show code with Begin and End

  • How to create a report using XML data source from Crystal Report Designer

    Hi,
    Iu2019m having Crystal Report Designer XI R2 SP4. Iu2019m trying to create a report using XML data source stored on disk. This is a customer order report and the xml is structured in such a way that it has an order details header part (master) and then it has several order lines (detail). One order line can have several order line characteristics (detail-detail). So what I need to know is now I can design this layout from the designer. If this was done using views I can do it with sub-reports but using xml data this seems to be different. Can you help me to design this layout? I have included the xml and xsd as well.
    Thank you in advance.
    Regards,
    Chanaka
    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <CUSTOMER_ORDER_CONF_REP_REQUEST xmlns:xsi="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep">
        <CUSTOMER_ORDER_CONF_REP>
            <ORDER_NO>D555809</ORDER_NO>
            <PRINTED_DATE>2009-03-26T08:52:54</PRINTED_DATE>
            <AUTHORIZE_NAME>Chanaka</AUTHORIZE_NAME>
            <CUSTOMER_NO>CU-1473-INV</CUSTOMER_NO>
            <CUST_NAME>Mr.Johan Matts</CUST_NAME>
            <SHIP_ADDR_1>93,Main Street</SHIP_ADDR_1>
            <SHIP_ADDR_2>Negambo Road</SHIP_ADDR_2>
            <SHIP_ADDR_3>Watthala</SHIP_ADDR_3>
            <SHIP_ADDR_4>SRI LANKA</SHIP_ADDR_4>
            <BILL_ADDR_1>93,Main Street</BILL_ADDR_1>
            <BILL_ADDR_2>Negambo Road</BILL_ADDR_2>
            <BILL_ADDR_3>Watthala</BILL_ADDR_3>
            <BILL_ADDR_4>SRI LANKA</BILL_ADDR_4>
            <CUSTOMER_PO_NO>112984638</CUSTOMER_PO_NO>
            <CUSTOMER_FAX>112984639</CUSTOMER_FAX>
            <CUSTOMER_EMAIL>abcbababab</CUSTOMER_EMAIL>
            <ORDER_LINES>
                <ORDER_LINE>
                    <LINE_NO>1</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP11</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>iPod</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1200</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID xsi:nil="1"/>
                            <CHARACTERISTIC_VALUE xsi:nil="1"/>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>2</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP24</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>XGA Projector</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1500</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>3</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Instalation</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>3</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP02</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony DVD Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1000</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1000</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free 5 DVDs</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>4</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP99</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Flatscreen TV</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1350</PRICE_TOTAL>
                    <DISCOUNT>10</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Delivery</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>1 year additional warranty</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>5</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP56</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony MP3 Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>400</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>2</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free carry belt</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free promotional 4GB memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>3</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>No warranty on memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
            </ORDER_LINES>
        </CUSTOMER_ORDER_CONF_REP>
    </CUSTOMER_ORDER_CONF_REP_REQUEST>
    XSD
    <?xml version="1.0" encoding="UTF-8"?>
    <?report  module="ORDER" package="CUSTOMER_ORDER_CONF_REP" ?>
    <xs:schema targetNamespace="urn:ifsworld-com:customer_order_conf_rep" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="CUSTOMER_ORDER_CONF_REP_REQUEST">
    <xs:complexType>
    <xs:all minOccurs="1" maxOccurs="1">
    <xs:element name="CUSTOMER_ORDER_CONF_REP">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="50">
    <xs:element name="ORDER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="PRINTED_DATE" type="xs:dateTime" nillable="true" minOccurs="0"/>
    <xs:element name="AUTHORIZE_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PO_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUST_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_FAX" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_EMAIL" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINES" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="ORDER_LINE">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="39">
    <xs:element name="LINE_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SALE_UNIT_PRICE" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_TOTAL" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="DISCOUNT" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_QTY" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="CUSTOMER_PART_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PART_DESC" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINE_CHARACTERSTICS" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="CHARACTERISTIC_ITEM">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="6">
    <xs:element name="CHARACTERISTIC_ID" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CHARACTERISTIC_VALUE" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:all>
    </xs:complexType>
    </xs:element>
    </xs:schema>

    Hi Sourashree,
    Thank you for the response and ideas you have given me so far. I can get the fetch the data from the data source without any problem. That is I do the following,
    1.     New Report
    2.     From Create New Connection-> XML
    3.     Provide the u201CLocal XML Fileu201D and have u201CSpecify Schema Fileu201D checked -> Next
    4.     Provide the u201CLocal Schema Fileu201D  -> Finish
    Then I can see the following under XML
    + CUSTOMER_ORDER_CONF_REP_REQUEST
            CUSTOMER_ORDER_CONF_REP_REQUEST
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    And from here if I add the following three I can get all the fields I need to the report
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    Then I come to the Linking section. Here I canu2019t link anything. There is a common field called u201CInternal_IDu201D but I canu2019t link using it. So I get a message when I click Next. From here I add all the fields.
    For this point onwards only I need help. How do I group, add fields and design the layout so I can get an report output as follows.
    Date
    Order number                                   Authorized code
    Customer No
    Name
    Phone
    Fax email
    Shipping address 1                              Billing Address 1
    Shipping address 2                              Billing Address 2
    Shipping address 3                              Billing Address 3
    Shipping address 4                              Billing Address 4
    Order Line 1 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026                      LINE_NO     CUSTOMER_PART_NO          CUSTOMER_PART_DESC     SALE_UNIT_PRICE     PRICE_QTY     DISCOUNT     PRICE_TOTAL
    Characteristic details belonging to Order line 1       CHARACTERISTIC_ID 1  CHARACTERISTIC_VALUE1
                                           CHARACTERISTIC_ID 2  CHARACTERISTIC_VALUE2
                                           CHARACTERISTIC_ID 3  CHARACTERISTIC_VALUE3
    Order Line 2 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 2
    Order Line 3 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 3
    Order Line 4 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 4
    Order Line 5 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 5
    How can I achieve this kind of a layout using the give xml and xsd? Should I use grouping if so how should I do the grouping?
    I have included the full xml and xsd in the first mail I posted but I canu2019t see it now. I can include that again if you want.
    Regards,
    Chanaka

  • Report fails on CE usin stored proc as data source and Native Client driver

    Iu2019m using Crystal Reports 10. I have a report with a stored procedure as data source. All my other reports using views as data source. Weu2019re upgrading db from SQL Server 2000 to 2008 and start using Native Client driver.
    Thereu2019s no problem to generate this report from .rpt on my local PC. But got the following error message when generate from Crystal Enterprise:
    Error Message: The table could not be found. File D:\Program Files\Crystal Decisions\Enterprise 10\Data\procSched\......reportjobserver\~tmp12c06c5641c4d50.rpt.
    It looks like sth related to Native Client driver. It works if I change to use old native driver in DSN on CE server.
    Any ideas/advises? Appreciated to your help!

    Hello,
    CR 10 does not support the MS SQL Native Driver, if you want to use OLE DB then use the MS OLE DB Provider for SQL Server up to SQL 2005. SQL 2008 does not support the MDAC version so you have to install the SQL 2008 Client tools to use the SQL Native 10 driver. CR 10 does not support that Native 10 Driver.
    See this MS Kbase: http://msdn.microsoft.com/en-us/library/ms131035.aspx
    Convert back to the old driver for 2005 and then use ODBC if using SQL 2008, it should work...
    Don

  • Error with JNDI when creating new data source

    Hi :
    This weekend, while adding new applications to the production environment we ran into a problem where the JNDI tree of the new managed servers was unreachable.
    The error message we saw was:
    <1364066840022> <BEA-149231> <Unable to set the activation state to true for the application 'EOI'.
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:349)
    at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:66)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:42)
    at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
    at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    weblogic.common.ResourceException: is already bound
    at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:387)
    at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:136)
    at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:97)
    at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:346)
    at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:66)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:42)
    at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
    at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    We traced the issue to a new data source that was added were we found that along with the the expected jndi name entry in the jdbc xml file, there were two blank entries:
    <jndi-name>weblogic.jdbc.DataSource.EOI</jndi-name>
    <jndi-name></jndi-name>
    <jndi-name></jndi-name>
    The data source was deleted, consoles restarted, the data source recreated and the issue occured again. To get by the issue we had to manually remove the blank tags from the xml file.
    We created 2 new data sources, and it only happened on the one. The same data source each time. Additionally, this issue did not occur when these changes were made in our lower (development, qa) regions.
    The version is the same in all three regions.
    WebLogic Version:     
    WebLogic Server Temporary Patch for 9324911 Wed Feb 03 22:38:01 PST 2010
    WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967
    Is this a known issue? And if so, is there a way to avoid it, other than to start constantly checking the newly created XML files?
    Thank you
    ted

    Yes, this is a common issue and documented in Oracle Docs:
    WebLogic Server: Getting "weblogic.common.ResourceException: is already bound" exception with JDBC JNDI name (Doc ID 1154250.1)
    The only fix is that you need to remove the empty value entries.
    Cheers!!
    AJ

  • Excel data source and the use of add command

    HI, Looking for suggestions on how to work with multiple inputs that cannot be joined directly.  Here's the background.
    The Report currently reads in two different Ecel files and uses 3 SQL commands to query an Oracle Database.  I need to join the 5 data sources and am having issues with the 2 excel files.  In one file I need to be able to derive a field based on another column in the file In order to create the join condition to the SQL commands.  I'd equate this to a case statement in SQL, but how goes one do that using the 'add command' feature?  What is the syntax?
    Next I would need to join (left outer) the two excel files using two fields from file A (a1, a2) and 3 fields from file B (b1,b2,b3), where a1=b1 and b2 <= a2  <= b3 when rows from A exist in B.  If row A does not exist in B then we still want it in the report and available to left outer join to the 3 oractab data sources.
    runtime is also a concern.
    Any Suggestions?

    hi Elena,
    in this case the use of subreports is not recommended. that's because you're exporting to excel and you need data in columns across the report. subreports will not, unfortunately, give you what you need.
    this would bring you back to joining the datasources. what i would recommend is looking into using 'oracle database link' to link your oracle db to excel files. here's one article as an example but you may be able to find a better one. if you have questions on this please ask them on an oracle forum as the syntax that you need will be database specific.
    a lot of databases have this type of technology which allows you to create a view to other data. sql server has 'linked servers', sap hana has 'smart data access'. essentially you are creating a non-materialized view to the external data. then this view is available on the main oracle server where you established this connection. this should be a lot easier than trying to bring a bunch of command objects together off independent datasources inside of crystal.
    -jamie

  • Create two or more data sources and mapping to DSO

    Hi,
    I´m using SAP Netweaver BI 7.0.
    If there are two or three data sources which have to be mapped to DSO which field from Data Sources has to be mapped to which field in DSO?
    Is it possible to have only one DSO or should it be three DSOs because of the three Data Sources?
    The thing is I have created one view out of three tables. For the view I have created one DSO. Everything worked fine. But now the requirements have changed because of currencies.
    The view I have created is now mixing currencies because in the view is only one currency field, which is filled from the three tables. Two tables have different currencies and one table has one currency.
    The one currency of the one table is important and should stay like it is.
    I´m thinking about something like three different currency key fields in DSO which are mapped from data source. Also for every field of data source mapping with corresponding field in DSO.
    Some hints? I have found articles in SDN about creating data sources and so on but they don´t help me in this matter.
    Thank you in advance!

    Thank you guys for explaining! I´m new to SAP BW and trying to better understand.
    I`ll try it also with the view. It sounds "easier".
    But if I´m doing it with the 3 data sources, that means that for each currency field of the data source I will need an corresponding currency field in the DSO for mapping.
    Is it possible to have 3 times the 0Currency field in the DSO and each data source currency field will be mapped to the DSO?
    If that would work the 0Currency has to be contained in the key figures.
    But if the 0Currency is contained in each key figure will the assignment of currency work correct?
    +For example:+
    Data Source1:
    Turnover in Euro.
    (All currency is in Euro)
    Data Source2:
    Profit in Dollar.
    Profit in Euro.
    Profit in Yen.
    Profit in different currencies available.
    Data Source3:
    Sales in Dollar.
    Sales in Euro.
    Sales in Yen.
    Sales in different currencies available.
    For mapping from DataSources to DSO if it is possible to have 3 times 0Currency in DSO:
    Data Source1 currency fiield ---> DSO 0Currency
    Data Source2 currency fiield ---> DSO 0Currency
    Data Source3 currency fiield ---> DSO 0Currency
    Does it make sense?

  • When I publish projects with AICC reporting enabled the SWF "breaks" and does not load.

    When I publish projects with AICC reporting enabled the SWF "breaks" and does not load. If I change the publish method to SCORM the SWF works, and if I turn off reporting the SWF also works.

    OK.  That makes sense now.  Captivate 6 changed over to Rustici's LMS drivers.  Cp7 must have made even further changes that mean you must have an LMS present if you turn on reporting.
    I would suggest you just turn off reporting while you are testing other aspects of the course functionality during development, and only turn on reporting when you are ready to upload to your LMS.

  • Data source and Extract Structure

    Hi all,
    I have a doubt on Data source and Extract Str,
    when i used one info cube with some char and kf's
    after i did extraction shall we change the extract strcuture prequently other wise better to use all the predefined extract strcuture hide in data source.
    if i hide in datasource after extraction i want to use some of hide fields, so we can use it? if we can use how can we extract data for that specified hide fields to bw side.

    If you wont to create the genaric data source at that time
    you can create cube with some char and kf.
    after extraction you wont to modify the structure ? if you mofify
    the structure then replicate the data source and delete the data
    and upload the data from r/3 to bw.its not correct way every time modifying the
    structure.if you put hide means that fields are not coming to
    bw side.if put modify the hide field ,first goto rsa6 edit data source
    remove the hide check box and save after come to bw replicate the data source
    delete the data and load the data (if you wont full data for hide field)
    if you dont load full load means only available upto data only what ever field you modify the
    hide to unhide,

  • OWB 10g -- Can't Create Database Links for Data Source and Target

    We installed OWB 10g server components on a Unix box running Oracle 10g (R2) database. The Designer Repository is in one instance. The Runtime Repository and the Target are in another instance. The OWB client component was installed on Windows XP. We create a data source module and a target module in OWB. The data source is on another Unix box running Oracle 9i (R2) database. We try to create database links for data source module and target module, respective. But when we created and tested the DB links, the DB links were failed.
    For the database link of data source, we got the following error message:
    Testing...
    Failed.
    SQL Exception
    Repository Error:SQL Exception..
    Class Name: CacheMediator.
    Method Name: getDDEntryFromDB.
    Repository Error Message: ORA-12170: TNS:Connect timeout occurred
    For the database link of target , we got the following error message:
    Testing...
    Failed.
    API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    Repository Error:SQL Exception..
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils.
    Method Name: createDBLink(String, String, String, String).
    Method Name: -1.
    Repository Error Message: java.sql.SQLException: ORA-00933: SQL command not properly ended.
    However, we could connect to the two databases (data source and target) using the OWB’s utility SQL Plus.
    Please help us to solve this problem. Thank you.

    As I said prior the database link creation should work from within the OWB client (also in 10).
    Regarding your issue when deploying, have you registered your target locations in the deployment manager and did you first deployed your target location's connector which points out to your source?
    I myself had some problems with database link creations in the past and I can't remember exactly what they were but it had something to do with
    - the use of abnormal characters in the database link name
    - long domain name used in as names.default_domain in my sqlnet.ora file
    What you can do is check the actual script created when deploying the database link so see if there's something strange and check if executing the created script manually works or not.

Maybe you are looking for

  • Enforcing a strategy plan to only produce one order in a single month

    Hello All, I have created a strategy plan that kicks out orders monthly, quarterly, semi-annually and annually. I have used the cycle unit of "MON", so orders get generated in cycles of 30 days. Everything is working great. Now, here's a business req

  • Desktop gadgets are managed by system administrator

    Dear Windows Team, Some time back I had turned off the gadgets from my desktop. Now when I am trying to show the gadgets again, while clicking on the gadgets, it comes out with a message "Desktop gadgets are managed by your system administrator". It

  • Does metadata show jpeg white balance info?

    This whole metadata thing has me confused. I can't see the WB info in metadata unless i save the RAW file as a jpeg. If i take the pic AS a jpeg, all the WB metadata ever says is AUTO, even though i set it to deifferent light sources. Am I doing some

  • How to edit/publish a calendar from multiple computers?

    In our small business we have up to three people doing scheduling using iCal. We would like to use our separate computers to edit/publish calendars. Right now, we can subscribe, but not publish calendars from multiple machines. Is there a way to remo

  • EIS vs Studio

    Hi all, EIS 11.1.2.1 Vs. Essbase Studio 11.1.2.1...... is there anything EIS can do and Studio cannot? and what about last release 11.1.2.2 Thanks in advance!