Skip to Content
author's profile photo Former Member
Former Member

BADI ERR MESSAGE Process - MIRO for field SECCO - Section Code

Hi friends:

I want to display error message in a badi,

for tcode - MIRO, Entering Incoming Invoice.

The badi definition is: MRM_HEADER_CHECK

The code is:

METHOD if_ex_mrm_header_check~headerdata_check .

IF I_RBKPV-SECCO EQ SPACE.

I_RBKPV-SECCO = '9999'.

Message e888(sabapdocu) with 'Check Section Code !!!'.

endif.

endmethod.

The problem is the user can not modify the invoice after got the error message.

Does anyone know how to solve this problem?

Thanks and regards.

Minaxi shah

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 26, 2007 at 12:49 PM

    Hi minaxi,

    Can u make the situation litlle more clear? here in ur code after the error message is displayed the transaction will be exited.so the user will not be allowed to modify the invoice.

    Rgds,

    Prajith

    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.