Program to copy all custom developments ( Z*) into local PC

Hi SDN'ers ;
Does any of you has the Program to copy all custom developments ( Z*) into local PC  ? Would appreciate help on the same.
Best Regards,
Ritesh Shrivastava

Hi.....
Just Execute this program....
It will copy all your Z programs into your PC......
REPORT  ZDOWNLOAD.
DATA: W_PROGNAME(40) TYPE C.
DATA ITAB TYPE TABLE OF STRING.
DATA: W_PATH TYPE STRING.
DATA W_STRING TYPE STRING.
DATA T_PROGNAME LIKE STANDARD TABLE OF W_PROGNAME.
SELECT PROGNAME
  FROM REPOSRC
  INTO TABLE T_PROGNAME
WHERE PROGNAME LIKE 'Z%' .
WRITE W_PROGNAME.
LOOP AT T_PROGNAME INTO W_PROGNAME.
  READ REPORT W_PROGNAME INTO ITAB.
  CONCATENATE 'D:\PROGRAMS\' W_PROGNAME '.txt' INTO W_PATH.
  CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
      FILENAME                        = W_PATH
    TABLES
      DATA_TAB                        = ITAB
   EXCEPTIONS
     FILE_WRITE_ERROR                = 1
     NO_BATCH                        = 2
     GUI_REFUSE_FILETRANSFER         = 3
     INVALID_TYPE                    = 4
     NO_AUTHORITY                    = 5
     UNKNOWN_ERROR                   = 6
     HEADER_NOT_ALLOWED              = 7
     SEPARATOR_NOT_ALLOWED           = 8
     FILESIZE_NOT_ALLOWED            = 9
     HEADER_TOO_LONG                 = 10
     DP_ERROR_CREATE                 = 11
     DP_ERROR_SEND                   = 12
     DP_ERROR_WRITE                  = 13
     UNKNOWN_DP_ERROR                = 14
     ACCESS_DENIED                   = 15
     DP_OUT_OF_MEMORY                = 16
     DISK_FULL                       = 17
     DP_TIMEOUT                      = 18
     FILE_NOT_FOUND                  = 19
     DATAPROVIDER_EXCEPTION          = 20
     CONTROL_FLUSH_ERROR             = 21
     OTHERS                          = 22
  IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
ENDLOOP.
Let me know if you have any more Doubt......
Reward points if useful......
Suresh......

Similar Messages

  • 2 things: iPhoto isn't automatically copying all my imported photos into an iPhoto album folder AND ever since i upgraded my MacBook 120GB to Snow Leopard, iTunes won't recognize my iPhone.

    So i have a 120GB MacBook that's about 4 years old (just updated to Snow Leopard--been working in Iraq, i'm a little behind).
    Never had a problem with it.
    I also have an iPhone 4 which i've had for about a year (up-to-date software as of about a month ago).
    Never had a problem with it.
    I've had iTunes for years of course (up-to-date).
    Never had a problem.
    1.
    Now my iTunes won't recognize my iPhone since the Snow Leopard update.
    iPhoto will recognize my phone, but iTunes won't.
    Went through all the preferrences and i can't find anything that isn't set properly.
    iTunes Helper is used during startup.
    Everything seems fine.
    Any help?
    2.
    I use a WD external hard drive to back my Mac up every week or so.
    I recently realized that half of my pictures from iPhoto are not copied to the external.
    They haven't been transfering over.
    So i snooped through my folders and as it turns out, iPhoto hasn't been copying the pictures i import from my iPhone to iPhoto and saving them as .jpg files in the pictures folder (or iPhoto album or whatever) like i think it's supposed to.
    My pictures folder has approx half of all my pictures in it, meaning at some point (probably 2 years ago) iPhoto stopped making the file copies of my imported pictures.
    I do not know why.
    No idea how to fix it.
    If i were able to fix that (with your help), would all the pictures that haven't been copied automatically copy to my pictures folder once i had the issue resolved or would there be a lot of dragging and dropping?
    I've been clumsily and sloppily copying all my pictures to a new folder on my desktop and manually transferring that folder to a thumb drive (which i keep in my pocket) and my external (just so i have them in some form) in case my computer crashes or a mortar shell lands on my room and blows my computer up.
    Can anyone please help me with any of this?
    I can't just stoll down to the Apple store to ask the Genius Bar (I'm in Baghdad) and i don't have Apple Care so no one will help me on the phone when i call Apple.
    Thanks so much.

    hey mill1640,
    Did you ever get your iPhone to register with iTunes? I just upgraded as well to Snow Leopard, and my my isn't recognized at all also.
    If you did get this resolved, I would appreciate a little suggestion in the right direction.
    Many thanks,
    Josh

  • How to copy all contacts from phone into SIM card

    I can copy a single contact phone number from my address book to my sim card, by selecting that individual number and then in the menu copy it to the SIM.
    How can I mass copy all my phone numbers in my address book onto my SIM card in one go?
    Any tips or pointers very appreciated...
    Rgds,
    dave

    You cannot, in one pass.
    Sorry.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Unix into Local

    Hi All,
    I have one report (sample) in Unix system.
    I stored shared folder.
    I found the 2 file under C:\OracleBIData\web\catalog\ACD\root\shared\sharedfolder1-->(Sample.atr and Sample)
    I copy those files and past into my local system(Window) under. C:\OracleBIData\web\catalog\ACD\root\shared\sharedfolder1
    I am able to see that report in Answer page but when i click it shows below error.
    Path not found (/shared/SharedFolder1/sample)
    How will copy the report from Unix into Local window system.
    Thanks

    Hi
    if i understood correctly, then use the catalog manager to copy the reports.
    Steps to do:
    1) open the cataloge from the catalog manager in online mode
    2) slecect the folder (shared) where your reports are
    3) archive them by selecting them
    and it displays the operation is successfull and then close the catalog
    4) and finally open the windows url on online and then unarchive those reports here in required folder....
    hope this helps...
    updated:
    This is applicable whatever box we are using. in your case from unix to window.
    Edited by: eswar on 16-Feb-2011 10:48

  • I copied all of my CD's onto my iMac's hard drive. Now I'd like to buy a new iMac and am wondering how to transfer the music I have loaded on  my iMac from CD's on to my new computer w/o  going through the process of loading them into my iTunes Library.

    I have copied all of my CD's, probably over 100, on to my iMac, through iTunes and now am considering buying a new iMac. Would like to be able to transfer what's in my music library w/o having to recopy all of the CD's. Any thoughts? Can I do it throught the iCloud or do I need to buy and external storage device?
    Thanks Brenda

    When you buy your new iMac you will be able to have the installation process transfer all your applications, data (including music, pictures, documents, etc) and settings to your new computer. In the past that was done via Firewire. I'm not entirely sure of the process with the new iMacs that don't have firewire. I think it can be done via ethernet and probably via tha thunderbolt cord using a firewire adapter but you'll want to check that out.
        With the your new computer properly connected to your old computer, the initial booting of the new computer will include the ability to move everything over.
        If for some reason you don't want to do that (smart if you have some horrible software issue that is causing problems) you can connect your old computer to the new one and start it in Target Disk mode where it will be seen as a hard drive. You can then manually copy over all your music and import that into iTunes (and any other data you want).
        Somebody here will surely point you to directions for connecting an older iMac with no Thunderbolt to a newer iMac with no Firewire.

  • I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?

    Hello everybody,
    I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?
    I share one Itunes account with other people from my family and one person would like to keep the same songs on the new Ipod as the ones which were on the old one.
    Thanks in advance for your answer.
    Yan

    Hello Chris,
    Thanks for your answer. I was hoping for an easier answer. Too bad there is no drag and drop solution, it would have been much easier.
    Thanks for answering so fast.
    Bye.
    Yan

  • How can I copy all the info from a contact card in address book to paste into a documnent?

    How can I copy all the info from a contact card in address book to paste into a documnent?

    Tom Wolsky wrote:
    The advantage goes to FCP7 if you allow that it can copy and paste filters, audio and video, transformations, and other attributes separately.
    You can do that in FCPX too, as all the things you cited are listed separately in the inspector.
    Here's a little gotcha. Let's say you've color corrected a few clips and you've applied an effect to one and want to paste it the other clips. You switch off color correction and copy the clip. You select the other clips and paste effects. What do you think happens? The effect is applied, but the color correction is applied as well, only it's switched off as it was in the first clip, so all the color correction on the other clips is lost. Fun, eh?
    I'll try to replicate your gotcha - but no, that doesn't sound like fun at all!

  • How can I get a file to copy all of the files in a directory except itself and the source of the copy function will be the directory the final program is in?

    How can I get a file to copy all of the files in a directory except itself and the source of the copy function will be the directory the final program is in? This application must be in Lab View 8.

    you mean something like this (see below)?
    Now you may have to implement code to check if the destination folder exists and to create it, etc.  But if you use the Front Panel Control to select the destination folder, it should be okay.
    Not the best implementation, mind you but you'll get the idea..
    Message Edited by JoeLabView on 04-18-2007 03:43 PM
    Attachments:
    copy folder contents.PNG ‏10 KB

  • Error while copying all rows into an ArrayList...plzzz help

    Hi all,
    Iam doing a small POC on publishing a Application module as webservices...iam stuck while copying the results of whereclause into an arraylist.. some one please help....below is the code
    public class matrixVOImpl extends ViewObjectImpl {
        /**This is the default constructor (do not remove)
        ArrayList al=new ArrayList();
        public matrixVOImpl() {
    public  ArrayList getCompLevels(String role){
        int x=0;
        int pos=0;
        setWhereClause("matrixEO.ROLE='"+role+"'");
        executeQuery();
        if (!hasNext())
                throw new JboException("unable to find role " +role);
        long i=getEstimatedRowCount();
        for(x=0;x<=i-1;x++){
        Row rw=getRowAtRangeIndex(x);************ //here lies the problem for me********************
    String comp= rw.getAttribute("Competency").toString();
        String lr=rw.getAttribute("LevelRequired").toString();
       al.add(0,comp);
      pos=pos+1;
       al.add(1,lr);
      pos=pos+1;
        return al;
    problem is at  Row rw=getRowAtRangeIndex(x); for loop is not workin here...when i manually put zero,first(),last() in place of x works fine i get the first row ..but if i put 1,2...10 or any number i get a null pointer exception..
    how to get all the rows ...wch can b copied to an arraylist...can someone help pllzz.Edited by: Oraclerr on Apr 10, 2009 12:31 PM

    I think it's because getRowAtRangeIndex depends of what the getRangeSize() value is on the view object before executeQuery is invoked. You can change this value in the properties of the viewobject or programmatically, using setRangeSize. If your range size is one, getRowAtRangeIndex(1) returns null, because the index i zero-based. You should only use range size if you only need to present ex. 10 rows a a time?

  • HT1473 Sometimes when I copy a CD into iTunes all of the songs do not show y up in one album, but mutiple albums, all with the same name. Is there an easy way to get all of the songs into one album.

    Sometimes when I copy a CD into iTunes all of the songs do not show y up in one album, but mutiple albums, all with the same name. Is there an easy way to get all of the songs into one album.

    Generally adding a common album artist will fix things.
    tt2

  • I moved from an old macbook to a new one.  I copied all my files onto a hard drive.  On trying to setup my mail, i went into documents, microsoft user identities, office 2011 and it shows the database but wont let me select it.  Urgent help pls

    I moved from an old macbook to a new one.  I have installed Office for Mac 2011. I copied all my files from my old notebook onto a hard drive.  On trying to setup my mail, i went into my hard drive and accessed microsoft user identities, office 2011 and it shows the database but wont let me select it.  Its almost as if the file is there but not accessable.  I desperately need to access my old mail.  How do I do this?  I am fairly confident that I copied all files off my old notebook.  Is there a way for me to search for the Database file?  Maybe I copied it to a different location?  Urgent help please.

    Hello mafrerichs and welcome to Apple Support Communities,
    Simplest way is to use Target Disk mode:
    How to use and troubleshoot FireWire target disk mode - Apple Support
    and hook to another Mac and use CCC or SuperDuper and clone your HD to another drive.
    You could also pull the drive out of your MBP and use an external USB case or SATA - USB dongle to hook it to another Mac.
    "MacBook Pro (15-inch Late 2011),... have a 15" 2012 Macbook pro with 2gb of ram, i7 processor"
    That's a little confusing?

  • How to copy all objects (incl. joins) from a BM into another existing BM

    Hello, i'm a regular viewer of this forum and now i have one issue that looks simple but i cannot resolve it.
    To make it less complex let's say we have a business layer with two business models (e.g. CIS-Finance and CIS-Logistics). For each BM we have a seperate subject area in the presentation layer.
    Each BM has unique objects, no object (like dimension time) is appearing in both BM's.
    Now there is a business requirements to have a 'mega' model, that is one extra BM that is combining both BM's. Let says we want to merge both model into one new big model.
    To achieve this I did the following:
    1) Duplicate CIS-Finance to CIS-All (using right mouse click on BM and click duplicate and change the name of duplicated BM to CIS-All)
    2) Then I select all objects in CIS-Logistics and copy all these objects and paste them into the new BM CIS-All.
    All selected objects were copied into the BM but the logical joins are not copied as well the content level information of the source tables.
    Is there a way to copy also this information (logical joins and content info), or do you suggest another approach to achieve this goal?
    Thanks, Ben

    what i did:
    1) i copied the original rpd to rpd2
    1) in the original rpd, i duplicated CIS-Finance to CIS-Logistics (so I have the same name for the BM to where i want to copy to)
    2) in the rpd2 i selected all objects in BM CIS-Logistics
    3) I pasted all objects to rpd BM CIS-Logistics (so BM has same name)
    unfortunately it doesn't work, all objects are copied but not the joins and content.
    You suggest UDML, can you be a little bit more specific? I searched the internet, found out what UDML is, but I cannot map it to what I want.
    Thanks.

  • Transaction for overview of all custom (Z) programs in ERP.

    Dear gurus,
    I am looking for a transaction/report which gives me an overview of all custom programs/elements build in a system. I used to know this transaction but I cannot find it anymore (searched throughout Google and SDN ).
    Can anyone help me out?
    Thanks in advance!
    Rob
    PS the overview is needed to show a customer an overview of all used Z-elements in their system (and I do not want to use TADIR or SE93 ).

    Hi Sandra,
    Unfortunately this is not the one. It was a transaction which provided me some input options and which I then could run and which gave me an overview on all Z-elements in the system. A fantastic report! I hope someone can help me out with this report/trx.
    Thanks!
    Rob

  • I have a pdf file which contains text if i copy all text and paste them into notpad and save file as .txt Is it change the ascii value of text ?

    I have a pdf file which contains text if i copy all text and paste them into notpad and save file as .txt Is it change the ascii value of text ?

    How to know character's encoding is ASCII?

  • Copying all birthdates from custom field to regular addressbook field

    is there a way i can copy birthdates from a custom field to regular address book field?
    my current birthdates are not reflecting in iCal - and while there is are solutions to copying custom dates to ical, i would rather work on the solution to copy the custom date to regular birthdate.

    So, if you're sure all your custom dates are birthdays and you want to copy them all to the birthday field.
    First, open Address Book and from the File menu select Export, then +Address Book Archive...+ This saves a backup of your Address Book database in case you don't like the results of the script below.
    Then run this Applescript.
    -- Move all custom dates to birthdays
    -- John Maisey -- 21 June 2009 -- www.nhoj.co.uk
    tell application "Address Book"
    repeat with thisPerson in (people whose custom dates is not equal to {})
    tell thisPerson to set birth date to value of first custom date
    end repeat
    save addressbook
    end tell
    display dialog "All Address Book custom dates copied to birthdays."
    Best wishes
    John M

Maybe you are looking for

  • How to create a Video Podcast?

    Hi, I have a question about how to create a Video Podcast. What I like to do is record what I can see ON my screen. And I don't want to use a Video Cam to make Videos of it. If anyone knows how to to that or if there is an application I could use it

  • Multiple Business Partner Selection on Activities trhough higher level

    Dear all, During a Business Transaction creation (e.g. activity), we need to find a way to, when checking a higher level of business partners (e.g. organizational unit, position), all the business partners associated to that level will be automatical

  • How can delete my iphone5 data from the date its restored?

    how can delete my iphone5 data from the date its restored?

  • How do I delete my account, please?!

    Hello there, I've created an account containing all of my personal information, but now that I've bought the few songs that I wanted to have ... I would very much like to delete my account again. You see: there is no need for me to have an account an

  • K7T Turbo2 XP2000 won't boot up anymore!

     ?( i've just turned off my pc few hours ago. but now it won't even boot to BIOS. When i turned on my PC, the HDD LED is always on (even though i hear no reading process happening) and the monitor goes blank . and strangely no error beeps from the pc