Replace Standard Class with Custom Class

Hi,
I have a query that i need to do changes in Standard Class, but i dont want to do changes Standardly. Is there any other way to replace the Standard Class to Custom Class.
Please Guide me so that i wont change the Standard Class but i can replace it with "Z" Class.
Thanks & Regards,
Harkesh Dang

Hi,
I think u will have to go to transaction se24 .select ur class there copy it to a Z class and then make this Z class as the superclass of this.
Not sure how this Z class will get incorporated in the framework.
Thanks and Regards
Shilpi

Similar Messages

  • Can I dinamicly load a class with custom class loader ?

    Can I dinamicly load a class with custom class loader ?

    Hi,
    I was wondering if you found answer to your question, and also were you using your custom class loader inside a signed applet as I am in a similar situation, and was wondering if you could help me. An example would be great...
    Thanks a lot.
    Regards.

  • Replace standard ClassLoader with custom ClassLoader

    Hi,
    I need to replace the Java standard ClassLoader with a custom classLoader.
    I want my custom classLoader to be called each time there is a call to the ClassLoader.
    I don't know how to do that.
    thanx.

    On google I found
    http://www.google.co.uk/search?hl=en&ie=UTF-8&q=system+classloader&meta=
    Create a custom Java 1.2-style ClassLoader
    http://www.javaworld.com/javaworld/jw-03-2000/jw-03-classload.html

  • Replace standard area with custom iview

    Hi experts!!
    I have the following question: can i replace a standard portal area with a custom iview??
    If yes how can this be done??
    I am a newbiew..any help would be really appreciated..
    Thank u in advance!!!

    Grigoria,
    are you talking about Portal Content area.
    once you create the iview ,go to content Provided by SAP-End User Content-Standard Portal Users- open Default Framework Page-Open Desktop InnerPage-you will find Content Area-you can add your custom iview there and uncheck visible property to standard one.
    I suggest you to create a copy of Default Framework page and work on that
    Thanks
    Bala Duvvuri

  • Add button to a datagrid with custom class

    Hi.
    I have a custom class that i put in the dataprovider to a datagrid. And when i column with buttons i get the following error.
    ReferenceError: Error #1069: Property null not found on COMPONENTS.Output.OutputFile and there is no default value.
    at mx.controls::Button/set data()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\Button.as:873]
    at mx.controls::DataGrid/http://www.adobe.com/2006/flex/mx/internal::setupRendererFromData()[E:\dev\3.0.x\framework s\projects\framework\src\mx\controls\DataGrid.as:1646]
    at mx.controls::DataGrid/commitProperties()[E:\dev\3.0.x\frameworks\projects\framework\src\m x\controls\DataGrid.as:1606]
    at mx.core::UIComponent/validateProperties()[E:\dev\3.0.x\frameworks\projects\framework\src\ mx\core\UIComponent.as:5670]
    at mx.managers::LayoutManager/validateProperties()[E:\dev\3.0.x\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:519]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:669]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\sr c\mx\core\UIComponent.as:8460]
    at mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src \mx\core\UIComponent.as:8403]
    What shuld i do?
    Thanks for help.

    If you are talking SE54 and Maintenance Views, when I do an SM30 on the Maintenance View and do SYSTEM->STATUS, I see GUI STATUS ZULG on program SAPLSVIM.  If you look at that status, I see two buttons with dynamic text.  The first one is call GPRF and has dynamic text VIM_PR_STAT_TXT_CH.  You can find a suitable PBO event to set the text of that function code and if that works, find a suitable PAI event to respond to that function.
    I recall finding some documentation on customizing the GUI STATUS but no luck today trying to find it.
    Let us know how it goes.

  • How to create a ActiveX Object with custom classes

    Hi
    I am trying to create a Active X object for some of the work I have done in Java to be used with VB, but I cannot get the Active X object to generate and it always come up with the following error:
    Exception occurred during event dispatching:
    java.lang.NoClassDefFoundError: uk/co/agena/minerva/model/Model
    at java.lang.Class.getMethods0(Native Method)
    at java.lang.Class.getDeclaredMethods(Unknown Source)
    at java.beans.Introspector$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.beans.Introspector.getPublicDeclaredMethods(Unknown Source)
    at java.beans.Introspector.getTargetEventInfo(Unknown Source)
    at java.beans.Introspector.getBeanInfo(Unknown Source)
    at java.beans.Introspector.getBeanInfo(Unknown Source)
    at sun.beanbox.JarInfo.<init>(Unknown Source)
    at sun.beanbox.JarLoader.createJarInfo(Unknown Source)
    at sun.beanbox.JarLoader.loadJar(Unknown Source)
    at sun.beans.ole.Packager.loadBean(Unknown Source)
    at sun.beans.ole.Packager.generate(Unknown Source)
    at sun.beans.ole.Packager.actionPerformed(Unknown Source)
    at java.awt.Button.processActionEvent(Unknown Source)
    at java.awt.Button.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForComponent(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForComponent(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    This appears to be beacuse the class uk/co/agena/minerva/model/Model is a custom class which is based on the software I am using. Does anyone know how I can get around this issue. I have tried incluijng those class files for the custom classes within the jar file, but I continue to get the same issue?
    Any help would be gratefully received.
    Thanks
    Angie

    This error is no longer coming up, it is now saying that it has an unsupported class version error. I believe this may be because the class file and library files have been complied under different versions, is there a method to check this?

  • Dynamic invocation of javac with custom class path.

    To all the Java Gurus out there,
    Consider the following classes:
    XYZ/test/TestUtil.java
    package test;
    class TestUtil {
      void useMe() {
    }ABC/test/Test.java
    package test;
    public class Test {
      public static void main(String[] args) {
        TestUtil t = new TestUtil();
         t.useMe();
    }The class Test uses package private access to the TestUtil.useMe() method. Then the Test class is packaged into test.jar and the TestUtil class is packaged into testutil.jar.
    Our application uses a custom class loader architecture where the test.jar is loaded by class loader "X" and testutil.jar is loaded by class loader "Y". Also Y is the parent class loader of X. When the main() of Test class is run it results into IllegalAccessException as the package private method is being accessed from different class loaders.
    We are currently using a dynamic way to detect the dependency between test.jar and testutil.jar and generating the classpath argument to the "javac" ant task which dyncamically invokes the sun.tools.javac.Main class. So while compiling Test class the following command line is generated:
    javac -classpath XYZ/testutil.jar Test.java
    It compiles fine assuming that the Test class and the TestUtil class are loaded by the same class loader but at runtime this fails.
    Is there a way to make "javac" use our runtime class loader architecture to instead of static classpath, so that the access violation is captured at compile time?
    Any help is appreciated.
    Ravi
    PS: If this is not the right forum please point me to the right place to post this questions.

    Not that I'm aware of - the Java Language is designed to be platform-independent so absolute file paths which is a specific feature of various file systems would naturally not to be mixed up with the object-oriented hierarchy structure.
    Just like a compiler wouldn't check if a file exists in
    new File("<FilePath>")I don't think you can get compile-time checks for what you have wanted.
    Hope this helps~
    Alex Lam S.L.

  • Subclass UIScrollView with Custom Class

    I want to use my custom class "ImageGridView" (subclass of UIScrollView) in Interface Builder.
    Here is what I have done:
    1) Dragged a UIScrollView onto my main view in IB.
    2) Changed the new UIScrollView Class Identity to "ImageGridView" which autocompleted so I thought it should work if it found it no prob.
    3) Placed an NSLog(@"HIT") in the init of the ImageGridView code.
    4) Also tried debugging break in the ImageGridView
    No luck....i can't get the custom class to instantiate .....no code is even run in that class.

    Don't forget that the class will be instantiated within Interface Builder and 'saved' within the NIB. At runtime it is unsaved with all of the initialised parameter values intact.
    Try using the 'viewDidLoad' (??I think this is the name - going by memory here) method which is called after the view has been restored from its saved state in the NIB.
    Susan

  • Toolbar: replace SAP icon with custom icon

    Hello,
    in the account overview (component BP_HEAD, view BPHEADOverview), the implementation class (CL_BP_HEAD_BPHEADOVERVIEW_IMPL) contains method IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS where the buttons for the account overview are collected.
    Here you can check which buttons are used by SAP standard, e.g. for the PDF fact sheet, an icon is added:
    ls_button-icon_src = '/sap/bc/bsp/sap/crm_ppm/w_pdf__s.gif' .
    Now, I wanted to replace the given icon by another, customer-specific icon. I've tried to change the given URL to anything else, however, it didn't work. I even found out that the given URL is not necessary, it even works with this:
    ls_button-icon_src = 'w_pdf__s.gif' .
    ls_button-icon_src = 'i_do_not_exist/w_pdf__s.gif' .
    Thus, I assume that there's some kind of mapping of the icon name (e.g. "w_pdf__s.gif") is mapped to any table entry or whatever hard-coded.
    Does anyone having experience with replacing the icon with a custom-specific one and can provide the necessary steps?
    Regards
    Wolfgang

    Hi Wolfgang,
               You can use below sample code to get corresponding url for any standard sap icon:
    lv_icon = 'ICON_LED_GREEN'.
    *   Convert icon code into URL and prepare bee
        lv_icon = cl_bsp_mimes=>sap_icon( id = lv_icon ).
        lr_image->src = lv_icon.
    Also, all the icons are available in the database table 'ICON'.
    I hope that helps.
    Thanks,
    Rohit

  • How to enhance the standard search with custom field?

    Hi all,
    I would like to know the general optimal procedure to enhance the standard searches like Opportunity search or Lead search.
    I've gone through some of the threads here. Some suggest, to add the new field using AET and copy the IMPL class of the search and then code the custom logic. Some say, append the new field to the structure of the search object and then implement the BADI.
    I'm actually a bit confused to understand the correct procedure.
    Can someone please help me with a generic procedure to enhance the standard search with a custom field?
    Thanks in advance.

    Hi Maren,
    Once I have got the same development. I have followed the below steps, please check with this. Let me know for further inputs.
      Add new field using Append structure of type ‘XXX’ in search
      Create BADI implementation for Enhancement spot ‘ES_CRM_RF_Q1O_SEARCH’ and include filter ‘BTQOPP’
      Put your logic in BADI implementation – SEARCH method
      Add it in WebUI configuration
      Remove the operator if required
    Regards,
    Swadini Sujanaranjan

  • Replace standard view with alternative view

    Hi Gurus,
    In CRM 5.0 we were able to replace a view with a different view (whether it was SAP standard or bespoke) by adding the appropriate substition controller details in the Runtime Framework Profile.
    We are now trying to do the same in CRM 2007 but we have not been successful.  I have gone into the SPRO entry "Maintain Runtime Framework Profile" and created "Z_RUNTIME" which is called in the Business Role.  It is set up with the following Work Area Definition:
    Application: BSPWD_BASICS
    View Set Name: WorkAreaHostViewSet
    View Area Name: WorkAreaView
    I have tried to replace the following controller as a test to change the standard view:
    BSP Application: ICCMP_BT_TIMERC
    Controller To Be Replaced: SrvTTimeRep
    BSP Application: IC_KNOWS_SEARCH
    Replacement Controller: MainWindow
    This hasnt worked, the view SrvTTimeRep still showed. 
    Just to reiterate, I'm not trying to enhance a view, I am trying to replace it with a totally different one.
    Any help offered is greatly appreciated, and will be reqarded with points!  Thanks in advance!
    Andrew G.

    Andrew,
    The difference is in CRM 2007 is that you don't modify the runtime framework profile globally.  Instead each application has concept of a component repository.xml that needs to be adjusted.  You actually need to enhance each component where you want to include the view into the viewset.  This will then create a Z-component repository of enhancements for the application, including a copy of the respository.xml file.  You then adjust the repository.xml using the tools provided to replace adjust the viewset defintion.  Now if your view lives in another component you will also have to define the proper component usages to use the view.
    I would recommend downloading or getting access to the CRM 2007 OKP materials or taking the CRM UI class which has an example of this method in further detail.
    Take care,
    Stephen

  • Importing Class to Custom Class

    I'm writing my own class. (The Peacock class if you want to
    know.) I want to use the Tween class in my class, but I don't know
    how to import another class into my class. How do I go about that.
    Thanks.

    It makes a fan of peacock feathers. It is mostly just an
    excuse to practice my AS2. (David "Seething Cauldron" Still has
    lured me to the dark side!) I've got the strut() and modesty()
    methods down. I'm closing in on shimmy(). But there are two bits I
    haven't really worked out yet, neither really has to do with AS 2.
    Any good approach for having slight variations in color? I'm
    using the drawing API to draw the spots/eyes and want to have each
    one vary a bit in color. Any good approaches or places I should
    check out?
    The other is that crazy modulo math. I need to generate the
    following sequence:
    -1, 1, -2, 2, -3, 3, -4, etc.
    and or alternately:
    0, 1, 1, 0, 0, 1, 1, 0, 0, repeating
    I've got a nasty hacky bit, but I'm sure there is an elegant
    way, but my mind just doesn't go that way.
    When I get it polished up a bit more I would be happy to post
    a copy if you want to see it.

  • Urg: Need to replace standard hierarchy with alt hierarchy

    Hi,
    I have an urgent need to replace the cost center standard hierarchy with the Alternative hierarchy already available. I dont have Business organization implemented so I cannot use Keog3...I need to know if there is any other way..
    this is super urgent...please help...

    Hi i am a student could you please answer
    what is an alternate hierarchy and when do we use it
    Thanks

  • Wrapping standard infotype with customer dynpro

    Hello,
    I'd like to change the values in standard fields based on the values from the customer fields.
    I'd like to do this when DELIMIT runs in PA30.
    I'm thinking of wrapping the standard infotype with a customer dynpro.
    Does anyone know if this is possible?
    Could I use the customer dynpro to do all the value changes but still use the standard input checks?
    Thanks and Regards,
    Yosuke

    The best option might be to create a field exit. Use report RSMODPRF to create field exit for Data Element DZMGEN. The report has a good help document, but it's pretty easy to set up the field exit.

  • How to replace SAP logo with customer logo

    Hi Gurus,
    How  to replace or insert a customer logo when creating input schdules EvDRE function.
    Cheers,
    Reddy.

    Reddy,
      You  shld  be  able  to copy and  paste  your  logo (after deleting  the  SAP  logo). ..as you  would  do  in  regular  excel.  If sometimes  it doesn't  work...use the   insert  picture  functionality......regular  excel/MS  way.
    Hope  this  helps.
    Vishal.

Maybe you are looking for

  • Std report

    Hi, In which SAP standard report I can see the value of KUKLA-KNA1. regards, SPS.

  • Intercompany Transaction Data

    Experts, I am in the process of moving AP and AR of one Co Cd to another Co Cd, and in the process i have identified the respective accounts from where the amount would be transferred in the sending Co Cd (A) as well the accounts in the receiving Co

  • Swapping content when moving rows in tables

    In Pages '06, you could grab a row on a table and drag it over another row and the content would swap. This was a very convenient way to re-order a table. In Pages '08 if you drag a row, it just replaces the destination and leaves a blank row behind.

  • Slow Broadband after 10 days

    I have had ADSL now for 10 days and it is resolutely stuck ay 2gb despite the stats showing a good connection to the exchange   When I run speed test I get :  Download speedachieved during the test was - 1.71 Mbps  For your connection, the acceptable

  • Where is the inhibit output per axis on pci7344/umi7774

    The umi7774/pci7344 has in Axis1 control connector, pin 6, "Enable" is that is the "inhibit output signal" that is in MAX in the Axis configuration tab?