Skip to Content
0
Nov 18, 2020 at 08:00 PM

Enter Value in a Table Even After Throwing Error message in Webdynpro Application

222 Views Last edit Nov 19, 2020 at 09:01 AM 2 rev

Hello All,

I have a Validation screen in my portal where there is a (read-only) INPUT-FIELD which shows Order quantity (fetched from a previous screen), A TABLE (where user can input values), A Button to validate a condition.

Now, on successful validation, a success message is shown in the previous screen and if the validation fails an error message is displayed in the same screen.

CONDITION -> The number of Token Value entered should be equal to Order Quantity

1. Suppose, the Order quantity is "2" and the user enters 3 token values.

Here, the error message in displayed but the 3 field in the table where the token value had been entered still remains editable (while the rest become non-editable). Now, if the user deletes one value (among the entered 3) and tries to validate. Validation successfully happens. [See Screenshot-1 & Screenshot-2]

2. Now suppose, Order quantity is "2" and the user enters 1 token value.

Here, the error message is displayed and all the fields of the table (Except the one where User has entered Token value) turns NON-EDITABLE. [See Screenshot-3]

Here, lies the issue as the user is no more able to enter another value to validate successfully. The only way out is to go back to the previous screen and do all the steps all-over again.


CAN SOMEONE TELL ME HOW TO MAKE THE FIELDS OF THE TABLE REMAIN EDITABLE (ATLEAST AS MANY FIELDS AS EQUAL TO THE ORDER QUANTITY) EVEN AFTER THE ERROR MESSAGE IS DISPLAYED?

Attachments

screenshot-1.jpg (118.2 kB)
screenshot-2.jpg (156.1 kB)
screenshot-3.jpg (133.3 kB)