Application Development and Automation 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: 
Read only

Download and upload program

Former Member
0 Likes
592

Hello to everybody,

I'm looking for a standard program that can download and upload program' source codes. I found the program REPTRAN (in SAP release 6.0) that can only download the source code (with the include as well), but i didn't find the upload one.

So, does anyone knows if exist a standard program that can download source codes (comprensive of include) and upload it as well?

Thanks and bye..

1 ACCEPTED SOLUTION
Read only

raja_thangamani
Active Contributor
0 Likes
453

Hi,

Here is code which read the Programs & download:

Here Just pass the itab "SOURCE" into WS_DOWNLOAD.

function zuplt01f_tr.
*"----------------------------------------------------------------------
*"*"Local interface:
*"  IMPORTING
*"     REFERENCE(PROGRAM_NAME) TYPE  SYREPID
*"  TABLES
*"      SOURCE
*"----------------------------------------------------------------------

  data: f(240) type c,
        g type i,
        h(72) type c,
        low type i   .

  read report program_name into source . " state 'A'.


  describe table source  lines count.

  
endfunction.

Raja T

1 REPLY 1
Read only

raja_thangamani
Active Contributor
0 Likes
454

Hi,

Here is code which read the Programs & download:

Here Just pass the itab "SOURCE" into WS_DOWNLOAD.

function zuplt01f_tr.
*"----------------------------------------------------------------------
*"*"Local interface:
*"  IMPORTING
*"     REFERENCE(PROGRAM_NAME) TYPE  SYREPID
*"  TABLES
*"      SOURCE
*"----------------------------------------------------------------------

  data: f(240) type c,
        g type i,
        h(72) type c,
        low type i   .

  read report program_name into source . " state 'A'.


  describe table source  lines count.

  
endfunction.

Raja T