BW query relevant to MC.1 in R/3 MM

Hi Guys,
Can anyone tell me if there is any BW standard query which will show exact output as in MC.1 report in MM at R/3 side?
If no then how can we do it?
Any help rewarded.
Regards,
vaibhav.

Hi,
When you base your build on the datasources used by you, it should be sufficient to build any inventory query on it.
If a basic inventory query like the MC.1 is not being built on it, then you have a problem in the build.
I am attaching a link for how the inventory build should work for your scenario.  check if these things have been sone, in terms of marker update and compression and your build should give you the desired output.
[inventory mgmt scenario|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328]
Alternatively,  I have already suggested S031 and S032 for creating a fresh datasource, which can give you the desired snapshot.  You may evaluate this.
Cheers

Similar Messages

  • Steps involved in Query execution

    Can anyone please suggest the exact steps that take place in a query execution. I know on the broad level. But I want to know to basic level. For example we would like to know all the steps that an OLAP processor does to get the data, process it and then send it for display.
    Also, say the total time taken for the query execution is xx msec, we would like to know the complete break up of this time for all the activities that are completed from the time of query execution till the display of result.
    Thanks

    Hi Suchitra,
    Please go through these links:
    /people/vikash.agrawal/blog/2006/04/26/in-what-147sequence148-olap-processor-look-for-query-relevant-data
    /people/prakash.darji/blog/2006/01/26/query-optimization
    Assign points if helpful
    Thanks,
    Amith

  • Query read mode-Cache mode

    Hi,
    Can u explain me the functionalities of the options:
    A-Query to read all data at once
    X-Query to read data during navigation
    H-Query to read when u navigate or expand hierarchies
    I am not clear of the diff. bet. the X,H options....
    <b>Cache Mode:</b>
    0-Cache is Inactive
    1-Main memory cache without swapping
    2-Main memory cache without swapping
    3-Main memory cache with swapping
    4-Persistent cache for each application server
    5-Persistent cache across each application server
    <b>Optimization Mode:</b>
    0-Query will be optimised after generation
    1-Query optimization with individual periods in days
    9-Query optimization inactive
    Can u explain these functionalities in detail...
    Max.points will be assigned

    HI,
    PLease check this..
    1.      Query to be read when you navigate or expand hierarchies (H)
    The amount of data transferred from the database to the OLAP processor is the smallest in this mode. However, it has the highest number of read processes.
    In the following mode Query to read data during navigation, the data for the fully expanded hierarchy is requested for a hierarchy drilldown. In the Query to be read when you navigate or expand hierarchies mode, the data across the hierarchy is aggregated and transferred to the OLAP processor on the hierarchy level that is the lowest in the start list. When expanding a hierarchy node, the children of this node are then read.
    You can improve the performance of queries with large presentation hierarchies by creating aggregates on a middle hierarchy level that is greater or the same as the hierarchy start level.
           2.      Query to read data during navigation (X)
    The OLAP processor only requests data that is needed for each navigational status of the query in the Business Explorer. The data that is needed is read for each step in the navigation.
    In contrast to the Query to be read when you navigate or expand hierarchies mode, presentation hierarchies are always imported completely on a leaf level here.
    The OLAP processor can read data from the main memory when the nodes are expanded.
    When accessing the database, the best aggregate table is used and, if possible, data is aggregated in the database.
           3.      Query to read all data at once (A)
    There is only one read process in this mode. When you execute the query in the Business Explorer, all data in the main memory area of the OLAP processor that is needed for all possible navigational steps of this query is read. During navigation, all new navigational states are aggregated and calculated from the data from the main memory.
    The read mode Query to be read when you navigate or expand hierarchies significantly improves performance in almost all cases compared to the other two modes. The reason for this is that only the data the user wants to see is requested in this mode.
    Compared to the Query to be read when you navigate or expand hierarchies, the setting Query to read data during navigation only effects performance for queries with presentation hierarchies.
    Unlike the other two modes, the setting Query to Read All Data At Once also has an effect on performance for queries with free characteristics. The OLAP processor aggregates on the corresponding query view. For this reason, the aggregation concept, that is, working with pre-aggregated data, is least supported in the Query to read all data at once mode.
    We recommend you choose the mode Query to be read when you navigate or expand hierarchies.
    Only choose a different read mode in exceptional circumstances. The read mode Query to read all data at once may be of use in the following cases:
          The InfoProvider does not support selection. The OLAP processor reads significantly more data than the query needs anyway.
             1.      Cache is Inactive (0)
    The cross-transactional cache is deactivated.
    The following modes are possible for the active cache: The cross-transactional cache is activated.
           2.      Main Memory Cache Without Swapping (1)
    The cache data is stored in the main memory. When the cache memory has been exhausted, excess data is removed according to the LRU algorithm, i.e. deleted from the memory. When a query is subsequently requested, the result is read from the InfoProvider once again.
           3.      Main Memory Cache with Swapping (2)
    The cache data is stored in the main memory. When the caching memory is used up, the excess data is written to a background and can be loaded back into the cache memory when making another request.
    After query-relevant data has been loaded again, the background store can no longer be used.
           4.      Persistent Cache per Application Server (3)
    The cache data is stored persistently as a database table or as a file in a directory attainable from the application server. We recommend that you choose a directory that is proximate to the application server.
    When you save the cache data in a database table this puts a strain on the database. However, it is also then quicker to access uncached data in the database.  In comparison to storing data in, for example, a star schema (see InfoCube), fewer tables are read and fewer indexes are accessed.
           5.      Cross-Application Server Persistent Cache (4)
    The cache data is stored persistently as a cross-application server database table or file in a file system in the network, accessed from the application server.  In this mode there is no displacement of data and no restriction on memory size. More space is required but this method also saves time.
    ¡        Database table: Strain is put on the database instance for the table.
    ¡        File: Strain is put on the network node operating system for the file.
    ¡        In addition, the application server that calculates the data and network communication has to be taken into account with both storage types. 
    If you do not make any other settings the OLAP processor determines the optimal initial size of the table SP, that is the memory structure in which data is held and processed in the OLAP processor (see Cache Structure). This is done after the first execution and again after a period of 31 days since the last optimization. It automatically generates a report afterwards.  
    In the Query Properties dialog box in the Query Monitor you can implement, modify of deactivate this function. Choose one of the following options:
    ·        Query is optimized after generation (0)
    ·        Query optimization with individual periods in days (1) Here you can determine the optimization period yourself.
    ·        Query optimization inactive (9)
    Hope this helps..
    Bye,
    Shashikanth.

  • How to read Oracle Package file in Java?

    Hello Expert!
    I have a package file which is generating XML blocks from the mapped information of another database. What I need to do:
    1) Run the package file from JAVA (or JSP)
    2) Catch the exceptions if have any in the scripts.
    3) Store the generated XML blocks into one CLOB object.
    Could you please advice me how to proceed?
    Affirmations:
    a) Will JDBC support?
    b) How to catch exception of package file in Java?
    PS: I am NOT sure whether my query relevant to this sections or not. If NOT, please direct me to the correct sections of Oracle Forums.
    With Thanks!
    Newkid

    836719 wrote:
    ok i explain what i want to do maybe u can help me more,
    i want to read an arpa file and search it to find for example a word.so u think which method that u mentioned above is beter???
    It will be pleasure if u have any tip that can help me.1. Learn the basics of programming as well as how to logically construct and deconstruct a problem domain.
    2. Learn the basics of programming java.
    3. Learn about java.io.*
    4. Learn about java swing
    5. Find documentation that describes the format of the ARPA file.
    6. Read the documentation and understand it.
    7. Find a source for ARPA files (if this is online then there is more java to learn as well.)
    8. Use 1,2 and 3 to write java code that consumes the ARPA file.
    9. Use 4 to ask the user for a word.
    10. Use 1 and 2 to write code that 'searches' what you read in 8.

  • Comparing two cursors

    Hai friends,
    I have two cursors.
    one cursor have minus query(gl liability records minus ap liability records) -->4680 records
    another cursor have writeoff records which are only in gl.--> 254 records
    Now i want to find liability records related to writeoff records.
    To acheive this.
    i compared those two cursors by using cursor for loop
    i got the result ..but it took 2 hours time.so could you please tell me how i overcome this problem.
    Is there any option rather than cursor to compare those two sets of records.
    please let me know how i improve performance in that query..

    You will need to provide a lot more information than that, like table structures (at least for the relevant fields), size of the data etc. Things that can answer the questions you are going to get like:
    What tells you that a liablility record is related to a writeoff record?
    Is the gl_liability minus ap_liability query relevant? That is, does it identify liability records that may be realted to writeoff records?
    Are these three different tables you are looking at, or one table with different record types?
    John

  • Locate Materials with Future Planned Price

    Hi All,
    I have a user who did costing run in between of the month to change the Standard price from next month and Marked the prices for next month but forgot to note down the Material numbers.
    Now, the problem is in the month of July'14 when CK24 is executed for release no materials are coming up. It is possible that the Costing entered is for the month of June'14.
    Is there any report by which we can locate materials which Future Planned price and period and Current Planned Price and Period.
    Regards

    Hi,
    It is  very simple,
    You will get all price results in the table MBEW:
    For your query relevant field is : ZPLPR.
    Go to SE16: MBEW table and provide the input of your plant and execute.
    Check whether there are any entries in ZPLPR,
    If you find entries in that filed means materials marked for the estimate but it was yet to be released.
    you will get the total list of materials.
    Please find the relevant tables and fields to get the prices in the material master:
    Let me know if you find any difficulty to get the values in the table
    Regards,
    Pavan Kumar Arvapally

  • Reg Aggregates

    Hi,
    What are aggregates?
    What is the process behind activation and filling of aggregates?
    Thanks,
    Regards,
    Jon.

    Dear Fresher,
    Check this Link for more details...
    /community [original link is broken] .
    aggregates improve the query performance by fetching the data faster.
    The Sequence in which OLAP Processor looks for Query Relevant data is as follows
    1. First checks data availability in Local Cache (Which is session dependent, stores in Memory & available in All SAP BW Releases).
    2. If Local Cache is NOT available then will check Global OLAP Cache (OLAP Cache buffers Query result set data in order to improve performance of subsequent query executions. It is session/user independent, stores in memory/files/tables & is available from SAP BW 3.X).
    3. If Global OLAP Cache is NOT available then will look for relevant Aggregates (Aggregates are subsets of fact table data where summary data is stored as part of new, transparent InfoCubes. Aggregates have the same structure as an InfoCube, with transparent database tables surrounded by the dimensions tables).
    4. If No relevant Aggregates are found then it will look into database through InfoProvider.
    Just have a look at these documents reg. aggregates
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e55aaca6-0301-0010-928e-af44060bda32
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cbd2d390-0201-0010-8eab-a8a9269a23c2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2299d290-0201-0010-1a8e-880c6d3d0ade
    Hope this helps....
    Thanks,
    Krishna

  • While adding KONA table in query(sq02), relevant billing doc not displayed

    Hi experts,
    When I am changing an existing query through sq02( I am joining table KONA with already existing tables VBRK & VBRP and adding fields , Agreement number & Validity date from & Valid till) , after execution , query displays 3 additional columns of Agreement number, Validity from & Validiy to, but it ceases to display records of those documents in which rebate is accrued. It only displays those documents where rebate basis is present in condition records of billing item data, but zero rebate is accrued.
    Any suggestion are highly welcome.
    Best Regards
    Vimal

    Hi Vimal,
    Unfortunately, it is not possible to find out the list of invoices which have accrued to a rebate agreement. This is true not just for rebate for also for credit management as an example. If you want the list of sales orders which have resulted in the open order value in FD 32 for the credit customer, it is not possible.
    This is true for every other functionality which uses the Infostructure update instead of normal table update. It is because infostructure update is always cumulative and table update is always record specific. When infostructure update gets a new value, the old value is erased. Hence it is not possible to find out the entire list of entries which contributed to the total value and we can only see the total value.
    To sum it up, it is not possible to find out all the invoices which have resulted in the accrual value of a particular rebate agreement. Also it is not possible to find out all the sales orders, which resulted in the open order value of a credit customer in his credit master data in FD32. If this has to be done, it has to be done manually by using a complex logic.
    If you want to find out the invoices relevant for rebate agreement, you need to find out all the invoices created within a timespan, find out all the partners, material etc. Then find out all agreements relevant for this period (or involving this period) involving the customer (payer/sold to party) and the material. Then match both the entries to get what you want. That is lot of work and even after that, accuracy of data is in question.

  • Query to find relevant Table name

    Hi i need a SQL query which should return me relevant table names. i.e. if there is table 'EMP' , then query should give table names with below result:
    EMP
    EMP_1
    EMP_2
    EMP_3
    EMP_4
    i.e. All tables which is starting with EMP (No Hardcoding of table, It should be dynamic way).I know we can achieve through SELECT * FROM USER_OBJECTS WHERE OBJECT_NAME LIKE 'EMP%'.
    But here object_name i will passing dynamically.
    Actually my main purpose is to create backup tables i.e. EMP is main table and EMP_1,EMP_2,EMP_3 .. EMP_100 is backup table.Now whenever i am making the any changes in EMP table, then i should take the backup of exiting EMP table and backup data should go to EMP_101 (as last table with sequence is EMP_100).
    Any idea in SQL , PL/SQL i would appreciate .
    Thanks

    here is a way:
    set serveroutput on
    declare
    tab_name varchar2(30) := 'EMP';
    new_tab_name varchar2(30);
    begin
      for i in (
            select * from (
                select t.*,
                        row_number() over(order by t.table_name desc) as row_nr ,
                        min(table_name) over () as originiall_table
                        from all_tables t
                where table_name like tab_name||'%'
            ) where row_nr = 1
      ) loop
        new_tab_name := substr(i.table_name, 1, instr(i.table_name, '_') - 1 )
                        ||'_'
                        || (TO_NUMBER(substr(i.table_name, instr(i.table_name, '_') + 1 )) + 1 ) ;
        execute immediate 'create table '||new_tab_name||' as select * from '||i.originiall_table;   
      end loop;
    end;but why do you want to keep too many copies of tables in db?
    anytime you will get problems with tablespaces.

  • How to read data from flatfile and insert into other relevant tables ? Please suggest me the query ?

    Hi to all,
    I have flat files in different location through FTP i need to fetch those files and load in the relavant table of the database.
    Please share me the query to do it ..

    You would need a ForEach Loop to iterate though the files. Initially the FTP task will pull the files from locations to a landing folder. Once thats done the ForEachLoop will iterate through files in the folder and will have a data flow task inside to transfer
    file data to tables.
    If you want a more secure option you can also use SFTP (Secured FTP) and can implement it using free WinSCP clinet. I've explained a method of doing it fo dynamic files here
    http://visakhm.blogspot.in/2012/12/implementing-dynamic-secure-ftp-process.html
    for iterating through files see this example
    http://visakhm.blogspot.in/2012/05/package-to-implement-daily-processing.html
    you may not need the validation step inside the loop in your case
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to find the relevant query if I have only bookmark ID ?

    Hi Gurus,
    I have an issue now, I have only a Bookmark ID and want to know the corresponding query, can you tell me the methods ?
    Thanks
    Leon

    Hi Leon,
    when you are giving Bookmark ID corresponding to that query properties will display there you can check the technical name of your respective querey.
    Try this it will works.
    Regards
    Suresh B.G.

  • Select query is working on oracle 10.1.0 but its not working in 10.2.0

    select query is working and retrieving some data from oracle database server 10.1.0.2.0, but same query is not working in 10.2.0.1.0 database server, its throws(ORA-00942: table or view does not exist)
    But schema related tables and relevant details are same in 10.2.0.1.0 database server, so don't think that table is missing on that schema.
    Note: Query length is upto 480 line
    I have validate all the things, everything is fine, i don't why that query is not executing in different version.
    I am in helpless in this situation?, anybody faced this issue?
    Thanks in advance

    Validated means all the tables and and columns are verified, i just running in sqlprompt,
    Say for example:
    sql> select * from table1;
    One thing i observed while executing the query its showed error in one location of select sql. i mean particular word in select sql.
    After that i combined some three lines of huge select sql into single then i am getting error in different location i mean different word...
    My question is how same query executing in Oracle 10g Release 1, same dump (its exported from Release1) imported into oracle 10g release 2 is not executing. its shows Table or view doesn't exit.

  • Help on performance with dynamic query

    Hi All,
      We are using SQL Server 2008R2. In our one of report we are using Dynamic query and it is taking more time to retrieve the data. to retrieve 32 records it is taking 13-15 secs. In my observation in a table variable, created more than 60 columns. In
    the SP called one more sp with insert statement.
    Please let me know how i can improve performance of the SP.
    I know that i have to provide the SP  for observation but unfortunately I cannot provide the SP. Please guide me how i can achieve this .
    I tried with temp tables by creating indexes on temp tables but i couldn't find improvement in performance. 
    Waiting for valuable replies.

    First of all a "dynamic query" is not "a query" - it is a multitude of them. Some of them may be fast, others may be slow.
    There is of course no way we can give specific suggestions without seeing the code, the table and index definitions etc.
    We can only give the generic suggestions. As for the code, make sure that you are using parameterised SQL and you are not building a complete SQL string with parameters and all. If nothing else, this helps to make the code more readable and maintainable.
    It also protects you against SQL injection. And it also helps to prevent performance issue due to implicit conversion.
    You will need to look at the query plan to see where the bottlenecks may be. You should look at the actual query plan. Note that the thickness of the arrows are more relevant than the percentages you see; the percentages are only estimates, and estimates
    are often off. Next step is to see if you can add indexes to alleviate the situation. You should also analyse if there are problems in the query, for instance indexed columns that are entangled in expression. If you are using views, make sure that you don't
    have views built on top of views etc. This can often result a table appearing multiple times in a query, when one would be enough.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Query Help Preserve Column Format

    I have the following query that cast the ouput into colunms, my issues is that I need to extend the query to add the returned results of Connector_1, Cache_1, EPS_1, Sent_1, Condition_1....  ANy ideas how I can accomplish this preserving the same columns?
    SELECT NodeName,
    MAX(CASE WHEN Poller_Name='Connector' THEN CAST(Status AS varchar) ELSE '' END) Connector,
    MAX(CASE WHEN Poller_Name='Cache' THEN CAST(Status AS varchar) ELSE '' END) Cache,
    MAX(CASE WHEN Poller_Name='EPS' THEN CAST(Status AS varchar) ELSE '' END) EPS,
    MAX(CASE WHEN Poller_Name='Sent' THEN CAST(Status AS varchar) ELSE '' END) Sent,
    MAX(CASE WHEN Poller_Name='Condition' THEN CAST(Status AS varchar) ELSE '' END) Condition
    FROM
    SELECT
    Nodes.Caption AS NodeName,CustomNodePollers_CustomPollers.GroupName As GroupName ,CustomNodePollers_CustomPollers.UniqueName AS Poller_Name, CustomNodePollerStatus_CustomPollerStatus.Status AS Status
    FROM
    ((Nodes INNER JOIN CustomPollerAssignment CustomNodePollerAssignment_CustomPollerAssignment ON (Nodes.NodeID = CustomNodePollerAssignment_CustomPollerAssignment.NodeID))
    INNER JOIN CustomPollers CustomNodePollers_CustomPollers ON (CustomNodePollerAssignment_CustomPollerAssignment.CustomPollerID = CustomNodePollers_CustomPollers.CustomPollerID))
    INNER JOIN CustomPollerStatus CustomNodePollerStatus_CustomPollerStatus ON (CustomNodePollerAssignment_CustomPollerAssignment.CustomPollerAssignmentID = CustomNodePollerStatus_CustomPollerStatus.CustomPollerAssignmentID)
    WHERE
    (CustomNodePollers_CustomPollers.UniqueName = 'Connector') OR
    (CustomNodePollers_CustomPollers.UniqueName = 'Cache') OR
    (CustomNodePollers_CustomPollers.UniqueName = 'EPS') OR
    (CustomNodePollers_CustomPollers.UniqueName = 'Sent') OR
    (CustomNodePollers_CustomPollers.UniqueName = 'Condition')
    AND
    (CustomNodePollerAssignment_CustomPollerAssignment.InterfaceID = 0)
    )A
    GROUP BY NodeName, GroupName

    These values have similar data to what is being returned by the query above, I just want the results added to the relevant columns if I run the above query I get the result:
    NodeName Connector 
    Cache  EPS 
    Sent  Condition
    Node1               Connector1 
    1  0.1 
    123 Green
    Theses are values that meet PollerName CASE and where clause I want to extend this so that the same/similar set of values can be returned for the PollerName
    "Connector_1, Cache_1, EPS_1, Sent_1, Condition_1....  "  to the same columns but if I add these to the case and where clause all I get is doubled up columns. 
    I was thinking of possibly pushing the results into a table unless there is an easier/better way?

  • Help needed for writing query

    help needed for writing query
    i have the following tables(with data) as mentioned below
    FK*-foregin key (SUBJECTS)
    FK**-foregin key (COMBINATION)
    1)SUBJECTS(table name)     
    SUB_ID(NUMBER) SUB_CODE(VARCHAR2) SUB_NAME (VARCHAR2)
    2           02           Computer Science
    3           03           Physics
    4           04           Chemistry
    5           05           Mathematics
    7           07           Commerce
    8           08           Computer Applications
    9           09           Biology
    2)COMBINATION
    COMB_ID(NUMBER) COMB_NAME(VARCHAR2) SUB_ID1(NUMBER(FK*)) SUB_ID2(NUMBER(FK*)) SUB_ID3(NUMBER(FK*)) SUBJ_ID4(NUMBER(FK*))
    383           S1      9           4           2           3
    384           S2      4           2           5           3
    ---------I actually designed the ABOVE table also like this
    3) a)COMBINATION
    COMB_ID(NUMBER) COMB_NAME(VARCHAR2)
    383           S1
    384           S2
    b)COMBINATION_DET
    COMBDET_ID(NUMBER) COMB_ID(FK**) SUB_ID(FK*)
    1               383          9
    2               383          4
    3               383          2
    4               383          3
    5               384          4
    6               384          2          
    7               384          5
    8               384          3
    Business rule: a combination consists of a maximum of 4 subjects (must contain)
    and the user is less relevant to a COMB_NAME(name of combinations) but user need
    the subjects contained in combinations
    i need the following output
    COMB_ID COMB_NAME SUBJECT1 SUBJECT2      SUBJECT3      SUBJECT4
    383     S1     Biology Chemistry      Computer Science Physics
    384     S2     Chemistry Computer Science Mathematics Physics
    or even this is enough(what i actually needed)
    COMB_ID     subjects
    383           Biology,Chemistry,Computer Science,Physics
    384           Chemistry,Computer Science,Mathematics,Physics
    you can use any of the COMBINATION table(either (2) or (3))
    and i want to know
    1)which design is good in this case
    (i think SUB_ID1,SUB_ID2,SUB_ID3,SUB_ID4 is not a
    good method to link with same table but if 4 subjects only(and must) comes
    detail table is not neccessary )
    now i am achieving the result by program-coding in C# after getting the rows from oracle
    i am using oracle 9i (also ODP.NET)
    i want to know how can i get the result in the stored procedure itsef.
    2)how it could be designed in any other way.
    any help/suggestion is welcome
    thanks for your time --Pradeesh

    Well I forgot the table-alias, here now with:
    SELECT C.COMB_ID
    , C.COMB_NAME
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID1) AS SUBJECT_NAME1
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID2) AS SUBJECT_NAME2
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID3) AS SUBJECT_NAME3
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID4) AS SUBJECT_NAME4
    FROM COMBINATION C;
    As you need exactly 4 subjects, the columns-solution is just fine I would say.

Maybe you are looking for

  • ITunes on XP system will not shut down.

    I must reboot the computer to close iTunes.  Help! I tried uninstalling and reinstalling iTunes.  No help, This problem began with last two versions in June and July 2012.

  • Save date in the database

    I have a table where various dates are shown in non-editable fields.For every row there is an edit button,clicking which the data from that particular row passes to the next page.The data is pre-populated in the textfields out there. I have used requ

  • Cannot print character u00FC and it displays another funny character

    I am working on a form A which will display the address. In smartforms the address field is created via CREATE-->ADDRESS. When I checked in the ADRC the address can display the characters or fonts 'ü'. Unfortunately, when the form is printed out, the

  • Error[nQSError: 27002] Near " : Syntax error [nQSError: 26012] why?

    Hi to All when i try to create a RPD variable equivalent to OBIEE. It is showing the error as [nQSError: 27002] Near <"BusinessModel"."L_AP.AP_CHECKS_ALL"."CHECK_NUMBER" )In "BusinessModel"."Variables"."Var-PO Number Detail" Why i am getting this err

  • XML Template formatting

    I am trying to create a template for XML output from Oracle in PDF. I have a good start but I am having trouble with the "summary information" The document is a Sales Order Acknowledgment. I have my header information (customer address, order num, et