2010 Feb 24 4:08 AM
Hi,
I am working on IDoc filtering.
We have a situation here that i need to filter MATMAS from LVORM.
i have to drop the IDoc if the client level deletion flag is set.
i did ssign LVORM filter object to the idoc segment E1MARAM and field LVORM for message MATMAS.
ANd in distribution Model(BD64).while creating filter group values i am getting error
saying "it says inconsistency filter".
Can someone help me as to where could be the problem is?
Can we do IDOC filtering for any feld?
plz do reply
Thanks
Sahil
2010 Feb 24 1:51 PM
Hello Sahil,
As far as I know, we can add only theose fields as filters which are shown in BD64 when we double click to add a filter group.
For MATMAS, lvorm can't be added under filters.
Here is a way to achieve your requirement.
Implement the user exit "EXIT_SAPLMV01_002". Inside this, check E1MARM-LVORM value. If it is set as 'X', refresh the IDOC data. This will prevent triggering of the IDOC.
Remember that this exit gets triggered for each segment and finally once more. So When SEGMENT_NAME = space inside this exit, read E1MARM segment, check if LVORM is set, then refresh IDOC_DATA table.
Hope this helps you !!!!
Regards,
Ganga
2010 Feb 24 4:38 AM
hi..
Plz contact your Basis team regarding this filter settings in BD64.
Regards,
Lokeswari.
2010 Feb 24 4:45 AM
Hi,
Do u think BASIS guys wil be able to help me out in this as it is IDOC related?
They must not be knowing anything about IDOC right?
Thanks
Sahil
2010 Feb 24 5:03 AM
2010 Feb 24 7:36 AM
2010 Feb 24 1:51 PM
Hello Sahil,
As far as I know, we can add only theose fields as filters which are shown in BD64 when we double click to add a filter group.
For MATMAS, lvorm can't be added under filters.
Here is a way to achieve your requirement.
Implement the user exit "EXIT_SAPLMV01_002". Inside this, check E1MARM-LVORM value. If it is set as 'X', refresh the IDOC data. This will prevent triggering of the IDOC.
Remember that this exit gets triggered for each segment and finally once more. So When SEGMENT_NAME = space inside this exit, read E1MARM segment, check if LVORM is set, then refresh IDOC_DATA table.
Hope this helps you !!!!
Regards,
Ganga
2011 Oct 13 2:15 PM
I know this is old, but i found the solution to this whilst searching for the same problem...
transaction BD95 allows you to define a field and assign the table/field with the values.
This then removes the inconsistencies and allows the filter to be used.... 🐵