How to find classes in ABAP

Hi experts,
    In java it is easy to find related classes for our requirement based on package and related methods by using API.But how to find that these are the classes are existing for this particular requirement in ABAP.In
se24 we can find existed classes but can not identified properly for our requirement.
Can anybody help me in this regard.
Thanks in Advance.

Hi,
  As far as I know, SE24/se84 is the place where we can find the information about the global classes available in the system, to find the appropriate class for your requirement, you need to search using the wild card search and go thro' the documentation provided by SAP as SAP has provided a very good documentation(In most of the cases) on classes.
Rgds,

Similar Messages

  • How to find (classes,interface,subpackage info) in some package

    Plz tell me if any one know how to find (classes,interface,subpackage) in some package
    e.g. in java.io
    "Above senerio in not concern with java doc
    but tell me if an other way i.e by help of programming
    i could find some package information"
    as we know we find out any "object" classType , methods and fields information with help of "java.lang.reflect" API's
    but how to find a package information as provided by jdk is in current use

    You can locate the .zip or .jar file where the stuff is, and say either
    unzip -l classes.zip
    or
    jar tvf classes.jar.
    So you see the list of the classes in the given package.
    Then you can say
    javap -classpath classes.zip MyPackage.MyClass
    to see the fields and methods of the given class.

  • How to find hardcoded in ABAP programs

    Dear Experts,
    Please tell me how to find hardcoded in ABAP programs.

    Hi Sam,
    Generally in Abap program hardcoded strings are declared in single quotes '         .
    for ex :
    write : 'Report heading'. " search for  '   in the entire program.
    press FIND button in menu bar and type single quote  '  . and select radio button ' IN MAIN PROGRAM '
    Regards,
    Aby.

  • How to find out which abap queries were executed by a user

    Dear SAP Gurus,
    Is there a way to find out which abap queries were executed by an end user in the recent past??
    1.I tried using the t-code "stat" BUT:
    dont seem to be getting any results even though I put the start time almost 2 months back.
    2.Also when using STAT, I give the report name of the query in the program field but it seems to truncate it.
    Any ideas how can I find out which abap queries were executed by the end user.
    thanks a lot, I'll make sure to award points for your help.

    STAT will give you the information for a limited period of time and is limited to the server which you are logged onto yourself. Beyond 24 hours it is of even less use even if you change the selection screen values.
    If you want it for a period way back into the past, then you need to use ST03N.
    There are at least 2 dependencies and 1 confusion:
    1 dependency) The length of period is determined by the size (length) of the file. You can change this in ST03N (default 50MB) via the menu settings.
    2 dependency) The stat collector jobs need to be scheduled to write the information to ST03N (once per hour is a legal requirement in some non-banana republic countries).
    1 confusion) There is an obscure function which converts a report submit to a transaction name (there is not much difference anyway) and an even more obsure one which filters what ST03N will record and therefore whether you can read it. You can (un)filter these things away if you search the SAP Marketplace for the term "MONI".
    What is of particular value from this control is that you can even detect a submission of an abap which only existed temporarily.
    Also note that having this information is potentially very powerfull with respect to the users (some of them are human too), so you should expose and use it responsibly.
    You should also ensure that only responsible users / auditors have access to S_TOOLS_EX.

  • How to Find Classes Urgent!

    I have loaded .class files using classLoader ..
    i want to find calsses & interfaces which are present in perticular package structure(in memory)..if i use Package.getPackages() mathod
    its returning me all the packages which are loaded in memory.using that package structure how to find the
    classes and interface's
    Advance Thanx

    the problem is that its to hard to track the each classes and its packages.. i have more then 20 jars..each jar having morethen 25 classes with diff packge structure.. (more then one jar having same package structued classes )
    so that i have loade all the classes using Systems class loader..
    now my need is to find classes whichare present in perticular package structure..
    for Ex. in system class loader it will automatically load java.jang.allclasses;
    what i want is if i knew that package name (java.jang)
    i should find the class name's like Object,String,Long...etc

  • How to find Classes to which characterstics are assigned

    Hi,
    How to find the classes to which a particular characterstics  are assighned in 46B.
    I have characterstics and I should able to find the class/classes to which it is assighned.
    I have a BAPI BAPI_CHARACT_GETWHEREUSEDLIST which does the same as in 5.0 and I want the same FM or BAPI where it is used in 46B.
    Best Regards,
    Mark

    Here's an example of a way to find classes based on characteristics if you need to write your own.  Obviously this is for a report, but you get the idea.
    select-options: s_atnam for cabn-atnam.
    data: begin of t_class occurs 0,
            class like klah-class,
            atnam like cabn-atnam,
          end of t_class.
    select klahclass cabnatnam into table t_class
       from klah inner join ksml
              on klahclint = ksmlclint
                 inner join cabn
              on ksmlimerk = cabnatinn
           where cabn~atnam in s_atnam.

  • How write a class in abap

    Hi abap experts,
    I want to write a class with abap, a simple calculator class for example,
    how can I start to write..
    The steps are what ?
    Thanks.

    Hi
    Defining class
    A class is a set of objects that have the same structure and the same behavior. A class is
    therefore like a blueprint, in accordance with which all objects in that class are created.
    The components of the class
    are defined in the definition
    part. The components are
    attributes, methods, events,
    constants, types, and
    implemented interfaces. Only
    methods are implemented in
    the implementation part.
    <b>CLASS CLASSNAME DEFINATION.
    ENDCLASS
    CLASS CLASSNAME IMPLEMATION
    ENDCLASS</b>
    The CLASS statement cannot be nested, that is, you cannot define a class within a class.
    REWARD IF USEFULL

  • How to find classes in the package if package path

    in java i want to find classes,Interface,Exception names which are presant
    in the package..
    for example
    java.sql; if i give this it should return
    class name
    Date
    Time
    DrivarManager
    pls helpme in this field

    download the jdk documentation or view it here
    http://java.sun.com/j2se/1.3/docs/api/index.html
    The exact problem is i hava set the path to my application that path contains several jar's(contains classes,Interfaces) and classes with package structure,
    now my need is if i run the application ,the application
    should find out the classes and Interfaces for given package structure which are present in classpath...
    for this i have to load all the classes to memory(using classes loader) . then find out the classes which are present in memory...
    or
    any other inbuilt method is there in java when i give path structure it find and give classes which are in class path..
    for ex..
    if i set path to jdk
    then if i give the path like java.lang
    it should give me the out put as
    String (or) String.class
    Double
    Cloneable
    (classes & interface in that package)

  • How to find classes in a particular package?

    Does anyone know how in Java to find out what classes belong to a particular package? Or to find out what classes inherit from a particular class?
    The reason why I'm asking this is that I want to create a BeanInfo property editor for a widget that will give me a list of any classes in a particular package. I know what that package can be and I know what the main class is that everyone should inherit from. I can easily create a beaninfo property editor with a string array of the classes, but I don't want to have to go back and maintain this code everytime I add another class to that package. I would love to use introspection but I haven't found the right commands to use yet.
    Anyone have any ideas?
    Thanks!

    Not too difficult, the following snippet is used to gather information about a class. beanClass can be parsed to extract package name. and you ask the class directly about its superClasses and implemented Interfaces.
        private Class beanClass = null;
        private Class beanSuperClass = null;
        private Constructor[] constructors = null;
        private Field[] fields = null;
        private Method[] methods = null;
        private Object beanInstance = null;
        public setBeanDetail(Object o) {
            beanInstance = o;
            beanClass = o.getClass();
            beanSuperClass = beanClass.getSuperclass();
            constructors = beanClass.getConstructors();
            fields = beanClass.getDeclaredFields();
            methods = beanClass.getMethods();
        }have loads of fun with it.
    tj...

  • How to find a standard abap proxy?

    Hello,dear all
    We are integrating SAP POSDM and third party system with XI, the data flow is 3-rd party --> XI --> POSDM.The third party system will send a xml file to XI,XI convert it and send it to POSDM using IDoc. Idoc type is WPUBON,the process code is WPUB and the fuction module is /POSDW/IDOC_INPUT_WPUBON.
    Now we want to use ABAP proxy to send data to POSDM instead of IDoc.Do SAP system have the standard abap proxy to process the POS sales data like WPUBON Idoc? And how to use it?
    Appreciate for your answer!
    Many thanks,
    Jerry

    Hi,Dear All
    Thanks for your help.the  SAP POSDM system which based on BW system is new,and I can't find any document on SAP help website.It often used in retail industry but it is not a retail industy solutions.I have checked the https://service.sap.com/ibc,it seemed there isn't a scenario like this.
    Many thanks!

  • How to find contents of ABAP proxy message

    we are using an ABAP proxy to send data including a document number from SAP to PI when a document is received on our SAP ERP system.
    it is possible under certain conditions that the proxy will not be processed, but the document has. I want to be able to check the messages sent to PI  to ensure that all the data has actually created a proxy message. How can I, if it is possible, find the data within the messages so I can determine if the whole process has completed OK.
    Put another way how do we know what data is in a message as listed under transaction SXMB_MONI ? The GUID in this transaction appears to relate to table SXMSPMAST but how can I find the information contained within that message so I can then link the message with the original document and then if necessary call the proxy again for that document ?
    Colin
    Edited by: Colin Heap on Oct 22, 2009 5:16 PM

    The problems I mentioned above seem to have been down to the xml messages themsleves rather than the coding found from Ravis' link however I made a few changes to the code to add more flexibility in the search parameter and also a TRY - ENDTRY to deal with the problem of abends when the SAP cannot interpret the message contents.
    please refer to the original BLOG ( Super Message Monitor for SAP XI ) by Alessandro Guarneri at the link in Ravis' post.
    I have then made the following changes. Please note that the field names used in my code are slighlty different to the original code to fit in with local coding practice however I think it will be easy for a programmer to interpret the changes
    1. Selection Screen 850 has been changed to use a SELECT-OPTION for the payload value. In Alessandros' code this is in INCLUDE ZXIMONI_RSXMB_SEL_MSG_SEL.
    * Super selection screen -------------------------------------------------- BEGIN
    TABLES: idxsndpor, idxrcvpor.
    SELECTION-SCREEN BEGIN OF SCREEN 0850 AS SUBSCREEN.
    SELECTION-SCREEN COMMENT 5(40) text-S98.
    * IDoc
    SELECTION-SCREEN BEGIN OF BLOCK idoc WITH FRAME TITLE text-s16.
    * Sender
    SELECTION-SCREEN BEGIN OF BLOCK idoc_snd WITH FRAME TITLE text-s14.
    SELECT-OPTIONS: s_snum FOR idxsndpor-idocnumber NO INTERVALS,
                    s_styp FOR idxsndpor-idoctyp    NO INTERVALS.
    SELECTION-SCREEN END OF BLOCK idoc_snd.
    * Receiver
    SELECTION-SCREEN BEGIN OF BLOCK idoc_rcv WITH FRAME TITLE text-s15.
    SELECT-OPTIONS: s_rnum FOR idxrcvpor-idocnumber NO INTERVALS,
                    s_rtyp FOR idxrcvpor-idoctyp    NO INTERVALS.
    SELECTION-SCREEN END OF BLOCK idoc_rcv.
    SELECTION-SCREEN END OF BLOCK idoc.
    * Payload
    SELECTION-SCREEN BEGIN OF BLOCK xp WITH FRAME TITLE text-s30.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (30) text-x01 FOR FIELD p_xpath.
    PARAMETERS: p_xpath TYPE text256.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (30) text-x02 FOR FIELD s_xvalue. 
    PARAMETERS: p_xvalue TYPE text256 NO-DISPLAY.                   
    SELECT-OPTIONS s_xvalue for p_xvalue.                                      
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK xp.
    SELECTION-SCREEN END OF SCREEN 0850.
    * Super selection screen -------------------------------------------------- END
    I'm having trouble entering the next piece of code for INCLUDE ZXIMONI_RSXMB_CUSTFILTERS  so will enter it in the next post.

  • How to find classes implementing a certain interface at runtime

    I am making an Application and I want have a plug-in nature for the different tools I have.
    My App is packaged in a package with subpackages for the individual tools. I want to beable to remove/add subpackages without crashing the app.
    The only way I can see this working is for the App to search its sub packages for a certain interface (eg an 'AddOnTool' interface) and build a set of available AddOnTools.
    I just dont know if this is possible, but pretty sure it must be!....
    Once I have the set of available AddOnTools I also realise that I have to Construct the one chosen, this I see as my other hurdle!
    If I can be helped with these I'll be mighty Happy!

    You can use getClassLoader() in the Class class to get the ClassLoader, then use getPackages() to get an array of all packages available to your class. How to get a list of all classes, however, I can't find in the documentation; perhaps you can do more research.

  • External Material Group- how to find classes/subclasses

    Do you know how I can find all the classes or subclasses that are listed on an external material group?
    I know how to check all the external material groups that are on a class, but not vice versa.
    Thanks, in advance, for your help.

    I ve never worked with external material groups.
    But  I know that they are defined and stored in table TWEW.
    And when used in a material master, then the external material group is stored in material master table MARA in field EXTWG.
    the field in TWEW is 18 characters long, and how you define the usage of this field content is up to yourself.
    how does this link with classes/subclasses? do you use classification for assignment of external material groups?
    or do you just mean these external material groups have a kind of structure in your system  like  class and subclass (which then would jsut be a text in table TWEW as well)

  • How to find Class's parent Classes

    Hi guys
    Does anybody know how can I find the Class's parent Classes. Thanks in advance.
    Regards,
    Mark.

    Hey Mark,
    From the child class, call getClass().getSuperClass() This will return the Class object of the parent of this class.
    -- Bud

  • How to find class for object

    I'm trying to find the class for a given object. In Java, I
    could do something like:
    myObject.getClass().getName();
    but I can't find the equivalent in Flex. How do I find the
    class for a given Flex object? I don't know what it might be (other
    than Object), so I don't want to do trial-and-error with "is" or
    "instanceof."
    Thanks!

    Object introspection can be done through the "describeType"
    function.

Maybe you are looking for

  • Problem with unavailable fonts haunting me

    Using Frame 11, I cannot create a PDF because of unavailable fonts. I dutifully change them to what the console says using the Character Designer. That works. But when I open the files back up later, the unavailable fonts message come back. I need so

  • Kernel panic after 10.5.6 download

    Hey, I've been having a problem since I tried to load 10.5.6 through the software updater. The update froze while verifying and then restarted. When it restarts I get a kernel panic and the apple light comes on and the computer makes noises. I restar

  • IMac won't see DVD Files

    When I insert a DVD with data files on it, my iMac mounts it as an "Untitled DVD" When I insert the same DVD into my Macbook Pro it shows up properly named and shows all the files that are on it. How do I get the iMac to recognize the DVD as viable 

  • Sql query across multiple tables ina database

    I have 3 MS Access tables in database that are linked by keyed fields in the table.  Is there a way to fetch only certain records that match a criteria across all three of these tables using the database connectivity toolset VIs?

  • Convert files from Canon C300

    Hi, I want to convert files from Canon C300, but i can only import one by one file. Is it possible ti import all in the same time? The Canon C300 files are encapsulated, i just have access to MXF file when i open folder by folder. I'm in iMac, Yosemi