Interfaces casts are type-checked differently to class casts?

hi,
this is a multipost of
http://forum.java.sun.com/thread.jspa?threadID=677488&tstart=0
as i'm hoping some compiler guys are hanging around in here :)
I'm just wondering why interfaces are type-checked differently to class casts when casting between siblings in the inheritance hierarchy.
e.g. casting a String to an Integer fails, but declaring
interface IString {
   String toUpperCase();
interface IInteger {
   int intValue();
} and casting between IString and IInteger works fine?
any help appreciated,
thanks,
asjf

Unless you have specific memory usage requirements so that you must use arrays, just use a java.util.List:
public abstract class Type<A extends Arg> {
    protected abstract List<A> method();
   // or if the only needs to read it can be more convenient to have
    protected abstract List<? extends A> method2();
public class Sub extends Type<SubArgs> {
    protected List<SubArgs> method() { ... }
    // sub class can be more specific for method2 if it wants to
    protected List<SubArgs> method2() { ... }
}

Similar Messages

  • Material type with Different valuation class and gl assignment

    Hi Experts
    I have several division in Material Type Spare Parts ( like Generator, Electrical, Mechanical). I have to assign different gl account for each material type. We know one material type is assigned only one account category reference. So how we can assign different gl account for same material type using valuation class.

    You can assign different G/Ls to different materials by creating valuation classes and assigning different G/Ls to those valuation classes and then assigning those valuation classes to materials.
    You cannot assign G/Ls to material type.
    Now if you want different G/Ls to be assigned to same material, you need to use split valuation.

  • [svn:fx-trunk] 10459: Change to ensure ScriptNodes are no longer part of the node tree after interface compilation stage in order to avoid the extra code that was necessary to avoid tripping over them during type checking , etc.

    Revision: 10459
    Author:   [email protected]
    Date:     2009-09-21 08:42:44 -0700 (Mon, 21 Sep 2009)
    Log Message:
    Change to ensure ScriptNodes are no longer part of the node tree after interface compilation stage in order to avoid the extra code that was necessary to avoid tripping over them during type checking, etc.
    Improving revision 10199 a bit, to allow for single line comments.
    QE notes: None
    Doc notes: None
    Bugs: SDK-22027
    Reviewer: Paul
    Tests run: Checking, Compiler cyclones
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22027
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.java

    In general theory, one now has the Edit button for their posts, until someone/anyone Replies to it. I've had Edit available for weeks, as opposed to the old forum's ~ 30 mins.
    That, however, is in theory. I've posted, and immediately seen something that needed editing, only to find NO Replies, yet the Edit button is no longer available, only seconds later. Still, in that same thread, I'd have the Edit button from older posts, to which there had also been no Replies even after several days/weeks. Found one that had to be over a month old, and Edit was still there.
    Do not know the why/how of this behavior. At first, I thought that maybe there WAS a Reply, that "ate" my Edit button, but had not Refreshed on my screen. Refresh still showed no Replies, just no Edit either. In those cases, I just Reply and mention the [Edit].
    Also, it seems that the buttons get very scrambled at times, and Refresh does not always clear that up. I end up clicking where I "think" the right button should be and hope for the best. Seems that when the buttons do bunch up they can appear at random around the page, often three atop one another, and maybe one way the heck out in left-field.
    While I'm on a role, it would be nice to be able to switch between Flattened and Threaded Views on the fly. Each has a use, and having to go to Options and then come back down to the thread is a very slow process. Jive is probably incapable of this, but I can dream.
    Hunt

  • Class vs. interface casting

    This is a long read. But since I wrote test code and think its a ligit question:
    After compiling, if I move a *.class file to a different directory, casting with a class (but not an interface) fails. Please look at my test code to understand what I am trying to say:
    public class Main {
      public static void main(String[] args) {
        try {
          MyClassLoader mcL = new MyClassLoader();
          Class classA = mcL.loadClass("whatever");
          I inst = (I) classA.newInstance(); // <-- good
          // ClassA inst = (ClassA) classA.newInstance(); <-- bad
          inst.foo();
        } catch(Exception e) { e.printStackTrace() ; }
          public static class MyClassLoader extends ClassLoader {
            protected Class<?> findClass(String s) throws ClassNotFoundException, ClassFormatError {
              try {
                InputStream in = new FileInputStream(new File("/etc/ClassA.class"));
                int i = in.available();
                byte[] buf = new byte;
    in.read(buf, 0, buf.length);
    return defineClass(buf, 0, buf.length);
    } catch(Exception e) {e.printStackTrace(); }
    return null;
    public class ClassA implements I {
    public void foo() { println("ClassA::foo-->ok"); }
    public interface I { public void foo(); }
    C:\dev\dir *java
      Main.java
      ClassA.java
      I.java
    C:\dev\javac *java
    C:\dev\move ClassA.class \etc
    C:\dev\java Main
    using interface cast = no problem
    using a class to cast = _fail_
    Exception in thread "main" java.lang.NoClassDefFoundError: ClassA
         at Main.main(Main.java:18)
    Caused by: java.lang.ClassNotFoundException: ClassA
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         ... 1 more
    I will only cast with interfaces, but wondering what is going on with why casting with a class fails.
    _note_: to test that casting with classes works at all I wrote this code snippet:
    Class c = Thread.class;
    Class[] noArg = new Class[0];
    Constructor constr =  c.getConstructor(noArg);
    Thread t = (Thread) constr.newInstance(new Object[0]);
    println("-->" + t.getId());
    I hope this proves casting with classes is possible.So sometimes casting with a class is ok, sometimes not. I wonder why.
    thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    ejp wrote:
    After compiling, if I move a *.class file to a different directoryYou can't do that. The .class file has to be in whatever directory is indicated by its package statement. Two classes with the same name in different packages are different, and a .class file in the wrong directory will cause NoClassDefFoundErrors.can i ask a follow-up?
    To be painfully clear, when I hit this line:
    ClassA inst = (ClassA) classA.newInstance();The type-checking tripped me up. I had a valid "ClassA" object. Object creation had been internalized to my class loader. However, when the jvm did a type-check, it needed to load the ClassA.class file, and it had been removed. So, my casting with a class failed only because of type-checking?

  • ITunes Automatically Change EQ Setting Based On Which Airport Express Streaming?  I have two Airport Expresses running at my house. Both are connected to different types of speakers. Neither speaker set has its own equalizer, and both require a different

    I have two Airport Expresses running at my house. Both are connected to different types of speakers. Neither speaker set has its own equalizer, and both require a different EQ setting to sound just right. Does anyone know of a way to have iTunes automatically change its EQ setting based on which Airport Express it is streaming to?

    I'm in the same boat. I have a 6 zone amplifier running with 6 airport expresses to different rooms inside and outside the house. Each has it's own acoustic characteristics. I'd really love to be able to set each airport to equalize based on my SPL frequency sweep I did for each room.
    Setting the eq in itunes won't do it as that is global plus I have many more sources for auiod other than itunes that use the AEs directly.

  • Different ord.dep.start date in depreciation area 01.Check in asset master

    Hi Experts,
    In asset master depreciation area when i was entering the today date system is giving the below warning message. But I have not maintained any date for the ord deprecation
    Different ord.dep.start date in depreciation area 01.Check
    Message no. AA186
    Diagnosis
    The ordinary depreciation start date you entered is different to the ordinary depreciation start date 01.03.2011 determined by the system in depreciation area 1..
    Procedure
    Check the ordinary depreciation start date you entered.
    Kindly help me on this
    Regards
    venkataswamy

    Hi
    Ord Dep Start is determined by the Period Control in your dep key...However, if you want to overwrite it manualy, ignore the Warning message
    Br, Ajay M

  • Different ord.dep.start date in depreciation area 15.Check

    Hi,
    While saving an Asset Mastter record the system is throughing me a warning message as " Different ord.dep.start date in depreciation area 15.Check"
    Message no. AA186
    Diagnosis
    The ordinary depreciation start date you entered is different to the ordinary depreciation start date 01.10.2008 determined by the system in depreciation area 1..
    Can any one help me  out how to resolve this issue.
    Thanks
    Sivanand

    hi
    check your depreciation area setting whether you have used another start date for calculation

  • Different Transaction Types for Different Depreciation Areas

    Dear Friends,
    When I am viewing the asset explorer for the asset, it is oberved that for book derpreciation 01, the asset transaction type "acquisition value" is updated and am able to view the same.
    However when I am going through the tax depreciation area, the transaction type intercompany transfer" got updated and the acquisition values are not updated.
    I would like know the reason of how the system is going to update different transaction types in different depreciation areas since the postings only takes effect in book depreciation and same should be diplayed for tax depreciation.
    Thanks in advance!

    hi
    go to OAYA
    select        "Limit Transaction Types to Depreciation Areas"
    select the trnsaction type you using .
    select depreciation area specification
    and maintain entries for every dep area you want to maintain for transaction type.
    regards

  • What are all the different account types?

    What are all the different account types?
    What is variance reporting?
    Where you create exchange rate table?

    Essbase provides two variance reporting properties—expense and non-expense. The default is non-expense. Variance reporting properties define how
    Essbase calculates the difference between actual and budget data in members with the @VAR or @VARPER function in their member formulas.
    When you tag a member as expense, the @VAR function calculates Budget - Actual.
    For example, if the budgeted amount is $100 and the actual amount is $110, the variance is -10.
    Without the expense reporting tag, the @VAR function calculates Actual - Budget. For example, if the budgeted amount is $100 and the actual amount is $110, the variance is 10

  • Writing in a Text Area from a different class.

    Hi,
    I need to write some text in a Text Area which is in a class I've call GUI where I handle all the graphic stuff but I need to do it from another class which handles packets that come through a COM port.
    Is there anyway to do that?
    Thanks!

    Thank you! I'll try that but I think I might have problems with that since an instance of the Gui class was already created. I'm using the NetBeans Gui design form wich already makes the code for the Gui and this is what I have public class Gui extends javax.swing.JFrame {
        Connection connection = new Connection();
        /** Creates new form Gui */
        public Gui() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            bnConectar = new javax.swing.JButton();
            cbPuerto = new javax.swing.JComboBox();
            lblPuerto = new javax.swing.JLabel();
            jScrollPane1 = new javax.swing.JScrollPane();
            taPuerto = new javax.swing.JTextArea();
            bnPing = new javax.swing.JButton();
            jMenuBar1 = new javax.swing.JMenuBar();
            mArchivo = new javax.swing.JMenu();
            miNuevoP = new javax.swing.JMenuItem();
            miCargarP = new javax.swing.JMenuItem();
            miGuardarP = new javax.swing.JMenuItem();
            miSalir = new javax.swing.JMenuItem();
            mEdicion = new javax.swing.JMenu();
            mMonitorizacion = new javax.swing.JMenu();
            miMonON = new javax.swing.JMenuItem();
            miMonOFF = new javax.swing.JMenuItem();
            miPing = new javax.swing.JMenuItem();
            miConfig = new javax.swing.JMenuItem();
            mAyuda = new javax.swing.JMenu();
            miAcerca = new javax.swing.JMenuItem();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            setTitle("Monitorizaci?n");
            bnConectar.setFont(new java.awt.Font("Tahoma", 1, 11));
            bnConectar.setText("Conectar");
            bnConectar.setToolTipText("Conecta con el puerto seleccionado.");
            bnConectar.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    bnConectarActionPerformed(evt);
            cbPuerto.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
            lblPuerto.setFont(new java.awt.Font("Tahoma", 1, 14));
            lblPuerto.setText("Puerto");
            taPuerto.setColumns(20);
            taPuerto.setRows(5);
            jScrollPane1.setViewportView(taPuerto);
            bnPing.setFont(new java.awt.Font("Tahoma", 1, 11));
            bnPing.setText("Ping");
            bnPing.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    bnPingActionPerformed(evt);
            mArchivo.setText("Archivo");
            miNuevoP.setText("Nuevo Proyecto");
            mArchivo.add(miNuevoP);
            miCargarP.setText("Cargar Proyecto");
            mArchivo.add(miCargarP);
            miGuardarP.setText("Guardar Proyecto");
            mArchivo.add(miGuardarP);
            miSalir.setText("Salir");
            mArchivo.add(miSalir);
            jMenuBar1.add(mArchivo);
            mEdicion.setText("Edici?n");
            jMenuBar1.add(mEdicion);
            mMonitorizacion.setText("Monitorizaci?n");
            miMonON.setText("Monitorizaci?n ON");
            mMonitorizacion.add(miMonON);
            miMonOFF.setText("Monitorizaci?n OFF");
            mMonitorizacion.add(miMonOFF);
            miPing.setText("Ping");
            mMonitorizacion.add(miPing);
            miConfig.setText("Configuraci?n");
            mMonitorizacion.add(miConfig);
            jMenuBar1.add(mMonitorizacion);
            mAyuda.setText("Ayuda");
            miAcerca.setText("Acerca");
            mAyuda.add(miAcerca);
            jMenuBar1.add(mAyuda);
            setJMenuBar(jMenuBar1);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addGroup(layout.createSequentialGroup()
                            .addComponent(lblPuerto)
                            .addGap(17, 17, 17)
                            .addComponent(cbPuerto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(bnPing)
                            .addComponent(bnConectar)))
                    .addGap(45, 45, 45)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 214, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(287, Short.MAX_VALUE))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                            .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap())
                        .addGroup(layout.createSequentialGroup()
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(cbPuerto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lblPuerto))
                            .addGap(18, 18, 18)
                            .addComponent(bnConectar)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 12, Short.MAX_VALUE)
                            .addComponent(bnPing)
                            .addContainerGap(172, Short.MAX_VALUE))))
            pack();
        }// </editor-fold>
        private void bnConectarActionPerformed(java.awt.event.ActionEvent evt) {                                          
            try{
               connection.connect();
            }catch (XBeeException e){
        private void bnPingActionPerformed(java.awt.event.ActionEvent evt) {                                      
            try{
               connection.ping();
            }catch (XBeeException e){
        * @param args the command line arguments
        public static void main(String args[]) throws Exception, InterruptedException {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                   new Gui().setVisible(true);
        }Would that be a problem?
    Thanks again!

  • I like to know the table name where all the Interface name ( Data Type and

    Dear Friends,
    I like to know the table name where all the Interface name ( Data Type and Message Type in IR ) is stored.
    Thanks.

    Hi,
    Please find the repository API’s in the SE24 class builder that can be used for accessing repository objects from the ABAP stack of SAP XI. Check CL_SRAPI* in the SE24 transactions for digging further.
    location of interface objects
    CL_SRAPI_DATA_TYPE---data type
    CL_SRAPI_DATA_TYPE_ENH---data type enhancement
    CL_SRAPI_FAULT_MESSAEG_TYPE--fault message type
    CL_SRAPI_MESSAGE_TYPE--message type
    CL_SRAPI_INTEGRATION_SCENARIO--integration scenario
    have a look at the table SXMSPMAST, SXMSCLUP & SXMSCLUR
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4fbe7b8e-0a01-0010-b69b-b7e717378f22#search=%22SXMSPMAST%20%2B%20XI%22
    That document has references to lot of tables maybe it can be of use to u.
    Look at the below thread for SXMB_MONI tables and Function module:
    In Which Database Table the Messages are Stored in XI
    Message Monitoring  --> corresponding tables?
    Edited by: Dharamveer Gaur on Oct 8, 2008 10:40 AM

  • The instance is using interface 'eth0' of type 'Unknown'.

    Hello,
    I've installed an oracle cluster 10.2.0.1.0 with two computer successfully.
    The two computer are SUSE linux ; "uname -a" display
    Linux dbprod1 2.6.13-15.8-smp #1 SMP Tue Feb 7 11:07:24 UTC 2006 x86_64
    x86_64 x86_64 GNU/Linux
    After a month I was obliged to change the subnet of eth0. So i must change the
    addresses of the 2 machines and the 2 VIP address.
    With the utility oifcfg I correct the information about the interface eth0. (I
    execute also vipca)
    oifcfg iflist
    eth0 10.23.11.0
    eth1 10.25.13.0
    oifcfg getif
    eth0 10.23.11.0 global public
    eth1 10.25.13.0 global cluster_interconnect
    Now in the EM I obtain this two warnings (one for each instance):
    mbprod_mbprod2: Interconnect; Interface Type;The instance is using interface
    'eth0' of type 'Unknown'.
    mbprod_mbprod1:Interconnect; Interface Type; The instance is using interface
    'eth0' of type 'Unknown'.
    How can I correct the problem?
    Thank you very much.

    Manorama wrote:
    Suppose we are using interface, to use the method declared in the interface, which is implemented in another class. Now what is the difference between using the interface instead of directly instantiating the implemented class to use the method. Can anyone explain me in detail.To use an interface an implementing class must be instantiated somewhere (though not necessarilly in your own code). The object in question is accessed through the interface, but in reality every Object is an instance of a concrete class. For example say you connect to a database. DriverManager gives you an object which implements java.sql.Connection. The object you get will actulay be of a class defined inside the database provider's libraries and which you may well not be allowed to instanciate yourself, all you need to know is that it implements Connection. And because you handle it as a reference to Connection, you don't need to care what the actual class is, you can change the database URL and switch to a completely different database driver without changing your code.

  • What are the major components in class?

    1)     What is the purpose of ‘load-of-program’? When it will be trigger?
    2)     Write the code for displaying the three parameters in single line with the first parameter as mandatory in the selection screen?
    3)     Which event triggered whenever the user call the function BACK, EXIT, CANCEL?
    4)     What are the major components in class?
    5)     What is the functional module is used to get popup screen for ALV reports?
    6)     Which type of pool is used to get drop-down list?
    7)     What is the tcode for creating the variant truncations?
    8)     Is it possible to call LDB’s number of times in same report?
    9)     What are the conditions to use control break statements in our report program?
    10)     What is the use of range statement?
    11)     What is the difference between normal reports and alv reports? With comparing to normal report are there any disadvantages in alv reports?
    12)     What are the components used to suppress the fields in the selection-screen?
    13)     What is the standard program to transport selection screen variants?
    14)     What is the event keyword for defining event block for reporting events?
    15)     What is the specific statement use when writing a drill down report?
    16)     What are the different tools to report data in sap?
    17)     Write the menu path to create a selection text in reports?
    18)     How do we omit the leading zero s while formatting outputs in reports?
    19)     What are the report truncations?
    20)     How do we align selection input in single row?
    21)     How do we suppress the display of input fields on selection screen?

    this forum is not for answering your interview questions...if you stucked with any realtime problem then post...please try to respect forum terms and conditions.
    Thank you.

  • Mm:can we assign movement type to different g/l acc.

    dear gurus.
    please help me out.
    can we assign movement type to different g/l acc.
    if yes how?
    thanks
    piyush singh

    Its depends , if the valuation class, plant is different, yes you can define diff G/L acc, but if all criteria in the same, then you can copy the mov,type and then define your own account modification then assign the diff G/L acc in OBYC.
    Please also check this link:
    Movement Type 261 - Different G/L account to get debited for same Movement

  • Create relation between two blocks which are based on different procedure

    Hiii
    How to create relation between two blocks which are based on different stored procedures in Oracle form??
    Pradhyumn Sharma

    hiii,
    I selected the common key deptno in both procedure.
    I created a relation between both procedure. but when i compile the form it give an error in ON-CHECK-DELETE-MASTER. My procedure are
    ==================================
    PACKAGE emp_pkg AS
    TYPE emprec IS RECORD(
    empno asg_emp.empno%type,
    ename asg_emp.ename%type,
    job asg_emp.job%type,
    sal asg_emp.sal%type,
    deptno asg_emp.deptno%type);
    TYPE emptab IS TABLE OF emprec INDEX BY BINARY_INTEGER;
    PROCEDURE empquery(block_data IN OUT emptab, p_deptno IN NUMBER);
    end;
    ====================================
    PACKAGE dept_rec IS
    type rec is record(dname asg_dept.dname%type,
         loc     asg_dept.loc%type,
         deptno asg_dept.deptno%type);
    type deptrec is table of rec index by binary_integer;
    PROCEDURE dept_rec1(block1 in out deptrec);
    END;
    ===================================
    In ON-CHECK-DELETE-MASTER
    CURSOR BLOCK9_cur IS
    SELECT 1 FROM dept_rec.dept_rec1 d
    WHERE d.DEPTNO = :BLOCK6.DEPTNO;
    identifier dept_rec.dept_rec1 must be declared.
    Regards
    Pradhyumn

Maybe you are looking for

  • PDF functionality in PRS-T1

    When I tried to open a complex PDF file in my new PRS-T1, I received the message "for the best experience, open this PDF portfolio in Acrobat 9 or Adobe Reader 9 or later". The document did not open at all but there was a purportedly helpful little b

  • Dbms_metadata.get_ddl

    Hi I am having issues running this oracle package within a stored procedure. I can get the code to work within a select statement. I can even get it to work within a declare/begin/end statement but as soon as i put it in a SP i get the following erro

  • Proxy to file scenario issue

    Hi, I am trying to configure a Proxy to file scenario. My sender service is ERP system and the my receiver is PI file system. These are the steps I followed: 1. Created a sender business system for Web AS abap (my ERP system) 2. Created a receiver bu

  • HT4053 How can I connect my old equipment (USB) in my new ipad?

    What can I do?

  • Relation between SO and RMA line

    Hi all I am working in RMA right now. Actually my task is to update a RMA line. From SOA i am getting an 'ORDER_NUMBER' and 'LINE_NUM' which are created in a different application. And using the ORDER_NUMBER i can go into the SALES ORDER created in E