2007 Jun 08 4:32 AM
Hi All, if I have transported my inbound function module to production system, but when my code has influence on data in the production system, I want to backout my inbound function module and I don't what to delete my code, what should I do? Many thanks in advance!! It is an urgency.
2007 Jun 08 5:01 AM
Hi,
Correct..Make the changes in a CR and move the CR to production system...The function module will still be there...it will not execute your code..As it will exit out of the function module..
FUNCTION z_test..
Exit out of the function module
EXIT.
Other code.
....
...
ENDFUNCTION.
Thanks,
Naren
Many thanks for your help!
Message was edited by:
yu huali
2007 Jun 08 4:35 AM
Hi,
In the first line of of the function module..Give EXIT...to exit out of the function module..
So that you don't have to remove your code..
Thanks,
Naren
2007 Jun 08 4:37 AM
Just comment all the code. No need to delete it. Create a transport of the commented code and move to production.
Reward points if useful.
Regards,
Atish
2007 Jun 08 4:42 AM
Hi,
Once you put the EXIT statement...Als move the code to production
Thanks
Naren
2007 Jun 08 4:54 AM
You mean I should create a new transport with the EXIT statement and when my function module has influence on the data in the production system, I will move the new transport to the production system?
FUNCTION z_###.
EXIT.
Write the statement like this?
Many many thanks! I am a new ABAPer, so I have many questions. Thank for all of your help.
2007 Jun 08 5:00 AM
Yes.
The statement is correct.
But we are still not clear what is your requirement. Why do you want to comment keep your code if it is not used.
Regards,
Atish
2007 Jun 08 5:01 AM
Hi,
Correct..Make the changes in a CR and move the CR to production system...The function module will still be there...it will not execute your code..As it will exit out of the function module..
FUNCTION z_test..
Exit out of the function module
EXIT.
Other code.
....
...
ENDFUNCTION.
Thanks,
Naren
2007 Jun 08 7:07 AM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |