‎2013 Jul 29 3:45 AM
Dear All,
Please help me, how can i stop someone viewing my source code.
Thanks
Kishore
‎2013 Jul 29 3:55 AM
Hi Kishore,
It is not possible to do it entirely but you can try a password feature it is tricky but handy.
http://www.erpgreat.com/abap/program-to-hide-abap-source-code-and-protects-it.htm
Regards
‎2013 Jul 29 4:06 AM
Hi,
May be design an exit code in Enhancement SEU00001 component EXIT_SAPDSAHD_010 may be to check.
Cheers,
Arindam
‎2013 Jul 29 4:52 AM
‎2013 Jul 29 7:03 AM
Hi Kishore,
We can hide our source code by using following code..try this..
DATA:
gt_code(72) TYPE c OCCURS 0,
gv_code LIKE LINE OF gt_code.
PARAMETERS: p_progrm TYPE sy-repid.
START-OF-SELECTION.
READ REPORT p_progrm INTO gt_code.
* READ REPORT returns SY-SUBRC = 8 on a hidden source code
IF sy-subrc <> 0.
MESSAGE e398(00) WITH 'Report' p_progrm 'not found.'.
ENDIF.
gv_code = '*@#@@[SAP]'.
INSERT gv_code INTO gt_code INDEX 1.
INSERT REPORT p_progrm FROM gt_code.
execute this program by giving program name which you want to hide.
Hope..it helps u..
But even we can't see our source code by doing this..No effect on report functionality,it works fine.. I will let you know the way that source code will appear to only u if i found.