Skip to Content

How to identify an IDOC processing

Apr 12, 2017 at 11:36 AM


avatar image

Hi experts,

We have an enhancement implemented for the material conversion routine (CONVERSION_EXIT_MATN1_INPUT), and I need to bypass some parts of the code if the process is running via IDOC. The thing is: how can I identify an IDOC processing? Is there any SYST field which I can check or something like that? And it would be even better if I could identify also this specific IDOC, since the rule should apply only for this IDOC.

Thank you in advance!


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Jelena Perfiljeva
Apr 12, 2017 at 04:04 PM

I would not advise breaking into the standard conversion routine in general. There are users exits specifically for the IDocs and should be no need to do it backwards, essentially.

Other than this problem being clearly self-inflicted - it has been discussed on SCN before how to identify in the user exits when they are triggered in a specific process. The answers are usually rather obvious, i.e. you need some kind of "marker", which could be a specific field, user ID or some value passed from another user exit, for example.

But I'd urge to reconsider the whole design in this case. It does not sound like a good idea.

10 |10000 characters needed characters left characters exceeded