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

function code for "Duplicate Row" button

Former Member
0 Likes
1,524

Dear SAP friends,

My interface program allows my user to edit custom table.

The only type of edit allowed is overwriting of the existing records.

No Delete, no Add, no Insert. However undo is allowed.

So I have excluded the following functions form the standard ALV grid toolbar

( they are in attributes of CL_GUI_ALV_GRID) :

MC_FC_LOC_APPEND_ROW

MC_FC_LOC_COPY

MC_FC_LOC_CUT

MC_FC_LOC_DELETE_ROW

MC_FC_LOC_INSERT_ROW

MC_FC_LOC_MOVE_ROW

MC_FC_LOC_PASTE

MC_FC_LOC_PASTE_NEW_ROW

When I run my program in Edit mode - I can see that there is still one button left by name "Duplicate Row".

I want to exclude this function.

But I can't find the function code name.

Please help.

Thank you

Tatyana

This button is not But there is one button

1 ACCEPTED SOLUTION
Read only

ferry_lianto
Active Contributor
973

Hi,

MC_FC_LOC_COPY_ROW?

Regards,

Ferry Lianto

3 REPLIES 3
Read only

Former Member
0 Likes
973

Find it in the menu and with your cursor over it, press F1.

Rob

Read only

ferry_lianto
Active Contributor
975

Hi,

MC_FC_LOC_COPY_ROW?

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
973

Ferry,

Thank you very much.

Somehow I missed "mc_fc_loc_copy_row" in the attributes.

I guess its time to go home...

Tatyana.