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 retrieving production version source code saved in $tmp

Former Member
0 Likes
1,857

Hi Experts,

We have a program in the production system which was stored in local package, now we moved the same program without code from development system to production system saved in a tr.

Problem is program which was in production system consists source code was overwritten in production with development version. So how to retrieve the program with original source code stored in local package. which is very critical giving dump in production.

Regards,

Vinu Karthik.

1 ACCEPTED SOLUTION
Read only

ceedee666
SAP Champion
SAP Champion
0 Likes
1,051

Hi Vinu,

The first question I'd like to ask is: What the hell are you doing! How can a program relevant for production ever end up in a tmp package?

Now regarding your question. Versions of programs are stored whenever a transport request is released. So if you never transported the program out of the production system there is no version history of the program. I would suggest moving the program to a regular package, fixing the error in the development system, testing it thoroughly in the QA system and then transport to production. If you really need the previous version from the production system you might be able to create restore a temporary system from a backup of the production system. You need to talk to your basis team about this.

Christian

3 REPLIES 3
Read only

ceedee666
SAP Champion
SAP Champion
0 Likes
1,052

Hi Vinu,

The first question I'd like to ask is: What the hell are you doing! How can a program relevant for production ever end up in a tmp package?

Now regarding your question. Versions of programs are stored whenever a transport request is released. So if you never transported the program out of the production system there is no version history of the program. I would suggest moving the program to a regular package, fixing the error in the development system, testing it thoroughly in the QA system and then transport to production. If you really need the previous version from the production system you might be able to create restore a temporary system from a backup of the production system. You need to talk to your basis team about this.

Christian

Read only

Former Member
0 Likes
1,051

Because some idiot opened production for change and wrote it there ?  Then found there was no transport route so made it local ?

If there's one there's bound to be more.....

Rich

Read only

kiran_k8
Active Contributor
0 Likes
1,051

Vinu,

"now we moved the same program without code from development system to production system saved in a tr."

You have a program in Production but the problem is it is in $TMP.In such  a case instead of the copying the program manually (copy paste) with all the dependant objects from Production to the Dev,why you had moved a Program without any code.

You didn't mention why the program is giving a dump in Production.Is it due to error in Code while execution or something else you are doing again IN PRODUCTION with that program ?

I echo Richard Harper's point as well.

K.Kiran.