Special Query

Hello all..
I need to change to format of SQL query. Below is the example of what i am trying to do. How would I go about doing this? Thanks for your help.
Example:
(from)
Name: Sex: Occupation:
Susan Female Analyst
Susan Female Engineer
Susan Female Doctor
Sam Male Contractor
Sam Male Teacher
Sam Male Politician
(to)
Name: Sex: Occupation:
Susan Female Analyst, Engineer, Doctor
Sam Male Contractor, Teacher, Politician

hi user13721099
which database version you are using please declare in your post
listagg function is available in 11 g
SELECT Name, *** , LISTAGG(Occupation, ',') WITHIN GROUP (ORDER BY name) AS Occupations
FROM   <table_name>
GROUP BY Name;other wise you have to refer hoek link
Regards
Hitesh

Similar Messages

  • Special query authorization

    Dear Experts,
    I have to solve the following issue in my project. We have a couple of queries w/ a couple of characteristics of course. We need an authorization that lets the user see records with only certain char. values. But there is another query which we have to authorize for the same user for the same characteristic but for diff. char. values. Say, there is a ‘Q1’ and a ‘Q2’ query. Q1 and Q2 includes the same, ‘C’ characteristic. Char. values for C are: ‘C1’, ‘C2’, ..., ‘C10’. User ‘A’ may see in Q1 only records with char. values C1, C2, C3; and the Q2 w/ char. values C5, C6, C7…
    How should I do it with the old/new/mixed authorization concept?
    Thank you for the answer in advance!
    JA

    Your way/requirements of AUTH might be possible with AUTH values from CMOD.
    http://help.sap.com/saphelp_nw70/helpdata/en/5a/ec1e4203fadb2ce10000000a1550b0/frameset.htm
    Gopi
    Instead of using a single value or interval, you can also use variables of type customer exit in authorizations. The customer exit is called for these variables while the authorization check is running. The call is carried out with I_STEP = 0. The intervals of characteristic values or hierarchies for which the user is authorized can be returned here. By doing this, the maintenance effort for authorizations and profiles may be considerably reduced.
    This type of variable should not be confused with characteristic variables that are filled from authorizations!
    For more information about variables with customer exits, see Customer Exit.
    Every cost center manager should only be allowed to evaluate data for his/her cost center. Within the SAP authorization standard, a role or a profile with the authorization for the InfoObject 0COSTCENTER equal to ‘XXXX’ (XXXX stands for the particular cost center) would have to be made for every cost center manager X. This has to be entered in the user master data for the cost center manager. In organizations where cost centers change on a regular basis, this involves significant administrative effort.
    Using a variable reduces the authorization maintenance workload with the InfoObject 0COSTCENTER equal to ‘$VARCOST’, as well as with the role or the profile, which is maintained for all cost center managers. The value of the variable ‘VARCOST’ is then set for runtime during the authorization check by the CUSTOMER-EXIT ‘RSR00001’.
    Maintaining the authorizations restricts the entries for the values to the length of the existing InfoObject. It is possible, however, to use both limits of the interval. In the example 0COSTCENTER with 4 spaces, the variable ‘VARCOST’ is, therefore, entered as ‘$VAR’ – ‘COST’.
    Use
    Exit variables can be entered beginning with $. If there is a variable value in both the lower and the upper limit, the two are combined as subnames of an overall variable in authorization processing. Intervals are not corrected automatically by the system if an error was found during the check. You get an error message and can analyze the error yourself.
    There is a buffer for these variables. If this buffer is switched on, the customer exit is only called up once for a variable with the authorization check. In doing so, you avoid calling up the customer exit for variables over and over, as well as decreasing performance. If you want to call up the customer exit each time, you have to deactivate this buffer in the maintenance of analysis authorizations. To do this, in the main menu, choose Extras ® Buffering Variables ® Deactivate.
    You can also call up the customer exit for authorizations for hierarchies.
    Enter the variables of type hierarchy node into an authorization. To do this, in the hierarchy authorization maintenance, under Node, choose a variable with  Select Exit Variable. The customer exit is then called up while the authorization check is running. In the return table E_T_RANGE, the technical name of one or more nodes is expected in the LOW fields. In the HIGH field, the InfoObject type of the node is expected.

  • Query Designer: Error-msg: Please enter a valid value for charact 1FORMULA

    Hello BI friends,
    when I open a query in the Query Designer (or change query from BEx Analyzer) I get this message. There is no detail description for the message. After pressing the OK-button in the message I get an u201Demptyu201D Query Designer (to create a new or open a query).
    The query contains some formulas, I know. I have checked the query by starting it via RSRT and debugging. There is only a warning (exception contains a non-numeric value).
    But how can I check the formulas, exceptions or something else if the Query Designer doesnu2019t show the query definition?
    Thanks in advance!

    Hello Karen,
    thanks for your answer.
    Unfortunately I didn't mention yet that we have BI 7.0, but I'm using a 3.x query and 3.x QD. The query has not been transfered to 7.0 level (I hope it, since other colleagues work in the system too). How can I check the level (3.x / 7.0) of the query?
    I have checked the table RSZRANGE, but I didn't find any row for the char. 1FORMULA, I have checked the fields IOBJNM, FACIOBJNM and ATTRINM. I also didn't find a row for RSRREPDIR-COMPUID = RSZRANGE-ELTUID. Did I search in a wrong way?
    I have also checked the program COMPONENT_RESTORE, but I didn't start it for the IProv, comp type = REP and the special query, because I'm not sure what I'm doing there exactly (the program has no documentation).
    Is it still the same way as you have described under these conditions?
    Best wishes
    Britta

  • SAP BI Query 'too large'

    Hi,
    I have a problem with creating a special query in Query Designer. The query has 2 structures, one structure has 100 selections, the second structure has 132 selections. This query is to show 10 years of plan data per period and a detailed account structure. The customer is not willing to reduce the number of rows.
    When I try to check the query or execute the query, I get an error message:
    Query is too large. Query contains 8192 differing selection cells. However, only 8191 selection cells can be processed in a query.
    In fact the query has about 13000 selection cells!
    I can not set up the query in a different way by using a drilldown by attribute period or something similar as the query should show actuals to a certain period in a certain year and from that period on the rest of the ten years should show plan data for an entered plan version. The row structure should not show all accounts and nodes of a hierarchy but only certain nodes. Therefore I can not use a hierarchy here.
    Please could you tell me if there is a way to exceed the limit of     '8192 selection cells'            in a query ?
    many thanks for your help in advance
    Arndt Fritzsche-Marx

    Hi Arndt,
    have never had this problem before. However you can customize the amount of cells in a query yourself. Have you tried editing this number (as explained below), perhaps it helps?? For I do not have access to a BI 7.0 right now I can not check if there are more settings which can be customized.
    You can customize the maximum of rows which can be displayed in web. This setting can be customized as follows in Bex Web Analyzer for the query (execute your query from Query Designer and it will ope in Bex Web Analyzer):
    1. Settings --> Data Provider
    2. Size Restriction for Result Sets
    3. Set the setting to "Custom-Defined No. of Cells" and enter your required "Number of cells"
    However be aware that the display of such a big amount of rows has a great impact on the performance of the query.
    Brgds,
    Marcel

  • Very basic question Oracle spatial query

    Hi All,
    Iam a newbie to oracle spatial.
    How can i verify that oracle spatial is installed in my database.
    My database is version is 10.2.0.2.0
    Is there any special query i can execute to test oracle spatial is working properly / installed properly.
    All the finctionality oracle spatial is working properly
    Thanks in advance.
    baskar k

    Spatial     VALID     10.2.0.2.0
    I got this message on executing this query
    +++++++++++++++++++++++++++++++
    SELECT comp_name, status, substr(version,1,10) as version
    from dba_server_registry
    where comp_name = 'Spatial';
    ++++++++++++++++++++++++++++++++

  • Cash Management

    Hello All,
    Would appreciate guidance wrt implementation of Cash Management.
    We would be using LSMW for update our Master data with the Planning Groups / levels.
    However, not aware of the Cash Management Implementation Tool and it's associated problems.
    Our understanding of FDFD is (execute the following):
    - Activate Company Code,
    - Data setup - We don't intend using any of those expect FI-GL, FI-AR & FI-AP
    - Data Reconciliation - do we need this ? What parameters; only main Bank accounts?
    - Data Correction - do we need this ? when, only if there are errors
    - Customising - ok
    - Cust / Vend Data - not using this program, any impact?
    The above is being implemented in ECC 6.environment (with FI being used). A heads up on the above would be highly appreciated, Thanking you in anticipation,
    Regards, Raj

    Hi,
    Please go through the following documentation:
    Report for Dynpro: SAPMFFD1
    Description
        Transaction FDFD was developed mainly as a tool to support
        implementation of the cash management and forecast (CM&F). You can
        activate the CM&F update for company codes; table settings are checked
        as you do so. The planning groups needed for the CM&F updates can be
        entered in vendor and customer master records, making partial/complete
        reconstruction of the totals records easier.
        The program consiss of five subareas which can be reached by means of
        status buttons: 1. Activate company code
                        2. Vendor/customer data
                        3. Data setup
                        4. Data reconciliation
                        5. Data correction
    1.) Activate company code
      When you activate a company code for CM&F, this makes it possible to
      update planning data in money transactions relevant to planning. There
      is a further indicator for the update from each of MM and SD which you
      must set if you want the data from those areas to be passed to CM&F.
      When you activate, all the table settings are check and, where
      necessary, carried out.
    2.) Vendor/customer data
      You can use this function to include planning groups in the vendor/
      customer master records. These planning groups are a necessary criterion
      for recording open items in CM&F.
      The lines in the table represent selection criteria for the various
      groups. The logic used is as follows:
      The priorities merely assign rankings. Priority 1 is the highest. The
      system checks this criterion first. If the vendor/customer satisfies
      this criterion, the group for this record is entered into the master
      record.
      Example :
    Prio. Ctry Frm pymt trm To pymt term Dunn. Pymt mtd       Group        Pymt hist.
       1    US    ZB01              ZB05       0001    U             E1             X
       2    US                                                                       E2
       3                                                                                 OTHER
    Vendors/customers who satisfy the criteria in line 1 are assigned
    planning group E1 and the flag for recording the payment history is set.
    All other customers in the US receive group 2; foreign customers are
    assigned group "OTHER":
    To ensure that every master record is assigned a planning group, you
    should always specify at least one structure (with lowest priority)
    which a vendor/customer fits if no other is suitable.
    You can use the "Check" button to determine the number of master records
    to which no group has yet been assigned.
    Use the menu option "Download/upload" menu option to store the selection
    criteria locally and import them again later.
    ) Data Setup
    In data setup, you can copy documents and open items, along with plan
    records and account balances, already in the system into CM&F.
    Here, you can stipulate whether the data setup should cover the data
    from SD and MM, along with agency business or data from Treasury
    Management.
    You run the transfer programs as background jobs, for which you can
    enter a scheduled date and time. We recommend you schedule the job to
    run at night because postings made during the data setup may lead to
    data inconsistencies in CM&F.
    Note that the first step in the data setup deletes all the planning
    data.
    In the case of data from manual planning (plan items, payment advice
    notes), the system generates a special query because this data cannot be
    retrieved once deleted. If you want to retain this data, answer "No" to
    the query.
    ) Data Reconciliation
    A program is available to level the CM&F data which you can schedule
    from here as a batch job. For more information, see the program
    documentation.
    ) Data Correction
    If a data inconsistency occures between CM&F and the actual data, you
    can use this option to avoid having to reconstruct all the data. The
    reconstruction can be limited, depending on where the inconsistency
    originated. For more information, see the program documentation.
    If useful, assign points.
    Thanks

  • Getting subreport (tab) of a Webi report

    Hi all,
    I'm looking for a way (with Web Services SDK or/and with Business Objects Enterprise SDK) to refresh a tab (subreport) of a Webi report and to download it.
    I'm knowing how to refresh and download a webi report already but I do not find a way to only get a subreport :s Using DocumentInformation or other? A special query?

    So we loose a feature by updating the BO from 3.1 to 4.0?
    Here is the way we use today with the 3.1 (but who will be obsolete with the API 4.0 because reportEngine becomes obsolete) :
    ViewSupport oViewSupport = new ViewSupport();
    setOutputType(oViewSupport, outputType);
    RetrieveBinaryView oRetrieveBinaryView = new RetrieveBinaryView();
    oViewSupport.setViewType(ViewType.BINARY);
    NavigateToPath getRep = null;
    oViewSupport.setViewMode(ViewModeType.REPORT);
    getRep = new NavigateToPath();
    getRep.setPath(tab);
    oRetrieveBinaryView.setViewSupport(oViewSupport);
    oRetrieveData.setRetrieveView(oRetrieveBinaryView);
    DocumentInformation oDocinfo = oReportEngine.getDocumentInformation(repID, null, oActions, getRep, oRetrieveData);

  • Transfer to a new computer with music being stored on hard disc

    Hope someone is around to help me with my special query. I have bought a new laptop (Windows Vista) on which I want to admin complete libriary, playlists, new purchases, various ipods etc. as of now. Since the old laptop is a Windows2000 machine with limited harddisc space I already stored all my music and videos (6000 items) on an external harddisc. How do I transfer all of my existing itunes music setup to that new environment? Many thanks for any pragmatic help as I can find a way to get it done! It's highly appreciated.

    Hope someone is around to help me with my special query. I have bought a new laptop (Windows Vista) on which I want to admin complete libriary, playlists, new purchases, various ipods etc. as of now. Since the old laptop is a Windows2000 machine with limited harddisc space I already stored all my music and videos (6000 items) on an external harddisc. How do I transfer all of my existing itunes music setup to that new environment? Many thanks for any pragmatic help as I can find a way to get it done! It's highly appreciated.

  • Reconnecting files moved to same path on different volume

    I have Photoshop Elements 10 running on Windows Vista. Most of my photos were stored on a network drive (\\mybookworld) which was mapped as drive X:\ . Recently I upgraded my network storage, mapped drive X:\ to the new drive (\\mybooklive), and disposed of the old drive. A quick check suggested that all photos were found OK.
    However, it would appear that I have not been as clever as I thought. I have now noticed that a number of the photos in my Photoshop catalog have pathnames beginning with \\mybookworld, rather than X:\. This probably arose because the drive mapping occasionally disappeared, and I had to access the drive via its network path.
    I can reconnect the disconnected photos individually, but the Reconnect dialog does not remember the location of the previous successful reconnect, meaning that I have to manually navigate to X:\ each time. There are too many disconnected files for it to be feasible to do this manually.
    Is there a way to globally replace the string \\mybookworld with X:\ in my catalog? Would upgrading to PSE 11 make this task easier?
    Thanks in advance for any assistance you can render.
    Cheers,
    Tim.

    tim.pattison wrote:.Is there a way to globally replace the string \\mybookworld with X:\ in my catalog? Would upgrading to PSE 11 make this task easier?
    Tim.
    The only global way to replace the string would be to edit the sqlite database (catalog.pse10db) with an sql management software and a special query. If you are ready to try this route, there have been details posts about the process, with queries devised by Photodrawken in particular.
    http://forums.adobe.com/thread/1052041
    In my tests, PSE11 is smarter in remembering the path for the search. I would begin by installing the trial version of PSE11 and convert the catalog. For the conversion it does not matter if you have missing files. Then try the PSE11 reconnect version and see if that works better for you.

  • SOAP error message

    Hi everybody,
    I am facing a problem I am a little overstrained with. I made a web service for read only access of sales order data. After some struggle with the authorization, I now get a SOAP error message as response.
    <CX_SOAP_CORE>
    <E_LOCATION>
      <CLASS>CL_SRT_WSP_RT_CONFIG</CLASS>
      <METHOD>DETERMINE_OPERATION_NAME</METHOD>
      <ID>1</ID>
    </E_LOCATION>
    <E_TEXT>&lt;no error message available>: ("Message "SalesOrderViewNameReadByIDQuery_sync{http://sap.com/xi/SAPGlobal20/Global}" nicht unterstützt (Interface: "ZZBY002657_SALESORDER" Binding-Schl.: "0000000000011EE0B69046BD753F85D3")")</E_TEXT>
    <E_ID>1033</E_ID>
    <E_FAULT_LOCATION>1</E_FAULT_LOCATION>
    <E_AREA>OTHERS</E_AREA>
    <E_HOST>0</E_HOST>
    <E_PROCESS_CONTROL></E_PROCESS_CONTROL>
    </CX_SOAP_CORE>
    I am not sure if the sales order Interface in general is not supported yet or just a missing query. I built the web service via wizard so in my opinion I donu2019t have to create a special query. Well, I hope so.
    If somebody  can figure out the reason of the error. Please inform me.
    Best Regards
    Jochen

    Hi,
    so  here is a part of my WSDL:
    Link: [https://gist.github.com/ea93c556a769639faaa9]
    And the request:
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
       <soap:Header/>
       <soap:Body>
          <glob:SalesOrderViewNameReadByIDQuery_sync>
             <SalesOrder>
                <ID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">1101</ID>
             </SalesOrder>
          </glob:SalesOrderViewNameReadByIDQuery_sync>
       </soap:Body>
    </soap:Envelope>
    Thanks a lot. Best regards,
    Jochen
    Edited by: JochenS on Oct 5, 2011 12:56 PM

  • OAS 4.X Security Alert

    Date: Wed, 15 Mar 2000 00:21:04 -0000
    From: Cerberus Security Team <[email protected] <mailto:[email protected]>>
    Subject: Oracle Web Listener 4.0.x
    Cerberus Information Security Advisory (CISADV000315) http://www.cerberus-infosec.co.uk/advisories.shtml
    Released : 15th March 2000
    Name : Oracle
    Affected Systems : Oracle Web Listener 4.0.x on Windows NT
    Issue : Attackers can run arbitrary commands on the web
    server
    Description
    The Cerberus Security Team has discovered a number of issues with Oracle's Web Listener, part of the Oracle Application Server, that can allow a remote attacker to run arbitrary commands on the web server
    Details
    Part of the problem is caused by default settings after OAS has been installed. The "ows-bin" virtual directory on an Oracle Web Listener is the equivalent of the "cgi-bin" on other web servers and by default this is set to C:\orant\ows\4.0\bin - this directory not only contains a number of batch files, DLLs and executables but also the binary image file for the Listener itself. Even if this default setting has been changed however you may still be at risk if you have batch files in the new "ows-bin" directory.
    Arbitrary Command Execution
    The Oracle Web Listener will execute batch files as CGI scripts and by making a request to a batch file that requires one or more arguments it is possible to execute any command the attacker wants by building a special query string. For example the following will give a directory listing:
    http://charon/ows-bin/perlidlc.bat?&dir
    It is even possible to use UNC paths so the Listener will connect to the remote machine over NBSession, download the executable and then execute it. By default the Web Listener process runs in security context of SYSTEM so any commands issued by an attacker will run with SYSTEM privileges. Another problem is that the Listener will expand the "*" character so even if the attacker doesn't know the name of a real batch file in the "ows-bin" they can request *.bat?&command
    Executables ***********
    Some of the executables in the default directory allow attackers to kill services, return configuration information and cause other undesirable events to occur.
    Solution: *********
    Due to the severity of this problem Cerberus recommends that the following be actioned immediately.
    If "ows-bin" is the default then using the Oracle Application Server Manager remove the ows-bin virtual directory or point it to a more benign directory. If "ows-bin" is not the default then verfiy that there are no batch files in this directory. A check for this has been added to Cerberus' security scanner, CIS available from their website.
    About Cerberus Information Security, Ltd ********************************
    Cerberus Information Security, Ltd, a UK company, are specialists in penetration testing and other security auditing services. They are the
    developers of CIS (Cerberus' Internet security scanner) available for free from their website: http://www.cerberus-infosec.co.uk
    To ensure that the Cerberus Security Team remains one of the strongest security audit teams available globally they continually research operating system and popular service software vulnerabilites leading to the discovery of "world first" issues. This not only keeps the team sharp but also helps the industry and vendors as a whole ultimately protecting the end consumer. As testimony to their ability and expertise one just has to look at exactly how many major vulnerabilities have been discovered by the Cerberus Security Team - over 40 to date, making them a clear leader of companies offering such security services. Founded in late 1999, by Mark and David Litchfield, Cerberus Information Security, Ltd are located in London, UK but serves customers acros s the World. For more information about Cerberus Information Security, Ltd please visit their website or call on +44(0) 181 661 7405
    Permission is hereby granted to copy or redistribute this advisory but only in its entirety. Copyright (C) 2000 by Cerberus Information Security, Ltd ------------------------------
    null

    It means you need to restart your Application Server.
    In OAS Admin page
    Select the Website node and on the right hand frame select ALL radio button and click on the reload (<<<) button.
    You can also restart the listener or applications node individually.
    raghu

  • Sorting of input variables

    Hello everybody,
    I have still problems with the sorting of input variables.
    I know that it is possible to sort the input variables for the selection screen with the sorting screen (query Properties).
    For a special query I built a currency conversion type. This currency conversion type now contains three new input variables. These input variables are not displayed in the sorting screen for the input variables. I cant influence the sorting of this variables in the selection screen. unfortunately the sorting looks verry confusing. -.-
    If you have any idea how I can solve the sorting problem i would be very thankful. =o)
    Edited by: Katharina Berger on Nov 19, 2008 2:22 PM

    hi Katharina
    I have the same problem and was wondering how you solved it?

  • Question about Chart in WAD ?

    Hi everybody :
    i have designed  a query about data for every year , and each year has some months , but not every year has integrated data  for every month ,it means there have some years only has data less than 12 months.
    then i must prepare a chart relevant to this analysis ,  but i just want every year's overall result data to draw chart ?
    how can i gain the overall result about every year ?
    who can give some tips ?
    tks very much !

    should  i design a special query for this chart ?
    otherwise, have other methods more convenient ?
    kindly you to give me any reply !

  • Database SELECT SYNTAX

    hello
    I have a VI made with DB connectivity toolkit.  On it, I am using a DB tool select data.  I am trying to read a specific data from a table using a SQL query (in condition).  Well, when a using the sentence
    SELECT id FROM SensoresIR1 WHERE id=36151
    labview give me a error:
    Possible reason(s):
    ADO Error: 0x80040E14
    Exception occured in Microsoft OLE DB Provider for ODBC Drivers: [MySQL][ODBC 3.51 Driver][mysqld-5.1.36-log]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT id FROM SensoresIR1 WHERE id=36151' at line 1 in NI_Database_API.lvlib:Conn Execute.vi->NI_Database_API.lvlibB Tools Select Data.vi->interfaz1.vi
    Possible reason(s):ADO Error: 0x80040E14Exception occured in Microsoft OLE DB Provider for ODBC Drivers: [MySQL][ODBC 3.51 Driver][mysqld-5.1.36-log]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT id FROM SensoresIR1 WHERE id=36151' at line 1 in NI_Database_API.lvlib:Conn Execute.vi->NI_Database_API.lvlibB Tools Select Data.vi->interfaz1.vi
    can you help me?
    Carlos Bolvaran
    Vesat Ingenieria
    Solved!
    Go to Solution.

    Don't know what happened to my post, it should have had an additional sentence above 
    If you have just added the data to the table using LabVIEW and want to return the id number in order to create records in a linked table, there are various ways to query (as shown by nomade42k and Mareiusz).
    Assuming that your table is a simple one (not a stored procedure, no triggers or other customization), you can usually use a special query to retreive the IDENTITY 
    SELECT @@IDENTITY
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Condition type missing in Sales order after client copy

    Hi All,
    I am technical person and looking for administration part. I did client copy from my Prod to Dev sytem by using export import method. After doing this I am able to view all sales orders but the condition types in pricing element table are missing in Dev client, but the in same sales order in prod, the contion types are exist.
    My functional consultant saying its because of client copy but as per my knowledge the client copy has special query to copy the content so this could be side effect of the cleint copy.
    Can anybody experienced the same problem before. If yes. please provide me the solution.
    Regards,
    Ramesh.

    Dear Ramesh,
                         I checked the note,as i said certain tables which is copied might not be available in the dev.As staed in the note also they are pointing on the access sequence.Say for example one condition type you copied from PRD will have an *** seq.But the same *** seq will be in a different order in DEV.As this tables and feilds are client independent.So ask your functional consultant to check that.
    As i told you we have faced the same issue but in a different area.Then when i changed the seq it worked.
    Please check and revert.
    Venugopal

Maybe you are looking for