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

Reading Protected Code ?? Any Solution

Former Member
0 Likes
373

hello ,

Some of Z-Reports have there Program codes protected and now end user wants some changes ,but when i try to open the code or edit or copy message is coming "code is protected". Is there any way so that i can have access to the code and can chage it.

I have also checked in the version management ,there also code is not displayed.

kindly reply ASAP

regards

joshi

2 REPLIES 2
Read only

Former Member
0 Likes
342

Write a z program to read the report source code.

READ REPORT prog INTO itab.

loop at itab,

*Write the contents of itab.

endloop.

Read only

Former Member
0 Likes
342

HELLO,

i wrote the code you said but SY-SUBRC = 8: is coming which means::

"Program could not be read because it is a security-critical system program and therefore protected against read access".

the read statement is working in case when my program code is not protected but not in cases when my code is protected.

Is there any other way to read the protected code so that we can chage it ??

regards

joshi