Skip to Content

ALE distribution model filter using Sales organization not working in case of DEBMAS IDoc

Hello Team,

My requirement is to send customer master IDoc based on specific sales organization.

I have created filter for Sales Org in BD59 which is then populating in BD64 distribution model. I set some specific filter value, say VKORG = "ABCD". So that when I run BD12 for a specific message type this filter method does not work at all.

After I run BD12, the system is generating IDocs for those customers which are not relevant.

Please help me out what I should do to set the filter.

Regards,

Gourav

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 21, 2017 at 07:04 PM

    Hi Gourav,

    the distribution model is only applying on each Segment, but not on the complete IDOC. If you look at the IDOC that you don't want to be created, there will be no E1KNVVM Segment present, correct? Because it has been filtered out, however the E1KNA1M Segment has been created, because this is for all Sales Orgs.

    If you want to achieve a filtering for BD12, you need to implement a wrapper program that is filtering out the customer records.

    If you want to filter change pointers, you need to implement the BADI for filtering that can be found from area menu SALE and then "Reduce Change Pointer .." menu.

    Regards

    Helmut

    Add comment
    10|10000 characters needed characters exceeded