on 04-25-2015 1:38 PM
Hi experts,
I am working on a requirement where in i need to display an empty ALV table and allow user to enter details.
1) user enters value in column one and clicks enter , other fields in the row must be updated.
I am fetching internal table in modify view and binding the table.
Is there any event so that i can fill or validate only a specific row.
2) I am unable to click the internal table once it gets binded. That does not allow me to append/insert/delete any records.
3) Is there any way i can make my ALV editable and show empty rows when ever i scroll down. For now i am able to fill empty rows manually.
lastly
Can there be some method to copy data from excel and paste in table (copy clipboard).
Note: I checked for all the material but could not get enough knowledge on the subject.
Thanks in advance
SSK
Hi Kishore,
Please follow this tutorial, which helps you in copying data to alv/table from the clipboard.
When user enters a field and clicks enter, the other columns of the row can be upsated by using the ON_CLICK event handler and writing the corresponding logic to update the internal table.
To display empty rows, the following code can be used, in table settings.
set_display_empty_rows( abap_true ).
Regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey thanks for the reply.
The link you shared was really wonderful.(Just as i wanted)
Everything is fine except on_click.
it does not trigger , how ever only onleadselection triggers when clicked on one row.
My req is below
I have 3 colums in my ALV. When i enter a value in 1st column i need to populate the both
Hi Kishore,
We have to use ON_DATA_CHECK event for this scenario.please check the following, which might help you.
ON_DATA_CHECK - Web Dynpro for ABAP - SAP Library
Regards,
Harsha
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.