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

Regarding Program Copy

hai,

I have created ztable and zprograms in my local object with user "fujikawa"

now I created new user Chandra. i want to continue coding

by copying programs from Fujikawa user.

If at all we copy these PGMS, it seems we cant execute in new user.

Why is it..? any idea is there?

Chandra

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2005 at 10:16 AM

    hey

    Thanks for your reply.

    Regarding point 5.could you pls tell, where should i change the actual table name?

    in any transaction?

    regards

    Chandra

    Message was edited by: Chandra kumar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2005 at 06:33 AM

    Hi Chandra,

    Your problem description does not seem to be too clear -

    1. Are your Z Tables and Z Programs local objects? Or were They created with a transport request?

    2. What do you mean by <i>copying the programs to the new user</i>? Why do you want to copy them?

    3. If your programs are all local objects, you can edit the program(s) with any user name (meaning , anybody can edit them). The only exception is when you have checked the Editor Lock Flag while creating the program, in which case, only the person who has created the program can edit it.

    4. What do you mean "<i>...we can't execute in new user...</i>" ?

    5. Lastly, does the new user-id you have created have all the necessary authorizations/roles/profiles ?

    Hope these points help you find the problem. If not, please revert.

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2005 at 07:28 AM

    . Are your Z Tables and Z Programs local objects? Or were They created with a transport request?

    yes its in my colleagues local Objects.

    2. What do you mean by copying the programs to the new user? Why do you want to copy them?

    my colleauge has done few programs connecting with tables and screens.

    now i want to continue the coding from my part.

    (Also I am in need of renaming few program names and table names from his program)

    (Problem is, I want to rename his programs and tables and continue the coding is it possible?

    3. If your programs are all local objects, you can edit the program(s) with any user name (meaning , anybody can edit them). The only exception is when you have checked the Editor Lock Flag while creating the program, in which case, only the person who has created the program can edit it.

    ofcourse i can access his programs from my user id.

    4. What do you mean "...we can't execute in new user..." ?

    my colleague said, I cant just copy his programs or edit his programs by renaming his program names and table names and continue coding.. is it?

    5. Lastly, does the new user-id you have created have all the necessary authorizations/roles/profiles ?

    Yes i have all rights.

    Could you please confirm.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Chandra,

      From your descriptions, I don't think there's any problem for you to go ahead and modify the programs and rename the tables/programs. The only point that you need to keep in mind is with regard to renaming the tables and / or programs.

      1. Firstly, you don't have to copy the programs. you can just <i>rename</i> them.

      2. Renaming a Table : Before you dot hat, just do a where-used list for that table and find out all the instances where the table is being used. It might be used in some programs. So the new name of the table should be used in all the references to it.

      2. Renaming a Program : The program might also be referenced elsewhere, for example, through some submit statements. So you have to get a where-used list for the program and change the program name in all the references found.

      Hope that should help you understand how to go about it.

      Regards,

      Anand Mandalika.

      P.S : I would like to mention here that answering the posts in SDN requires some time and effort. So when you get an answer that you find to be useful, please do reward it accordingly. For more information, you can refer to the weblog https://weblogs.sdn.sap.com/pub/wlg/680. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2005 at 08:58 AM

    hai,

    Thanks for your reply.your reply is more useful.

    i know tables cant be renamed like programs.

    could you pls give me steps how to rename table safely?

    Chandra kumar.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Chandra,

      Befor the steps to rename a table safely, I shall give you the steps to reward the points to the replies you get.

      1. For each of the responses that you get for your question, there will be a yellow star icon in the header of the reply.

      2. Just click the icon and you will be taken to a screen where you can reward points to that message based on how useful you have found it to be.

      3. For any question, out of all the replies you get, you can reward

        a. 10 points to the one reply that has answered your question.
        b. 6 points to two replies that were very helpful to you.
        c. 2 points to all the answers that have been somewhat useful to you.

      As I said earlier, this is a special way to thank the people who have taken their time and effort to answer your question and help you solve your problem...All it takes is a few clicks and a few seconds.

      Now coming over to the table renaming...

      1. Go to Se11, enter the name of the table you want to rename.

      2. Click on the where-used list icon on the toolbar.

      3. You will get a pop-up screen. Since you are searching for a custom table (Z-table), it might not have too many references. Select all the objects which you think might have used this table.

      4. You will get a list of results along with the exactl location where the table (rather <i>table name</i>)is used. Change all these to the new name and save all the objects (programs). Don't activate the programs at this point.

      5. After all the programs and other objects referencing the table have been modified to the new table name, then change the actual table's name.

      6. Activate the table with it's new name. Then activate all the objects that you have just modified , to correct the table name.

      Hope this has been clear enough for you to understand and go ahead. Now don't again forget to reward the points :-).

      Regards,

      Anand Mandalika.

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.