on 11-17-2010 8:37 AM
Hi gurus,
i got one requirement,
I have to copy standard program to custome program with includes ,that includes con tain few more includes. so how can i copy all the includes into the custome progam.
please tel me.
Which standard program r u trying to replicate? I can tell that may be it will be more helpful for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijayam,
In SE38, give the name of the standard program, in menubar goto program -> copy, which will take you to a pop up, check the checkbox for 'INCLUDES' to copy all the standard includes. But this will not copy the custom includes(starting with Z). To copy the custom include, you need to create new include in your copy program.To create a new include, click on icon 'Display Object List' which will display the objects list for your program, now right click on your program name in this list and select CREATE-> INCLUDE. Give the name of include and now copy the code from standard program include to your include.
I hope your problem is solved now.
Regards,
Pranjali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can go to se38 and copy it but it will copy the standard includes in the new zprogram which is the problem. So you have to indivually go and copy those include to a Z one.
Thanks
Nabheet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Copying standard programs, and then changing them is not generally a good idea. If OSS corrections are supplied for the original, then those corrections won't be applied to your program. Further, the correction might change an include which your program uses, and stop your program working. These problems are even worse during a system upgrade.
Use the enhancement framework, user exits etc.first.
You have the options to copy the INCLUDES of the main programs, any sub-include in the include will not displayed while copying the main program.
Those sub-includes need to be copied manually, better copy only that sub-include which requires change otherwise use as it is.
Regards
Munish Garg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What did you do and what didn't work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have to modify also the standard include you have to copy it by set at 'X' Include at popup that system show you in the copy process.
If this process don't copy all include and subinclude, you have to copy they manually.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.