Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Stop to trigger oubound matmas IDOC

vallamuthu_madheswaran2
Active Contributor

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.

5 REPLIES 5

venkateswaran_k
Active Contributor

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.

DominikTylczyn
Active Contributor
0 Kudos

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

HI Dominik,

It's working fine.

Thank you.

vallamuthu.madheswaran2

Please mark the right answer as Accepted. You may also use the votes.

Sandra_Rossi
Active Contributor

Do you know how the MATMAS message type is triggered?