How to export repository to file system?

Hello,
within my bachelor thesis I am engaged in parsing ABAP Objects to calculate different code metrics. The analysis tool and many of the known parser-apis do require source-files at the file system layer.
As SAP stores everything in a DB, I wonder if there is a way to export the repository to the file system. And if this is not possible, is there another practicable way to access the source code?
Another point is: Does anyone know a source for a complete grammar (like ebnf or so) for ABAP Objects? that could make my life quite a lot easier...
mfg
- clemens heppner

Thanks for your advice! I've written this report:
START-OF-SELECTION.
  DATA: source TYPE REF TO cl_oo_source,
        source_tab TYPE seop_source_string,
        classname TYPE seoclskey VALUE 'CL_OO_SOURCE'.
  CREATE OBJECT source EXPORTING clskey = classname.
* Copy source->SOURCE table because gui_download( ) needs a changeable
* argument and source->source is read-only.
  source_tab = source->source.
  cl_gui_frontend_services=>gui_download( EXPORTING filename =
'c:\source.ao' CHANGING data_tab = source_tab ).
But that approach has some serious drawbacks:
I have to save each class one by one (is there a way to automate that? P.e. find all classes in one package?)
I can not access the code of reports and such because cl_oo_source requires a classname.
Is there another way or an extension to this one, to solve those problems?
Thanks,
- clemens

Similar Messages

  • Export a NAS File System within Sun Cluster

    could some one please tell me how can i export a NAS file system within a Sun Cluster

    Thanks I made sucessuly.
    The final procedure:
    1 create the disks in vertias (not the volumen)
    2 if you add new disk, recreate the did
    scdidadm -L
    scdidadm -r (must exec in all nodes)
    scgdevs (in all nodes)
    3 Disable the resouces using scswitch -n -j (the resouce)
    in my case we disable all resouce but NOT the resouce group. (only exec in one node)
    Make the new file system. :-D. makefs. (in one node)
    4 make the new pount mount in all nodes.
    5 insert the new line in vfstab (remenber the mount at boot to set to no)
    scrgadm -pvv | grep "FilesystemMounPoints="
    6 You must put the "FilesystemMounPoints=" in same orden in vfstab
    I use the sunplex (more easy) ..
    Renable to online your resources.
    Test to switch over to another node.
    The new filesystem may be automaticaly mounted.
    Bye an thanks for the help

  • How to check if a file system in global zone is shared on zones

    Hello,
    Would you by any chance know how to detect if a file system in the global zone is shared with any zones created from the global zone (either shared with readonly or read-write)?
    Thanks in advance.
    Regards
    Frank

    Usually they're shared via lofs. So try 'df -kZ -F lofs'.
    Darren

  • How to store preferences in file system on Windows?

    I have 2 questions related to preferences using.
    1. How to store preferences in file system (not in registry) on Windows? I see file system implementation of Preferences (java.util.prefs.FileSystemPreferences). But this implementation is linux-specific (use native methods). Does universal implementation exist?
    2. How to store custom files in preferences? I need to store some user-specific files (XML files, for example) somewhere. These files are naturally user preferences. So my idea is to store it using Preferences. But it seems like there is no such posibility in standard preferences. I believe many peoples have the same problem. Does anyone have solution?
    Please help me!
    Thank you in advance.

    Preferences is supposed to keep all this data
    handling away from you, so you shouldn't bother. If
    you'd like to write a file, just write a file. You
    could create a "Settings" object and serialize it.I understand your reasonings. But unfortunately I have requirements to use file system preferences both on Linux and Windows. My bosses think there are many problems because of registry. Don't ask what problems, they didn't say. I cannot change their requirements. I must to implement it.
    Maybe somebody already solved this proplem. I will very grateful for help.
    Once again: simply write and read a custom file. Why
    do you use Preferences at all costs when they don't
    do what you want to?I have requirements to implement saving of files in the same manner as saving of preferences. It may be different code from Preferences. But it will be the best to have the same code if it possible.
    Any way I believe the need to save user-specific files as preferences is quite widespread.

  • How can I transfer my files/system in VAIO laptop (w/ S400 Firewire port) to my New Macbook Pro?

    How can I transfer my files/system in VAIO laptop (w/ S400 Firewire port) to my New Macbook Pro?
    Do I need to buy an adapter? How do I setup the software to make these two system connected?

    r95941081 wrote:
    Thanks for your answering. But the issue is that I'll often transfer a large amount files from PCs to the Macbook, and I'm explring the way to use firewire since there is indeed an i-S400 port in the VAIO laptop, and it's much faster.
    USB 2 is faster than Firewire 400 and USB 3 is faster than Firewire 800
    If it was another Mac you were transferring from then you could use Firewire Target Disk Mode which makes the boot drive of the old Mac appear on the desktop of the new Mac to rapidly copy files, but you have a Windows PC with no FWTDM capability.
    So to connect the two machines requires a network be setup over Ethernet and mucking around with the complexities of all that and it still takes awhile to finish. One can't setup a network with a PC over USB or Firewire, only Firewire with another Mac.
    You get a external USB drive, USB 3,2,1 is fine and just drag and drop copy, the machine does all the work and you go do something else until it's finished, then repeat the same with the Mac.
    Fast simple and effective, let it copy overnight if you have too.
    I routinely clone my entire hard drive via USB 2 and it only takes a hour and a half for 350GB.
    By the time you figure out how to network a Mac and a PC over Ethernet and getting it work to transfer files, you could be done already via USB.

  • How to Export a WMV file in High Quality but low MB?

    How to Export a WMV file in High Quality but low MB?

    I'm really afraid you are the only person who can answer that.
    ANY compression is totally relative: what do you think is small? What do you define as high quality?
    I can get a 5 minute wmv file at just under 100mb that I find acceptable for browser downloads. You might think that's too big. I don't.
    Trial and error is the only way. Personally, I've set up a compressor preset to crunch my wmv files. While it's doing it's thing, I can do something else.

  • How to get the local file system path of an image that loaded into the image component in cq5?

    Hi,
    I'm having hard time uploading image from filesystem where as drag and drop works.
    I'm not getting a path of image selected from filesystem.
    here is my code..
    private String populateImage() throws Exception {
                        if (currentNode != null && currentNode.isNode()) {
                                       Node ImageNode = JcrResourceUtil.createPath(currentNode, "image",
                                                                          null, "nt:unstructured", true);
                                       imageUrl = ImageNode.hasProperty("fileReference") ? ImageNode.getProperty("fileReference").getValue().getString() : "";
           imageUrl = imageUrl.trim();
            log.info("MANAGE PROFILE BEAN IMAGE URL INSIDE IF IS: " + imageUrl);
                        } else {
                                            imageUrl = properties.get("fileReference", "");
                                            imageUrl = imageUrl.trim();
                                            log.info("MANAGE PROFILE BEAN IMAGE URL INSIDE ELSE IS: " + imageUrl);
                        return imageUrl;
    So if I drag and drop..
    ImageNode.hasProperty("fileReference") is returning a valid path
    but if I upload an image  it is returning Null.
    So how to get the path? any suggestions around would be appreciated...

    When you say path you mean you want the path to print out in your HTML? Is that accurate? If so you generally need to constructe that path based on the path to the current component. So if you component is located at /content/mysite/en/about/mypage/jcr:content/parsys/image then the path to the image would generally be something like /content/mysite/en/about/mypage/jcr:content/parsys/image.img.jpg/1283829292873.jpg. The .img. selector triggers the servlet associated with the foundation parbase - /libs/foundation/components/parbase/img.GET.java. The reason you reference it this way is that there is no filesystem path to the image - it is stored in the repository not on the file system, and it requires a servlet or script to ge the binary from the repository and steam it.
    Normally the way you'd construct this is to use the out of the box Image class - so look at /libs/foundation/components/image/image.jsp. Now this example assumes that your component where you loaded the image extends /libs/foundation/components/parbase. If it doesn't then you either have to change your sling:superResourceType to /libs/foundation/components/parbase or some other component that does exten /libs/foundation/components/parbase.

  • How to export an XML file from oracle database?

    plz help me its urgent requirement....could u pls tell me the step by step procedure for following questions...?how to export a data as an XML file from oracle database?
    thanks in advance,
    Bala.
    Edited by: user3523292 on Nov 14, 2008 5:43 AM

    user3523292 wrote:
    plz help me its urgent requirement....could u pls tell me the step by step procedure for following questions...?how to export a data as an XML file from oracle database?
    thanks in advance,
    Bala.
    Edited by: user3523292 on Nov 14, 2008 5:43 AMThis is a forum of volunteers. There is no "urgent" here. Nevertheless, a google search of 'xml oracle export' quickly lead me to this Oracle site:
    otn.oracle.com/sample_code/tech/xml/index.html
    I also see lots of hits when I search the documentation library at tahiti.oracle.com for 'xml'. This one in particular may be what you are looking for:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14252/adx_j_xsu.htm#ADXDK070

  • How do you install a file system on an empty partition?

    Hi. I'm running 10.3.9 on a B&W G3. I've formatted a 100Gb drive with a 40Gb partition on which Panther is installed (and which is running even as I type) and several empty partitions. I was going to install OS 9 on one of the empty partitions, but Disk Utility doesn't seem to want to let me do install a file system on an empty partition. Hence, the OS 9 installer can't find the empty partitions, and therefore can't install.
    Is there another way to put a file system on an empty partition?
    MTIA, Matt
    PowerBook Titanium G4   Mac OS X (10.4)   Also PowerBook G3, eMac, and misc elderly models

    Matt--
    One suggestion: if you can't figure out how to put a file system on the empty space, you could clone your current partition to an external drive, re-partition the internal drive drive and then clone the external back. Like John, I've heard of utilities that can re-partition a drive without erasing your data, but I just can't imagine using one if I didn't have a clone anyway. So that's what I've done when I want to change a partition size.
    charlie

  • CM Repository - Windows File System on EP(UNIX Platform)?

    Hi all,
    we have an EP6 SP2 on Unix. We want use CM repository manager to connect remote windows file system which contains all the content. In Global Services we wanted to use the fsmount Service-
    We get the following Message:" not supported for SUN OS to Win2000 System"
    Is it possible to integrate an Windows File System when you have installed the Portal on a UNIX Platform?
    Thanks!

    Hello Antonio,
    With EP6 SP2 Patch 5 KM on a Unix portal can access windows file systems including ACLs. Please have a look at the corresponing release notes
    http://help.sap.com/saphelp_ep60sp2patch5/helpdata/en/4d/8dec404303702ae10000000a155106/frameset.htm
    or in the documentation
    http://help.sap.com/saphelp_ep60sp2patch5/helpdata/en/ed/b334ea02a2704388d1d2fc3e4298ad/frameset.htm
    Kind regards,
    Roland

  • How to export a fireworks file to flash while retaining image quality?

    I created a banner for our website using fireworks cs3. Part of the banner has aimation (basically a slide show of 6 photos). I've tried to export the files by saving the frams to files, but when I do this, the image quality really gets bad. When I try to change the export settings and change the dither, everything but the last frame looks better and the last frame looks like a yellow color is splattered all over it....I've tried just saving the file as an .swf file but when I do so, the file doesn't work when I insert it into my web page, it doesn't work.  Is there a better way to do this?  Can I export as something else then import into flash and still retain my image quality?  Thanks for any input and help!

    How are you inserting the file?
    Flash objects need to be placed in an object tag...as described here: http://kb2.adobe.com/cps/415/tn_4150.html

  • How to export an indesign file to XML?

    I am not understanding the process on how to make a XML file from an InDesign File?  I thought it was just simply exporting to XML but see somewhere you have to tag the file?  What does this mean and how to do it?

    InDesign can write out XML for you but it cannot know what tags should be applied where. By default, all text is not tagged -- and so, if you export to XML you get all tagged text, which is none at all! and you get an empty XML file (it only contains a "Root" tag).
    If you want 'everything' and (this is important!) you consistently used Paragraph and Character styles, you can automatically convert these to tags (1). For a narrower export, you can add a basic tag to the entire text and use Find/Change to tag other items, or add them manually.
    (1) If you did not, here is a good reason to do so in the future. There are lots of other good reasons as well.

  • How do you expand a file system on Solaris 10 that is running as a LDOM on Solaris 11

    I'm somewhat new to Solaris but needing to expand an existing file system /work on our solaris 10 ldom that was P2V'd into a Solaris 11.2 environment.  I also have several additional questions that I can't seem to find an answer for anywhere.
    When trying to expand the disk device using the "format" command, when you get to the partition and it asks you to "Enter partition size(147456b, 2c, 3891e, 72.00mb, 0.07g]:" what does the "b" "c" "e" sizes indicate and why and when would you use them?   It seems that you would want to always just add size based on MB or GB?
    When trying to use "growfs" after I increased a partition on a disk, I get error devinfo: /dev/dsk/c0d0s7: Inappropriate ioctl for device, growfs: cannot get partition size.  What step have I missed?

    Matt--
    One suggestion: if you can't figure out how to put a file system on the empty space, you could clone your current partition to an external drive, re-partition the internal drive drive and then clone the external back. Like John, I've heard of utilities that can re-partition a drive without erasing your data, but I just can't imagine using one if I didn't have a clone anyway. So that's what I've done when I want to change a partition size.
    charlie

  • How to get current local  file system volume sizes information from OMS?

    Hi
    I know I can get this information from the table SYSMAN.MGMT$STORAGE_REPORT_LOCALFS.
    But info stored in this table is not always up to date, but when going to the page em/console/monitoring/hostFilesystemOverview$target=xxxhostnamexxx$type=host$pageType=current$ctxType=Hosts the information is current.
    I have accessed mentioned table in apex, from outside OMS, I would like to have current information instead of old.
    How to do that?
    Thanks

    I think that there is nothing wrong with this table, just that the data is not collected every 5 minutes or so, only on a daily basis.
    But as ca107207 said - when you go to the page, showing information about the files system, from the host home page - the data is up to date to the current second.
    Therefore I think that OMS ask agent to send this value, but it is then not stored anywhere.
    My question would be how to ask agent from outside OMS to get this information?
    I have done a little reverse engineering on OMS packages and there should be a way to get this, using some procedures, pl/sql code with generating some cursors etc.
    I'm not that good in pl/sql to create something like that, it would take too much time for me. I think that it can't be done without OMS at all, I just have another database with apex on the same host and apex display some information for other users about the file systems etc. It would be nice to have information about file system usage current.
    Thanks

  • How to recover from readonly file system?

    hi
    we are using EBS R12 RUP 6.is it possible to recover one of our instance from read only file system partition?
    scenario is :
    Had a conference with customer and found the below :
    Unable to start/run any "AD" scripts under $ADMIN_SCRIPTS_HOME". For example : Unable to start the concurrent manager using adcmctl.sh script. Below error can be seen :
    Permission denied: Could write in "adcmctl.txt" : read only file system.
    We have tried to change the permission but the same "read only file system was coming". To confirm the issue we tried to create a directory or file using "mkdir" and "touch" command respectively but got the same error. Customer has confirmed that it was 15 days back they found it working after that its not working.
    Explained to customer that the issue is not with EBS but with some other operating system related. Please check with your OS administrator and make sure that this read only file system error will not come.
    Action Plan
    ================
    1.) Check with your OS administrator and resolve the "Read only file system error". It is a OS permission error. Update the SR once it got resolved.rgrds

    new2appsdba wrote:
    what do you suggest certain and immediate disaster recovery option (till date work and setup + data) in EBS R12 ??
    bsically asking it for future planing ....Working, well-tested, and frequently-tested backups. :-)
    Sorry to be glib, but there's a lot we don't know about the architecture of your system, which makes it difficult to provide specific advice. You haven't indicated how much of your system is hosted on the filesystem that has been set readonly. Is it just the INST_TOP? Full applications techstack? Database? I'm guessing not the database, or you wouldn't be asking about starting apps tier components, you'd be asking about database recovery, and the problem wouldn't have gone unnoticed for 15 days. If you're just looking at the apps tier filesystem, or a portion of it (such as INST_TOP, which is sometimes separated from the rest of the apps install), you need to decide if you want to:
    1) Roll back your entire system to the point when the filesystem was set readonly, or
    2) Accept the loss of log files, etc. on the apps tier side, decide that what's in the database is more valuable, and move on from there. Assuming the fsck and subsequent filesystem repair is successful, of course. ;-)
    These posts from Steven Chan might help you to plan DR and availability for EBS:
    Maximum Availability Architecture: Oracle E-Business Suite Release 12
    Maximum Availability Architectures and the E-Business Suite
    Regards,
    John P.
    http://only4left.jpiwowar.com

Maybe you are looking for

  • IBook w/ Bookendz connector for DVI monitor?

    I have an iBook G4 and I'm using a bookendz hub to connect it to all my peripherals. I just got a 20-inch cinema display screen and it has a DVI connector -- but the bookends hub has a port for a VGA monitor. Is there any way I can get a cable to con

  • ERROR Executing when Display/Edit

    Hi Experts, When Iam trying to EDIT in Message Mapping it does not allowed to edit. This below message will displayed. ERROR Executing when Display/Edit Message Mapping: delivery_Mapping | http://testscenarios.com/SAP/TEST is already locked in change

  • CS4 Install not working. Laptop crashed. New download link sent yesterday. Downloaded, but install will not work on new laptop. Help?

    Laptop crashing. Purchased new. Had 30 day free trial of CS4. Activated and used that. My serial # would not work when prompted for it. Yesterday, chat session helped me to download the software again. Download took 3 hours so chat session ended befo

  • DBFS check audio level

    Can anyone tell me how I might be able to accurately check the level of my Audio within FCP 10.1.1 in dBFS and also how to ensure that when I complete a project that my exported (Pro Res 422) version is precisely that level. NB. I don't want to tampe

  • Manage dynamic hierarchies - Task in Task Profile

    Hello BPC Cracks, I have a problem to assign a user/team the rights to manage dynamic hierarchies (DHE), anybody knows witch task should I assign to the user/team in Task Profile. (In the admin guide there is no entry for this topic). The Task Profil