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: 

Filters in IDOC ?

Former Member
0 Kudos

what is a filter ? why are u using this filters in IDOC's ?plzzzzzzzzz explain me with one exmple ?

2 REPLIES 2

ferry_lianto
Active Contributor
0 Kudos

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 more information.

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

Regards,

Ferry Lianto

uwe_schieferstein
Active Contributor
0 Kudos

Hello Akash

You will find good examples within the SAP online documentation:

<a href="http://help.sap.com/saphelp_46c/helpdata/en/18/22b800773211d396b20004ac96334b/frameset.htm">Basic Concepts of ALE Technology</a>

<b>Filtering</b>

The transmission can be controlled data-specifically through filters. Filters are conditions that message types and BAPIs have to meet in order to be distributed by ALE outbound processing.

<b>Example</b>

A customer uses a centralized inventory management system and several accounting systems. If stocks change in company code 0001, accounting data is sent to accounting system 01; if they change in company code 0002, accounting data is sent to accounting system 02.

Regards

Uwe