Need for help

can any body help me. I hv taken business area GSBER in my report.
when I run my report it come and showing like 1101.but when we filter it and select any one then it shows 1101######.while it should come 1101. I hv taken GSBER TYPE BSIS-GSBER. eventhen it is comming 1101######. pls help to fix this problem.

hi  you can follow one of these 2 methods for this,
1.     v_gsber = itab-gsber+0(4).
        then it_final-gsber = v_gsber.
2.
    data:char(9) value '5#4#2#1#1',
     char1(16) value '56748##########'.
     replace all occurrences of '#' in char with space .
     replace all occurrences of '#' in char1 with space .
     write: char,char1.
regards,
venkat.

Similar Messages

  • Hi! I'm new to mac so I need for help.Why when I open safari also open some pages that I don't click?

    Hi! I'm new to mac so I need for help . Why when I open safari also open some pages that I don't click? What should I do ,get any cleaner ?

    Please review the options below to determine which method is best to remove the Adware installed on your computer.
    The Easy, safe, effective method:
    http://www.adwaremedic.com/index.php
    If you are comfortable doing manual file removals use the somewhat more difficult method:
    http://support.apple.com/en-us/HT203987
    Also read the articles below to be more prepared for the next time there is an issue on your computer.
    https://discussions.apple.com/docs/DOC-7471
    https://discussions.apple.com/docs/DOC-8071
    http://www.thesafemac.com/tech-support-scam-pop-ups/

  • IN DESPERATE NEED FOR HELP flashing question mark appears MacBook

    Hello everyone, I got this White MacBook Mac OS X 10.4.11 yesturday I was updating limewire and iTunes, I was downloading some songs from Limewire when all of a sudden my macbook frozed. I was not able to do a thing. Not even minimizing nor quiting the app nor even opening another aplication, so I decided to shut it down by holding the power button until it shut down (about 8 secs). So I restart my macbook and I got this grey=blank screen whit a flashing question mark on it. I've tried EVERYTHING on this link http://support.apple.com/kb/TS1440?viewlocale=en_US even these one http://support.apple.com/kb/HT1533 and all I was able to accomplish, was to hold the mouse (/trackpad) button to eject a Cd, and while pressing Shift during startup (in order to start in Safe Boot mode) all I get is this lock image and this space to type a password. I've tried typing every password I know and I can't fix my macbook. Can anyone please help me out on this one?

    It means certain system files needed for startup are corrupted. You will have to reinstall OS X. If your hard drive is unaffected you can try the following:
    How to Perform an Archive and Install
    An Archive and Install will NOT erase your hard drive, but you must have sufficient free space for a second OS X installation which could be from 3-9 GBs depending upon the version of OS X and selected installation options. The free space requirement is over and above normal free space requirements which should be at least 6-10 GBs. Read all the linked references carefully before proceeding.
    1. Be sure to use Disk Utility first to repair the disk before performing the Archive and Install.
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior (4.0 for Tiger) and/or TechTool Pro (4.5.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Do not proceed with an Archive and Install if DU reports errors it cannot fix. In that case use Disk Warrior and/or TechTool Pro to repair the hard drive. If neither can repair the drive, then you will have to erase the drive and reinstall from scratch.
    3. Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When you reach the screen to select a destination drive click once on the destination drive then click on the Option button. Select the Archive and Install option. You have an option to preserve users and network preferences. Only select this option if you are sure you have no corrupted files in your user accounts. Otherwise leave this option unchecked. Click on the OK button and continue with the OS X Installation.
    4. Upon completion of the Archive and Install you will have a Previous System Folder in the root directory. You should retain the PSF until you are sure you do not need to manually transfer any items from the PSF to your newly installed system.
    5. After moving any items you want to keep from the PSF you should delete it. You can back it up if you prefer, but you must delete it from the hard drive.
    6. You can now download a Combo Updater directly from Apple's download site to update your new system to the desired version as well as install any security or other updates. You can also do this using Software Update.

  • Need for helps in Business Warehouse

    Hihi,
    I would like to request for experts out there to help me up on this problem:
    Step 1 : From Business Warehouse, i tried to pull the records (infopackage) from ECC with the tariff code "abc123" -> failed
    Step 2: I tried again by set the conditions to pull  the records with tariff "abc123" and date : before april -> it is work!!
    As per above description, it proved that the failure in data pulling is not because of the tariff code, does you all have any solution for me on this? I need this urgently.
    [I confirmed the data for APRIL, MAY have no problem and in ECC (RSO2) - the function module do pick up those records (which didnt show up in BW site)].
    Hope can hear from you all soon.
    Edited by: MOPZ Narayanan on May 18, 2010 10:06 AM

    Hello,
    Are you getting any ST22 dumps while loading data? Please check ST22.
    You may try to load data by reducing the data packet size. Go to(Infopackage) Scheduler -> Data Source. Default Data Transfer and reduce the packet size there. Also try loading it till PSA only and then load above.
    It would be difficult to analyze why there is error for only 1 record but most probably it would be the packet size, so try reducing it.
    Also go through the below forum discussions to further drill-down into the issue details:
    [Caller 70 is missing]
    [Caller 70 is missing]
    [Re: Error Caller 70" is missing when loading delta to DSO]
    Hope it helps..  All the best.
    Regards,
    Pratap Sone

  • Urgent need for help

    Hi folks,
    I really need help to solve an urgent issue.
    The context
    We are about to deliver an e-learning course made essentially
    with captivate lessons.
    The content is accessed through an html Main Menu which in
    turn is nested in a frameset.
    The reason for that is that in the second half of the
    frameset resides the SCO script since the content will be
    ultimately accessed from an LMS.
    The problem
    To exit the captivate content at the end of a lesson and go
    back to the main menu, we insert a button in the last slide where
    we indicate the main menu dynamic file location in case of success.
    All links are working fine during execution except when the
    main menu is called from the frameset.
    It looks like if captivate simulations don’t know what
    to do when they are launched from a frameset.
    I tried to go around it using JavaScript in the button, but
    that also won’t work.
    Any help would be greatly appreciated.
    Thanks in advance
    Mike

    I'm unclear on the issue.
    This is an HTML page your group has made? The Main Menu is
    nested in a
    frameset? Or, as I would think makes more sense, the Main
    Menu us *part*
    of the frameset, with the other frame being what loads the
    Captivate
    content?
    So you want to bundle a bunch of Captivate SWFs into one HTML
    frameset...
    And when you load the Captivate file, since the Captivate's
    HTML file -
    that contains the code to communicate with the LMS API - is
    in a
    frameset, it can't find the LMS?
    Or is it a different issue?
    Why would you call the Main Menu from the Captivate file?
    Erik
    MichelGervais wrote:
    > Hi folks,
    >
    > I really need help to solve an urgent issue.
    >
    >
    > The context
    >
    >
    > We are about to deliver an e-learning course made
    essentially with captivate
    > lessons.
    >
    > The content is accessed through an html Main Menu which
    in turn is nested in a
    > frameset.
    >
    > The reason for that is that in the second half of the
    frameset resides the SCO
    > script since the content will be ultimately accessed
    from an LMS.
    >
    > The problem
    >
    > To exit the captivate content at the end of a lesson and
    go back to the main
    > menu, we insert a button in the last slide where we
    indicate the main menu
    > dynamic file location in case of success.
    >
    > All links are working fine during execution except when
    the main menu is
    > called from the frameset.
    >
    > It looks like if captivate simulations don?t know what
    to do when they are
    > launched from a frameset.
    >
    > I tried to go around it using JavaScript in the button,
    but that also won?t
    > work.
    >
    > Any help would be greatly appreciated.
    >
    > Thanks in advance
    >
    > Mike
    >
    >
    >
    >
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - Authorware
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    samples, tips, products, faqs, and links!
    *Search the A'ware newsgroup archives*
    http://groups.google.com/group/macromedia.authorware

  • In Desperate need for help with Security Settings

    I am currrently working on a project that requires a Flash
    submenu running through an HTML Browser window and running from a
    CD. The problem is that the final destination for these CDs will be
    on computers without the capability to connect to the internet. So,
    when the user gets the popup requiring them to change the security
    setting in order to use the flash element, which is through the
    internet (the dumbest way of doing this) they have no choice but to
    decline the popup and therfore cannot use the flash submenu.
    Is there a way to automatically be trusted whitiout the use
    of the internet "security settings" window???????? If anyone from
    Adobe/Macromedia read this please be advise that this should really
    change to be computer based and not requiring an internet
    connection.
    If this is esay enough to change, I regret everything that I
    am thinking of about Adobe/Macromedia at the time I writing this.
    and please acceot my apologies.
    If not, well.....
    Thanks for anyones help.

    When Exporting, you get the option of setting the Local
    Playback security (very bottom of the Export dialogue box). Have
    you checked to make sure you have yours set to "Access local files
    only"?
    What is the submeu trying to access that would cause the
    sandbox warning?

  • In desperate need for help on Gingerbread upgrade

    I have an unrooted D2 Global and tried to upgrade to 2.3 yesterday. I did download this stupid update but it just wouldn't install. The install bar would stop at 20-30% and then reboot, and then tell me the upgrade fail. I downloaded the patch for over 6 times already. I tried clearing the cache and everything else. I didn't try SBF as I don't think that's necessary yet.
    Could anyone help me solve this problem?Thanks a lot!
    I am thinking about going back to iPhone after this one. My experience with Android has compelled me to stay away from this danger software.

    JCJCJCJ wrote:
    Thanks any ways.
    This seems a risky buisness.
    Never did I know upgrading a phone or remove an preloaded garbage on a phone I paid $$ for would be so hard.
    Perhaps, I can just SBF the phone to 2.4.330 and then see if that flush all the wrong files out. 
    You just answered your question, you rooted and removed bloatware and now your device isn't stock and this is why the update will not load, it detects that you changed your device and wont install..
    By the way you do know that the method you used to remove the apps voids warranty and breaches Verizon TOS....
    The method to resolve this should be located at the location you received the unauthorized software, no disrespect but it may be wise to research what you are doing to your device before modifying it in this method because you can not get support on the Service Providers site when they do not support the method.
    Just something to consider...  Google is your best solution...

  • In desperate need for help - Lag spikes through a wired connection

    Hello. I've recently started experiencing random lag spikes. I have no idea what the cause of these could be. I've used this router for almost 2 yrs now and never ran into a problem. I've done extensive searches and updated my old firmware to the new one following the strict intructions. I've also been trying to figure out how to log my network to provide more information on my situation. I've downloaded kiwisyslogd but have no idea how to use it... Any help with that would also be greatly appreciated.
    -Tesm
    EXTRA INFO - I called my isp (cox) and they told me everything on their line is fine. I'm running on a 15mb line. Internet connection works and everything else is fine except for periodic lag spikes that really interupt my gaming and web browsing severly.
    router: wrt54g v2
    Firmware: DD-WRT v23 SP2 (09/15/06) std then reverted back to linksys latest firmware... still no solution.
    Tried isolating the router out of the equation. Connected pc directly to the modem and had no problems. Connected the router back in and lag spikes came back. Pc is connected through ethernet wire.
    Tried disabling windows wireless zero service - no help
    Pinging a game server i tested the lag at. No problems when I pinged the server with the router. But when I joined the server with the game. I experience the lag spikes. Could this mean its not my router? When I plug the modem directly to my pc this problem doesn't happen.
    PING 75.126.174.198 (75.126.174.198): 56 data bytes
    64 bytes from 75.126.174.198: icmp_seq=2 ttl=119 time=44.9 ms
    64 bytes from 75.126.174.198: icmp_seq=3 ttl=119 time=46.8 ms
    64 bytes from 75.126.174.198: icmp_seq=4 ttl=119 time=44.1 ms
    64 bytes from 75.126.174.198: icmp_seq=5 ttl=119 time=45.9 ms
    64 bytes from 75.126.174.198: icmp_seq=6 ttl=119 time=47.6 ms
    64 bytes from 75.126.174.198: icmp_seq=7 ttl=119 time=44.3 ms
    64 bytes from 75.126.174.198: icmp_seq=8 ttl=119 time=41.5 ms
    64 bytes from 75.126.174.198: icmp_seq=9 ttl=119 time=45.0 ms
    64 bytes from 75.126.174.198: icmp_seq=10 ttl=119 time=42.7 ms
    64 bytes from 75.126.174.198: icmp_seq=11 ttl=119 time=45.2 ms
    64 bytes from 75.126.174.198: icmp_seq=12 ttl=119 time=48.5 ms
    64 bytes from 75.126.174.198: icmp_seq=13 ttl=119 time=47.0 ms
    64 bytes from 75.126.174.198: icmp_seq=23 ttl=119 time=45.9 ms
    64 bytes from 75.126.174.198: icmp_seq=24 ttl=119 time=42.2 ms
    64 bytes from 75.126.174.198: icmp_seq=25 ttl=119 time=44.0 ms
    64 bytes from 75.126.174.198: icmp_seq=26 ttl=119 time=43.2 ms
    64 bytes from 75.126.174.198: icmp_seq=27 ttl=119 time=47.1 ms
    64 bytes from 75.126.174.198: icmp_seq=28 ttl=119 time=42.8 ms
    64 bytes from 75.126.174.198: icmp_seq=29 ttl=119 time=43.3 ms
    64 bytes from 75.126.174.198: icmp_seq=30 ttl=119 time=44.9 ms
    64 bytes from 75.126.174.198: icmp_seq=41 ttl=119 time=44.7 ms
    64 bytes from 75.126.174.198: icmp_seq=42 ttl=119 time=44.1 ms
    64 bytes from 75.126.174.198: icmp_seq=43 ttl=119 time=44.8 ms
    64 bytes from 75.126.174.198: icmp_seq=44 ttl=119 time=46.1 ms
    64 bytes from 75.126.174.198: icmp_seq=45 ttl=119 time=47.7 ms
    64 bytes from 75.126.174.198: icmp_seq=46 ttl=119 time=44.8 ms
    64 bytes from 75.126.174.198: icmp_seq=47 ttl=119 time=46.1 ms
    64 bytes from 75.126.174.198: icmp_seq=59 ttl=119 time=44.7 ms
    64 bytes from 75.126.174.198: icmp_seq=60 ttl=119 time=42.2 ms
    64 bytes from 75.126.174.198: icmp_seq=61 ttl=119 time=41.9 ms
    64 bytes from 75.126.174.198: icmp_seq=62 ttl=119 time=45.0 ms
    64 bytes from 75.126.174.198: icmp_seq=63 ttl=119 time=44.3 ms
    64 bytes from 75.126.174.198: icmp_seq=64 ttl=119 time=45.5 ms
    64 bytes from 75.126.174.198: icmp_seq=65 ttl=119 time=45.1 ms
    64 bytes from 75.126.174.198: icmp_seq=77 ttl=119 time=47.1 ms
    64 bytes from 75.126.174.198: icmp_seq=78 ttl=119 time=48.7 ms
    64 bytes from 75.126.174.198: icmp_seq=79 ttl=119 time=45.9 ms
    64 bytes from 75.126.174.198: icmp_seq=80 ttl=119 time=45.5 ms
    64 bytes from 75.126.174.198: icmp_seq=81 ttl=119 time=48.7 ms
    64 bytes from 75.126.174.198: icmp_seq=82 ttl=119 time=44.1 ms
    64 bytes from 75.126.174.198: icmp_seq=83 ttl=119 time=43.5 ms
    64 bytes from 75.126.174.198: icmp_seq=92 ttl=119 time=46.7 ms
    64 bytes from 75.126.174.198: icmp_seq=93 ttl=119 time=44.8 ms
    64 bytes from 75.126.174.198: icmp_seq=94 ttl=119 time=45.8 ms
    64 bytes from 75.126.174.198: icmp_seq=95 ttl=119 time=47.0 ms
    64 bytes from 75.126.174.198: icmp_seq=96 ttl=119 time=42.3 ms
    64 bytes from 75.126.174.198: icmp_seq=97 ttl=119 time=45.6 ms
    64 bytes from 75.126.174.198: icmp_seq=98 ttl=119 time=42.6 ms
    64 bytes from 75.126.174.198: icmp_seq=99 ttl=119 time=42.3 ms
    64 bytes from 75.126.174.198: icmp_seq=107 ttl=119 time=43.6 ms"
    system:
    Thermaltake Amor Case
    AMD Opteron 165 Dual Core CPU
    EVGA nforce4 SLI Motherboard
    Hitachi 250GB SATA2 Hard Drive
    OCZ EL Platinum 1GB CAS 2 RAM
    EVGA 7800GTX Graphics Card
    Sunbeam NUUO 550Watt Power Supply

    which game server are you trying to connect to ??  did u try forwarding ports for that game server ?? do u have any firewall running on the computer??

  • I need for help , i cloud problem

    I bought the iphone 4s and not be aware, but the presence of icloud account and when i update the iPhone 4s and found the problem in activation , I want you to open it or remove icloud account and i thank Apple for it to serve its customer

    You need to contact previous owner and have them remove the iPhone from their iCloud account or get their AppleID & password
    This is the ONLY way to get the iPhone working.
    If you cannot contact the owner, you will not be able to use the iPhone. Get your money back.
    See this -> Find My iPhone Activation Lock: Removing a device from a previous owner’s account

  • Deperate Need for Help - Streaming Movie

    Good Day,
    I recently purchased the full version of Quicktime to create streaming movies from an http website. I have been fighting with it for a week trying hinted streaming, Fast track...etc etc. I cannot seem to get this to work. I am uploading the video to a website and it insists on downloading the entire movie before displaying it. I have had many people try and get the same result. I assume it isn't a problem to upload to an http://www.whatever.com/movies/movie.mov and have it stream. Does anyone know how i could get this to work properly?
    thank you

    Export to .mov and check the box for Fast Start. No need to add hint tracks because your files are not served from streaming server software. They download via http.
    I'll bet (since you didn't provide a link) that your page code is wrong. I'll bet you're directly linking to your .mov files instead of using the proper page code to call the QuickTime plug-in and turn on ActiveX controls in Internet Explorer.
    http://docs.info.apple.com/article.html?artnum=61011
    This link explains the object and embed tags and how to write the html code when using QT content in a Web site.
    http://developer.apple.com/internet/ieembedprep.html
    This article explain the new changes (just this week) regarding object and embed tags.

  • Need for help in select tag with jsp

    i have a select tag about shoeing countriesin a register form and according to the selection of country i want to shoe the names of its cities .............i guess it has something to so with js and i have a little experience in it
    ..........................................if somebody have the answer i'll b thankfull 4 this

    <%@page import="java.sql.*"%>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>register</title>
         <SCRIPT LANGUAGE="JavaScript">
         function checkForm(form){
                        var len = form.elements.length;
                   for (var i = 0; i < len; i++)
                                       if ((form.elements.value == null || form.elements[i].value == ""))
                                                 alert("Please enter your " + form.elements[i].name + ".");
                                                 form.elements[i].focus();
                                                 return false;
                                       return true;
         </SCRIPT>
         <script>
                   function subForm()
                        frm=document.forms.register;
                        frm.action="register.jsp";
                        frm.submit();
         </script>
    </head>
    <body>     
              <H3>WELCOM IN REGISTER PAGE </H3>
              <table align="center" border="0"width="100%">
                   <form name="register" method="post"action="reg.jsp">
                        <tr>
                             <th>
                             Country
                             </th>
                             <td>     
                             <select name="country" onChange="subForm()" >
                             <option value="-1">choose</option>
                                  <%!private Statement stmt;%>
                                  <%!private ResultSet rs;%>
                                  <%!private String h;%>
                                  <%!private int s;
                             private int s2;
                                  private String b;%>
                                  <%
                                  Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                                  Connection conn = DriverManager.getConnection("jdbc:odbc:data", "", "");
                                  stmt=conn.createStatement();%>
                                  <%
                             b= request.getParameter("country");
                             rs = stmt.executeQuery(" select* FROM Country");
                             Integer int3=java.lang.Integer.valueOf(b).intValue();
                             s2=int3;
                             if(s2!=-1)
                                  while(rs.next())
                                  %>
                             <option value="<%=rs.getInt(1)%>">
                             <%=rs.getString("Country_name")%>
    </option>
                                  <% }     %>
                                       <%
         h=request.getParameter("country");
    Integer int1=java.lang.Integer.valueOf(h).intValue();
    s=int1;
    }else{
                             rs = stmt.executeQuery(" select* FROM Country where country_id='"+s2+"'");
                        if(rs.next())
                                  %>
                             <option value="<%=rs.getInt(1)%>">
                             <%=rs.getString("Country_name")%>
    </option>
                                  <% }     %>
                                  <% }     %>
                                       </select>     
                             </td>
                   </tr>
                   <tr>
                             <th>
                                  City
                                  <br>
                             </th>
                             <td>
                             <select name="city">
                                  <option value="-1">choose</option>
    <%
                                  rs = stmt.executeQuery(" select* FROM City where Country_id='"+s+"'");
                                  while(rs.next())
                                  %>
                             <option value="<%=rs.getInt(1)%>"><%=rs.getString("City_name")%></option>)
                             <%
                             out.println(request.getParameter("City"));
                             %>
                             </select>     
                             </td>
                             </tr>
                             <tr>
                                  <th>First Name</th>
                                  <td><input type="text"name="firstName" size="30"></td>
                        </tr>
                             <tr>
                                  <th>Last Name</th>
                                  <td> <input type="text"name="lastName" size="30"></td>
                             </tr>
                             <tr>
                                  <th> Email </th>
                                  <td><input type="text"name="email" size="30"></td>
                             </tr>
                             <tr>
                                  <th> UserName </th>
                                  <td><input type="text"name="userName" size="30"></td>
                             </tr>
                             <tr>
                                  <th> Password </th>
                                  <td> <input type="Password"name="password" size="30"></td>
                             </tr>
                             <tr>
                                  <th><input type="submit" VALUE="Submit Data" onClick="return checkForm(this.form);"></th>
                                  <th></th>
                             </tr>
                             <tr>
                                  <th><input type="reset" VALUE="Reset Form"></th>
                                  <th></th>
                             </tr>           
                             </table>
                   </form>
    </body>
    </html>

  • Need for help urgently

    i use set which child(int childnum)
    but it doesn't draw the selected child
    it draws the last selected child in for loop
    don't when satsify the condition draw the child of this condition
    it draws the the child of last satsified condition at function draw flow
    i want to know the reason and how i solve it?
    package MockPrototype;
    import java.io.*;
    import java.lang.reflect.Array;
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.ArrayList;
    import java.util.BitSet;
    import java.util.Hashtable;
    import javax.media.j3d.*;
    import javax.swing.JFrame;
    import javax.vecmath.*;
    //import ExSwitch.NameChildMask;
    import com.sun.j3d.utils.geometry.*;
    import com.sun.j3d.utils.universe.*;
    import com.sun.j3d.loaders.Scene;
    import com.sun.j3d.loaders.objectfile.ObjectFile;
    import com.sun.j3d.loaders.ParsingErrorException;
    import com.sun.j3d.loaders.IncorrectFormatException;
    import com.sun.j3d.utils.behaviors.vp.*;
    import com.sun.j3d.utils.behaviors.interpolators.*;
    import com.sun.org.apache.xalan.internal.xsltc.cmdline.Transform;
    * This program demonstrates the use of KBRotPosScaleSplinePathInterpolator
    * in order to to do spline animation paths using Kochanek-Bartels (also
    * known as TCB or Tension-Continuity-Bias ) splines. A cone red cone
    * is animated along a spline path specified by 5 knot points, which
    * are showns as cyan spheres.
    * Use the left mouse button to changes orientation of scene.
    * Use the middle mouse button to zoom in/out
    * Use the right mouse button to pan the scene
    public class FlowProcess extends JFrame implements ActionListener,
                                                      AdjustmentListener,
                                                      ItemListener
        // 3D Canvas
        Canvas3D           canvas;
        // UI Components
        Panel              controlPanel;
        Panel              canvasPanel;
        Button             animateButton;
        Choice             interpChoice;
        Scrollbar          speedSlider;
        Label              speedLabel;
        Label              interpLabel;
        // Scene Graph
        BoundingSphere     bounds;
        BranchGroup        sceneRoot;
        BranchGroup        behaviorBranch;
        Transform3D        sceneTransform;
        TransformGroup     sceneTransformGroup;
        ArrayList <Transform3D>        objTransform0;
        ArrayList <Transform3D>        objTransform1;
        ArrayList <Transform3D>        objTransform2;
        ArrayList <TransformGroup>     objTransformGroup0;
        ArrayList <TransformGroup>     objTransformGroup1;
        ArrayList <TransformGroup>     objTransformGroup2;
        Transform3D        lightTransform1;
        Transform3D        lightTransform2;
        TransformGroup     light1TransformGroup;
        TransformGroup     light2TransformGroup;
        Color3f aColor     = new Color3f(0.2f, 0.2f, 0.2f);
        Color3f eColor     = new Color3f(0.0f, 0.0f, 0.0f);
        Color3f sColor     = new Color3f(1.0f, 1.0f, 1.0f);
        Color3f coneColor  = new Color3f(0.9f, 0.1f, 0.1f);
        Color3f coneColor1  = new Color3f(0.0f, 0.1f, 0.1f);
        Color3f coneColor2  = new Color3f(0.7f, 0.1f, 0.1f);
        Color3f sphereColor= new Color3f(0.1f, 0.7f, 0.9f);
        Color3f bgColor    = new Color3f(0.0f, 0.0f, 0.0f);
        Color3f lightColor = new Color3f(1.0f, 1.0f, 1.0f);
        // Key Frames & Interpolator
        int                                  duration = 5000;
        Alpha                                animAlpha;
        Transform3D                          yAxis;
        KBKeyFrame[]                         linearKeyFrames = new KBKeyFrame[2];
        KBRotPosScaleSplinePathInterpolator  linearInterpolator;
        // Data: Knot positions & transform groups
        Vector3f            pos0 = new Vector3f (0.0f, 0.0f, 0.0f);
        Vector3f            pos1 = new Vector3f (0.0f,  20.0f, 0.0f);
        Vector3f            pos2 = new Vector3f ( 20.0f,  0.0f, 0.0f);
       /* Vector3f            pos3 = new Vector3f ( 0.0f, -5.0f,  0.0f);
        Vector3f            pos4 = new Vector3f ( 5.0f, -5.0f,  0.0f);
        Vector3f            pos5 = new Vector3f ( 5.0f,  5.0f,  0.0f);*/
        Point3f []po = new Point3f[3];
        po[0]=new Point3f(pos0);
        po[1]=new Point3f(pos1);
        po[2]=new Point3f(pos2);
        TransformGroup     k0TransformGroup;
        TransformGroup     k1TransformGroup;
        TransformGroup     k2TransformGroup;
        TransformGroup     k3TransformGroup;
        TransformGroup     k4TransformGroup;
        TransformGroup     k5TransformGroup;
        Group scene;
        protected TransformGroup exampleViewTransform = null;
         protected TransformGroup exampleSceneTransform = null;
         private DirectionalLight headlight = null;
         private SharedGroup column = new SharedGroup( );
         public final static Color3f White    = new Color3f( 1.0f, 1.0f, 1.0f );
         private boolean shouldCompile = true;
         private Switch swtch0 = null;
         private Switch swtch1 = null;
         private Switch swtch2 = null;
         private int currentSwitch = 0;
        // Flags
        boolean            animationOn = false;
        boolean            linear      = false;
    //   private SimpleUniverse u = null;
        int [][][]customerFlow;
        int unitsno;
       /* public FlowProcess() {
        public FlowProcess(int [][][]customerFlowNO,int unit) {
             customerFlow=customerFlowNO;
             this.setLayout(new FlowLayout());  
             objTransform0=new ArrayList(0);
             objTransform1=new ArrayList(0);
             objTransform2=new ArrayList(0);
            objTransformGroup0=new ArrayList(0);
            objTransformGroup1=new ArrayList(0);
            objTransformGroup2=new ArrayList(0);
            // Create the canvas and the UI
            canvasPanel = new Panel();
            controlPanel = new Panel();
            createCanvasPanel(canvasPanel);
            this.add(canvasPanel);
            createControlPanel(controlPanel);
            this.add(controlPanel);
            this.setVisible(true);
            this.setDefaultCloseOperation(EXIT_ON_CLOSE);
            this.setSize(500,600);
            unitsno=unit;
        public void destroy() {
         //u.cleanup();
         * This creates the control panel which contains a choice menu to
         * toggle between spline and linear interpolation, a slider to
         * adjust the speed of the animation and a animation start/stop
         * button.
        private void createControlPanel(Panel p) {
            GridBagLayout      gl  = new GridBagLayout();
            GridBagConstraints gbc = new GridBagConstraints();
            p.setLayout (gl);
            gbc.weightx = 100;  gbc.weighty = 100;
            gbc.fill = GridBagConstraints.BOTH;
            gbc.gridx = 0;  gbc.gridy = 5;
            gbc.gridwidth = 2;  gbc.gridheight = 1;
            animateButton = new Button("Stop Animation");
            p.add(animateButton, gbc);
            animateButton.addActionListener (this);
         * This creates the Java3D canvas
        private void createCanvasPanel(Panel p) {
            GridBagLayout      gl  = new GridBagLayout();
            GridBagConstraints gbc = new GridBagConstraints();
            p.setLayout(gl);
            gbc.gridx = 0;  gbc.gridy = 0;
            gbc.gridwidth = 5;  gbc.gridheight = 5;
            GraphicsConfiguration config =
               SimpleUniverse.getPreferredConfiguration();
            canvas = new Canvas3D(config);
            canvas.setSize(490,490);
            p.add(canvas,gbc);
         public Group buildScene( )
              Group scene = new Group( );
              KBKeyFrame []KKF;
              swtch0 = new Switch( );
              swtch1 = new Switch( );
              swtch2 = new Switch( );
              swtch0.setCapability( Switch.ALLOW_SWITCH_WRITE );
              swtch1.setCapability( Switch.ALLOW_SWITCH_WRITE );
              swtch2.setCapability( Switch.ALLOW_SWITCH_WRITE );
              swtch0.setCapability( Switch.ALLOW_SWITCH_READ );
              swtch1.setCapability( Switch.ALLOW_SWITCH_READ );
              swtch2.setCapability( Switch.ALLOW_SWITCH_READ );
              objTransform0.add(0,new Transform3D());
             objTransformGroup0.add(0,new TransformGroup(objTransform0.get(0)));
             objTransformGroup0.get(0).setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
             Material m1 = new Material(coneColor, eColor, coneColor, sColor, 100.0f);
             Appearance a1 = new Appearance();
             m1.setLightingEnable(true);
             a1.setMaterial(m1);
             Sphere sp1 = new Sphere(0.2f);
             sp1.setAppearance(a1);
             objTransformGroup0.get(0).addChild(sp1);
              swtch0.addChild(objTransformGroup0.get(0));
              objTransform1.add(0,new Transform3D());
             objTransformGroup1.add(0,new TransformGroup(objTransform1.get(0)));
             objTransformGroup1.get(0).setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
             Material m5 = new Material(coneColor, eColor, coneColor, sColor, 100.0f);
             Appearance a5 = new Appearance();
             m5.setLightingEnable(true);
             a5.setMaterial(m5);
             Sphere sp5 = new Sphere(0.3f);
             sp5.setAppearance(a5);
             objTransformGroup1.get(0).addChild(sp5);
              swtch0.addChild(objTransformGroup1.get(0));
              objTransform2.add(0,new Transform3D());
             objTransformGroup2.add(0,new TransformGroup(objTransform2.get(0)));
             objTransformGroup2.get(0).setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
             Material m7 = new Material(coneColor, eColor, coneColor, sColor, 100.0f);
             Appearance a7 = new Appearance();
             m7.setLightingEnable(true);
             a7.setMaterial(m7);
             Sphere sp7 = new Sphere(0.6f);
             sp7.setAppearance(a7);
             objTransformGroup2.get(0).addChild(sp7);
              swtch0.addChild(objTransformGroup2.get(0));
              //swtch.setBounds(bounds);
              scene.addChild( swtch0 );
              //scene.addChild( swtch1 );
              //scene.addChild( swtch2 );
              return scene;
         * This creates the scene with 5 knot points represented by cyan
         * spheres, a cone obejct that will be transformed, and two directional
         * lights + and ambient light.
        public void createSceneGraph() {
             SimpleUniverse universe=new SimpleUniverse (canvas);
              Viewer viewer = universe.getViewer( );
              ViewingPlatform viewingPlatform = universe.getViewingPlatform( );
              exampleViewTransform = viewingPlatform.getViewPlatformTransform( );
              OrbitBehavior orbit = new OrbitBehavior(canvas,OrbitBehavior.REVERSE_ALL);          
              //BoundingSphere allBounds = new BoundingSphere(new Point3d(0.0, 0.0, 0.0), 100.0);
              BoundingSphere bounds =
                  new BoundingSphere(new Point3d(0.0, 0.0, 0.0), 100.0);
              orbit.setSchedulingBounds(bounds);
              viewingPlatform.setViewPlatformBehavior(orbit);
    //                Build the scene root
                    sceneRoot = new BranchGroup( );
                   // Build a transform that we can modify
                   exampleSceneTransform = new TransformGroup( );
                   exampleSceneTransform.setCapability(
                        TransformGroup.ALLOW_TRANSFORM_READ );
                   exampleSceneTransform.setCapability(
                        TransformGroup.ALLOW_TRANSFORM_WRITE );
                   exampleSceneTransform.setCapability(
                        Group.ALLOW_CHILDREN_EXTEND );
                   Group scene = this.buildScene( );
                   exampleSceneTransform.addChild( scene );
                   sceneRoot.addChild( exampleSceneTransform );
    //                Create transforms such that all objects appears in the scene
                    sceneTransform = new Transform3D();
                    sceneTransform.setScale(0.14f);
                    Transform3D yrot = new Transform3D();
                    yrot.rotY(-Math.PI/5.0d);
                    sceneTransform.mul(yrot);
                    sceneTransformGroup = new TransformGroup(sceneTransform);
                    sceneTransformGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
                    sceneTransformGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
                    sceneRoot.addChild(sceneTransformGroup);
    //                Create bounds for the background and lights
                    bounds =  new BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0f);
                    // Set up the background
                    Background bg = new Background(bgColor);
                    bg.setApplicationBounds(bounds);
                    sceneTransformGroup.addChild(bg);
                    // Create the transform group node for the lights
                    lightTransform1 = new Transform3D();
                    lightTransform2 = new Transform3D();
                    Vector3d lightPos1 =  new Vector3d(0.0, 0.0, 2.0);
                    Vector3d lightPos2 =  new Vector3d(1.0, 0.0, -2.0);
                    lightTransform1.set(lightPos1);
                    lightTransform2.set(lightPos2);
                    light1TransformGroup = new TransformGroup(lightTransform1);
                    light2TransformGroup = new TransformGroup(lightTransform2);
                    sceneTransformGroup.addChild(light1TransformGroup);
                    sceneTransformGroup.addChild(light2TransformGroup);
                    // Create lights
                    AmbientLight ambLight = new AmbientLight(aColor);
                    Light        dirLight1;
                    Light        dirLight2;
                    Vector3f lightDir1 = new Vector3f(lightPos1);
                    Vector3f lightDir2 = new Vector3f(lightPos2);
                    lightDir1.negate();
                    lightDir2.negate();
                    dirLight1 = new DirectionalLight(lightColor, lightDir1);
                    dirLight2 = new DirectionalLight(lightColor, lightDir2);
                    // Set the influencing bounds
                    ambLight.setInfluencingBounds(bounds);
                    dirLight1.setInfluencingBounds(bounds);
                    dirLight2.setInfluencingBounds(bounds);
                    // Add the lights into the scene graph
                    sceneTransformGroup.addChild(ambLight);
                    sceneTransformGroup.addChild(dirLight1);
                    sceneTransformGroup.addChild(dirLight2);
                   // Create transform groups for each knot point
                    // knot point 0
                    Transform3D t3dKnot = new Transform3D();
                    t3dKnot.set (pos0);
                    TransformGroup k0TransformGroup = new TransformGroup(t3dKnot);
                    Material m4 = new Material(new Color3f(Color.YELLOW), eColor,new Color3f(Color.YELLOW), sColor, 100.0f);
                    Appearance a4 = new Appearance();
                    m4.setLightingEnable(true);
                    a4.setMaterial(m4);
                    Box box = new Box(2.0f,2.0f,2.0f,a4);
                    box.setAppearance(a4);
                   // column.addChild(box);
                    k0TransformGroup.addChild(box/*new Link(column)*/);
                    sceneTransformGroup.addChild(k0TransformGroup);
                    // knot point 1
                    t3dKnot = new Transform3D();
                    t3dKnot.set (pos1);
                    TransformGroup k1TransformGroup = new TransformGroup(t3dKnot);
                    Material m5 = new Material(new Color3f(Color.CYAN), eColor, new Color3f(Color.CYAN), sColor, 100.0f);
                    Appearance a5 = new Appearance();
                    m5.setLightingEnable(true);
                    a5.setMaterial(m5);
                    Box box1 = new Box(2.0f,2.0f,2.0f,a5); 
                    box1.setAppearance(a5);
                    k1TransformGroup.addChild(box1);
                    sceneTransformGroup.addChild(k1TransformGroup);
                    // knot point 2
                    t3dKnot = new Transform3D();
                    t3dKnot.set (pos2);
                    TransformGroup k2TransformGroup = new TransformGroup(t3dKnot);
                    Material m6 = new Material(new Color3f(Color.GREEN), eColor, new Color3f(Color.GREEN), sColor, 100.0f);
                    Appearance a6 = new Appearance();
                    m6.setLightingEnable(true);
                    a6.setMaterial(m6);
                    Box box2 = new Box(2.0f,2.0f,2.0f,a6);
                    box2.setAppearance(a6);
                    k2TransformGroup.addChild(box2);
                    sceneTransformGroup.addChild(k2TransformGroup);
                   drawflow();
          // Colors for lights and objects
          if ( shouldCompile )
                   sceneRoot.compile( );
              universe.addBranchGraph( sceneRoot );
              reset( );
        public void reset( )
              Transform3D trans = new Transform3D( );
              exampleSceneTransform.setTransform( trans );
              trans.set( new Vector3f( 0.0f, 0.0f, 10.0f ) );
              exampleViewTransform.setTransform( trans );
              //setNavigationType( navigationType );
         * This sets up the key frame data for the spline interpolator. Each knot
         * point has a scale and rotation component specified. The second argument
         * to KBKeyFrame (in this case 0) tells the interpolator that this is
         * to be interpolated using splines. The last three arguments to
         * KBKeyFrame are Tension, Continuity, and Bias components for each
         * key frame.
         * This sets up the key frame data for the linear interpolator. Each knot
         * point has a scale and rotation component specified. The second argument
         * to KBKeyFrame (in this case 1) tells the interpolator that this is
         * to be interpolated linearly. The last three arguments to TCBKeyFrame
         * are Tension, Continuity, and Bias components for each key frame.
        private KBKeyFrame[] setupLinearKeyFrames (int begin,int end) {
          // Prepare linear keyframe data
          Point3f p =new Point3f(po[begin]);
          System.out.print("positions is"+p+"\n");
          float head  = 0.0f;                          // heading
          float pitch = 0.0f;                          // pitch
          float bank  = 0.0f;                          // bank
          Point3f s = new Point3f(1.0f, 1.0f, 1.0f);   // uniform scale
          KBKeyFrame[] linearKeyFrames=new KBKeyFrame[2];
          linearKeyFrames[0] =
             new KBKeyFrame(0.0f, 1, p, head, pitch, bank, s, 0.0f, 0.0f, 0.0f);
          p =new Point3f(po[end]);
          System.out.print("positions is"+p+"\n");
          linearKeyFrames[1] =
             new KBKeyFrame(1.0f, 1, p, head, pitch, bank, s, 0.0f, 0.0f, 0.0f);
          return linearKeyFrames;
         * This sets up alpha for the interpolator
        private Alpha setupAnimationData (int times,int duration) {
          yAxis = new Transform3D();
          Alpha animAlpha = new Alpha (times,Alpha.INCREASING_ENABLE,0,0,duration,0,0,0,0,0);
          return animAlpha;
         * create a spline and a linear interpolator, but we will activate only
         * one in startInterpolator()
        private void createInterpolators (TransformGroup t,KBKeyFrame[] k,Alpha a)
             KBKeyFrame[] kk=new KBKeyFrame[2];
             kk[0]=k[0];
             kk[1]=k[1];
          BranchGroup behaviorBranch = new BranchGroup();
          KBRotPosScaleSplinePathInterpolator linearInterpolator =
             new KBRotPosScaleSplinePathInterpolator(a, t,new Transform3D(),kk);
          BoundingSphere bounds =  new BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0f);
          linearInterpolator.setSchedulingBounds(bounds);
          behaviorBranch.addChild(linearInterpolator);
          t.addChild(behaviorBranch);
         * This activates one of the interpolators depending on the state of the
         * linear boolean flag which may be toggled by the user using the choice
         * menu.
        public void startInterpolator ()
            //linearInterpolator.setEnable(true);
         * Toggle animation 
        public void actionPerformed (ActionEvent event) {
          Object source = event.getSource();
          if (source == animateButton) {
            try {
              // toggle animation
              if (!animationOn) {
                animationOn = true;
                swtch0.setWhichChild(Switch.CHILD_NONE);
                //linearInterpolator.setEnable(false);
                animateButton.setLabel("Start Animation");
              } else {
                animationOn = false;
                startInterpolator();
                GridBagLayout      gl  = new GridBagLayout();
                GridBagConstraints gbc = new GridBagConstraints();
                canvasPanel.setLayout(gl);
                gbc.gridx = 0;  gbc.gridy = 0;
                gbc.gridwidth = 5;  gbc.gridheight = 5;
                GraphicsConfiguration config =
                    SimpleUniverse.getPreferredConfiguration();
                 canvas = new Canvas3D(config);
                 canvas.setSize(490,490);
                 canvasPanel.add(canvas,gbc);
                //linearInterpolator.setEnable(true);
                animateButton.setLabel("Stop Animation");
                createSceneGraph();
               // drawflow();
            } catch (Exception e) {
               System.err.println ("Exception " + e);
               e.printStackTrace();
         * Toggle the interpolators 
        public void itemStateChanged (ItemEvent event) {
          Object source = event.getSource();
          ItemSelectable ie = event.getItemSelectable();
          if (source == interpChoice) {
            try {
              if (ie.getSelectedObjects()[0] == "Spline") {
                linear = false;
              if (ie.getSelectedObjects()[0] == "Linear") {
                linear = true;
              startInterpolator();
            } catch (Exception e) {
               System.err.println ("Exception " + e);
         * Adjust the speed of the animations
        public void adjustmentValueChanged (AdjustmentEvent e) {
          int value = e.getValue();
          duration = 6000 - (500 * value);
          animAlpha.setIncreasingAlphaDuration(duration);
        public void drawflow()
             for(int i=0;i<unitsno;i++)
                  for(int j=0;j<2;j++)
                       for(int k=0;k<2;k++)
                            System.out.print(customerFlow[j][k]+"\n");
                        //System.out.print("i'm third loop ");
                        if(customerFlow[j][k][i]>0&&customerFlow[j][k][i]<5)
                             System.out.print("i'm small ball");
                             if(animationOn==true)
                                  break;
                             System.out.print("i'm small ball");
                             for(int x=0;x<1;x++)
                                  KBKeyFrame []KKF;
                                  KKF=setupLinearKeyFrames(j,k);
                                  Alpha a=setupAnimationData(1,5000);
                                  createInterpolators(objTransformGroup0.get(x),KKF,a);
                             //for(int t=0;t<3;t++)
                             System.out.print("i'm small ball");
                                  swtch0.setWhichChild(0);
                                  //swtch0.getChild(0).setPickable(true);
                             //swtch1.setWhichChild(Switch.CHILD_NONE);
                             //.setWhichChild(Switch.CHILD_NONE);
                             /*swtch0.setWhichChild( options[0].child );
                             swtch0.setChildMask( options[0].mask );*/
                        else if(customerFlow[j][k][i]>5&&customerFlow[j][k][i]<25)
                             if(animationOn==true)
                                  break;
                                  KBKeyFrame []KKF;
                                  KKF=setupLinearKeyFrames(j,k);
                                  Alpha a=setupAnimationData(1,5000);
                                  createInterpolators(objTransformGroup1.get(0),KKF,a);
                                  System.out.print("i'm mid ball");
                                  //swtch0.setWhichChild(Switch.CHILD_NONE);
                             //swtch2.setWhichChild(Switch.CHILD_NONE);
                             /*swtch0.setWhichChild( options[1].child );
                                  swtch0.setChildMask( options[1].mask );*/
                             swtch0.setWhichChild(1);
                             System.out.print("i'm mid ball");     
                        else if(customerFlow[j][k][i]>24)
                             if(animationOn==true)
                                  break;
                                  KBKeyFrame []KKF;
                                  KKF=setupLinearKeyFrames(j,k);
                                  Alpha a=setupAnimationData(1,10000);
                                  createInterpolators(objTransformGroup2.get(0),KKF,a);
                                  //swtch1.setWhichChild(Switch.CHILD_NONE);
                             swtch0.setWhichChild(2);
                                  /*swtch0.setWhichChild( options[2].child );
                                  swtch0.setChildMask( options[2].mask );*/
    private class NameChildMask
              public String name;
              public int child;
              public BitSet mask;
              public NameChildMask( String n, int c, int m )
                   name = n;
                   child = c;
                   mask = new BitSet(3);
                   if( (m&1) != 0 )     mask.set( 0 );
                   if( (m&2) != 0 )     mask.set( 1 );
                   if( (m&4) != 0 )     mask.set( 2 );
    private NameChildMask[] options =
              //new NameChildMask( "CHILD_ALL", Switch.CHILD_ALL,     0 ),
              //new NameChildMask( "CHILD_NONE", Switch.CHILD_NONE,     0 ),
              new NameChildMask( "Child 0",     0,               0 ),
              new NameChildMask( "Child 1",     1,               0 ),
              new NameChildMask( "Child 2",     2,               0 )};

    ORA-01722:     invalid number
    Cause:     The attempted conversion of a character string to a number failed because the character string was not a valid numeric literal. Only numeric fields or character fields containing numeric data may be used in arithmetic functions or expressions. Only numeric fields may be added to or subtracted from dates.
    Action:     Check the character strings in the function or expression. Check that they contain only numbers, a sign, a decimal point, and the character "E" or "e" and retry the operation.
    Cheers,
    Prasanna

  • 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.

  • Help needed for Notifications

    After compaing many prducts in the category I went with Forms Central because overall it looked like it had the potential to be the best, and I still think that, but I am now very dependent on it and need a few answers if possible.  First of all FormsCentral doesn't seem to show up on Adobe product lists when phoning in for help or in some on-line places.  Is FormsCentral considered an Adobe core product that they are committed to long term?  I've tied phone support 3 times now - and left a callback number and each time they call back and I jst get the recording with music on hold and have waited over an hour each time and still have not had anyone pick up the phone.
    But specific questions related to the product:
    1.  Why can I not have notifications go to an e-mail other than the one registered on the account.   For confirmations you can specify a co-author's email for the reply to field, but why not the same for notifications back to the form owner.  And how can you specify not to use a reply-to addresss at all?
    2.   What kind of backup does Adobe offer on forms and their data in the event of some disaster on the form owner's part.  Is there a way to retrieve the forms and data from a prior date if need be?
    3. When publishing a response results table to a web addreee, how can I put a pssword on it to be required to open it?  I know it has a very unique address and not likely to be seen accidentally by anyone but I have a client who insists on that befoer he will use it.
    4.  A unique ID field option would be nice
    5.  A hidden field on the form results that captures the form filler's IP address would really help too.
    Overall though great product and if you can keep the enhancements coming this product will be tops.
    Many thanks.

    We apologize for the poor experience you had with our call-in support. We are definitely committed to FormsCentral. If you ever have any questions do not hesitate to post them on this forum or send an email to [email protected] Both I and the entire product team monitor the forum and that email alias. We are here to help you... your feedback also helps us to build a better product.
    Regarding your questions:
    I wrote up a FAQ on how others can receive e-mail notifications. You can read it here: http://forums.adobe.com/docs/DOC-1424I'm not sure what you mean by this "And how can you specify not to use a reply-to addresses at all?" E-mail notifications only have a no-reply address and submission receipts have an option to turn it off.
    The form file has a history. Click the clock in the lower right corner to see it. You can roll back to an earlier version. If you are really worried about data loss you should also save the data out as an Excel file on occasion.
    There is no way to put a password on a published form file. You should just share the form file with him and make him a Reader. He would need a username and password to access it and he would see the same thing as the published file.
    Good feedback. If you haven't already, you should vote on that in the idea section - someone else has already asked for this feature. This helps us to prioritize.
    Why do you need to know the IP address?
    Thanks for your feedback!
    Randy

  • Help needed for -- RSVD_BW_GET_DELTA_DATA

    Hi Gurus,
    <b>I need some help regarding
    Delta Extraction FM : RSVD_BW_GET_DELTA_DATA</b>
    The pointer for the date up to which delta was extracted during
    the last delta update is held in table ROBWQTSTAT.
    When I tried testing this function module,
    I found that the table ROBWQTSTAT is always empty;
    Should I ideally test this from my BW server?
    I would appreciate if one of you can guide me step by step.
    (Custom modified code would be Great)
    Points assured !
    Thanks for your time and help, 
    Aby Jacob Bangalore... :-D
    ===============

    Hi,
    this worked for me and ROBWQTSTAT is empty as well.
    My parameters executing from R/3:
    I_REQUNR                        REQU       
    I_ISOURCE                       D82CLNT100 
    I_MAXSIZE                       000000     
    I_INITFLAG                                 
    I_UPDMODE                                  
    I_DATAPAKID                     000000     
    I_RLOGSYS                       D82CLNT100 
    I_READ_ONLY                     X          
    For which DSource are you running it?
    But more important; what do you want to achieve? You should be carefull since I am not sure what this will do in terms of delta handling...
    For instance, I ran it once and got 800 records as delta. ran it a second time having exception "NO_MORE_DATA"; the third time I had a dump!!
    The fourth time gave me again 800 records...
    let us know...
    Olivier.

Maybe you are looking for