Download and upload a program to & from a local harddisk

Question: Is there any way to save a program in SAP like how we do it for java?

Eg: when you save a file as .java to a USB, you can just drop it the file off to any computer which has a java compiler and run it there


Is there any way to save the complete source code of the program? Eg: ideally with INCLUDES, txt symbols etc included

I found this on the net but it isn't working :/

http://www.sap-img.com/abap/download-and-upload-your-abap-program.htm

Answer:
I print the program to the spool, view it on the spool, and then download to my PC using system->list->save.

I did use some of the more sophisticated upload/download tools, but to be honest, I find I rarely use them. If I'm wanting to store programs for personal use, it's usually for certain techniques - for this, printing works fine.

Otherwise, make a transport of your object with all its components, and have your friendly basis people transfer you the transport file.

m@t
_________________
TULY The quality of answers is roughly proportional to the quality of the question.

The downside of being better than everyone else is that people tend to assume you're pretentious.

Answer:
Did you check the FAQ?
_________________
ilya

More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com

Answer:
I print the program to the spool, view it on the spool, and then download to my PC using system->list->save.



Hmm.. It wouldn't save the code in INCLUDES tho :/


I did use some of the more sophisticated upload/download tools, but to be honest, I find I rarely use them.


What is it???????


Otherwise, make a transport of your object with all its components, and have your friendly basis people transfer you the transport file.

Hmm... This option is probably doable. I can copy the code to IDES and do it from there if i have access to transport the file? What are the steps for this?

Answer:
I print the program to the spool, view it on the spool, and then download to my PC using system->list->save.



Hmm.. It wouldn't save the code in INCLUDES tho :/



From SE38, enter the name of the program. Then choose PRINT. You get a popup which allows you to print includes, sorted alphabetically, if you wish, with source code,attributes, text elements, messages, documentation and cross-reference.

I've no idea what the upload download program I used was called. It was in 31H anyway, so I doubt my version would work anymore.

For the transport route, create a transport of copies and release it. The file will be somewhere on the app. server file system.

m@t
_________________
TULY The quality of answers is roughly proportional to the quality of the question.

The downside of being better than everyone else is that people tend to assume you're pretentious.

Answer:

You get a popup which allows you to print includes, sorted alphabetically, if you wish, with source code,attributes, text elements, messages, documentation and cross-reference.


m@t,

I went to SE38 and press 'print' as instructed by you but i do not see any pop up window which allows me to print includes,sorted alphabetically,etc

I am on 4.7.

Answer:
I'm fairly confident that bit of functionality has been around a while at least since 30F, so it's a bit odd that you don't get it.

Have a look if program SAPLSEUW, screen 0100 exists. That is the popup screen.

It has to be done from the first screen of SE38. It doesn't work from within the editor.

cheers

m@t
_________________
TULY The quality of answers is roughly proportional to the quality of the question.

The downside of being better than everyone else is that people tend to assume you're pretentious.
Copyright ?2007 - 2008 www.jt77.com