Skip to Content

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

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jun 11, 2014 at 12:54 PM

    Hi All,

    Is there any one who can give some reasonable reply on my question else any one don't get my question please let me know .

    I am in a very hard situation😕😢😔, Please reply even if there is any workaround .

    Thanks in advance.

    ashutosh

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      As abdullah suggested the document, BRF+ tool is used to validate and derive MDG UI fields as per your business rules.

      MDG BRF is closely integrated with your MDG UI where your UI fields can be validated by following the steps in the above document. You don't need to enhance or modify the existing MDG feeder classes if your requirment is to check fields on UI. All derivations and validations are handled right here in BRF.

      Assuming you are not aware of BRF..and the best way to start with a simple example like below

      Ex: If Material Type is not ZFIN on Basic Data UIBB, Throw error message on UI.

      The field is MTART and it's under Data Model Entity MATERIAL.

      Now Go to T-Code BRF+ and follow the guide as above specific to your scenario. Above guide gives clear steps.

      Hope that helps.

      Thanks

      Praveen


  • Posted on Jun 10, 2014 at 12:59 PM

    Hi,

    You should be using BRF+(TCode) Derivations and Validation rules for this.

    Thanks

    Praveen

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.