Skip to Content
Former Member
Nov 27, 2007 at 04:59 PM

Problem with idoc filtering in BD64



My main goal is filter idoc matmas04 by plant. At distribution level (in trans. BD64) there is a filter by plant, but when the idocs are generated, the only thing i get is idocs with no e1marcm segment when plant is not contained in the set of values of the filter.

I know if segment e1marcm segment is mandatory, then the segment e1maram would be erased, and the idoc should not be generated. But e1marcm is optional, and this explains what's happening of above.

So, i made an extension for this matmas04 called zmatmas, and insert a z-segment <b>mandatory</b>, with a field <b>werks</b>. Then in user exit for FM of matmas idoc processing (ZXMGVU03), i assigned the value of plant into my z-segment. Then updated the fields in BD59, in order to point the filter to my zsegment-werks.

When i try to execute the rbdmidoc, then i get an error:

Internal error: Program read table idoc_structure,

comand data_select_for_block, argument Z1MARCM

So, i still can't filter this material idocs by plant... Anyone knows how?