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

retrieve of code

Former Member
0 Likes
1,851

Hi all,

I am working on a report. Mistakenly I had deleted the whole report by selecting delete button in application tool bar.But I want it back.

Is there any option in ABAP to retrieve the data back.

Pls experts help me.

With regards,

Abir.

13 REPLIES 13
Read only

Former Member
0 Likes
1,618

Hi

If you have an old request containing your report you can import that request in develop queue.

But if your report was created as local I believe you can do nothing.

Max

Read only

0 Likes
1,618

Hi,

I had saved it in development class not local object.

Just guide me the steps how to retrieve the code from dev class.It is a big code.

Pls experts help me out.

With regards,

Abir.

Read only

0 Likes
1,618

Hi

If you have saved it in a development class you should have a request: so you have to find that request.

I hope you have released a request with that program at least once, because only if you realese the request the system creates a version.

Max

Read only

0 Likes
1,618

You can only retrieve the last version. Either from your QA or PRD box, or creating a report with the same name and go to the version management, select the last one and press the retrieve button.

To avoid such cases I always make backup from my bigger development with Direct Download available on http://www.dalestech.com .

Peter

Read only

0 Likes
1,618

Usually when the program which is assigned to the development class (which has already gone to the Quality or Production level), will ask for a request, whose mention was not there at all!!!

To retrieve the old code..

Go to SE09/SE10..

Choose the 'Released' Request status..

Display all the requests..

Put the cursor on the Workbench request.. and in the Menu bar.. Edit->Expand (This will expand all the nodes present under Workbench requests)..

Now search for your program name...

Double click on it and it will navigate to SE38 editor..

You may copy the code and paste it in the program with the same name..

Read only

Former Member
0 Likes
1,618

is that a $tmp or is it associated with some request.

if it is $tmp , just forget it.

if it is associated with Trquest then you can get that back..

Regards

vijay

Read only

Former Member
0 Likes
1,618

Hi,

Pls chek this post:

Regards,

Anjali

Read only

Former Member
0 Likes
1,618

Hi,

I guess you can retrive it back from the transport no..

not possible in case of local object though

Regards,

Tanveer.

<b>Please mark helpful answers</b>

Read only

Former Member
0 Likes
1,618

Hello Abir,

If you are created program as $tmp then you cannot do much but start programming again. However if you have assigned a development class then the program would be locked in transport request and versioning of program would have happened and you can retrive the program from that.

Read only

0 Likes
1,618

Hi,

I had saved it in development class not local object.

Just guide me the steps how to retrieve the code from lock object.It is a big code.

Pls help me out.

With regards,

Abir.

Read only

Former Member
0 Likes
1,618

HI,

Please follow this steps

1)go to utilities-version-version management-

2)Check the previous version and click on

retrieve button on the application toolbar

Program should be in change mode

3)click on back button you will get one

popup click on the continue button

and generate ur program .

you will get the previous version of the

program.

Regards,

Amole

Read only

Former Member
0 Likes
1,618

Hello Abir,

Goto SE38, Open the program. Goto Utilities->versions->select the request which u want to get back and press retrive version button.

However there is a catch here if u have saved after deletion of the code then I don't think u will get back the code unless u have a request which is holding the source code before ur deletion.

Read only

rahulkavuri
Active Contributor
0 Likes
1,618

hi I have searched SDn and mailed to u about this, please check this thread once again,

Reward points if found helpful