Clarify the queries, please...

1. Explain about Mapping’s (ABAP, Java, XSLT, and Message) merits and demerits? In which situations exactly we will use Java, ABAP and XSLT Mappings?
2. What is Correlation? Where it comes into picture?
3. Is there any Debugging facility available in XI?

HI,
Java Mapping
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fxi%2fxi-desi
gn_configuration%2FFileValidationsinSAPXI-ACaseStudy.pdf
or
FCC https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/99593f86-0601-0010-059d-d2dd39dceaa0
http://www.cafeconleche.org/books/xmljava/chapters/ch09.html
http://www.cafeconleche.org/books/xmljava/chapters/ch06.html
Check these blogs for reference..
/people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
XSLT Mapping
/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
XSLT Mapping with java enhancement
/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
Difference in using java,xslt,message mapping
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
/people/thorsten.nordholmsbirk/blog/2006/08/10/using-jaxp-to-both-parse-and-emit-xml-in-xi-java-mapping-programs
/people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
/people/amol.joshi2/blog/2006/03/10/think-objects-when-creating-java-mappings
XSLT Mapping
/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
XSLT Mapping with java enhancement
/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
ABAp
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
Monitoring for Processed XML messages in ABAP Proxy - /people/krishna.moorthyp/blog/2005/12/23/monitoring-for-processed-xml-messages-in-abap-proxy
monitoring BPm https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
message monitor and troubleshoot -
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2f2a9fa2-0a01-0010-32ac-d281db722b86
Correlation
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
Regards
Chilla..

Similar Messages

  • Please clarify the accounting entries

    Hi all,
    Please clarify the accounting entries.
    At the final stage of production confirmation entry will be
    inventory debit
    change in stock finished goods credit
    then at the time of sales while doing PGI accounting entry will be
    cogs debit
    inventory credit
    This change in stock finished goods is having huge credit balance lying in g/l. 
    how it will be considered in financials.  Is there any setting off for this balance with consumption.
    Regards,
    Deepak

    Hi all,
    Please clarify the accounting entries.
    At the final stage of production confirmation entry will be
    inventory debit
    change in stock finished goods credit
    then at the time of sales while doing PGI accounting entry will be
    cogs debit
    inventory credit
    This change in stock finished goods is having huge credit balance lying in g/l.
    how it will be considered in financials. Is there any setting off for this balance with consumption.
    Regards,
    Deepak

  • Please clarify the following related to IACOR

    Dear Experts,
    Please clarify the following related to IACOR.
    1   For using workflow, IACOR service should be active in ITS? T or F
    2   Is sometimes IACOR activation is required to be done prior to publishing a service u2013 T/F
    Regards,
    Ramakrishna

    Closing this thread

  • Please clarify the following license issue

    Hello
    Please clarify the following license issue
    Oracle 10g se license requirement while using a power 6 P520 machine with 2-core 4.2 GHz processor card,4 memory DIMM slots. Are we entitled for paying for one oracle 10g SE license?
    many thanks in advance

    When you read through that thread, did you see where I linked to and quoted the licensing definitions
    Processor: shall be defined as all processors where the Oracle programs are installed and/or running. Programs licensed on a processor basis may be accessed by your internal users (including agents and contractors) and by your third party users. For the purpose of counting the number of processors which require licensing for a Sun UltraSPARC T1 processor with 4, 6 or 8 cores at 1.0 gigahertz or 8 cores at 1.2 gigahertz for only those servers specified on the Sun Server Table which can be accessed at http://oracle.com/contracts , “n” cores shall be determined by multiplying the total number of cores by a factor of .25. For the purposes of counting the number of processors which require licensing for AMD and Intel multicore chips, “n” cores shall be determined by multiplying the total number of cores by a factor of .50. For the purposes of counting the number of processors which require licensing for all hardware platforms not otherwise specified in this section, a multicore chip with "n" cores shall be determined by multiplying "n" cores by a factor of .75. All cores on all multicore chips for each licensed program for each factor listed below are to be aggregated before multiplying by the appropriate factor and all fractions of a number are to be rounded up to the next whole number. When licensing Oracle programs with Standard Edition One or Standard Edition in the product name, a processor is counted equivalent to a socket.
    It appears that you fall under the "not otherwise specified" category because you're not dealing with an UltraSPARC T1 (multiplier 0.25) or an AMD/ Intel chip (multiplier 0.5) so your multiplier would be 0.75.
    0.75 * 2 cores = 1.5 processors which would have to be rounded up to 2 processors. If you had 4 total cores, you would only need a 3 processor license.
    Justin

  • How to delete the queries in  BW Production which are no longer existing.

    Hi,
    How to  delete the queries in BW production which are no longer existing in DEV.
    1. I tried Using RSZDELETE in Production it is not getting deleted and the below message given.
    Query object 4A7V83T3RB4ABIOKSDJT2HWDL is blocked. Deletion has been cancelled.
    2. I tried creating another query in dev with the same technical name and send a transport with deletion
    it is not working.
    Please advise me on this for any function module or any other method.
    Thanks
    Surya

    Hi,
    If you transported the query from DEV and now you want to delete it, you should open a BEx request (Dev Class under which it was originally transported -- or-- Standard - type) in DEV delete the query and move the transport to Production.
    As far as your error is concerned, usually  when you  can delete a query using the delete option in query designer itself,
    Business Explorer> query-> delete objects , when you press execute the system offers you a list of dependent objects on the query(workbook,views), in case the sysytem is unable to delete them i.e.they being used as a input query for a characteristic variable (replacement path),then system throws this error.You can delete these all depndents under there prescribed roles , fav s & then proceed.
    Hope this will be expedite.
    Thax & regards.
    Vaibhave Sharma

  • How to find out the Queries Generated for a particular ods?

    Hi all,
    There are atleast 10 queries generated for a Particular ODs zyyyyy. I would like to know what are the queries generated for a particular ods.
    I have used the where use list of the ods. But it did not displayed the queries generated for that ods.
    I have looked at the bex query for that ods but cant find any query being generated on that ods??
    Is there any way to find out what are the queries generated for a particular ods?
    thanxs
    haritha

    Hello Haritha,
    Please follow the path.
    Go to RSA1 -> Metadata Repository ->DataStore Objects(ODS) -> Find you DSO(ODS) there and click on that, you will get all the details(Queries, Objects - Char, Key figures, update rules,etc..) related to that particular DSO(ODS), same is the case for Cube as well.
    Please assign points.

  • How to populate the Quering data into Excel sheet in Oracle

    Dear Guys,
    How to populate the Quering data into Excel sheet in oracle.
    Please provide a solution.
    Thanks & Regards,
    Senthil K Kumar

    Hi
    To make Excel sheets from sqlplus, you can use the markup html tag in sqlplus.
    Here's an example.
    Example
    <code>
    SET LINESIZE 4000
    SET VERIFY OFF
    SET FEEDBACK OFF
    SET PAGESIZE 999
    SET MARKUP HTML ON ENTMAP ON SPOOL ON PREFORMAT OFF
    SPOOL c:\test_xls.xls
    SELECT object_type
    , SUBSTR( object_name, 1, 30 ) object
    , created
    , last_ddl_time
    , status
    FROM user_objects
    ORDER BY 1, 2
    SPOOL OFF
    SET MARKUP HTML OFF ENTMAP OFF SPOOL OFF PREFORMAT ON
    SET LINESIZE 2000 VERIFY ON FEEDBACK ON
    </code>

  • Downloading the Queries(SAP QUERY) via Background to Excel sheet

    Hi Abapers,
           Is it possible to download the Queries into an Excel Format via Background onto the Application Server / Presentation Server in the Excel format.
       If Possible, Please provide me the solution.
    Thanks in Advance.

    It is not possible to download Query results to Excel in background. (Where would you put the file name, for starters?) But you might be able to get output in a spool, which can then be saved in a plain text file and then uploaded to Excel.

  • How to maintain order of execution of the Queries in Data Model

    Hi,
    I have 5 queries in the Data Model
    Query_1 will fetch some values based on the selection criteria and inserts values in a table(say Table_1) using a formula column
    The other queries will fetch data from DB using the records in Table_1
    The problem now i am facing is Query_2|Query_3|Query_4|Query_5 is being executed before Query_1
    How can we maintain the order of execution
    Any help will be appreciated
    thanks
    siva

    No there is no join between Q_1 and other queries
    all the queries are individually hanging in the data model
    moreover we cannot have a Master-Detail kinda relasionship in this case
    please give me some suggestions

  • Clarify the excise process in from GR to Sales.

    Please clarify the steps in CIN. When i am receiving goods ie;from capturing in coming excise invoice and then upto sales ie; process taking cenvat cerdit and then paying bal amt through pla a/c. i mean complete cycle of excise.
    Regards,
    Amit Kumar.

    Dear,
    The link will help in configuration of CIN.
    http://wiki.sdn.sap.com/wiki/display/ERPLO/CINConfiguration%28India%29
    http://wiki.sdn.sap.com/wiki/display/ERPLO/CIN+Configuration

  • SSAS -- Having the issues when writing the queries

    Hi All,
    Need help on SSAS Queries .. 
    1. We have a cube with ROLAP Storage and dimension is having the MOLAP Storage.
    We are facing the data discrepancy issues ..  So , we are writing the corresponding sql queries at semantic side to test data .....
    But when we write the queries  . the data is not matcing and we tace teh query , it is issuing the distinct for some of the feilds ... 
    Please help on which basis they are taking the distinct ..
    Thanks,
    Mahesh Alam

    Hi Mahesh,
    Thank you for your question.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Disabling the queries option via RRMX

    Hello Experts,
    I need to disable the queries option which we get when we click on the folders option after executing tcode RRMX.
    This is required in order to restrict the reporting user to execute queries.He should not be able to see this queries option. Can someone please guide me with this,how can I actually implement this restriction.
    Thanks..
    Best Regds,
    Suyog...

    Hello,
    Yes,
    There is an authorization to the transaction RRMX in a role provided to your users.
    Just remove that option of the role (or if all of its contents in the role is only the access to the transaction RRMX remove the all role from the users).
    There you go,
    Diogo.

  • How is the db connection used... and how to use the queries

    dear sir,
    i have to important question.
    i am pasting the code of a jsp file below.... please look in to this...
    in this page.. how is he making a database connection... and in this page
    where are the select statements and queries.... i have tried many times reading
    this ..but i could not find the queries ..not even any one.
    if anyone sees this jsp file also ... he will not be able to see the queries.
    can u please help me .. how to do this type of connection and also how to use queries
    like select insert and delete and update .
    an example will help me out...please help me...
    Ramesh
    the file is below....
    <%@ include file="jtfincl.jsp" %>
    <%@ page language="java" %>
    <%@ page import="oracle.apps.ibu.common.IBUContext" %>
    <%@ page import="oracle.apps.ibu.common.IbuException" %>
    <%@ page import="oracle.apps.ibu.common.Employee" %>
    <%@ page import="oracle.apps.ibu.common.EmployeeInfo" %>
    <%@ page import="oracle.jdbc.driver.*" %>
    <%@ page import="oracle.apps.jtf.aom.transaction.*" %>
    <%@ page import="oracle.apps.jtf.base.resources.*" %>
    <%@ page import="oracle.apps.jtf.base.interfaces.MessageManagerInter"%>
    <%@ page import="oracle.apps.ibu.registration.IbuRegistration" %>
    <%@ page import="oracle.apps.ibu.registration.CustomerVO" %>
    <%@ page import="oracle.apps.ibu.common.IDNamePair" %>
    <%@ page import="oracle.apps.ibu.common.*" %>
    <%@ page import="oracle.apps.ibu.registration.*" %>
    <%@ page import="java.math.BigDecimal" %>
    <jsp:useBean id = "_displayManager"
    class = "oracle.apps.ibu.common.DisplayManager"
    scope = "application" />
    <jsp:useBean id = "ibuPromptManager"
    class = "oracle.apps.ibu.common.PromptManager"
    scope = "application" />
    <%
    String appName= "IBU";
    boolean stateless=true;      // used for jtfsrfp.jsp
    SiteProperty.load();
    String username = SiteProperty.getGuestUsername();
    String password = SiteProperty.getGuestPassword();
    %>
    <%@ include file="jtfsrfp.jsp" %>
    <%
         String forwardURL = null;
         String backURL = null;
    String emailAddress = null;     
         long employeeID = -1;
         String submitType = (String) request.getParameter("submitType");
         IBUContext context = new IBUContext(fwSession);
         String errorKey = "";
         String errorMessage = "";
         String errorStack = "";
         boolean currentStatus = true;
    Object lockx = new Object ();
         OracleConnection conn = null;
    try
         TransactionScope.begin(lockx);
    try
    conn = (OracleConnection)
    TransactionScope.getConnection();
         catch ( Exception e )
    throw new FrameworkException("Error getting connection..");
    if ( conn == null )
    throw new FrameworkException("Error getting connection..");
         String[] textMsgs = new String[3];
         MessageManagerInter msgMgr = Architecture.getMessageManagerInstance();
         textMsgs[0] = msgMgr.getMessage("IBU_RG_CONTRACT24");
         //textMsgs[0] = " is not a valid employee email address.";
         textMsgs[1] = msgMgr.getMessage("IBU_RG_CONTRACT25");
         //textMsgs[1] = " Cannot get the employee id.";
         textMsgs[2] = msgMgr.getMessage("IBU_RG_CONTRACT13");
         //textMsgs[2] = "submitType is null, please check program.";
         if ( (submitType != null) && "LOGIN".equals( submitType ) )
         forwardURL="jtflogin.jsp";
         backURL="jtflogin.jsp";
         else if ( (submitType != null) && "EMPLOYEE_CHECK".equals( submitType ) )
         forwardURL="ibuemplcheck.jsp";
         backURL="ibuemplcheck.jsp";
         else if ( (submitType != null) && "EMPLOYEE_NUMBER_SUBMIT".equals( submitType ) )
         backURL="ibuemplcheck.jsp";
    emailAddress = (String) request.getParameter("emailAddress");     
         pageContext.setAttribute("emailAddress", emailAddress , PageContext.REQUEST_SCOPE);
         employeeID = IbuRegistration.getEmployeeID(conn,emailAddress);
         if (employeeID == -1)
              throw new IbuRegException(emailAddress + "  "+textMsgs[0] + "  " +textMsgs[1]);
         //validate employee
    currentStatus = Employee.isValidate(conn,emailAddress);
    //currentStatus = IbuRegistration.isEmployeeValid(conn,emailAddress);
         if (!currentStatus)
              throw new IbuRegException(emailAddress + "  " + textMsgs[0]);
         EmployeeInfo employee = Employee.findEmployee(conn,employeeID);
         pageContext.setAttribute("employee", employee , PageContext.REQUEST_SCOPE);
         pageContext.setAttribute("employeeIDStr", Long.toString(employeeID) , PageContext.REQUEST_SCOPE);
         forwardURL="ibuemplinput.jsp";
         else
         { // Cancel button was pressed
         throw new IbuRegException(textMsgs[2]);
         /* "ibuccsii.jsp"; */
         catch ( IbuException e )
    TransactionScope.setRollbackOnly();
         errorMessage = e.getMessage();      
         errorStack = IbuRegException.getStack(e);
         pageContext.setAttribute("errorMessage", errorMessage , PageContext.REQUEST_SCOPE);
         pageContext.setAttribute("errorStack", errorStack , PageContext.REQUEST_SCOPE);
         forwardURL = backURL;
         catch (IbuRegException e)
    TransactionScope.setRollbackOnly();
         errorMessage = e.getMessage();      
         errorStack = e.getStack();
         pageContext.setAttribute("errorMessage", errorMessage , PageContext.REQUEST_SCOPE);
         pageContext.setAttribute("errorStack", errorStack , PageContext.REQUEST_SCOPE);
         forwardURL = backURL;
         catch ( Exception e )
    TransactionScope.setRollbackOnly();
         errorMessage = e.getMessage();      
         errorStack = IbuRegException.getStack(e);
         pageContext.setAttribute("errorMessage", errorMessage , PageContext.REQUEST_SCOPE);
         pageContext.setAttribute("errorStack", errorStack , PageContext.REQUEST_SCOPE);
         forwardURL = backURL;
    //throw new FrameworkException( e , "IBU_UNEXPECTED_EXCEPTION");
         finally
    TransactionScope.releaseConnection( conn );
    TransactionScope.end ( lockx );
         if (forwardURL == null)
         forwardURL="jtflogin.jsp";
    %>
         <jsp:forward page= "<%= forwardURL %>" />
    <%@ include file="jtferlp.jsp" %>

    dear sir,
    i have to important question.
    i am pasting the code of a jsp file below.... please look in to this...Note that this is an OCI forum. Since your code is using Oracle's JDBC driver to connect, I would suggest posting in the JDBC forum for more information.
    in this page.. how is he making a database connection...
    try
    conn = (OracleConnection)
    TransactionScope.getConnection();
         catch ( Exception e )
    throw new FrameworkException("Error getting connection..");
    and in this page
    where are the select statements and queries.... There may be queries in the Employee objects or in the include files.
    Justin

  • To determine the Queries which uses Berfore Aggregation

    Hi,
    Is there any best way to determine the Queries which uses Berfore Aggregation properies like any table which has information of all the calculated key figures which uses Before aggregation properties.
    Otherwise how can we determine the same using RSRT.
    Please help.
    Thanks
    Bhanukiran

    Hi,
    Below listed are the tables related to queries. See if you get this information in any one of those...
    RSZELTDIR     Directory of the reporting component elements
    RSZELTTXT     Texts of reporting component elements
    RSZELTXREF     Directory of query element references
    RSRREPDIR     Directory of all reports (Query GENUNIID)
    RSZCOMPDIR     Directory of reporting components
    RSZRANGE     Selection specification for an element
    RSZSELECT     Selection properties of an element
    RSZELTDIR     Directory of the reporting component elements
    RSZCOMPIC     Assignment reuseable component <-> InfoCube
    RSZELTPRIO     Priorities with element collisions
    RSZELTPROP     Element properties (settings)
    RSZELTATTR     Attribute selection per dimension element
    RSZCALC     Definition of a formula element
    RSZCEL     Query Designer: Directory of Cells
    RSZGLOBV     Global Variables in Reporting
    Regards,
    Yogesh

  • Want to differentiate the queries

    I have the Master Table
    PARTS
    TotalSize ----- TotalPrice
    147          12.5
    In the Query,
    I will get the details of the Subcategory
    Id -- 12
    Size - 295 [147+148]
    price -- 10.3
    Iwant to check the TotalSize and TotalPrice from the Master Table and need to show it in the different
    parts.....For example
    PART-1
    147
    PART-2
    147
    PART-3
    1
    How can do this please help..............

    <
    TABLE-1 [Master Table]
    ID -- TOTALSIZE -- TOTALSUBCOUNT
    1 -- 1000 -- 356487
    TABLE-2
    ID--USERID--NAME--DESC
    1--1--TEST--TEST
    2--1--DUMMY--DUMMY
    3--2--TRY--TRY
    TABLE-3
    ID--TABLE_2_ID--SIZE
    1--1--252]
    2--1--265]--- TOTAL SIZE - 1082 Comparing it with the Master Table TOTALSIZE - 1000
    3--1--565]
    4--2--225
    Now i want to get the COUNT(TABLE_2_ID)FROM TABLE-3,SUM(SIZE) WITH AN ADDITIONAL FIELD AS PARTS...
    For Example i want to list as follows
    NAME --- COUNT -- PARTS
    TEST--3-- PART-1 -- THE CAPACITY TO HOLD TOTALSIZE IS 1000
    TEST--3-- PART-2 -- THE REMAINING 82 WILL BE HOLD IN THE NEXT PART,PARTS-2
    This what i exactly need,think u all will understand i need...
    Help me in this
    >
    /*********** Response from Nicolas ***********/
    <
    Re: Want to differentiate the queries
    Posted: Jan 9, 2007 1:35 AM in response to: Rob van Wijk Reply
    Rob,
    That doesn't work in case of the sum of isize (table_3) is more than 2000 :
    SQL> select name 2 , count_id as "COUNT" 3 , 'PART' || g as "PART" 4 , case last_value(g) over (partition by id) 5 when 1 then sum_size 6 when 2 then case g when 1 then 1000 else sum_size - 1000 end 7 end as "PARTSIZE" 8 from ( select table_1.id 9 , table_1.totalsize 10 , table_2.name 11 , case when sum(isize) over (partition by table_1.id order by table_3.id) <= 1000 then 1 else 2 end g 12 , sum(isize) over (partition by table_1.id) sum_size 13 , count(table_1.id) over (partition by table_1.id) count_id 14 from table_1 15 , table_2 16 , table_3 17 where table_3.table_2_id = table_2.id 18 and table_2.id = table_1.id 19 ) 20 group by g 21 , id 22 , name 23 , count_id 24 , sum_size 25 /NAME COUNT PART PARTSIZE----- ---------- -------------------------------------------- ----------TEST 5 PART1 1000TEST 5 PART2 1842SQL>
    Maybe there is a better way, but here a try :
    SQL> drop table tbl1;Table dropped.SQL> create table tbl1 as 2 select 1 id, 1000 totalsize, 356487 totalsubcount from dual union all 3 select 2, 1000, 0 from dual ;Table created.SQL> SQL> drop table tbl2 ;Table dropped.SQL> create table tbl2 as 2 select 1 id, 1 userid, 'TEST' name, 'TEST' cdesc from dual union all 3 select 2, 1, 'DUMMY', 'DUMMY' from dual union all 4 select 3, 2, 'TRY', 'TRY' from dual;Table created.SQL> SQL> drop table tbl3;Table dropped.SQL> create table tbl3 as 2 select 1 id, 1 tbl2_id, 252 csize from dual union all 3 select 2, 1, 265 from dual union all 4 select 3, 1, 1665 from dual union all 5 select 4, 2, 1000 from dual union all 6 select 5, 3, 0 from dual;Table created.SQL> SQL> select distinct part, totalsize, name, tbl2_id, csize 2 from (select level lv,'PART'||level as part, totalsize, name, tbl2_id, 3 case when csize-(level*totalsize) < 0 then csize-((level-1)*totalsize) 4 else totalsize end csize 5 from (select a.totalsize, b.name, c.tbl2_id, sum(c.csize) csize 6 from tbl1 a, tbl2 b, tbl3 c 7 where c.tbl2_id=b.id 8 and b.userid=a.id 9 group by a.totalsize, b.name, c.tbl2_id) 10 connect by level <= ceil(csize/totalsize)) 11 order by 3,1 12 /PART TOTALSIZE NAME TBL2_ID CSIZE-------------------------------------------- ---------- ----- ---------- ----------PART1 1000 DUMMY 2 1000PART1 1000 TEST 1 1000PART2 1000 TEST 1 1000PART3 1000 TEST 1 182PART1 1000 TRY 3 0SQL>
    Nicolas.
    >
    <
    Nicolas,
    Just now noticed clearly that
    SQL> select distinct part, totalsize, name, tbl2_id, csize 2 from (select level lv,'PART'||level as part, totalsize, name, tbl2_id, 3 case when csize-(level*totalsize) < 0 then csize-((level-1)*totalsize) 4 else totalsize end csize 5 from (select a.totalsize, b.name, c.tbl2_id, sum(c.csize) csize 6 from tbl1 a, tbl2 b, tbl3 c 7 where c.tbl2_id=b.id 8 and b.userid=a.id 9 group by a.totalsize, b.name, c.tbl2_id) 10 connect by level <= ceil(csize/totalsize)) 11 order by 3,1
    the above query is not working for me
    >
    Please help me in this.....
    I once again tell u clearly what i need.
    I need the csize,totalsubcount,COUNT(table_2.id),PARTS
    The relationship between the tables are
    TABLE_1 is not related to other two tables........ [just i want to check the totalsize and totalsubcount from that table]
    TABLE_2 [table2_id PK]
    TABLE_3 [TABLE_3.table2_id reference to the TABLE_2(table_2_id)]
    Please help me in this.....
    Thanks in Advance
    Symon

Maybe you are looking for

  • Too Easy to delete a book's content in Book Module?

    Is anyone else finding it too easy to delete -- by accident -- the content or layouts of a book you have been working on in the Book Module?  It has happened to me once and I am now very unsure of how to keep it from happening again.  I have begun ma

  • Creat inspection setup entries in quality View using BAPI_MATERIAL_SAVEDAT

    Dear all, I am using BAPI_MATERIAL_SAVEDATA to extend Material from one plant to another. I am able to extend Quality view to another plant But unable to create inspection setup entries for the extended view. Please help. Regards, Gaurav sood

  • Why can I no longer scroll with the mouse when using Pages?

    A few days ago, I realized that I am unable to scroll within a Pages document with the mouse.  The scroll bar is not there.  The scroll feature works fine, and after trying to figure this out myself with no success, I thought I'd ask here.  I have Pa

  • Managed server loading demo trust when using admin port

    I am trying to get the administration port to work in a weblogic 9.2 domain, but for some reason, the managed server is loading the demo trust store (Demotrust.jks) and java cacerts instead of the trust store configured in config.xml. Since the admin

  • Routing a request from the iPlanet proxy to a jsp in WL directly.

    I have a requirement of passing across a request (like http://myserver.com/xyz/abc) thru an iPlanet proxy to a jsp in WL. i tried the following setup in obj.conf: <Object name="body" ppath="*/xyz/*"> Service fn=wl-proxy WebLogicHost=hostName\ WebLogi