2009 Jan 06 5:21 AM
Hello Gurus
First of all i would like to wish a Very Happy New Year to you all in SDN
i have written a report program in SE38 i want to lock that code not to be opened by any other person except me, even in display mode aslo it should not open.. just like the password protected excel sheet
how can we do that ?
thanks in advance
2009 Jan 06 6:59 AM
Hello
If you search with Google ("hide abap code") you will immediately find ABAP programs which will do the job.
But why does anybody want to hide ABAP coding???
If it is malicious coding (e.g. manipulating authorizations) then you have a good reason to hide your ABAP (yet hopefully you will be caught one day...).
If it is brilliant coding then I would use a platform like SDN to publish it to every interested SAP user because this way you can show us your wits.
Given the fact that you are hiding your true identity behind a pseudonym I doubt whether your intention is honourable...
Regards
Uwe
2009 Jan 06 5:25 AM
Hi ABAPER1234,
in the Program Attributes we have the Editor lock check that one. with that you can only edit that particular report others cannot.
Regarding the not even to display of your report to others as far as my knowledge we dont have that option.
Thanks!
2009 Jan 06 5:25 AM
Hi
try this
Goto --> Program Attributes --> Tick the checkbox for Editor Lock
Thanks,
Tulasi Palnati
2009 Jan 06 5:50 AM
Hi
> Goto --> Program Attributes --> Tick the checkbox for Editor Lock
By checking the editor lock you can make the program un-editable but still people can view the code .
I think to do his the only way out is to remove the authorization of SE38 .
Thanks
Sahil
2009 Jan 06 5:30 AM
Hi,
First of all Editor lock can open the program in display mode.
You have to assign authorization group to the Program.
Regards
Sandipan
2009 Jan 06 5:35 AM
I use some SAP syntax to hide the code but once you do this, it will not come again(Code). So in my opinion Auth. group option is better one.
Thanks
Sanket
2024 Mar 20 4:19 AM
2009 Jan 06 5:55 AM
Apart from EDITOR LOCK option you can also use this exit.
SEUED001.
try this logic there.
if sy-uname <> 'ABAP'.
if program = 'ZTEST' .
raise cancelled.
endif.
endif.
2009 Jan 06 5:57 AM
Hi
you can try this link -
http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4c5a79e11d1950f0000e82de14a/frameset.htm
or
you can create authorization object in SU21 and then can giv access to particular users
regards
prashant
2009 Jan 06 5:58 AM
Hi
Using Editor Lock, u can make the program not alterable by other user. Still the code can be viewed by other users. But, if you want to make the code invisible, u need to restrict with the authorization group. This can be done in SU21 and then can giv access to particular users so that they only will view the code.
Rgds
Zaran
2009 Jan 06 6:41 AM
2009 Jan 06 6:20 AM
one can hide a ABAP program but it is not recomended. it will cause problems in Upgrade.
2009 Jan 06 6:26 AM
Hi,
You may use ZXseuu01 of EXIT_SAPMS38L_001. Please note that you will have to define a new project via CMOD & include the enhancement SEUED001 in it. In the 'Exit' mentioned above you can put your own logic. Simplest would be
check sy-uname = 'ABAP1'.
I hope this helps,
Regards
Raju Chitale
2009 Jan 06 6:41 AM
2009 Jan 06 6:41 AM
2009 Jan 06 6:59 AM
Hello
If you search with Google ("hide abap code") you will immediately find ABAP programs which will do the job.
But why does anybody want to hide ABAP coding???
If it is malicious coding (e.g. manipulating authorizations) then you have a good reason to hide your ABAP (yet hopefully you will be caught one day...).
If it is brilliant coding then I would use a platform like SDN to publish it to every interested SAP user because this way you can show us your wits.
Given the fact that you are hiding your true identity behind a pseudonym I doubt whether your intention is honourable...
Regards
Uwe
2009 Jan 06 7:23 AM
Hi ,
Yes , what Uwe says is Correct ...
There is no need for a Code to get Hidded, If any of the user is not authorised to view the code , through authorisation group you restrict the user .
Hidding code can impact in Upgrade and its not a right approach to do so .
Regards,
Shiv.G.Sethu
2009 Jan 06 7:26 AM
Hello
Regarding the Editor Lock (which does not hide but just prevents modification of the object by another user) it takes less than 40 seconds of debugging to get rid of this obstacle...
Regards
Uwe