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

Former Member
0 Likes
972

Hi all,

I want information about IDOC or Segment filtering. If any has materail, please send.

Thanks,

Shashikanth.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
811

Hi Sashikant ,

Segment filtering can be achieved using TCode 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 can be done in dustribution model 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.

Check this out

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

Cheers

Message was edited by: Sanjay Sinha

4 REPLIES 4
Read only

Former Member
0 Likes
812

Hi Sashikant ,

Segment filtering can be achieved using TCode 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 can be done in dustribution model 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.

Check this out

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

Cheers

Message was edited by: Sanjay Sinha

Read only

0 Likes
811

Hi Sanjay and all,

If I add filter group, Example I added 1 plant to filter group. What does it mean? Does it send data related to that plant to reciever or it doesnt send data related to that plant to reciever system.

How to add filters on recieving side?

Thanks,

shashikanth

Read only

0 Likes
811

Hi Shashi,

Adding filter value in a filter group is analogus to putting a where clause in select statement . The segment in which you have the plant filter ( this segment and its sub nodes ) will be processed only if the value matches in the filter . If it is the highest segment then whole IDOC is filtered ( blocked) , it it is at a lower level then only this segment and its child segments are filtered.

These filters are set in only one system who is the owner of dustribution model ( and is specific to a sender / receiver / message type . You can see them in BD64. Distribution mosel will be visible in both systems with the filters but only one system can chnage it ( and distribute it ). You can see the owner system of Dist Model by double clicking it in BD64 . If you are logged in the owner systen then you can change the filter values else you can only display . So filter will be set in only one system. Owner system can be the sender or receiver . It is the system where you create the duistribution model . Later you distribute it to the other system.

Cheers

Read only

rainer_hbenthal
Active Contributor
0 Likes
811

You can filter IDOCs by filtering them in the distribution model. If the filter does not fit your needs, you can enhance the fiölter via transactions BD95/BD59