cancel
Showing results for 
Search instead for 
Did you mean: 

Display of missing values in a table view.

Former Member
0 Kudos

Hi everyone,

I have a table view with 7 columns and 10 rows which displays only those values which are missing in the DataBase Table.

Is it possible to show only the missing values as '-' in a table view, the table view is having 7 different fields.

Also when the value is inserted at run time the corresponding field should be updated accordingly and the value will no longer be displayed in the table view as '-'

please advice.

Regards

Neo.

Accepted Solutions (0)

Answers (2)

Answers (2)

athavanraja
Active Contributor
0 Kudos

Welcome to SDN.

do you mean to say that in some rows some column values will be blank and you want to replace the blanks with '-'.

loop thru the itab which you are passing to tableview and for the blank cells pass '-'.

<i>Also when the value is inserted at run time</i>

so you are having editable tableview. to update the value back to the dbtable, you have to read it in oninputprocessing and update it to dbtable .

search the forum on how to read the user entered value from the table view so that you can update the dbtable.

Regards

Raja

Former Member
0 Kudos

Thanx for ur prompt reply sir,

yes u r correct, in some rows some column values will be blank and only those values will be appearing as '-'.

if i have got it correctly what u mean is loop thru the itab which i am passing to the tableview, find out the fields = '' and hardcode them as '-'.

Regards,

Neo.

athavanraja
Active Contributor
0 Kudos

yes . and once the user enter some value in those fields read them in oninputprocessing and update your itab and dbtable.

Regards

Raja

athavanraja
Active Contributor
0 Kudos

Welcome to SDN.

do you mean to say that in some rows some column values will be blank and you want to replace the blanks with '-'.

loop thru the itab which you are passing to tableview and for the blank cells pass '-'.

<i>Also when the value is inserted at run time</i>

so you are having editable tableview. to update the value back to the dbtable, you have to read it in oninputprocessing and update it to dbtable .

search the forum on how to read the user entered value from the table view so that you can update the dbtable.

Regards

Raja