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 filtering

Former Member
0 Likes
2,844

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,581

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

6 REPLIES 6
Read only

Former Member
0 Likes
1,581

hi..

Plz contact your Basis team regarding this filter settings in BD64.

Regards,

Lokeswari.

Read only

0 Likes
1,581

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

Read only

0 Likes
1,581

Hi..

BD64 is the transaction known by every basis guy.

Read only

0 Likes
1,581

Any other suggestion or advise plzzzzz?

Thanks

Sahil

Read only

Former Member
0 Likes
1,582

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

Read only

Former Member
0 Likes
1,581

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.... 🐵