Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

copy standard tcode

Former Member
0 Likes
5,150

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 .

13 REPLIES 13
Read only

Former Member
0 Likes
3,208

before that copy the program and assing to new tcode to new porgram.

Read only

0 Likes
3,208

Hi ,

Go to T.code SE93 -


> write the Std. t.code name -


> Click Copy button .

Regards

Pinaki

Read only

Former Member
0 Likes
3,208

Hi Santosh

Go to SE93.

Give MM01

Click on Copy.

Pushpraj

Read only

Former Member
0 Likes
3,208

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.

Read only

Former Member
0 Likes
3,208

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

Read only

ThomasZloch
Active Contributor
0 Likes
3,208

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

Read only

0 Likes
3,208

>

> 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

Read only

0 Likes
3,208

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

Read only

0 Likes
3,208

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

Read only

0 Likes
3,208

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

Read only

Former Member
0 Likes
3,208

This message was moderated.

Read only

Former Member
0 Likes
3,208

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

Read only

Former Member
0 Likes
3,208

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