cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in ALV Webdynpro

Former Member
0 Kudos

Hello All,

I have created ALV webdynpro component for create new entries with created custom button "New Entries" when i press the button according to method "lv_value->if_salv_wd_table_settings~set_visible_row_count" it will show the all rows into editable mode to enter new entries.

When i provide data to all rows the entries creating successfully but when i provide only single row the table is taking all rows.


Can anyone please provide the solution how to read only entered value in the ALV webdynpro.



Regards

Sri


Accepted Solutions (0)

Answers (2)

Answers (2)

former_member197475
Active Contributor
0 Kudos

Hi Srinivas,

Try for if_salv_wd_table_settings~set_display_empty_rows( value = abap_false ), such that you will not get rows which is empty and will be easier to read the data.

BR,

RAM.

harsha_jalakam
Active Contributor
0 Kudos

Hi Srinivas,

We can achieve your requirement by two standard class methods given by WD architecture.

Below are the those,

IF_WD_CONTEXT_NODE=>IS_CHANGED_BY_CLIENT

IF_WD_CONTEXT_ELEMENT=>IS_CHANGED_BY_CLIENT

Both these methods have a returning parameter type ABAP_BOOL, which would return 'X' if changed , else ' ', based on this you can differentiate whether changed or not and finally you can pass all elements which are changed to update/modify into database.

Thank You,

Harsha