Skip to Content
author's profile photo Former Member
Former Member

Filter segment E1MTXHM of outgoing IDocs

Hi,

I would like to filter segment E1MTXHM of outgoing IDocs in case of a specific field within the segment. If field TDOBJECT is MATERIAL and TDID is ZXYZ, the segment should be filtered out and not be contained in the outgoing IDoc.

I tried transaction BD64 to create a filter for the distribution model but it does not work because the filters are only accepting values to include and not to exclude.

I have defined a segment conversion rule with transaction BD62 for segment E1MTXHM but I have no idea how to maintain it with transaction BD79, so that this rule will filter the segment if field TDID is ZXYZ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 16, 2015 at 09:12 AM

    please check tcode se56---> give message type---> click on further select. condition

    please check this link;

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 16, 2015 at 10:32 AM

    Hi,

    Not sure why you would want to do it via Conversion rule as it is not meant for this. In this case you can try to use exit EXIT_SAPLMV01_002 ( WHEN segment name = SPACE so that it marks the last call of the exit ) to delete the segments ( Child ones also should go ) from IDOC_DATA.

    R

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.