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

TableControl

Former Member
0 Likes
416

Hi Friends,

In the table control, how the following code works. (This is generated by the system).

*&SPWIZARD: execute general and TC specific operations *

CASE L_OK.

WHEN 'INSR'(001). "insert row

PERFORM FCODE_INSERT_ROW USING P_TC_NAME

P_TABLE_NAME.

CLEAR P_OK.

How INSR will work.

Can any one help me.

Regards,

Mark K

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
387

hi

this is the function code they have attached with that field and whenever user clicks on that push button this function code gets triggered and passed as sy-ucomm and u can catch this function code and trigger some event for the same!!

Reward points if it helps

Regards

Gunjan

2 REPLIES 2
Read only

Former Member
0 Likes
388

hi

this is the function code they have attached with that field and whenever user clicks on that push button this function code gets triggered and passed as sy-ucomm and u can catch this function code and trigger some event for the same!!

Reward points if it helps

Regards

Gunjan

Read only

Former Member
0 Likes
387

Hi

In your status gui you should have a buttom for inserting the row.

The value of function code of that buttom has to be INSR.

Max