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

matarial master changes for a particular material type using BD21

Former Member
0 Likes
1,199

Hi All,

<b>I am facing one problem related to change pointer in ALE.</b>

I have configured the ALE layer between two systems successfully.

<b>I have used filter group</b> on material type and also I have done the <b>reduction of IDOC.</b>

When I trigger the material master data changes using BD21, it triggers the data for all the material type where as I want to trigger the material master data chages to particular material type only.

Can anybody suggest some solution for this.

Note: Please don't say to use <b>filter group on material type</b>......I have already done that.

The correct solution will be rewarded with 10 points!

Thanks & Regards

Prabhat

10 REPLIES 10
Read only

Former Member
0 Likes
1,060

Hi All,

Can anybody answer my question.?

regards

Prabhat

Read only

0 Likes
1,060

Are you saying you get IDocs created for all of the material types, or that the change pointer entries in BDCP/BDCPS get marked as processed?

Read only

0 Likes
1,060

Hi,

My IDOCs are created for all the material type.

My requirement is that IDOC should be created for only particular material type.

regards

Prabhat

Read only

0 Likes
1,060

It worked for me. What value are you using for the filter on MTART?

Read only

0 Likes
1,060

Hi ,

I am using ZFP , ZPM , ZRM , ZSF for MTART.

When I am using BD21, then it triggers the master data changes for all the all the material type. Whereas my requirement is that BD21 should trigger the chages for master data specific to material type : ZFP , ZPM , ZRM , ZSF .

I need the solution asap.

Please help me .

Regards

Prabhat

Read only

0 Likes
1,060

The firs thing I would do is verify the config. Make sure the message type of the created IDocs matches the message type to which the filter is applied in the distribution model. If everything looks ok, place break-points at the following locations:

In FM MASTER_IDOC_DISTRIBUTE, on the call PERFORM DIST_MODEL_READ_FOR_MESTYP. This subroutine reads the filters from the distribution model. Verify the values in internal table RECEIVERS_AND_FILTERS are correct.

In FM MASTER_IDOC_DISTRIBUTE, in FORM IDOC_SELECTION_AND_SERVICES, on the call to FM IDOC_DATA_APPLY_FILTER_VALUES. This function should return the filtered results. IDOC_DATA contains the data segments of your IDoc and CONDITION_BLOCKS contains the filter.

When you run BD21, you should hit these break-points.

Read only

0 Likes
1,060

Hi ,

Configuration is correct .

My only requirement is that:

When I use BD21 to trigger the chages for material master data only specific material type : ZFP , ZPM , ZRM , ZSF material data should be triggered.

I have already used the filter for those material type and it is working fine.

I need the solution asap.

Please help me .

Regards

Prabhat

Read only

0 Likes
1,060

I understand your requirement. As I stated previously, I cannot recreate the problem. I set the filter in our system to FERT, and modified a FERT material. When I ran BD21, the IDoc was created. I then changed the filter to HALB, modified the same FERT material and ran BD21. This time the IDoc did not create. If you think your config is correct, the next step is to debug the code using the break-point locations I provided. This way you will be able to see exactly why material IDocs are being generated for material types other than what you have added to the filter.

Read only

0 Likes
1,060

Hi ,

Is it possible to create custom filter on matnr as it is not available on the standard filter.

thanks & Regards

Prabhat

Read only

0 Likes
1,060

Hi Michael,

I solved the problem but anyway thanks for your help I will give you points.

actually I created ALE object type and I assigned it to message type and my problem was resolved by having additional filter group on matnr.

thanks again Michael.

Regards

Prabhat.