Source Sytem Creation giving error

Hi,
I am not able to create Source System in Quality System. there in Quality whenever i try making source system with the procedure in RSA1 right clicking in Source System type DB Connect, system asks for Source System name logical System name and other information. i provided all the info... Id and password..connection info... but in the end when i saved and came out of this window it gave a popup with 3 buttons System Log, Correct and cancel... with the message "Cannot Access Source System GRCDB". when i clicked on System Log button i can find these log:
1. After the attempt to call a database operation, the database system has
returned the error code specified in the message, which indicates that
the operation concerned could not be executed successfully.
2. Access to the database system has returned an SQL code indicating that
the operation could not be performed correctly by the database system.
This system log entry shows the database text for the SQL error that
has occurred.  It supplements the preceding system log entry, which
shows the SQL code, the table name and the SQL function where the error
has occurred.
ORA-12154: TNS:could not resolve the connect identifier       44
If this problem of Source System creation is solved do i need to transport Source System? or please suggest some correct way of creating source system...
Also do we need any kind of authorizations for creation of Source System in Quality System... as i could create Source System in Quality but in the end it didnt created but the error message does not specify any authorization problem.

Hi
This can be done by simply creating source system in T-Code SCC4. You should have the authorization for this take BASIS Team help in the same.
http://help.sap.com/saphelp_nw70/helpdata/EN/80/1a618ae07211d2acb80000e829fbfe/frameset.htm
see 3.1 for creating source system
https://www.sdn.sap.com/irj/scn/wiki?path=/display/bi/step%252bby%252bstep%252bguide%252bsession%252bii---load%252bdata%252bto%252ban%252binfocube
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0751ba5-b7a8-2b10-6d97-e91e85c0fafa
Hope it helps and clear

Similar Messages

  • Source system creation IDoc error

    Dear Experts,
    While creating the source system I am getting this error "IDoc type ZSDD029 could not be found", if I ignore this error the system creates source system in BI folder instead of making it in SAP folder. I have created IDoc with this name and next time when I create new source system the IDoc type move to ZSDD030, and keep on adding it and gave me this error. Any Idea
    Regards,
    ray

    Hello,
    Can you try the following:
    1) Tcode WE30: The type ZSDD029 must exist in BW system.
    If it does not exist, create it as a copy of type RSSEND.
    2) Afterwards, enter the following in the view maintenance of view
    EDIMSG (tcode SM30):
    Message type RSSEND, IdocType as specified above, Release
    corresponding to the release you are currently using.
    3) Please make sure your entries for RSBASIDOC are identical in BW.
    Regards,
    Shashank

  • Error while source system creation/Source system transport

    Hi,
         In our BW implementation, the system landscape is only 2 servers. One is BW Dev, another is BW Prd. All configurations are done in BW Dev and I extracted the data from QAS for this BW Dev system.
         Since we can’t create the source systems in the BW Production system, I tried to create the source system for the SAP R3 Production system in BW Dev and trying to transport this to BW Production Instance.
         I have two queries.
    1.  Is this way is correct for creating the Source System for BW Production system?
    2. When I tried to activate the source system I am getting the following error messages. (I tested the RFC Destinations. There is no problem, I also done the configurations for logical system creation and client assignment in both the systems).
    Error in source system GWPCLNT900
         Message no. RSAR502
    Diagnosis
         With Remote Function Call to system GWPCLNT900 error connection closed
         (no data)  ccurred.
    Procedure
         Remove the cause of the error.
    When tried again I got the following error message
    Basic type ZSBB030 doesn’t exist. EA 447
    Result of the destination check: Timeout RSAR 375.
    Could anyone throw some light on these errors?
    Thanks in advance.
    Krishna

    Hi,
    you need to maintain the logical systems on both R/3 and BW. You also need to set up the RFC connection with users that can log in to the other system. The R/3 system must be open for customizing in scc4.
    In transaction se03 the system change options for 'Business Information Warehouse: SAP Namespace' and 'Business Information Warehouse: Customer Namespace' may need to be modifiable. I am not completely sure about this.
    The last thing I will mention is that I have seen source system creation fail when the RFC-users are system users, and the source system creation worked if the RFC-users was display user while creating the source system. The RFC-users must be changed back to system user later...
    Please look at best practice documents on a more step-by-step guide...
    Best regards,
    Christian Frier

  • Giving Error while generating the Data mart to Infocube.

    Hi Gurus,
    I need to  extract the APO infocube data in to the BW infocube. For that iam trying to generate the data mart to APO infocube .
    So, that i can use that data mart as a data source to extract that APO Infocube data in to  BW infocube.
    In that process iam trying to generate the datamart for APO Infocube . But while generating it is giving errors like below:
    Creation of InfoSource 8ZEXTFCST for target system BW 1.2 failed
    The InfoCube cannot be used as a data mart for a BW 1.2 target system.
    Failed to create InfoSource &v1& for target system BW 1.2.
    PLease suggest me what to do for this Error problem.
    Thanks alot in Advance.

    Hi,
    Point No : 1
    What is Planning Area :
    http://help.sap.com/saphelp_scm41/helpdata/en/70/1b7539d6d1c93be10000000a114084/content.htm
    Point No : 2
    Creation Steps for Planning Area :
    http://www.sap-img.com/apo/creation-of-planning-area-in-apo.htm
    Note : We will not create Planning Area.This will be done by APO team.
    Point No 3  : Afetr opening the T-Code : /n/SAPAPO/MSDP_ADMIN in APO you will be able to see all the planning areas.
    Point No 4 : Select your planning area and Goto Extras menu and Click on Generate DS
    Point No 5. System automaticall generate the DS in APO (Naming Convention start with 9) and Replicate the DS in BI Map to your cube and load the data.
    Regards
    Ram.

  • Source code has syntax error in SAP PI7.1 Mapping Test

    HI All,
    IN SAP P7.1  created simple two data types, message types and Message Mapping with only 2 fields. While testing the mapping in Message Mapping it is giving the error as
    Source text of object Message Mapping: MM_Source_to_Target | http://abc.com has syntax errors:
    Source code has syntax error:
    I am able to activate the Datatypes and Message Types but not able to activate the Messge mapping.
    Please if any body faced the same problem please give the solution.
    One more thing is I am able to test the Message Mapping available in BASIS 7.1 Software Component objects. It is executing successfully...
    but otherthan this SWC it not working success fully.....
    Regards
    Sridhar Goli

    Hi David,
    please check the default trace. It may contain the entry:
    Error in compiling : java.io.IOException: Not enough space
    If that's the case, maybe there's too little space for the swap file/device.
    You should ensure that at least 2X (preferably 3X) of Heap (-Xmx) is configured as real swap
    Hope that helps.
    Regards,
    Gábor Klauzer

  • Job was cancelled in source sytem.

    Hi,
         One job was in cancelled state in source system itself.How can i correct the error?how can i get the data from source sytem.could please anybody help me out on this issue please.In RSMO,in that statu tab its stating as JOB OVERVIEW,by clicking onto this its leads to,r/3.by executing this one it shows as job cancelle.update method is delta.
    Thanks & Regards,
    Praveena.

    Hi anil,
               one ODS is getting nearly 500000 of records,it is loading master data,here the problem is that in details tab processing process is well all the datapackets are getting fine data,but at transfer tab after processing of infoidocs,dataidocs should be filled,but there it self problem is getting.in status tab its is in yellow status i cant forcibly make it into green.how can i solve this issue.And please give me reply more detaily about RSODSACT tbale details,what are changes can be done by using this table.
    Thanks & Regards,
    Mano.

  • While Installation of 11g database creation time error ORA-28056: Writing audit records to Windows Event Log failed Error

    Hi Friends,
    OS = Windows XP 3
    Database = Oracle 11g R2 32 bit
    Processor= intel p4 2.86 Ghz
    Ram = 2 gb
    Virtual memory = 4gb
    I was able to install the oracle 11g successfully, but during installation at the time of database creation I got the following error many times and I ignored it many times... but at 55% finally My installation was hanged nothing was happening after it..... 
    ORA-28056: Writing audit records to Windows Event Log failed Error  and at 55% my Installation got hung,,,, I end the installation and tried to create the database afterward by DBCA but same thing happened....
    Please some one help me out, as i need to install on the same machine .....
    Thanks and Regards

    AAP wrote:
    Thanks Now I am able to Create a database , but with one error,
    When I created a database using DBCA, at the last stage I got this error,
    Database Configuration Assistant : Warning
    Enterprise Manager Configuration Failed due to the Following error Listener is not up or database service is not registered with it.  Start the listener & Registered database service & run EM Configuration Assistant again....
    But when I checked the listener was up.....
    Now what was the problem,  I am able to connect and work through sqlplus,
    But  I didnt got the link of EM and when try to create a new connection in sql developer it is giving error ( Status : failure - Test Failed the Network Adapter could not establish the connection )
    Thanks & Regards
    Creation of the dbcontrol requires a connection via the listener.  When configuring the dbcontrol as part of database creation, it appears that the dbcontrol creation step runs before the dynamic registration of the databsase with the listener is complete.  Now that the database itself is completed and enough time (really, just a minute or two) has passed to allow the instance to register, use dbca or emca to create the dbcontrol.
    Are you able to get a sqlplus connection via the listener (sqlplus scott/tiger@orcl)?  That needs to be the first order of business.

  • IW32- order-print is giving error for particular User.

    Dear Friends,
    IW32- order-print is giving error for particular User and output type.  Debugging authorization restricted on the system, hence I canu2019t trace out the problem. If anybody comes across such issues, please reply to the post.
    Thanks In Advance for your reply.
    Anil Dasari
    Thanks In Advance.

    Hi,
    Information about dump:
    1. User and Transaction:
    Runtime Errors         MESSAGE_TYPE_X
    Date and Time          06.05.2011 10:47:40
         MM Used. 13116304
         MM Free. 3639760
    User and Transaction
         Client.............. 700
         User................ "BLADEF01"
         Language key........ "N"
         Transaction......... "IW32 "
         Transactions ID..... "4DC387ECA12B684DE10000001A5B1803"
         Program............. "/MRSS/SAPLRSG_PM_ORDER"
         Screen.............. "SAPLCOIH 3000"
         Screen line......... 33
    Information on where terminated
         Termination occurred in the ABAP program "/MRSS/SAPLRSG_PM_ORDER" - in
          "/MRSS/RSG_MAINTAIN_MRS".
         The main program was "SAPLCOIH ".
         In the source code you have the termination point in line 441
         of the (Include) program "/MRSS/LRSG_PM_ORDERU04".
    2. Info. Where it got terminated.
    Information on where terminated
        Termination occurred in the ABAP program "/MRSS/SAPLRSG_PM_ORDER" - in
         "/MRSS/RSG_MAINTAIN_MRS".
        The main program was "SAPLCOIH ".
        In the source code you have the termination point in line 441
        of the (Include) program "/MRSS/LRSG_PM_ORDERU04".
    3. How to correct the error.
    How to correct the error
        Probably the only way to eliminate the error is to correct the program.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "MESSAGE_TYPE_X" " "
        "/MRSS/SAPLRSG_PM_ORDER" or "/MRSS/LRSG_PM_ORDERU04"
        "/MRSS/RSG_MAINTAIN_MRS"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1.1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2.2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3.3. If the problem occurs in a problem of your own or a modified SAP.
    I have been searching for notes recently implemented for IW32.
    Thanks and Regards,
    ANIL DASARI

  • R/3 Source system creation

    Hello,
    I wish to add an R/3 system to my BI 7.0 system. What exactly do I need to enter in the "Create SAP Source System" window? Should I leave backgrounduser as ALEREMOTE? I dont see any option of automatic source system creation. Could u pls help me with a step by step solution.
    Thanks. POINTS WILL BE GIVEN.
    SD

    Hi
    Defining the source system
    As of release 640, you can use upper and lower case characters for R/3 user passwords. This is only uppercase characters for previous releases. Remember that your passwords are automatically converted to uppercase in previous Basis releases.
    As BI 7.0 System has Basis 700 below, upper and lower case passwords are important.
    So, for defining source system is almost same as ordinary BW Source System definitions.
    One more important thing is that you have to take into account the EDI Ports. This may cancel your system definition if the <spsettings are not correct. This settings must be controlled on both BI and Source System.</p>
    Here are the steps to configure Source System with Basis Relase lower than 640 in BI 70:
    1. Take a look at table EDIPORT of your BW system and note the next free number for the field "Port". This is the adjacent number of the highest entry like 'A0000000123' for example. In this case e.g. take '124'.
    2. Choose transaction "snum" and object "ediport".
    Select "number ranges" from the menu "Goto" and here the button "status".
    Change the CURRENT NUMBER of the ranges to the next free number you noted from table EDIPORT.
    If the number range of your BW system is correct please check the same in your OLTP system.
    3. Call TCODE RSA1 on BI System in BI Client.
    4. Select Source Systems on Left Menu
    5. Left Click SAP System and Choose Create
    6. Important think is, as source system has Basis Release Lower than 640, You have to give All Passwords (For BI ALEREMOTE User and for Source System ALEREMOTE User) in UPPERCASE.
    My Favourite is giving RFCCPIC for ALEREMOTE Passwords.
    7. It Must Be OK.
    Assign points if it helps
    Regards,
    Sumit

  • ODISqlUnload giving Error

    I am using ODISqlUnload for unloading data to text file using following command.
    OdiSqlUnload -FILE=D:\SAP\Filename.txt -DRIVER=<%=odiRef.getInfo("SRC_JAVA_DRIVER")%> "-URL=<%=odiRef.getInfo("SRC_JAVA_URL")%>" "-USER=<%=odiRef.getInfo("SRC_USER_NAME")%>" "-PASS=<%=odiRef.getInfo("SRC_ENCODED_PASS")%>" "-FILE_FORMAT=FIXED" "-ROW_SEP=\r\n" "-DATE_FORMAT=yyyy/MM/dd HH:mm:ss" "-CHARSET_ENCODING=ISO8859_1" "-XML_CHARSET_ENCODING=ISO-8859-1"
    "-QUERY=select 'FAILURE',nvl(substr(substr( PACKAGE_NAME||',', 1, instr(PACKAGE_NAME,',')-1 ),7),'Error Due to missing scenario or Any other unlogged error') ,to_char(sysdate,'DD-mm-yyyy HH24:MI:SS') from error_messages"
    But it is giving strange error. as
    java.lang.IllegalArgumentException: Could not load JDBC driver class []
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.setDriverClassName(DriverManagerDataSource.java:159)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.<init>(DriverManagerDataSource.java:92)
         at com.sunopsis.dwg.tools.SqlUnload.actionExecute(SqlUnload.java:298)
         at com.sunopsis.dwg.function.SnpsFunctionBase.execute(SnpsFunctionBase.java:273)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java:3185)
    But at the same time i am using same command in another procedure as
    OdiSqlUnload -FILE=D:\SAP\RBSIT_#SAP_Filename.txt -DRIVER=<%=odiRef.getInfo("SRC_JAVA_DRIVER")%> "-URL=<%=odiRef.getInfo("SRC_JAVA_URL")%>" "-USER=<%=odiRef.getInfo("SRC_USER_NAME")%>" "-PASS=<%=odiRef.getInfo("SRC_ENCODED_PASS")%>" "-FILE_FORMAT=FIXED" "-ROW_SEP=\r\n" "-DATE_FORMAT=yyyy/MM/dd HH:mm:ss" "-CHARSET_ENCODING=ISO8859_1" "-XML_CHARSET_ENCODING=ISO-8859-1"
    SELECT * FROM ompodi.start_record
    which is running fine.
    Why this would be occurring??
    Help appreciated.
    Edited by: MaheshGx on Feb 23, 2012 1:51 PM

    IT WAS GIVING ERROR BECAUSE IN SOURCE COMMAND I HAVENT SPECIFIED SOURCE TECNHOLOGY AND LOGICAL SCHEMA.
    ALSO IN ABOVE COMMAND THERE IS NO NEED TO WRITE QUERY WORD EXPLICITELY.
    SO IT SHOULD BE AS
    OdiSqlUnload -FILE=D:\Patrol\kaname2alert.txt -DRIVER=<%=odiRef.getInfo("SRC_JAVA_DRIVER")%> "-URL=<%=odiRef.getInfo("SRC_JAVA_URL")%>" "-USER=<%=odiRef.getInfo("SRC_USER_NAME")%>" "-PASS=<%=odiRef.getInfo("SRC_ENCODED_PASS")%>" "-FILE_FORMAT=FIXED" "-ROW_SEP=\r\n" "-DATE_FORMAT=yyyy/MM/dd HH:mm:ss" "-CHARSET_ENCODING=ISO8859_1" "-XML_CHARSET_ENCODING=ISO-8859-1"
    select 'FAILURE ',trim(nvl(substr(substr( PACKAGE_NAME||',', 1, instr(PACKAGE_NAME,',')-1 ),7),'Error Due to missing scenario or Any other unlogged error')) Package_Name,to_char(FAILURE_TIMESTAMP,'DD-mm-yyyy HH24:MI:SS') Execution_Time from <%=odiRef.getSchemaName("OMP","W")%>.ERROR_MESSAGES order by failure_timestamp desc
    HOPE IT WOULD HELP SOMEONE.
    SO POSTING IT.

  • OdiSqlUnload giving error for network location specified

    Hi,
    I have been trying to use OdiSqlUnload tool to create text files on Network machine.
    But it is giving following error
    oracle.odi.oditools.OdiToolInvalidParameterException: Error while setting parameters on tool
         at com.sunopsis.dwg.function.SnpsFunctionBase.getCoreOdiTool(SnpsFunctionBase.java:607)
    So as per error it is saying parameters specified are incorrect.
    Let me also paste for you Code i have used.
    OdiSqlUnload -FILE= \\10.161.102.182\Interfaces\OMP\BUR\snd\RBSIT_#SAP_Filename.txt -DRIVER=<%=odiRef.getInfo("SRC_JAVA_DRIVER")%> "-URL=<%=odiRef.getInfo("SRC_JAVA_URL")%>" "-USER=<%=odiRef.getInfo("SRC_USER_NAME")%>" "-PASS=<%=odiRef.getInfo("SRC_ENCODED_PASS")%>" "-FILE_FORMAT=FIXED" "-ROW_SEP=\r\n" "-DATE_FORMAT=yyyy/MM/dd HH:mm:ss" "-CHARSET_ENCODING=ISO8859_1" "-XML_CHARSET_ENCODING=ISO-8859-1"
    SELECT * FROM ompodi.start_record
    As here i have specified network location, does it mean i cannot create files on ntwork machine directly?
    If so then is there any way to move files to network machine location from host computer?
    Also i would like to know any tool for deleting files , preferably network location.
    Thanks and Regards,
    Mahesh

    IT WAS GIVING ERROR BECAUSE IN SOURCE COMMAND I HAVENT SPECIFIED SOURCE TECNHOLOGY AND LOGICAL SCHEMA.
    ALSO IN ABOVE COMMAND THERE IS NO NEED TO WRITE QUERY WORD EXPLICITELY.
    SO IT SHOULD BE AS
    OdiSqlUnload -FILE=D:\Patrol\kaname2alert.txt -DRIVER=<%=odiRef.getInfo("SRC_JAVA_DRIVER")%> "-URL=<%=odiRef.getInfo("SRC_JAVA_URL")%>" "-USER=<%=odiRef.getInfo("SRC_USER_NAME")%>" "-PASS=<%=odiRef.getInfo("SRC_ENCODED_PASS")%>" "-FILE_FORMAT=FIXED" "-ROW_SEP=\r\n" "-DATE_FORMAT=yyyy/MM/dd HH:mm:ss" "-CHARSET_ENCODING=ISO8859_1" "-XML_CHARSET_ENCODING=ISO-8859-1"
    select 'FAILURE ',trim(nvl(substr(substr( PACKAGE_NAME||',', 1, instr(PACKAGE_NAME,',')-1 ),7),'Error Due to missing scenario or Any other unlogged error')) Package_Name,to_char(FAILURE_TIMESTAMP,'DD-mm-yyyy HH24:MI:SS') Execution_Time from <%=odiRef.getSchemaName("OMP","W")%>.ERROR_MESSAGES order by failure_timestamp desc
    HOPE IT WOULD HELP SOMEONE.
    SO POSTING IT.

  • Passing parameaters giving error

    Hi All,
    I have requirement to add custom OAF page .
    In customer online i have added one custom page all standard page have left navigation menu so same menu i have included into my page when i am clicking any link it is giving error it is not taking parameter
    Function definition is like bellow
    OA.jsp?page=/oracle/apps/imc/ocong/party/organization/webui/ImcOrgOverview;ImcPartyId={@ImcPartyId}&ImcPartyName={@ImcPartyName}
    for each like it is taking parameater like ImcPartyId={@ImcPartyId}&ImcPartyName={@ImcPartyName}
    i have created one VO and added this as attributes in my custom page but it is not picking .
    I have manually pas this values as parameter from previous page even though it is not picking .
    when i try to print those values in next page it is displaying ={@ImcPartyId} and {@ImcPartyName}
    not getting values.
    can any one guide me how to pass this values from my custom page.
    Thanks in advance...
    Regards,
    Sridhar.

    Read the OAF tutorial. There is a seciton which shows you how to generate a SEARCH, CREATE, DRILLDOWN, and UPDATE page. I think it's under tutorial toolbox lessons.
    There is a section which shows you how to pass the parameters between the SEARCH and DRILLDOWN pages. The tutorial is monumental in explaining how to develop OAF pages.
    From tutorial...
    Step 4.1 Configure the EmpName Item as a Link
    When the user selects an Employee Name link, the Details page should display. As part of this GET request, we also want to:
    Add employeeNumber and employeeName parameters to the URL. These parameter values should be sourced from the EmployeeSummaryVO1 attributes EmployeeId and EmployeeName respectively.
    Indicate that the EmpSearchPG's application module instance should be retained when the EmpDetailsPG renders so these pages can share the same root application module.
    Indcate that breadcrumbs should display in the EmpDetailsPG.
    To achieve this, select the EmpName item in the ResultsTable region and set the Destination URI property to:
    OA.jsp?page=/<yourname>/oracle/apps/ak/employee/webui/EmpDetailsPG&employeeNumber={@EmployeeId}&employeeName={@EmployeeName}&retainAM=Y&addBreadCrumb=Y
    At runtime, the OA Framework substitutes the current row's view instance attribute values for the tokens inside the curly braces. So, for example, &employeeNumber={@EmployeeId} becomes &emloyeeNumber=1234.

  • Wrong Confirmations giving error in DP90

    Hi,
    I have done some labour hour confirmations confirmations againt the service order. Out of all these confirmations some time confirmations are with wrong activity type. These wrong activity types are not for material determination in DP90. Then we reversed / cancelled the confirmations with wrong activity type. But still these confirmations are giving error of material determination in DP90. Pl. suggest how can I get rid of this material determination error in DP90 for those wrong and cancelled confirmations.
    Thanks.

    Hi Pete,
    I tried putting actvities in the source list. It worked fine for the labour cost determination. But it is not working for material determination. I think it is putting "AND" relationship (means looking for combination of acitvity and cost element) while determination. But my requirement is to have it determined for the given cost element set without activity type combination.
    Could you pl. suggest the solution for this.
    Thanks

  • Item Open Interface giving error for Org Assignment

    We ran the MTL_SYSTEMS_ITEMS_INTERFACE & loaded all the items at master level.
    We are having issues in setting at Org level. Cant figure out what the issue as only few records gets assigned & then garbage sets in for remaining records. An SR has been raised & the tech support representative was saying that UOM's are different at master & org levels. Never heard of this issue earlier. I have worked with UOM's different at Master/Org levels.
    The UOM's are different at Master & Org Level and in some cases the UOM are different for different Orgs. Attribute Control for Primary/Sec UOM is at Org level. The UOM's belong to the same UOM Class. There are standard conversions defined for all these UOMs.
    Any pointers for quick resolution ?

    Pl do not post duplicates - Item Open Interface giving error for Org Assignment

  • Top N query giving error for oracle 8.0.6

    Dear All,
    We are executing this query SELECT XBLNR, WERKS, MATNR, MDV01, BACKFLQUANT, STATUS, SAPTIMESTAMP, PITSTIMESTAMP, PMTIMESTAMP, BATCH FROM (SELECT XBLNR, WERKS, MATNR, MDV01, BACKFLQUANT, STATUS, SAPTIMESTAMP, PITSTIMESTAMP, PMTIMESTAMP, BATCH FROM PMBPITS.PITS_UNITY WHERE STATUS = '01' ORDER BY PMTIMESTAMP) WHERE ROWNUM < 20
    on oracle 8.0.6 but this is giving the following error
    ora - 00907 missing right parenthesis error
    1. Is it that in the inner select we cannot use order by and where clause together.
    2. We also found that if we remove order by from inner select then the query is not giving error
    pls help . points will be awarded

    Hi,
    what ever the Aman said is correct. You check this is supported in 8.1.5, SQL allows you to embed the ORDER BY clause in a subquery and place the ROWNUM condition in the top-level query;
    'Top-N query' is a ORACLE 8i feature which is supported in SQL. However,
    Bug:855720 states the following:
    "PL/SQL does not support top-N queries (ORDER BY in SUBSELECT/SUBQUERY
    or VIEW. Since this feature is available in SQL, but not in PL/SQL,
    it has been logged as a Bug that will be fixed in 8.1.6."
    - Pavan Kumar N

Maybe you are looking for