08-22-2022 11:54 AM
Hi Friends,
I need to stop the IDOC triggering based on ztable data. Is there any user exit for control record or to stop the idoc triggering.
Thanks with Regards,
Vallamuthu M.
08-22-2022 12:36 PM
Hi vallamuthu.madheswaran2
In BD10 Tcode - Program RBDSEMAT
You are having enhancement spots available.
Go to place near the ENHANCEMENT 5 MGV_MATNR_LAMA_RBDSEMAT.
You have enhancement spot available at this place.
At this place the internal table t_mara_matsel - that has the records selected for IDOC.
At this place you can handle the materials with comparing your z-table and customize it.
08-22-2022 12:37 PM
Hello vallamuthu.madheswaran2
I can see two methods to implement custom logic deciding whether to create an IDoc or not. Material master data is typically distributed using change pointers. So you can use the BDCP_BEFORE_WRITE BAdI to decide if a change pointer should be created or not. If a change pointer is not created then subsequently the IDoc will not be created.
Another more general approach is to use the IDOC_CREATION_CHECK BAdI introduced by the note 822929 - ALE: Option to not send a communication IDoc
Best regards
Dominik Tylczynski
08-25-2022 6:23 AM
08-25-2022 7:17 AM
vallamuthu.madheswaran2
Please mark the right answer as Accepted. You may also use the votes.
08-22-2022 12:48 PM