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 program into Z program ??

former_member190178
Participant
0 Likes
2,791

Hi experts,

I am trying to copy the t.code ME2L, program name is RM06EL00. I am trying to do it using se38 copy option. It's copying several includes but after copy when I run the copied program and excute , output is coming in the form of normal list whereas I am giving opton as ALV list in the SCOPE OF LIST opton on the selection screen.

Are there some code lines which can help me copying it completely ? or someone has clue, how to do it ?

8 REPLIES 8
Read only

vattekrishna
Participant
0 Likes
1,929

Hi Soni,

Change T160L-ALVGR as below.

Goto se16

table:T160L

pass the scope as ALV.

change field ALV grid(fieldname ALVGR) to 'X'

Save your entry .

then run me2l.

Now you will get the ALV grid output.

Read only

0 Likes
1,929

Krishna,

I have seen the table mentioned by you. It is already set to 'X'. What I asked is, I like to copy the program RM06EL00 (ME2L) into ZRM06EL00. I did it using se38, but when I run ZRM06EL00 and on selectoin screen when I give SCOPE OF LIST AS 'ALV',

output is not coming in the ALV format. please suggest.

Read only

vattekrishna
Participant
0 Likes
1,929

Hi Soni,

You can't simply copy the standard program.

I checked this report.

You need to copy other things like display table manager or you need to go throught all the logic in std.prog.

I don't know your requirement, but I suggest to make enhancements in me2l itself as there are many enhancement points available.

Read only

0 Likes
1,929

Hi Soni and all.

This is the same my question I copy a program RM06EW00 from transaction ME2W. I have tried many way you tell us but could not come in .

Does anyone know how to fix it please get me the solution .

Thanks in advance

Karen

Read only

0 Likes
1,929

Don't "copy" SAP programs; bad practice and brands one as a noobie. Enhance using tools SAP provides or wite a simple program that does what is needed.

Read only

former_member190178
Participant
0 Likes
1,929

Thx

Read only

former_member190178
Participant
0 Likes
1,929

Thx

Read only

former_member190178
Participant
0 Likes
1,929

l