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

How to retrieve Hidden ABAP program code

Former Member
0 Likes
1,441

Hi All,

If a ABAP Source code is hidden by some special charaters or some other report.

is there any way to retrieve the same.

thanks

Alexander

8 REPLIES 8
Read only

uwe_schieferstein
Active Contributor
0 Likes
1,203

Hello Alexander

You will find reports in the internet which do exactly what you describe: hiding ABAP reports.

As far as I remember these report revert the hiding if you run them with an already hidden report.

Regards

Uwe

Read only

0 Likes
1,203

Hi Uwe,

I really dont want to hide; but I want to retrieve the code which is hidden in an report.

thanks

Alexander

Read only

0 Likes
1,203

Hi There,

Ive studied somewhere longtime ago..that hidden reports cannot be retrieved, and you should download the report before hiding it.

Read only

0 Likes
1,203

Hi Alexander,

Check this out [hiding ABAP program|http://erpgenie.com/abaptips/content/view/223/41/]. It also allows to unhide the hidden one.

Regards

Marcin

Read only

Former Member
0 Likes
1,203

Which release are you on and what is the name of the program?

You first should find out how the code was hidden, and (possibly) why it was hidden (from you). Try to display the code from the ABAP Editor in the debugger. What is sy-subrc?

Look in the attributes of the code (and it's package / transport request => go to the development system if applicable) and find out who is the author and released the transport and did the QA checks.

Ask that person.

If it is a $tmp program, then you will need to break it open or ask SAP to do it for you.

Cheers,

Julius

Read only

former_member189059
Active Contributor
0 Likes
1,203

Hello,

I'm guessing it was hidden using the following characters

@#@@[SAP]

There is no way that we can retrieve these programs ourselves

you cannot see it in debugging, dump analysis, read report statement, transporting the program etc

However, if you transport the program to SAP, they can unhide it, but as far as I know, they would need a very good explanation for unhiding it since they do not usually do it

Read only

0 Likes
1,203

See my comment below.

Read only

Former Member
0 Likes
1,203

There was a way.

Google "Decompress ABAP source code from table REPOSRC".

But think twice before you do it.

Regards,

Petr