‎2009 Feb 12 10:33 AM
hello,
I want to know that how to copy any standard tcode to ztcode.
e.g suppose i want to copy mm01. then.
Please tell me how .
‎2009 Feb 12 10:34 AM
before that copy the program and assing to new tcode to new porgram.
‎2009 Feb 12 11:17 AM
Hi ,
Go to T.code SE93 -
> write the Std. t.code name -
> Click Copy button .
Regards
Pinaki
‎2009 Feb 12 10:35 AM
‎2009 Feb 12 10:36 AM
Hi Santosh,
Just go to the transaction code.
System -> Status -> Program Name.
Copy that program to your Z Program.
Now create a transaction for your Z program.
Regards,
Nitin.
‎2009 Feb 12 10:37 AM
hi,
Goto the required transaction.
F1> technical help-> program name.
Goto se38--> program name --> copy to a new zprogram.
This way you can copy a standard transaction program.
Thanks
Sharath
‎2009 Feb 12 10:37 AM
If it's not too late, don't do it! This can create massive problems once patches or upgrades are applied to the system.
Thomas
‎2009 Feb 12 12:07 PM
>
> If it's not too late, don't do it! This can create massive problems once patches or upgrades are applied to the system.
> Thomas
Just curious to know in what way?
pk
‎2009 Feb 12 12:23 PM
Imagine copying VA01, the module pool behind it, dozens of includes etc. to customer name range. From that moment that copy is frozen and no SAP patches for the standard transaction will be applied to that copy, and you will have a hard time implementing these manually into your copy (no SNOTE support...).
Often, people only copy those includes that need to be changed, otherwise the standard includes are used in the copy of the module pool. Now imagine that during an upgrade SAP changes code in standard includes, e.g. referencing variables that your copy of the TOP-include does not know about. You will have syntax errors in your copy that are a pain to resolve.
In addition, often there is entries in T...-tables (e.g. screen flow) that contain the name of the standard transaction or program, and your copy will not work properly without those entries being copied as well.
I am speaking from own experience here, by all means look for other solutions than to copy a complex SAP standard transaction.
Cheers
Thomas
‎2009 Feb 12 12:28 PM
Oh.. you mean the entire program behind the tcode.
<Narrow Mind ON>I was strictly going by the OP's question on copying the standard tcode as in ZVA01 for VA01 (without any additional baggage) </>
pk
‎2009 Feb 12 12:31 PM
You're right, the OP might as well mean just the TCODE...whatever the benefit might be in that case. I automatically assumed the horror scenario, but I know that precisely this is being done very often without being aware of the pitfalls.
Thomas
‎2009 Feb 12 10:41 AM
‎2009 Feb 12 10:44 AM
Hi;
You have 2 ways either copy it by se93 or go in se80 make the entire this and then make a new transaction code.
Regards
Shashi
‎2009 Feb 12 11:17 AM
Hi,
Go to se93-> enter the transaction code->copy the program name.
for example for transaction VA01 you will get program name as SAPMV45A.
then go to se80 choose program the enter SAPMV45A.
Now you can see the program name under object name, right click on the program name
(in this case SAPMV45A) then choose copy.
After giving the target program name you will be prompted to choose the objects you want to copy like includes etc.
choose them.
Regards,
Manoj Kumar P