Class Hierarchy - general question...

SAP Gurus.
...just a general question regarding class hierarchy.
Are there any negative effects that I should be aware of...before I start creating a lot of class hierarchies ?
Can they easily be deleted ?
Please advice.

Hi,
as per my knowledge, once its being used in configuration its not easy and some times not allowed to delet it.
Thanks
Ritesh

Similar Messages

  • Inner classes - a general question

    i'm having some difficulties understanding when to use a static inner class
    and when to use a non static inner class
    lets say i'm implementing a LinkedList , and i want my nodes and my iterator
    implemented in inner classes .
    when and why should i declare them static or non static.
    thank you very much in advance.

    Inner classes are never static. Nested classes can be either static or non-static; a non-static nested class is called an inner class.
    Anyway, an inner class implicitly gets a reference to an object of the outer class, while a static nested class doesn't, so the decision should depend on whether or not it needs that.
    An iterator would need a reference to its collection so it would be a non-static nested class. A node wouldn't so it would be a static nested class.

  • Report Builder Question - OA AR Aging - and a general question

    I'm sure this is the wrong forum for this question, but I thought there might be someone here who might be using Oracle Applications and Report Builder who'd be kind enough to help me out.
    We've recently implemented Oracle Applications 11.5.10 and I have to use report builder to change the Accounts Receiveable Aging (7 bucket) to a 5 bucket report. I've already made some changes to the seeded "ARXAGMW.rdf" report, but I'm not a big Oracle Reports guy. I've stumbled through making some changes in various other reports. But this one is just plain nasty! :)
    I was thinking that I could simply add buckets 6 & 7 to bucket 5, then just hide or delete the 6 & 7 buckets. But I'm not sure where to even start. Any help with this would GUARANTEE a Christmas or other holiday card this year! :)
    I really want to keep this simple as possible, so any help would be very....helpful. :)
    Oh, my general question is: Are there any resouces/books for Oracle Reports (Report Builder)? I feel so lost trying to modify existing reports, let alone creating new ones.
    Thanks again!
    Steve

    Hi Steve,
    I am working on the 7-bucket aging report and i want to add a new field in data model.
    As the query is build dynamically, i have modified the function BUILD_CUSTOMER_SELECT to meet my requirements.
    But the problem is that in the data model, the field is not present in my Grouping. and if I try to add the field in the Data Model query (Q_ Customer) section,
    i get the following error: ORA-01789: query block has incorrect number of result columns.
    The query is as shown below:
    select rpad('a',50,'-') short_cust_name,
    0 cust_id,
    rpad('a',30,'-') cust_no,
    rpad('a',500,'-') sort_field1,
    rpad('a',40,'-') sort_field2,
    0 payment_sched_id,
    rpad('a',32,'-') class,
    sysdate due_date,
    0 amt_due_remaining,
    0 days_past_due ,
    0 amount_adjusted,
    0 amount_applied,
    0 amount_credited,
    sysdate gl_date,
    'x' data_converted,
    0 ps_exchange_rate,
    0 b0,
    0 b1,
    0 b2,
    0 b3,
    0 b4,
    0 b5,
    0 b6,
    rpad('a',25,'-') bal_segment_value,
    rpad('a',500,'-') inv_tid,
    rpad('a',32,'-') invoice_type
    , 'y' parent_cust --I WANT A NEW FIELD HERE TO BE VIEWED ON THE REPORT LAYOUT LATER
    from dual
    where 1=2
    UNION ALL
    &common_query_cus
    Did i missed somthing 4 me to be able to add the field here?

  • Helper Class Hierarchy for WDA

    Hi
    I am working on a project that requires several WDA apps and therefore wish to house all common methods in one class. Each WDA has it's own assistance class and methods particular to that WDA but I wish to access common methods from a 'superclass' of these assistance classes.
    My question is how to call the common methods.
    Since my assistance class already has a superclass - cl_wd_assistance - I am currently creating an instance of my common methods class in the constructor of the assistance class.  I am thinking I should be using an interface somehow but am unclear on the reason behind it.
    Has anyone setup a hierarchy of classes to support a multi WDA project?
    Cheers
    Ian

    Haven't had this need myself but did you try to make the superclass (which has the common functionality) inherit from CL_WD_COMPONENT_ASSISTANCE, and then defining each subclass in the corresponding WDA? I don't know if WDA does some validation which forces any class defined as Assistance class to inherit directly from CL_WD_COMPONENT_ASSISTANCE (I'm not at the system now), but such a validation would make no sense...
    What I mean is to:
    1 - Create the superclass e.g. ZCL_SUPER from SE24 (if you didn't yet) and manually define CL_WD_COMPONENT_ASSISTANCE as its superclass.
    2 - Create each subclass e.g. ZCL_SUBxx from SE24 (if you didn't yet) and manually define ZCL_SUPER as their superclass (instead of CL_WD_COMPONENT_ASSISTANCE).
    3 - Manually define each ZCL_SUBxx class as the assistance class of each component (instead of creating the class while defining as SE80 allows).
    So this would leave you with this hierarchy:
    CL_WD_COMPONENT_ASSISTANCE
         ZCL_SUPER
             ZCL_SUB01
             ZCL_SUB02
             ZCL_SUBxx
    Since all the ZCL_SUBxx classes would be still inheriting (indirectly) from CL_WD_COMPONENT_ASSISTANCE, they should be allowed to be defined as Assistance classes...let me know if this works.
    Regards
    Edited by: Alejandro Bindi on Jan 28, 2009 11:39 PM
    I may add however, you should use inheritance when you can define (conceptually) that any subclass is a special type of the superclass...exceptions are less common.

  • Proper class hierarchy

    Hi all
    I've a class hierarchy problem. I'm trying, to create classes that will parse XML files for different sports, and display them in the table. I've no influence on XML files which I read, and they are different for each sport. To avoid code repeating I've created such a structure:
    public interface Sport {         
        public List getMatchlist(Integer leagueId);
        public void addMatchlist(Integer localCategoryId);
        public void addMatch(Integer categoryId, Map data);  
    public abstract class TeamSport implements Sport {
         public List getMatchlist(Integer remoteLeagueId, int NOT_STARTED_STATUS) throws Exception {
          // here between other lines I need to invoke function from class that extends this class...
    public class Soccer extends TeamSport{
        private static String SPORT_ID = "s";
        public Soccer(Map params) {
            super(params, SPORT_ID);
        public String getRemoteStatusName(int statusCode) {
            return SoccerStatusCodes.getStatusName(statusCode);
        public int getRemoteNotStartedStatus() {
            return SoccerStatusCodes.NOT_STARTED;
    } What my problem is, that for team sports xml are very similar, but xml node attribute status has different values for each sport. And I need to use it in TeamSport.getMatchlist class. I'd need to invoke Soccer.getRemoteNotStartedStatus() function to get correct value for given value. Obviously it's not possible, because TeamSport is superclass of Soccer. The simplest solution is to copy getMatchlist method from TeamSport to Soccer class and every other sport, but it's resulting in duplicating the code, what I want to avoid.
    Can anybody help?
    Michal

    hmmm. interesting model. feasible, indeed. I cansee
    maintenance increasing exponentially, though: alot
    of "if sportName.equals("football")" and so onand
    so forth, more code to be added to controllers for
    each new sport. still, the notion of a "teamsport"
    as a concrete entity does seem attractiveWhat does 'maintenance' have to do with the
    conditional test of the value of sportName variable?a lot. as new sports are added, that test can have new results. unless these sport classes exist purely for their own sake, something else is using them. and that something else needs to be maintained
    What makes you think that the if statement would be
    required anywhere? And, what makes you think that
    there will be controllers for each sport? see above for the "if" statement. controllers was just an example of a class that would use these "sport" classes, something has to use them, and the OP hasn't specified what, so a little guesswork was involved
    The problem the OP stated was there was no access to
    the method in TeamSport. Whether he/she was correct
    or not is another story. it's a public method. how would it not be accessible? you don't think that, as an analyst, it's your job to identify incorrect assumptions?
    Regardless, the better design is to make TeamSport
    concrete and not code a separate class for each
    sport, in my opinion.I'm undecided. I think your concrete TeamSport idea is interesting, but I'm unsure. having a general-purpose sport, that is configurable, could be open to having nonsensical configurations made, such as soccer on ice
    Aside, software maintenance and software design are
    two different concepts.are they? I strongly disagree. what is a "good" design? IMO, a good design must, by necessity, facilitate the adding of new features, the extending of the application. that is maintenance is it not?

  • General question on SQL Server 2000 to Oracle 10g

    Hello all,
    I just have a general question on migration from SQL Server 2000 to Oracle 10g using SQL Developer.
    How does it migrate Users with proper privileges from SQL Server to Oracle? Follow the interface steps? Or should the users be created on destination Oracle side?
    Thank you.

    Hi,
    It depends which type of migration you are making.
    For a 'Standard' migration when you migrate data a 'create user' statement is created as part of the migration and you will see this in the generated code.
    If you are using the 'Quick' migration option then you need to create the Oracle user or use an existing user to receive the data.
    Your best option is to review the documentation available from -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    or directly from -
    http://download.oracle.com/docs/cd/E12151_01/index.htm
    and then get back with specific questions if this does not give you the information you need.
    Review the chapter -
    2. Migrating Third-Party Databases
    in -
    Oracle® Database SQL Developer User’s Guide Release 1.5
    Regards,
    Mike

  • General question about iTunes Match and multiple libraries

    Hello to everyone,
    I have a general question about the iTunes Match service, which is available since yesterday in my country (Italy). Currently my library situation is the following:
    Computer A (desktop, Windows 7): "big" iTunes library (about 20 GB), at the moment not associated with my Apple ID
    Computer B (MacBook Air 2011): "small" iTunes library (about 5 GB), associated with my Apple ID
    At the moment, both my iOS devices (iPhone 4 and iPad 2) are synchronized with the smaller library on the MacBook Air.
    Question is as follows: should I subscribe to iTunes Match, would it be possible to upload the "big" library (provided I associate it with my Apple ID) to iCloud while keeping my devices synchronized with the "small" one?
    Ideally, at the end of the day, the situation should be the following: both iOS devices with music from the small library + possibility of downloading songs from iCloud (coming from the big one). Is this possible?
    Maybe the question sounds stupid, but I want to be sure about this before paying for the service.
    Thanks a lot.

    Yes, you could also associate your larger library with iTunes match if you associated your Apple ID with it. However any purchases in the library made from another Apple ID will not be matched with iTunes much.
    If both libraries are part of iTunes match, then all your devices will see all of the content from both libraries, which content you choose to have on those devices and which you have accessible via iTunes match is entirely up to you.

  • General Question on Proxies

    Hi,
    I have few general questions....
    How to decide which proxy to be used: Java or ABAP?
    What are the deciding factors?
    Which one is better when it comes to performance?
    Regards,
    Rajani Kumar

    bump

  • Where to direct a general questions about foreign films subtitles?

    I recently purchased a foreign film "Break Ke Badd" from the iTunes store. Although, it didn't specify that it had English subtitles, I assumed it did. After the full download, I tried to watch it and there weren't any English subs. I contacted iTunes and they more than happy to refund the money back to my account. Now after a few weeks, the iTunes store DOES list Eng subs for this film. I don't want to purchase it again and have to contact iTunes for another refund...Therefore my question is, is there a general question contact one could use to find an answer to my question. Basically, to verify that this movie, indeed has English subs before I re-purchase. 
    Any info is appreciated!

    Yes I know as the [https://support.mozilla.org/en-US/questions/ Questions] section is more for desktop Firefox support and the place I linked to is for "Firefox OS" support in English where some who are involved with it do post in it occasionally.
    I would have moved that [https://support.mozilla.org/en-US/questions/962783 thread] to the "Firefox OS" English section, however I cannot as the [https://support.mozilla.org//questions/ Questions] and [https://support.mozilla.org/forums Contributor Forums] are not the same.

  • Camileo charging problem (solved) and a general question!

    Hi all!
    First of all, I was going to ask for help as to why the Camileo S10 was not charging (the orange light wasn't flashing), and I'd seen a few people with similar problems.
    The solution?
    Give the contacts on the battery a clean.
    The insulation sticker that comes on it must leave some kind of residue on it, and it's enough to prevent charging. Now it's flashing away happily :]
    So my general question was, is it possible/advisable to use the camera on the mains?
    Rather than constantly draining and charging the battery during long shoots, I'd prefer to just leave it plugged in!
    Thanks very much in advance!
    Paul

    Hi
    I think the battery handling is always the same no matter what product it is
    From time to time the battery should be recalibrated.
    This means that the battery should be discharged fully and after then you should charge it again until the battery would reach 100%
    I do this with all my batteries; mobile phone battery, digi cam battery and notebook battery.

  • Update on Bioinformatics WIKI, scripting challenges, and a general question

    I am waiting for my site to go on-line at Oak Ridge National Labs (USA, Tennessee).  Should be another week or so, maybe less.
    When that happens, you will see a veritable explosion of scripting challenges in my wiki (Emerging Technologies->Bioinformatics.)
    One general question in preparation for these challenges.
    There are a number of standard  bioinformatic programs that can be run interactively via the web at various sites, e.g. "BLAST" and "STRIDE". 
    Although these can also be run locally, this requires that you download large databases and keep them updated.
    So here's my question to the scripting experts:
    Are scripting languages powerful enough to submit queries to web pages and then use regex's to parse the html that is returned?
    Bill Mann has used PERL to do some of the required regex parsing, but there is a lot left to do, and, his stuff only works when a perl program is invoking a bioinformatic program locally, not interactively.
    If so, we all can do some beautiful stuff together , if anyone is interested ...

    ...my wiki on...
    There is by it's very nature no such thing as MY WIKI, except you run your own wiki project in an exclusive mode. Which were...well ... unusual.
    Are scripting languages powerful enough to submit queries to web pages and then use regex's to parse the html that is returned?
    Yes.
    anton

  • Delete scriptcode - General question: capacity limit of Acrobat Windows

    Hello everybody,
    I've got a general question to the capacity limit of Acrobat Windows.
    I often make forms with
    for instance the current one has 18 pages. Eleven pages have fields on it. (But some pages have only one field on it) The fields of one page to another are sometimes linked with script code. The file needs nearly 1 MB.
    Usual I write the script code by a double-click on the field/ calculate/ custom calculation script. (Is this the right way?) Today it happens again that a field with script code lost the script code.
    That's why I wonder whether there is a capacity limit of Acrobat Windows or whether I make mistakes. (This is only one instance of several where the form has his own life.)
    Thanks in advance for helping me!

    http://forums.adobe.com/community/acrobat/acrobat_scripting

  • Nested Subpanels for LVOOP Class Hierarchy

    Hi,
    I am trying to figure out a way to create a configuration window for a class object using a subpanel. The problem is that I have LVOOP class hierarchy of 3 levels, and thus I want to use nested subpanels, one subpanel for each inheritance.
    For example, 
    A.lvclass (abstract class)
    Private Data Members
     String A
    Configuration Window VI ( Within a FP there is a String A control and a subpanel for its child class)
    B.lvclass (abstract class) (child of A.lvclass)
    Private Data Members
    Boolean A
    Boolean B
    Configuration Window VI (Within the FP there is a Boolean A control and a Boolean B control, plus a subpanel for its child class)
    C1.lvclass (concrete class) (child of B.lvclass)
    Private Data Members
    File Path A
    Configuration Window VI (Within the FP there is a File Path A control)
    C2.lvclass (concrete class) (child of B.lvclass)
    Private Data Members
    Boolean C
    Configuration Window VI (Within the FP there is a Boolean C control)
    What I am trying to accomplish is to create configuration windows for C1 and C2. For each configration window, there are sections for class A and class B, and for the class itself. However, I do not want to recreate the same section (for A and B) over and over again each time new children (siblings of C1) are introduced. To avoid this duplicate task, I think using nested supanes makes sense. But I don't know the best way to do it. Any advice is appreciated
    Thank you
    TailOfGon
    Certified LabVIEW Architect 2013

    See these two threads and be sure to read them thoroughly and follow the links:
    http://forums.ni.com/t5/LabVIEW/An-experiment-in-c​reating-compositable-user-interfaces-for/m-p/12623​...
    http://forums.ni.com/t5/LabVIEW/A-more-successful-​experiment-in-creating-compositable-user/m-p/12768​...
    Try to take over the world!

  • SAP GRC Process Control - General Questions

    Hi all,
    We have the following general questions regarding SAP GRC Process Control:
    1) Assume that we have set up 5 different SAP Connectors in Process Control. When you configured a specific rule and control and then, schedule the job for such control, how does the system (SAP Process Control) knows which back-end system needs to be accesed for such control?
    2) In which language are the out-of-the box rule steps's script coded? In which different languages can those scripts be coded, what is to say, in which language can we code our own scripts?
    3) How is the detailed flow between SAP Process Control and SAP Back-end system?
    Many thanks. Regards,
        Imanol

    null

  • Class hierarchy in BW

    Hi,
    has anyone used R/3 class hierarchy in BW reports? I would like to use classification system in R/3 to build up class hierarchies both for material and customers and use those in BW reports. At this point of time I would only be using classes without any characteristics.
    Any help highly appreciated.
    BR. Antti

    Hi rakesh,
    i am also working on the retail, also working on the same hierarchy 0material the data source is 0material-lkls_hier, the calss type is 026,
    but its not updating into the infoobject currectly
    in the monitoring i am gettinh like this
    Transfer rules ( 911 Records ) : No errors
    Hierarchies for master data received. Processing being started.
    Transfer 911 data records in communication structure
    Update ( 0 new / 0 changed ) : No errors
    Data saved successfully
    Data successfully transferred to the update
    -> Start update of master data hierarchy
    <- End update of master data hierarchy
    Hierarchy successfully activated
    but in the bex its displaying like not assigned material
    how u did this... plzzz guide me
    Anil

Maybe you are looking for

  • Specifically FCC with Reciever file adapter

    Gurus, java lookup in message mapping......In a scenario..for Soap to IDOC(ECC).... what are the valid values for Service, ChannelName......        try {             Channel channel = LookupService.getChannel(Service, channelName);             access

  • I want to execute other java thread in the JNI.

    Hi! I would like to execute other java native thread concurrently in the Java Native Interface. When a Java thread called a native thread to use java native interface, Java thread is blocking for processing native thread. So, other java threads don't

  • Where do I download an install file for Dreamweaver CS6

    Hi Folks, I will be replacing my current computer very soon and switching to a Mac, I'm very nervous because I can't find a install.file and don't understand how to copy my already installed copy of cs6. I have the serial number. My computer knowledg

  • How to setup customization KPI (Key Performance Indictor) icon set on excel

    Hi, How to setup the KPI (Key Performance Indictor) using the customization KPI icon set on excel as request from company. Should it display the customization KPI icon with excel service of share point site?

  • Unable to read or download pdfs

    When I click on a pdf file I get a white screen and the spinning color wheel, but it never displays or downloads the pdf. I have tried right-clicking and the command-click to invoke Preview but then I only get a pull-down option that says "Copy link.