Skip to Content
0
Sep 21, 2005 at 02:39 PM

ME_PROCESS_REQ_CUST Method PROCESS_ITEM flag the document item as invalid

239 Views

Hello everybody,

i'm trying to make in transactions ME51N/ME52N/ME53N and autorisation check on account assignment(as cost center).

I used method PROCESS_ITEM of interface IF_EX_ME_PROCESS_REQ_CUST as in note 611175, and programmed the authorisation check with the corresponding authorisation object, and added an error message if the check isn't OK.

The problem is that even if i get the error message ( no authorisation for cost center XXXXX) i can save the purchase req . It's like the document is considered as valid with no error in spite of the error message i added.

Is there any way to force this error message or other way to flag the document as invalid???

thanks a lot.

AL Mahdi BENABDESSELAM