on 10-22-2008 2:55 PM
Hi All,
In my application, I have to save multiple or single rows.
suppose i entered 3 rows, and any one of those is wrong, then the flow should stop wherever 1st wrong entry is encountered. The correct entries should get saved on pressing save and then should disappear. The wrong entries sould remain there and there message should also come along with the successful ones.
How to achieve this logic ?
Thanks & Regards,
Nikhil
Hi,
Loop through your table node and check for the validation, assemble all the rows that pass the validation and pass it to the bapi and execute it. Remove the rows that passed validations using removeElement() method and for the rest just keep on displaying message on the screen using wdComponentAPI.getMessageManager().reportException("Error Message",true);
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.