‎2007 Apr 26 1:33 PM
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
‎2007 Apr 26 1:39 PM
Hi Minaxi,
Can u make the situation little more clear?
here after the error message u the user will be exited from the transaction itself.
Rgds,
Prajith
‎2007 Apr 26 1:48 PM
Hi Prajith,
Actually I want to make SECCO field Mandatory using MIRO using method
if_ex_mrm_header_check~headerdata_check .
Is there any other mothod or procedure ?
Thanks
Minaxi