Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Exports

Former Member
0 Kudos

Hi Experts,

How to copy/download the total package(including programs, tables,forms, structures) from the OS level and how to upload the same in other SAP systems ?

Thanks in advance for your solutions..

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

Hope this helps.

Download Program from a Development Class:

First check in tadir that the given package is valid

SELECT SINGLE devclass FROM tadir INTO ws_devclass WHERE devclass = p_devcls.

Select all the records from TADIR table where OBJECT = 'FUGR' and PGMID = 'R3TR '.

In this way u can get all the FUnction group for that package.

For getting the function module under the function module use the FM RS_FUNCTION_POOL_CONTENTS to get all the function module under the Function group.

Usign the table tfdir get the program name of the Function module.

Using the FM 'GET_INCLUDETAB' get all the includes

for that PRogram name.

Loop at the internal table which you got from the function module.

Use the READ REPORT prog INTO itab.

Download the contents to the place where you want.

DOWNLOAD PROGRAM ==============

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

visit http://www.dalestech.com

Can check these links also.

http://sap.ittoolbox.com/code/archives.asp?d=1623&a=s&i=10

http://www.members.tripod.com/abap4/Upload_and_Download_ABAP_Source_Code.html

http://www.geocities.com/rmtiwari/Resources/Utilities/WebViewer.html

http://sap.ittoolbox.com/code/archives.asp?d=3333&a=s&i=10

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

Hope it is helpful.

Manish

Download program and Classes.Download program and Classes.

ZREPTRAN_46C appears to allow downloading of classes

http://www.xaption.de/downloads/developer/index.php?Xaption=cd4ab5a11a5c26d34de38ed675bb6541

http://wiki.ittoolbox.com/index.php/Code:Download_and_upload_OO_ABAP_class_in_XML_format

<b>Reward points if this helps.

Manish</b>

1 REPLY 1

Former Member
0 Kudos

Hi ,

Hope this helps.

Download Program from a Development Class:

First check in tadir that the given package is valid

SELECT SINGLE devclass FROM tadir INTO ws_devclass WHERE devclass = p_devcls.

Select all the records from TADIR table where OBJECT = 'FUGR' and PGMID = 'R3TR '.

In this way u can get all the FUnction group for that package.

For getting the function module under the function module use the FM RS_FUNCTION_POOL_CONTENTS to get all the function module under the Function group.

Usign the table tfdir get the program name of the Function module.

Using the FM 'GET_INCLUDETAB' get all the includes

for that PRogram name.

Loop at the internal table which you got from the function module.

Use the READ REPORT prog INTO itab.

Download the contents to the place where you want.

DOWNLOAD PROGRAM ==============

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

visit http://www.dalestech.com

Can check these links also.

http://sap.ittoolbox.com/code/archives.asp?d=1623&a=s&i=10

http://www.members.tripod.com/abap4/Upload_and_Download_ABAP_Source_Code.html

http://www.geocities.com/rmtiwari/Resources/Utilities/WebViewer.html

http://sap.ittoolbox.com/code/archives.asp?d=3333&a=s&i=10

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

Hope it is helpful.

Manish

Download program and Classes.Download program and Classes.

ZREPTRAN_46C appears to allow downloading of classes

http://www.xaption.de/downloads/developer/index.php?Xaption=cd4ab5a11a5c26d34de38ed675bb6541

http://wiki.ittoolbox.com/index.php/Code:Download_and_upload_OO_ABAP_class_in_XML_format

<b>Reward points if this helps.

Manish</b>