cancel
Showing results for 
Search instead for 
Did you mean: 

Editable fields in ALV

Former Member
0 Kudos

Hi,

I wondered whether there's a way to catch the event of pressing the append row button in the standard alv functions?

The reason why is the following:

I want to simulate the SM30 transaction which will make the keyfields read-only,

but when appending a line, i'd like to be able to fill those fields, so the empty row must be competely editable, while the others stay read only.

Is there a way to bypass this issue? or is it better to create a custom function to append this line with my requirements?

grtz

Koen

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Koen,

I have exactly the same problem, too.

Did you find a solution?

Cheers

Georg

Former Member
0 Kudos

Hi Koen,

Did you find a solution to this problem? I have the exact same problem and would be interested in how you resolved it.

Cheers,

Tim

Former Member
0 Kudos

Hi Koen

Right now there are two events ON_STD_FUNCTION_AFTE and ON_STD_FUNCTION_BEFO which are supposed to return ids of standard alv functions that are called. But its not included for use, as mentioned in WDA official documentation.

You can create self defined functions and catch event by using ON_FUNCTION.

See the below tutorial for help.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/101df93f-4b5c-2910-14aa-9eb0338c2110">Generating Self-Defined Functions for ALV in Web Dynpro for ABAP</a>

Hope it helps

Regards

Rakesh.