Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Activate FIELD DYNPRO after message type error in MIRO

Jimmy21
Participant
0 Likes
1,069

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.
1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
773

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