on 03-24-2009 10:40 AM
Dear expert,
I have a question on adding a simple validation on essusbank dynpro. We imported the package to our nwdi. What we want to do add a validation when the user click on the "review" button. When we look at the layout of the application. We can't find any review button. My question is how can i add a validation when user click on the review button.
Thanks.
Regards,
Bryan
Dear Brian
Please check for the Action called on Review button there you can write your custom code for validations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As per my knowledge you need to write your validation related coding in the method onBeforeOutput method in detail VAC,
may be this can help u,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian,
Please see my reply that i have posted.Basically in the ESS package the edit,review and save button are coming from a general DC. SO you can't do any action against any of the button bacause it'll effect all other country DC.
So as i mentioned before in coding , you try this and it will resolve your problem.
I was also facing the same problem and rhis approach resolve my problem.
Let me know if you have any concern
Thanks
Kanai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have the detail component for address name VcPerBankUSDetail.
Go to component controller and write the following code inside the function onFlush.
You can see the line wdThis.wdGetFcPerBankXXInterface().modifyRecord(); below of this function.
public void onFlush( )
{
-
-
//suppose am validating the payee field as it will not be blank
String payee=wdContext.currentSelectedInfotypeElement().getEmftx();
if (payee== null || payee.equals("")){
wdComponentAPI.getMessageManager().reportException("Payee cannot be blank");
}
else
wdThis.wdGetFcPerBankXXInterface().modifyRecord();
}
Hope this will resolve your problem
Thanks
Kanai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.