Dumping Global ABAP Objects Source Code to Text File

Hello People, this is my first post and my first time to join the forums.. and also my first time to code in ABAP.
Anyways, I was wondering if there is a way to dump the source code definition of any class/interface made in SE24 (Object Builder) onto a Text File; all the methods, attributes etc... of a class/interface. I've used SEO_METHOD_GET_SOURCE but it doesn't work.
Thanks for the help.

Suhas, 
I have created some wiki links (may be 3-4 months back) which seems similar to this requirement.
[Extracting Implementation details of global Interface using class - CL_RECA_RS_CLIF |http://wiki.sdn.sap.com/wiki/display/ABAP/ExtractingImplementationdetailsofglobalInterfaceusingclass-+CL_RECA_RS_CLIF]
[Information of Class Objects using CL_OO_CLASS |http://wiki.sdn.sap.com/wiki/display/ABAP/InformationofClassObjectsusing+CL_OO_CLASS]
[Source code Download and Syntax Check using CL_RECA_RS_SERVICES|http://wiki.sdn.sap.com/wiki/display/ABAP/SourcecodeDownloadandSyntaxCheckusing+CL_RECA_RS_SERVICES]
Expecting your comments.
Regards
Vinod Kumar
Edited by: Vinod Kumar on May 5, 2011 11:33 AM

Similar Messages

  • Download source code to Text file

    Hi all,
    is  there any program which can be used to download the source code of a FUNCTION MODULE.
    thanks in Advance

    Hi Sai_ram,
    You can download the individual includes of Function Module using Menu options:
    Utilities -> More Utilities -> Upload/Download -> Download
    Use the same procedure to download the screens also. I mean Goto the Screen and follow the above Menu options to download the screen in a local .txt file
    Note: In order to upload the screen again, just create a screen with the same screen number and use Menu options:
    Utilities -> More Utilities -> Upload/Download -> Upload
    This is the way I use to download Report, Module pool program and Function Module.
    Hope it helps.
    Regards,
    Neeraj Gupta

  • Compare Development DB and Production DB objects source code

    Hi All
    We want to compare the Dev. DB and Prod. DB objects source code and list down all the objects which are different in the source code.
    1). Development DB and Production DB are in different network environment
    2). List down all the objects from Dev DB or Prod DB for which the source code is not matching with other DB
    Thank you
    Regards
    Gattu Anju

    There are many tools available. Personally I like the Change Management Pack option for Orqacle Enterprise Manager.

  • Very Easy Question: How to view source code of JAR file

    Hi Experts,
    1) Can we can see the content of JAR file?
    2) How we can we see content of JAR file?
    3) I have with me JAR file. It is sap.compcui_gpoadp~ObjectAndDataProvider.JAR. I have to make some changes in the JAR file source code. How I can find the source code?
    I tried to see the source code using NWDS. However, I can not see the code.
    Regards,
    Gaurav

    >
    Gary wrote:
    > Can I make changes in the source code of JAR file? Can I make changes in the code?
    You cannot do this by simple repacking/rearchiving of JAR, because it contains special descriptor with fingerprint. In general, JAR is unmodifiable, however, you can create a new one with modified sources.
    You can try to import the JAR in some Java project in Eclipse, for example. Then make your changes and use the Eclipse's Export JAR wizard in order to repack the modified source Java files in a new JAR.
    >
    Gary wrote:
    > Can I rename the JAR file and still it will usable? Please confirm.
    I general, yes, the operation is allowed. However, you cannot do this with JAR deployed on some J2EE server or Portal, for example. Because there are references to it.
    >
    Gary wrote:
    > Please let me know if by any chance I can see the content of JAR file in NWDS.
    Yes, sure. Use Import from Archive wizard in Eclipse. Or add the JAR in the class path of some Java project and Eclipse will show you the content of it.
    BR, Sergei

  • W3_PUBLISH_SERVICES and dump while viewing the source code in se80

    Hi,
    external ITS6.20  on SAP R/3 4.7
    we have installed ITS and we published the templates. When we published the teampltes using the standard prgram   W3_PUBLISH_SERVICES, and around 43 of the services fail  Not sure if this is an error
    After the upgrade is finished, you must make this up, before you can use the Internet applications of the system. For a detailed procedure description see Note 399578.
    or not.
    On the other hand when i go to se 80 and try to view the source code of any ITS service lets say PZM3 in my case, the entire application goes for a dump with error
    Exception condition "INVALID PARAM VERB: TEXTSTREAM" raised.
    What happened?
    The current ABAP/4 program encountered an unexpected
    situation.
    What can you do?
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    A RAISE statement in the program "SAPLOLEA " raised the exception
    condition "INVALID PARAM VERB: TEXTSTREAM".
    Since the exception was not intercepted by a superior program
    in the hierarchy, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    How to correct the error
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    The termination occurred in the ABAP program "SAPLOLEA " in
    "AC_FLUSH_CALL_INTERNAL".
    The main program was "SAPMSEU0 ".
    The termination occurred in line 220 of the source code of the (Include)
    program "LOLEAU10 "
    of the source code of program "LOLEAU10 " (when calling the editor 2200).
    Any deas what the error could be??
    On the other hand i tried to see the Service 'System' and 'webgui' from se80 di dnot find any..
    Any ideas if we are missing in our landscape.
    Message was edited by:
            RajK
    Message was edited by:
            RajK

    Hi RajK
    > On the other hand i tried to see the Service 'System'
    > and 'webgui' from se80 di dnot find any..
    > Any ideas if we are missing in our landscape.
    The services system and webgui are shipped within the installer of ITS 6.20. So you can't find them in the database via SE80, instead only in the filesystem.
    Not your main problem, I know, but I just wanted to clarify.
    Best regards,
    Henning

  • ABAP PROGRAM SOURCE CODE.

    i've to download se38 program source code into a flat file or text file.
    in which table and in which field the source code gets saved and what is the function to download source code of abap program into text file.
    regards,
    deepti headu.

    Hi nilesh,
    1. in which table and in which field the source code gets
    Table = REPOSRC
    (But the source code is stored in RAW / Encoded format,
    and we cannot read directly)
    2. For reading we have to use READ REPORT syntax
    3. Just copy paste
      (it will read the report, and download)
    (U can change the program name and filename)
    4.
    REPORT ABC.
    DATA : BEGIN OF ITAB OCCURS 0,
           F(72) TYPE C,
           END OF ITAB.
    READ REPORT 'ZAM_TEMP00' INTO ITAB.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        FILENAME                        = 'D:\PRG.TXT'
      TABLES
        DATA_TAB                        = ITAB
    regards,
    amit m.

  • Can Labview output source code in text format?

    I am trying to file a patent that includes some Labview code. The patent office recommends attaching code (either source code or machine code) to show reduction to practice.
    However, it appears that the USPTO only accepts CD-Rs that have ASCII text on them. Is there a way to export Labview source code or machine code (from application builder?) to text?
    Does anyone have any advice for dealing with the PTO when Labview code is involved?
    Thanks,
    Casey

    > I am trying to file a patent that includes some Labview code. The
    > patent office recommends attaching code (either source code or machine
    > code) to show reduction to practice.
    >
    > However, it appears that the USPTO only accepts CD-Rs that have ASCII
    > text on them. Is there a way to export Labview source code or machine
    > code (from application builder?) to text?
    >
    > Does anyone have any advice for dealing with the PTO when Labview code
    > is involved?
    >
    I believe this has been done before. I did a quick search on
    www.uspto.gov, and found lots of them referencing LabVIEW -- meaning
    that LabVIEW was mentioned in the patent, and probably that LV code was
    the mentioned embodiment of the patent. I didn't browse all of them to
    see if or how they i
    ncluded source, but surely you can find a precedent
    for including a pdf or rtf with your diagrams.
    If you can't find anything else, print your VIs to RTF and see about
    submitting that.
    Greg McKaskle

  • Where can I get the source code of Text Layout Editor?

    Hi, Guys:
    I just want to design horizontal or vertical rulers that are exactly same as the one I see in the Text Layout Editor.
    Please see the url: http://labs.adobe.com/technologies/textlayout/demos/
    But I cann't download any source code. Does anyone know if it's possible to get it? Thanks.

    And now it is possible: http://blogs.adobe.com/tlf/2009/12/new-and-updated-tlf-samples.html

  • Objects Source Code in 46C

    HI,
    Is there any code to download the source code of classes/objects in 46c?
    Thanks

    Of course, there is SAPlink, but this is for 6.20 and above.  Backporting it to 46c was discussed, but would require a whole lot of changes, even down to method call sytnax.  
    You can manually copy/paste the code of the class by going to "Go To",  "Public Section",  and coping out the code,  you can do the same for Protectd and Private.
    I am not aware of another tool which allows for downloading classes in 46c
    Regards,
    Rich Heilman

  • Which SAP table stores the ABAP program Source Code

    Hi All,
    Which SAP table stores the ABAP source code .
    Is it possible to retrieve the abap program code from database table
    wherein it is stored .
    Scenario :
    In our project SAP got decommissioned and SAP database is migrated to Oracle . As SAP is decomissioned , we are not able to access the SAP frontend . But we need a program code to service a request . Is it possible to retrieve the program code from the database
    which is migrated to oracle .
    Thanks
    Shikha

    This is an interesting question as the answer is may be different depending on your version.  For example, in new releases the table REPOSRC appears to hold a compress version of the course code in the DATA field, but you would need to be able to decompress it if trying to read this directly out of the DB.  I would assume that it uses gZip to do the compression, and there are ABAP utilities built in to do the compress/decompress.  Of course you can always read the source code by using the READ REPORT statement in any release, but of course this will not help you if you can not log on to your system.  Basically, if you system is corrupt for some reason, the best option is to restore from a backup.
    REgards,
    Rich Heilman

  • Filling an object ArrayList from a text file

    Hi all,
    I am developing a project (for university) which has a class named "SupplierAgent", which is required to keep database of custom objects of type "InventoryItem". Basically these consist of a String (for the name of the item), an int representing the quantity on hand, and an int representing the unit price (in cents). I wish to have this inventory loaded from a text file rather than a binary file - that way the user can add new items to the file before loading the agent.
    I have included the code below, which works provided the file is rigidly structured. The main problem is the user having to type the path to the file: I cannot guarantee the user will have the file in any folder, and so the user is required to type in the absolute path. Is there any way to make this less annoying? Or is there a better way of loading a preset inventory while allowing the user to edit that inventory at will?
    I have included the current code below. it's not exactly in accordance with coding standards, because we are using the JADE agent architecture (hence why the method is called "action") rather than something more informative.
    I should also mention that it uses a command line interface. The "io" class basically includes a scanner and the System.out.println method. Its "yesOrNo()" method is for convenience: it asks the user a question and allows them to select y or n.
    public void action() {
                boolean loadFromFile = io.yesOrNo("Would you like to load the inventory from a file?");
                if(loadFromFile) {
                    BufferedReader br = null;
                    boolean fileFound = false;
                    while(!fileFound) {
                        io.output("Please enter the absolute path to the file, including filename extension:  ");
                        inventoryFile = io.input();
                        try {
                            FileReader fr = new FileReader(inventoryFile);
                            br = new BufferedReader(fr);
                            fileFound = true;
                        catch (FileNotFoundException e) {
                            io.output("File not found.  ");
                    String fileLine = null;
                    int lineNumber = 1;
                    InventoryItem item = null;
                    try {
                        while((fileLine = br.readLine()) != null) {
                            switch((lineNumber % 4)) {
                            case 1: item = new InventoryItem();
                                    item.setName(fileLine); break;
                            case 2: item.setQuantity(Integer.parseInt(fileLine));
                            case 3: item.setPrice(Integer.parseInt(fileLine));
                            case 0: inventory.add(item);
                        io.output("Inventory loaded successfully\n");
                    catch(Exception e) {
                        io.output("Error at line " + lineNumber + " of inventory file\n");
                        io.output("Unable to fill inventory.  Please ensure file is structured correctly\n");
                        io.output("See readme for explanation of file structure requirements\n");
                        myAgent.doDelete();
            }Edited by: Swiftslide on Apr 22, 2010 6:34 PM

    You can use JFileChooser to allow the user to navigate to the required file.

  • To see the source code in .sca file

    Hi Experts,
    We have installed EP with NWDI 7.0 2004s SP11 version.
    I have installed NWDS 7.0.08 in mysystem.
    I have been provided with a .sca file which contains the applications which are developed.
    Now I have to see the source code of those applications in NWDS thru NWDI or by any other means.
    Thanks & regards
    Vardhan

    Hi Pascal,
    I have already unzipped it and I got the folders like Build archives, Deploy archives, Meta inf, source archives.
    Deploy archives consists of .sda files what you have said in your post.
    Source archives folder has a .sc file.
    I deployed that .sca file through sdm, but it is not available in the software components under CMS inorder to import it into track.
    But that software component is available under my SLD--> installed systems products.
    My objective is to see the source code in that .sca file.
    What do you mean by double post and tripple post?
    Best Regards
    Harshavardhan

  • Getting source codn with TEXT file

    Hi everyone.
    I have a question about to get a source code using some kind of function or class. In case of report program coded in ABAP, I can get using "read report ... " In case of BSP,However, I don't know how. Anyone who knows the method lets me know please.
    Regards,
    Jongone.

    Welcome to SDN.
    Check out the following article by Eddy
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap-code-samples/bsp/abap code sample for download of a bsp application.pdf
    Regards
    Raja

  • Can we create entity object based on a text file on the OS?

    I understand you can interface with files using webDAV. Can we just create a entity object with source to a text/xml file on the OS instead of a table?

    Have a look at the URL data source (under new->business tier->web services) - it allows you to create a data control based on an XML or csv file.
    http://technology.amis.nl/blog/?p=1592
    You can also create a data control based on a Java class that interact with a file.

  • Old version Source code to .exe file conversion

    I have a programming GUI source code (written in an older version of LabVIEW). Can it be supported by LABview Evaluation version 10.0.1 and be converted to an .exe file. How can I convert and use source code file for  programming? What do I need to convert and how?
    I'm new to LABview. Please help!!

    2010 can open VIs written in LabVIEW 6.0 or newer. Just double click on the top level VI. You will also need to install any hardware drivers (i.e. GPIB, DAQ, etc) that the old program used.
    With the evaluation version, you can create an exe but it will have a watermark on the front panel.

Maybe you are looking for

  • Two awkward problems with my 2ND Gen iPod Touch 8GB

    1) I can not update my apps. It tells me I do not have write access to the itunes media folder, I do, and I constantly add music to it from sources other than itunes. I checked finder and all the folder is read and write/ as well as the several subfo

  • Help - formula for date automatically displayed as per given frequency period

    Details of report received date and delayed no of days  in submission S/No Details of Report Frequency Date as per Frequency (Target Date) Received up to as on lapse of days Fin per Day Fine Amount 24.07.2014 (Rs.) 1 Cash book Daily 24.07.2014 30.06.

  • Strange error in Discoverer calculated columns.

    Hi, I got a strange error in discoverer10g worksheet. In woksheet the calculated coulmns did not return data but in PL/SQL developer when I run the query taking from the Show SQL of Discoverer Worksheet it returns. Anyone please help me to resolve th

  • "an ipod has been detected but could not be identified"

    Every time I plug in my ipod to my computer It starts up Itunes it syncs it self and everything is normal so far but then after about 30 seconds the screen on my Ipod says "Ejecting: Ok to dissconnect" then this error comes up in Itunes http://i50.ti

  • CRM materials extended and in  R/3 - not visible in CRM

    Materials extended in masterfile maintainence, materials showing in PRD in R/3. Products not visible in the CRM online system  using /ncommpr01 to view the materials. Any help on this issue would be most apprectiated.