on 03-26-2019 4:27 PM
Hi experts,
I need to validate when the attribute "Send DDVV" is marked that the email field is filled. If it is padded, I will add a record in a Z table. Then I do not know if the validation should be included in the "SAVE" button or in another part of the component.
If it is in the "SAVE" button where the validation would be implemented?
Regards.
Please see the overview page and code your validations in EH_ONSAVE event handler. I'll be able to provide you more inputs if you can let me know the BSP component name and view name.
Cheers,
Sai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Finally you were right Sai Krishna XD ... you only had to expand the view of the panorama and then redefine the EH_ONSAVE method.
Thank you very much.
Best regards,
Francisco.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sai,
I can't redefine the method EH_ONSAVE of the view "BPCONTOverview".
The view I am editing is "BP_CONT / ContactDetails". I created the EH_ONSAVE event in this view but it does not run when I save the partner.
I have also tried to put the validation in the SET method of the attribute but it is not correct because every time I press INTRO in some field it makes the call to the SET method and it would record a new record in the z table.
Is it possible to call some BADI? If so, how can I find it? Is there any other point where you only run at the time of recording?
Thank you very much,
Best Regards.
Francisco.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.