I have an IDoc of message type INVOIC01 wiht process code INVM which calls up the FM IDOC_INPUT_INVOIC_MM. There is a user exit within the FM I am doing some validations within that User Exit.
So my problem is if partner no is not meeting some conditions I have to put a stop to the IDOC processing and Post the Status as 51 to the status record with my own Customised message .
Is that possible through any FM Please give me the code for that
Thanks and Regards