<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hiding ABAP Source Code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-abap-source-code/m-p/2199847#M469900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent Suresh.  Love that idea.  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seriously, hiding source code is not suggested.  I know of some cases where developers were fired for it, so to relieve responsbility for you getting fired, I will of course not say how, but merely say that it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2007 16:34:10 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-04-25T16:34:10Z</dc:date>
    <item>
      <title>Hiding ABAP Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-abap-source-code/m-p/2199844#M469897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone give me a guidance how to hide abap source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 16:15:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-abap-source-code/m-p/2199844#M469897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-25T16:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding ABAP Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-abap-source-code/m-p/2199845#M469898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abap4.tripod.com/Other_Useful_Tips.html#Hiding_ABAP_Source_Code" target="test_blank"&gt;http://abap4.tripod.com/Other_Useful_Tips.html#Hiding_ABAP_Source_Code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapab028.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapab028.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/program-to-hide-abap-source-code-and-protects-it.htm" target="test_blank"&gt;http://www.sap-img.com/abap/program-to-hide-abap-source-code-and-protects-it.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 16:18:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-abap-source-code/m-p/2199845#M469898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-25T16:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding ABAP Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-abap-source-code/m-p/2199846#M469899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here's a quick 1-2-3 Go!&lt;/P&gt;&lt;P&gt;1. Take a hardcopy of your source code.&lt;/P&gt;&lt;P&gt;2. Send it to Santa@NorthPole.com for 'COLD' Storage.&lt;/P&gt;&lt;P&gt;3. Delete your Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I bet your souce code is hidden once &amp;amp; for all..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 16:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-abap-source-code/m-p/2199846#M469899</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-04-25T16:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding ABAP Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-abap-source-code/m-p/2199847#M469900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent Suresh.  Love that idea.  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seriously, hiding source code is not suggested.  I know of some cases where developers were fired for it, so to relieve responsbility for you getting fired, I will of course not say how, but merely say that it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 16:34:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-abap-source-code/m-p/2199847#M469900</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-25T16:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding ABAP Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-abap-source-code/m-p/2199848#M469901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zsam_hide no standard page heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This program hides any ABAP's source code and protects it with a&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;password in this source code.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;After hiding, you can still run the abap (the load version is intact)&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;but it cannot be displayed, edited, traced, transported or generated.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If the ABAP is not hidden, the program hides it, if it is hidden, it&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;unhide it.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Remember to hide this program first!&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block block.&lt;/P&gt;&lt;P&gt;parameters: program(30) obligatory.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 1(8) pwd.&lt;/P&gt;&lt;P&gt;selection-screen position 35.&lt;/P&gt;&lt;P&gt;parameters: password(8) modif id aaa.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen end of block block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;data: message(60) type c.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'AAA'.&lt;/P&gt;&lt;P&gt;screen-invisible = '1'.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;pwd = 'Password'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: trdir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;User name and password check&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if password &amp;lt;&amp;gt; 'ABCDEFG'.&lt;/P&gt;&lt;P&gt;write: / 'Wrong password'.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SAP owned?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if not program cp 'Z&lt;STRONG&gt;' and not program cp 'Y&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;write: / 'Do not hide original SAP programs!'.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Exists?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;select single * from trdir where name = program.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;write: / 'Program does not exists!'.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Does it have a current generated version?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data: f1 type d, f3 type d.&lt;/P&gt;&lt;P&gt;data: f2 type t, f4 type t.&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;SELECT UDAT, UTIME, SDAT, STIME INTO :F1, :F2, :F3, :F4 FROM D010LINF&lt;/P&gt;&lt;P&gt;WHERE PROG = :PROGRAM&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if f1 &amp;lt; f3 or ( f1 = f3 and f2 &amp;lt; f4 ).&lt;/P&gt;&lt;P&gt;write: / 'The program has no recent generated version!'.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Compose a new program name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data: new_name(30), i type i, j type i.&lt;/P&gt;&lt;P&gt;new_name = program.&lt;/P&gt;&lt;P&gt;do 30 times.&lt;/P&gt;&lt;P&gt;i = sy-index - 1.&lt;/P&gt;&lt;P&gt;new_name+i(1) = '_'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Search for acceptable program name variations&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;j = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from trdir where name like new_name.&lt;/P&gt;&lt;P&gt;j = j + 1.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if j = 1.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;new_name = program.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Cannot generate appropriate program name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if j &amp;gt; 1.&lt;/P&gt;&lt;P&gt;write: / 'Cannot generate appropriate program name'.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check if it is already hidden&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data: f5(30).&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;SELECT PROG INTO :F5 FROM D010S WHERE PROG = :NEW_NAME&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if f5 is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;There is no such hidden program, hide it&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;UPDATE D010S SET PROG = :NEW_NAME WHERE PROG = :PROGRAM&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;concatenate 'Program' :program 'was hidden.'&lt;/P&gt;&lt;P&gt;into message separated by space.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;There is already a hidden program there, unhide it&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;UPDATE D010S SET PROG = :PROGRAM WHERE PROG = :NEW_NAME&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate 'Program' :program 'was restored.'&lt;/P&gt;&lt;P&gt;into message separated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;end of program&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 20:44:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-abap-source-code/m-p/2199848#M469901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-25T20:44:28Z</dc:date>
    </item>
  </channel>
</rss>

