Skip to Content
0
Jun 10, 2014 at 12:37 PM

MDG Material field Validation on submit btn need to get canceled submit event on error

441 Views

Hi all,

I am working on MDG Material UI Validation for a no of fields spread across the application on given business logic that need to checked on submit or save or check button .

I implemented these validation in the form feeder super class /PLMU/CL_FRW_G_FEEDER_FORM method IF_FPM_GUIBB_FORM~GET_DATA post exit enhancement .

and when the error comes am appending to et_messages of feeder class. but not able to stop the submit event ?

one way that is working to cancel the event by setting value EV_RESULT = 'FAILED'. class /PLMU/CL_FRW_G_FEEDER_FORM method IF_FPM_GUIBB_FORM~PROCESS_EVENT .

but next time when we press any button like check it submitting the CR so again no use.

Is there any solution for this issue ?

Please help me as I tried all known thing of FPM as I am a FPM guy have small knowledge of MDG.