‎2009 Jan 20 9:15 AM
Hi all,
In a user exit (for VA01 Create Sales Order) we are currently excluding certain order types by hardcoding the document type in the code. This is because some orders are created by IDoc and in this case the IDocs fail if they use the eser exit code (because the code creates pop-up messages intended for online users only). Not the best solution.
Does anybody know if we can use different code so that this part of the user exit does not get triggered by IDocs?
Thanks,
Mike
‎2009 Jan 20 10:20 AM
I've figured out another solution - you can do a test on the field IDOC_NUMBER. If it is filled, then the sales order is created/changed via an Idoc.
‎2009 Jan 20 10:21 AM