Differ-imp

can anybody explain what is the main difference between static and instance components of a class in all aspects.

Hi Sandy,
"instance" components need to be instantiated. Static components do not.
By example, take a static method of class myclass called mymethod. To call this method you just need to do something like this
call method myclass=>mymethod
It is essentally the same as a function module you could call like this.
call function 'myfunction'
Instance components require the class to be instantiated and copies of the components are created for each instantiated class. So you could instantiate the same class twice and the components of each class would be very separate.
Instantiation can happen a few different ways, but simplistically you would have to do something like this.
data myinstance type ref to myclass.
create object myinstance.
call method myinstance1->mymethod
Cheers
Graham Robbo

Similar Messages

  • Imp and exp on diff version

    hi
    i have found problem in exp and imp in diff version of oracle
    i have take exp in (Oracle8i Enterprise Edition Release 8.1.6.0.0) with no error
    but when i imp this dmp on oracle personal edition
    (8.1.5.0.0)
    then it will gives error
    is it possible to takes import data from higher to lower version.
    thanks in advance.

    Oracle does not allow to import data from higher version to lower version directly but you can do it if you take catexp.sql file from your older version and run that file in the Oracle Server where you have your higher version.
    that file is found :
    <ORACLE_HOME>/rdbms/admin
    after you make the import you have to restablish your higher Oracle Server running catexp.sql beloged to that Oracle Server.
    Joel P�rez

  • How to exp/imp both diff character set tables between in DB1 and DB2?

    In the Solaris 2.7 ,the oracle 8i DB1 has NLS_CHARACTERSET
    ZHS16CGB231280 and NLS_NCHAR_CHARACTERSET ZHS16CGB231280
    character set.
    In other linux7.2 system ,the oracle 8i DB2 is install into the
    NLS_NCHAR_CHARACTERSET US7ASCII and NLS_CHARACTERSET US7ASCII
    character set.
    The tables contents of DB1 have some chinese. I want to exp/imp
    tables of DB1 into DB2 . But the chinese can't correct display
    in the SQLWheet tools. How do the Exp/Imp operation ? ples help
    me . thanks .

    The supported way to store GB231280-encoded characters is using a ZHS16CGB231280 database or a database created using a superset of GB231280 ,such as UTF8 .Can you not upgrade your target database from US7ASCII to ZHS16CGB231280 ?
    With US7ASCII and NLS_LANG set to US7ASCII , you are using the garbage in garbage out (GIGO) approach. This may seem to work but there are many hidden problems :-
    1. Invalid SQL String Function behaviours - LENGTH ( ) , SUBSTR ( ) , INSTR ( )
    2. Data can be corrupted when data is loaded into another database. e.g. EXP / IMP , Dblinks
    3. Communication with other clients will generate incorrect results. e.g. other Oracle products - Oracle Text, Forms. , Java , HTML etc.
    4. Linguistic sorts not available
    5. Query using the standard WHERE clause may return incorrect results ..
    6. Extra coding overhead in handling character conversions manually.
    I recommend you to check out the FAQ and the DB Character set migration guide on the Globalization Support forum on OTN.
    Nat.

  • What is the diff b/w Conventional Path and Direct Path?

    What is the diff b/w Conventional Path and Direct Path?
    While doing exp/imp
    which one is best in peroformance Conventional Or Direct
    consider my Oracle is 9i (9.2.0) and Os is Solaris 9
    Could you please clarify.....
    Thanks

    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1005685

  • Exp imp - 10.2.0.1 - 10.2.0.4

    Hello,
    i want to ask if it is possible to export schema from Oracle DB 10.2.0.1 using exp utility and import it using imp into another Oracle DB 10.2.0.4? Do I have to run some upgrade scripts? What is the best procedure to accomplish this?
    Thank you

    Always use the lowest version of the exp utility between source and target databases.
    Use the target version for imp utility.
    Between your versions (only patchset differ), there should not have any issues.
    Nicolas.

  • Diff between stock transfer order  and stock transport order

    pls any body tell me diff between stock transfer order  and stock transport order .is both are use for same pursose?pls explain

    Check
    very imp stock transfer and stock transport order

  • Problème impédance du module NI 9263

    Disposant d'un cRIO 9014, d'un module d'entrée NI 9215 et d'un module de sortie NI 9263, j'aimerais utiliser un filtre de reconstruction (passe-bas du 1er ordre) avec une fréquence de coupure d'environ 8 kHz en sortie du cRIO. Nous avons fait des mesures de réponse en fréquence du cRIO avec un bruit blanc [10 Hz; 10 kHz] en entrée du cRIO avec deux filtres, et les réponses des filtres seuls, avec les composants suivants :
    - le filtre n°1 avec une résistance de 680 ohms (+ impédance de sortie du NI 9263 ce qui fait 682 ohms) et un condensateur de 30 nF,
    - le filtre n°2 en utilisant l'impédance de sortie du NI 9263 avec un condensateur de 10 uF.
    Les résultats (avec des courbes lissées) sont sur la figure en pièce jointe.
    - Si pour le premier filtre tout se comporte bien, pourquoi avec le second filtre obtenons nous un comportement anormal avec une résonance vers 700/800 Hz ?
    - L'impédance de sortie du NI 9263 vaut-elle réellement 2 ohms ?
    À cause de ce comportement anormal, nous n'arrivons jusqu'à maintenant pas à obtenir de bons fonctionnements pour une application avec un circuit en boucle fermée (i.e circuit analogique relié aux entrées/sorties du cRIO).
    - Est-ce que vous auriez des exemples d'utilisation de filtres d'anti-repliement et/ou de reconstruction pour ces deux modules NI 9215 et NI 9263 ?
    Merci pour vos éclaircissements.
    Pièces jointes :
    Comp_filtres_PB.png ‏35 KB

    En regardant vos schémas, la seule différence que je constate est que
    vous avez mis une tension référencée par rapport à la masse en entrée
    du 9215 alors que dans les cas A et B, la tension était flottante.
    Essayez donc de ne brancher que la voie Uout+ à l'entrée AI+ du 9215. Ne
    connectez pas l'autre entrée à la masse (AI-) et supprimez le
    condensateur de 10uF.
    J'ai essayé en ne branchant que AI+ du 9215 et sans condensateur, la tension d'entrée sature à 10.5 V.
    D'après votre schéma, vous récupérez de la tension Uout+ à travers
    une des entrées du 9215, vous lui appliquez un gain (inférieur à 1) pour
    finalement la renvoyer sur l'une des sorties du 9263. Souhaitez-vous
    uniquement réaliser ce comportement ou souhaitez-vous également ajouter
    un filtre passe bas (avant de rentrer dans le 9215 ou après être sorti
    du 9263)?
    Ce que j'ai présenté plus haut est un cas simple de contrôle que l'on souhaite implémenter. Le gain dans le cRIO est variable et inférieur à 1 pour avoir une impédance électrique équivalente à une résistance. Donc dans le cas C, pour être équivalent au cas A (résistance de 4.7 ohms), on applique un gain de 1/4.7, soit 0.213. Le but est d'appliquer un gabarit spécifique plus complexe (qui a l'allure d'un passe-bas) à la place de ce gain dans le cRIO.
    Pourriez-vous me donner l'ordre de grandeur et le type de tension (sinusoïdal, continue, bruit) qui arrive en entrée du 9215?
    On utilise tous les types de tension (sinusoïdal, sinus glissant, bruit) sans composante continue sur la source exogène (i.e autre HP) pour avoir le même type de signal dans le système bouclé. L'ordre de grandeur est de 10 à 100 mV.
    Et pourriez-vous également poster votre vi gérant la réception de la
    tension en entrée du 9215, appliquant le gain et renvoyant la tension en
    sortie du 9263?
    Ci-joint
    On avait préalablement essayé avec une NI 9234 au lieu de la NI 9215. Le problème est qu'elle provoque un déphasage en sortie beaucoup trop important pour une application temps réel.
    Merci encore pour votre aide et votre rapidité.
    Pièces jointes :
    VI FPGA block diagram.png ‏26 KB

  • Convertir des données différentes pour les afficher dans un même tableau.

    Bonjour,
    Je souhaite afficher des données de types différents dans un même tableau.
    Concrètement, sur la face avant du VI en pièce jointe (HP8720), le tableau du bas affiche des valeurs (impédance), mais on ne sait pas pour quelle fréquence elles ont été obtenues (le but de ce VI est de faire un balayage en fréquence et de récupérer la tension et l'impédance aux bornes d'une puce). J'ai essayé de passer par les clusters et de concaténer l'ensemble dans un même tableau. En fait, il manque "juste" une ligne Fréquence au dessus des résultats de l'impédance mesurée.
    Merci de votre aide.
    Cordialement.
    Pierre
    Pièces jointes :
    HP8720FréquencesTest.vi ‏100 KB
    DETECT-SEUIL.vi ‏41 KB

    Bonjour,
    Merci pour la réponse. Effectivement, mon message était incomplet.
    Je souhaiterais faire apparaître dans un même tableau une fréquence (correspondant à une itération de la boucle), ainsi que la tension et l’impédance mesurées pour cette fréquence (un tableau de 3 lignes - fréquence, tension et impédance - avec autant de colonnes  que d’itérations serait l’idéal).
    Un premier obstacle est que l’impédance s’exprime avec 2 éléments (partie réelle et partie imaginaire) alors que la fréquence et la tension ne sont chacune constituée que d’un seul élément. D’où ma difficulté pour concaténer des données de types différents dans un même tableau. J’ai réussi à convertir la fréq et la tension en cluster à 1 élément, mais je pense qu’il faut « diviser » l’impédance en 2 clusters de 1 élément chacun pour les relier sur le même tableau. Votre exemple semble convenir, mais je n’ai pas réussi à l’adapter à mon VI. L’idée d’un tableau 2D à 3 colonnes et N lignes (N correspondant à chaque itération) me convient également.
    La seconde (et nouvelle) difficulté vient du calcul des points de l’appareil. Le nombre total de points de l’impédance est calculé de la manière suivante : nb de segment * (nb de points par segment – 1) + 1.
    Dans mon VI, il y a 22 segments (le chiffre 21 apparaît, mais les itérations vont de 0 à N au lieu de s’arrêter à N-1) de chacun 3 points donc : 22 * (3-1) + 1 = 45. La première itération donne les 3 premiers points, puis chacune des suivantes donne 2 points. On m’a demandé que ce ne soit que la dernière mesure (donc la 3ième pour la première itération, puis la 2nd pour les suivantes) qui s’affiche dans le tableau.
    Merci pour votre aide.
    Cordialement.
    Pierre
    Pièces jointes :
    HP8720FréquencesTest[2].vi ‏103 KB

  • What is diff b/w sy-index and sy-tabix

    Hi all,
    Can u plz give me the diff b/w sy-index and sy-tabix exactly and how it works.
    Thanks & Regards
    Venkat

    Hi Venkat,
    <b>1.SY-INDEX</b>
    <b>-></b>Current loop pass
    <b>-></b>In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.
    <b>2.SY-TABIX</b>
    <b>-></b>Current line index
    Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables.
    The field is either not set or is set to 0 for hashed tables.
    <b>APPEND</b> sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.
    <b>
    COLLECT</b> sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.
    <b>LOOP AT</b> sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.
    <b>READ TABLE</b> sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.
    <b>
    SEARCH</b> <itab> FOR sets SY-TABIX to the index of the table line in which the search string is found.
    I think that it clears ur doubt.
    <b>Thanks,
    Venkat.O</b>

  • How can I use same account in 2 iphone with diff contact list?

    how can I use same account number but other all totally diff such as contact list, application, everything ..... I found that it's bad on IOS5.
    when I used IOS4 .. old verison, I can keep my phone in diff data. Afte upgrade IOS 5, it's bad. Even take photo, it can not focus zoom in and out.

    how can I use same account number but other all totally diff such as contact list, application, everything ..... I found that it's bad on IOS5.
    when I used IOS4 .. old verison, I can keep my phone in diff data. Afte upgrade IOS 5, it's bad. Even take photo, it can not focus zoom in and out.

  • Diff b/w btree and bitmap index ?

    What is the difference between btree and bitmap index ?
    which one to used and when.
    how they are differ from each other.

    you'd love to see
    http://www.oracle.com/technology/pub/articles/sharma_indexes.html

  • Diff  b/n sy-tabix and sy-indx

    diff  b/n sy-tabix and sy-indx ?

    Hi Henry,
    SY-INDEX is the value of the current iteration. It is applicable for the following programming constructs in ABAP -
    DO...ENDDO.
    WHILE...ENDWHILE.
    SY-TABIX (TABle IndeX) is applicable to internal tables. If you scroll down in the link which Eddie has given, you will find a more detailed explanation for sy-tabix and which statements affect its value.
    Regards,
    Anand Mandalika.

  • Wht is diff b/w sy-ucomm and ok code

    hi,
    what is diff b/w sy-ucomm and ok-code
    Regards,
    Rani.

    Hi,
    sy-ucomm is for doing the functions what the user wishes to do at that particular event. You use it in menus and other place . this mainly in using <pfstatus>
    ok_code is generally used in screen as of I have used. You will define the function in the screen. and you can use it in the main program.
    ok_code acts just as a temporary variable that stores the value of sy-ucomm.
    When user interacts with the screen elements, the function code that you have assigned is filled in the sy-ucomm field which is turn gets reflected in OK_CODE.
    In your ABAP programs, you should work with the OK_CODE field instead of SY-UCOMM. There are two reasons for this: Firstly, the ABAP program has full control over fields declared within it, and secondly, you should never change the value of an ABAP system field. However, you should also always initialize the OK_CODE field in an ABAP program for the following reason:
    In the same way that the OK_CODE field in the ABAP program and the system field SY-UCOMM receive the contents of the corresponding screen fields in the PAI event, their contents are also assigned to the OK_CODE screen field and system field SYST-UCOMM in the PBO event. Therefore, you must clear the OK_CODE field in the ABAP program to ensure that the function code of a screen is not already filled in the PBO event with an unwanted value. This is particularly important when the next PAI event can be triggered with an empty function code (for example, using ENTER). Empty function codes do not affect SY-UCOMM or the OK_CODE field, and consequently, the old field contents are transported.
    Diff bet OK-CODE and SY-UCOMM
    Difference Between SY-UCOMM and OK_CODE
    ok_code/ sy-ucomm usage in dialog program

  • Diff betw SY-LSIND and SY-LILLY

    Hi,
    Tel me the Diff betw SY-LSIND and SY-LILLY.?
    Points wil b rewarded for useful answers.
    Thanx in advance.

    Hi Pavitra
    <b>SY-LSIND</b>
    Index of the list that is being created (basic list: 0, detail list > 0). Each time an interactive list event occurs, the system automatically increases SY-LSIND by 1. SY-LSIND can be changed in the ABAP program to navigate between detail lists. Changes to SY-LSIND are not taken into account until the end of the list event. Therefore, any manipulation of SY-LISND should be done using the last command of the processing block.
    <b>SY-LILLI</b>
    Line from which the event was triggered Counting begins at 1 and includes the page header.
    and here is one more
    <b>SY-LISTI</b>
    List Index of the list from which the event was triggered
    Regards Rk

  • Diff b/w Intercompany Billing and TPO.

    Hi SAP  gurus,
    What is the diff b/w Inter company Billing and Third Party Order

    Dear Sabina
    Inter Company Billing
    You can set up your system in such a way that one purchasing organization procures material for a plant from a vendor (plant) that belongs to another company code within the same client (corporate group). This is an instance of an inter-company-code stock transfer with an SD delivery and a billing document
    Third Party Billing
    In third-party processing, you place a purchase order with a vendor to deliver goods or perform a service for a third party (for example, for a customer).
    This means that your company does not deliver the material. You forward the order to an external vendor instead, who then sends the material directly to the customer and invoices you.
    Third-party processing is carried out in the components SD (Sales and Distribution) and MM (Materials Management). By creating a third-party item in a sales order, purchase requisition, or purchase order, you can request that the vendor sends the goods directly to your customer. A document can consist of one or more third-party items.
    Thanks
    G. Lakshmipathi

Maybe you are looking for