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

regarding backup

Former Member
0 Likes
1,464

hai,

i have few prgms in zxx dev class.now i want to take these prgs backup bcoz our company people wants us to do that in R3 system(as they are going to upgrad or migrate).

How can i take my programs copy in mylocal PC and make use of those programs for future use.

Is there anyway we can just import the dev class(all prgms) into Local PC and later can export to R/3 system when required?

if so could you pls guide me how to do it.

ambichan.

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
800

Hi Ambi,

here's a progr. named zreptran

http://xaption.mjumedia.de/download.php?file=9eb791969cfbe569245c73be6d196a57

...

or you can write your own report with some lines:

 DATA itab LIKE abapsource OCCURS 0 WITH HEADER LINE.
    SELECT prog FROM  info_pt INTO TABLE progtab
           WHERE cnam      = 'ambi chan'
           AND    devclass  = 'zxx'.

    LOOP AT progtab.
      CONCATENATE 'C:temp' progtab-prog INTO file.

      READ REPORT progtab-prog INTO itab.
      CALL FUNCTION 'GUI_DOWNLOAD'
           EXPORTING
                filename = file
                filetype = 'ASC'
           TABLES
                data_tab = itab.
    ENDLOOP.

regards Andreas

8 REPLIES 8
Read only

Former Member
0 Likes
800

Hi Ambi Chan,

From the SE38 transaction you have the menu:

Utilities->More Utilities->Upload/Download->Download.

This will download your abap to your PC.

You can then upload your abap at a later date using the same menu.

Cheers,

Brad

Read only

Former Member
0 Likes
800

hey thanks for your reply.

Problem here is,I have few programs and dynpro screens

attached with the programs. so i am thinking of downloading w.r.t packages or dev class.

rather downloading abap prog each time(takes more time).

is it possible?

ambichan.

Read only

0 Likes
800

Hi Ambichan,

You can do this with an SAP transport. Just create an SAP transport (transaction SE01) with the entry:


Program   Object   Object Name
RSTR      DEVC     <your package name>

If you release the change request it will create a file on the application server which you can copy and then reimport (via STMS for example) to another server (or the same one) at a later stage.

With the object type DEVC, you should get all programs/screens/etc. in your development class.

Cheers,

Brad

Read only

andreas_mann3
Active Contributor
0 Likes
801

Hi Ambi,

here's a progr. named zreptran

http://xaption.mjumedia.de/download.php?file=9eb791969cfbe569245c73be6d196a57

...

or you can write your own report with some lines:

 DATA itab LIKE abapsource OCCURS 0 WITH HEADER LINE.
    SELECT prog FROM  info_pt INTO TABLE progtab
           WHERE cnam      = 'ambi chan'
           AND    devclass  = 'zxx'.

    LOOP AT progtab.
      CONCATENATE 'C:temp' progtab-prog INTO file.

      READ REPORT progtab-prog INTO itab.
      CALL FUNCTION 'GUI_DOWNLOAD'
           EXPORTING
                filename = file
                filetype = 'ASC'
           TABLES
                data_tab = itab.
    ENDLOOP.

regards Andreas

Read only

0 Likes
800

hai brad,

thanks for your reply. This way i think its good.

but i have one thing to confirm here.Since i need to export the existing Development class to later also. i am in need of keep this Package even after i copy it. so if i release the request of this package, is it possible to copy this again.

or i Scare if while copying this dev copy. It should not affect original programs anyway.

ambichan.

Read only

0 Likes
800

No problems ambichan (please feel free to throw some points my way!).

You will have no problems repeating this process as often as you like with the same package.

Each time you just need to create a new transport with the correct entries and release it. It will take a complete copy of your development class and save it on the application server.

Cheers,

Brad

Read only

0 Likes
800

thanks brad williams.

Its more great help.

ambichan

Read only

Former Member
0 Likes
800

Ok .. is there anyway I can Upload all these reports once again ?

to another server for example ?!

Thanks in Advance.