Skip to Content
author's profile photo Former Member
Former Member

set password for code / no display

hi all

i have written some report 'z1'. i don't want other to view my code . is there any way to set password for my code ? is there any other solution.

thanks

bala

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2005 at 09:00 AM

    Hi,

    doing this may be a little dangerous, but you can try out http://www.sap-basis-abap.com/sapab028.htm

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2005 at 09:30 AM

    hi Poornanand ,

    that's a great help . it locks the program with the password. how can we view the program using the password ?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Anand,

      I tried out this program to hide an other program but it gave me a short dump with the message that Table 'd010s' does not exist in the database. I checked in se11 and could not find the table. Any idea what went wrong ?

      regards,

      Madhavan

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2005 at 12:32 PM

    Hi Anand,

    Consider i have the program 'ztst'. if i want to hide it by setting the password and i shoud be able to change,display but not others who don't know the password.

    When we execute the prgroam ZHIDE , we give two parameters . prgname and pwd . it lock for all . but i want to change/display using the pwd which i have set.

    thanks for you reply.

    reg

    sen

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi Senthil,

      Unfortunately your description is not very clear. The program solves what you have asked in the first question.

      There's an option for all programs called Editor Lock. Set this flag if you don't want anybody else to change the program except yourself.

      If you want to program something more complex, then use the SAP Authorization Concept to achieve your requirement.

      Regards,

      Anand Mandalika.

  • author's profile photo Former Member
    Former Member
    Posted on Feb 25, 2005 at 12:35 AM

    If you hide the source as described in this posting, the program cannot be regenerated. If any dictionary object that your program uses gets changed, then the system will mark your program as needing to be regenerated. The next time it is executed, the system will attempt to regenerate, will fail to find the source code and therefore your program is unusable.

    You may also lose the ability to debug the program.

    You may also lose the ability for the dump manager to point out the line of code where a failure occurred.

    As long as you are okay with these restrictions, then go for it and let us know how it goes.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.