Application Development and Automation 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: 
Read only

IDoc filter not working

Former Member
0 Likes
4,186

Hi,

I've created a filter on my reduced message type from MATMAS in BD64. I'm filtering based on Plant (WERKS). But it isn't working... It sends out all plants using my message type. Is there some step that I've missed out???

-Vartika

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,534

Hi,

There are two filtering in IDoc.

Segment Filtering:

Segment filtering can be achieved using T/Code BD56. Here you can suppress a whole segment irrespective of data inside it . You have to give Message Type / Sender Prrtner / Receiver Partner.

Data Filtering:

Data filtering can be done in dustribution model (BD64) where you can restrict whole IDOCS or partials IDOCS to be send based on data in fields inside IDOC depending on whether the segment in which you filter is at the highest level or at a lower level. For example in MATMAS if you put a filter of E1MARCM for a particular plant , only data for this plant will go and other plants will be ignored.

Please check this link for detail information.

http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm

Hope this will help.

Regards,

Ferry Lianto

Hi,

I've created a filter on my reduced message type from MATMAS in BD64. I'm filtering based on Plant (WERKS). But it isn't working... It sends out all plants using my message type. Is there some step that I've missed out???

-Vartika

9 REPLIES 9
Read only

Former Member
0 Likes
2,535

Hi,

There are two filtering in IDoc.

Segment Filtering:

Segment filtering can be achieved using T/Code BD56. Here you can suppress a whole segment irrespective of data inside it . You have to give Message Type / Sender Prrtner / Receiver Partner.

Data Filtering:

Data filtering can be done in dustribution model (BD64) where you can restrict whole IDOCS or partials IDOCS to be send based on data in fields inside IDOC depending on whether the segment in which you filter is at the highest level or at a lower level. For example in MATMAS if you put a filter of E1MARCM for a particular plant , only data for this plant will go and other plants will be ignored.

Please check this link for detail information.

http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm

Hope this will help.

Regards,

Ferry Lianto

Read only

0 Likes
2,534

I am working with data filtering and as you described, I am trying to block out data based on specific plants. But data for all plants is going!!!

Read only

former_member194669
Active Contributor
0 Likes
2,534

May be you try this way.

BD95--> Fill values,

then

use BD59

aRs

Read only

0 Likes
2,534

I am working with WERKS. This is already added in both BD95 and BD59

> May be you try this way.

>

> BD95--> Fill values,

> then

> use BD59

>

> aRs

Read only

former_member194669
Active Contributor
0 Likes
2,534

This may be round away soluation.

If you are using MASTERIDOC_CREATE_MATMAS

then find customer exit from this and filter the segments

aRs

Read only

Former Member
0 Likes
2,534

Hi,

If you put the plant number(s) in filter of E1MARCM, that means only data that belong to filter plant(s) will go and other plants will be ignored. Not the other way around.

Regards,

Ferry Lianto

Read only

0 Likes
2,534

Yes, I understand that. I want data for plants 8420 and 8421 to go and block out all other plants. I have added these two values in the filter. Yet when I use BD10, the data for 8420, 8421, 7005, 7075 etc. is going out...

I can't make head or tail of this....

> Hi,

>

> If you put the plant number(s) in filter of E1MARCM,

> that means only data that belong to filter plant(s)

> will go and other plants will be ignored. Not the

> other way around.

>

>

> Regards,

> Ferry Lianto

Read only

Former Member
0 Likes
2,534

Hi Vartika,

It is strange ... anyhow the easy way is to write simple custom report.

Select all materials for the required plant(s) and call program RBDSEMAT with SUBMIT statement by passing the correponding materials.

Regards,

Ferry Lianto

Read only

0 Likes
2,534

Okay... Thanks...

> Hi Vartika,

>

> It is strange ... anyhow the easy way is to write

> simple custom report.

> Select all materials for the required plant(s) and

> call program RBDSEMAT with SUBMIT statement by

> passing the correponding materials.

>

> Regards,

> Ferry Lianto