Skip to Content
avatar image
Former Member

Activate FIELD DYNPRO after message type error in MIRO

Hi experts.

I'm developing a validation in tx MIRO through the BADI MRM_HEADER_CHECK, I show a message when the field "reference" has already been used. The message is type "E", this disable every field from screen but I can't back to active this field for the user can fix it.

FYI: I have to show message type "E" because I want to block every fields excepts the two fields with red label (imagen). I saw that the people suggestion use this:

MESSAGE <> TYPE 'S' DISPLAY LIKE 'E'.

Like is a standard program, I can´t to modify code that is out of my BADI code. Was about PAI and PBO module:

CHAIN.
  fields: f1,f2,f3.
  MODULE <mod name>.
ENDCHAIN.

This my BADI code.

*This field symbol have the values of inputs.
ASSIGN ('(SAPLMR1M)RBKPV') TO <fs_rbkpv>. 
IF <fs_rbkpv>-XBLNR = lwa_bkpf-xblnr.
   MESSAGE lc_message TYPE 'E'.
ENDIF.
image.png (106.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 12, 2016 at 09:55 AM

    There is already Customizing option to check for duplicates. Check with functionals first. (Materials Management, Logistics Invoice Verification, Incoming Invoice, Set Check for Duplicate Invoices - tr. OMRDC) There is also a Customizing in FI (1900510 - Duplicate Invoice check configuration as per standard).

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded