Downloading ABAP Source Code

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog


Downloading ABAP Source Code

Post by rljones » Mon Jan 20, 2003 9:56 am

Version: 3.1I

What is the best way to donwload code to text files for alter recovery if needed? Thanks.

Posts: 797
Joined: Wed Dec 18, 2002 5:55 am
Location: Hyderabad, India

Post by Gladiator » Mon Jan 20, 2003 10:24 am


Right click your mouse on the code in abap editor, the last option is 'save to a local file' or you can find this option just below the Report name in the abap editor (in 4.6C). you can save the code to a local file with this.

Posts: 929
Joined: Tue Oct 22, 2002 3:19 am
Location: The Hague

Post by ocvantol » Mon Jan 20, 2003 10:59 am

Take a look at There you'll find a very nice up- and download tool.

Tim van Steenbergen
Posts: 346
Joined: Tue Dec 17, 2002 7:52 am
Location: Amsterdam, The Netherlands

Post by Tim van Steenbergen » Mon Jan 20, 2003 11:07 am

And when you've been upgraded to 4.6C: Check out the easy down- and upload-program and its manual on Very easy to use. Thumbs up for Jim.
Best regards, Tim van Steenbergen.

Posts: 167
Joined: Mon Oct 21, 2002 2:22 am
Location: Wijlre, Netherlands

Post by hsenden » Fri Mar 07, 2003 3:00 am


i've downloaded and followed the steps for the initial load.(See below)
After executing i'm getting a dump 'Exception condition "FILE_OPEN_ERROR" raised'.
I see that the DOS batch program starts and then i'm getting the error.

I'm on SAP R/3 4.5B, SAP Gui 6.20 and Windows NT 4.0.

What's wrong ?


* To load the ist time into a system.** Create program with ABAP editor and Upload the .EEE file.* Delete ist line (????SRCE) in the ABAP EDITOR --NOT THE DISK FILE* Delete all the source from the line that starts ????TEXT (towards* the end file) till the end so the last line in your source is ENDFORM.* DO NOT ALTER THE DISK FILE. DO THESE CHANGES IN THE ABAP EDITOR.** Save file and execute** Use following parameters (Note the ist time you won't get proper* text on the selection screen).** Function U* Path full dos path containing source e.g c:\abaps\* NOTE YOU MUST ENTER THE FINAL \ as above.* REPID the program name. e.g ZZJIMHXX* note that on the DISK you will see 3 files* ZZJIMHXX.EEE, ZZJIMHXX.FFF, ZZJIMHXX.HHH* just use the name before the dos qualifier - the* program will do the rest** ignore other parameters* The program will then load itself with all the texts etc.* It should now be ready for use.*
Last edited by hsenden on Fri Mar 07, 2003 3:17 am, edited 1 time in total.

Posts: 7116
Joined: Thu Oct 31, 2002 4:47 pm
Location: Liverpool

Post by Rich » Fri Mar 07, 2003 3:06 am

One thing to bear in mind is that it's not just the program your need to download. You also require includes, domains, data elements, fields and tables used by the program and not defined by SAP.

If does not provide these facilities, let me know. I have a program that will download reports and entire function groups including all the dross either individually or by programmer.


Posts: 167
Joined: Mon Oct 21, 2002 2:22 am
Location: Wijlre, Netherlands

Post by hsenden » Fri Mar 07, 2003 3:30 am


my problem has been solved. Because of security reasons, i have no write-access on the root-directory of C.
So i've had to change 'C:\' in the program into 'C:\DATA\ZZJIMHXX\'.

Another dump occured, but i've changed the following line

Code: Select all

write '/B  > C:\DATA\ZZJIMHXX\DIR.$$$' to dosline+50
into the next line

Code: Select all

write '/B  > C:\DATA\ZZJIMHXX\DIR.$$$' to dosline+30
The dosline-variable could not store the complete line.


Posts: 1537
Joined: Mon Oct 21, 2002 3:32 am
Location: Belgium

Post by Incho » Fri Mar 07, 2003 4:21 am

You can try sapedit, too:



Post by Guest » Thu Feb 24, 2005 12:50 pm

Hi Rich..please can you give the code to download/upload entire group function....please send it to this mail: [email protected]

Posts: 7
Joined: Wed Dec 31, 2003 4:28 pm

Post by cruiser » Thu Feb 24, 2005 3:49 pm

Hi Rich

Could you please also send it to me [email protected]


Posts: 255
Joined: Thu Dec 19, 2002 8:19 am

Post by wizbongre » Fri Feb 25, 2005 4:38 am

Hi Rich,

Can you please send all useful tools you've ever created and in fact any ABAP you've ever done to me please?

[email protected]


Posts: 28796
Joined: Mon Oct 21, 2002 2:33 pm
Location: 3.1415926535

Post by Snowy » Fri Feb 25, 2005 9:06 am

I am locking this topic before everyone sends their email addresses and start to get loads of SPAM in their email accounts :roll:

Rich, If you have this program available, PM me and I will open it for you.