cancel
Showing results for 
Search instead for 
Did you mean: 

Material Exclusion not working

Former Member
0 Kudos

Dear All,

i have configured the material exclusion for -sales organization - customer and Material Group 1 but it is not working.

here i have included a new field material group 1(MVGR1) IN KOMPG, as it was not available .

when i am doing the material exclusion analysis in the sales order the materia group 1 field is Empty.

Kindly let me know why this Material exclusion is not working

With Regards

Mohammed Raees

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You might have to add a logic in MV45AFZA in the FORM: USEREXIT_MOVE_FIELD_TO_KOMPG.

something like:

  • FORM USEREXIT_MOVE_FIELD_TO_KOMPG

  • MOVE VBAP-MVGR1 TO KOMKG-ZZMVGR1.

  • ENDFORM.

Regards,

Raghu.

Former Member
0 Kudos

Hi Raghu,

Thank you

The issue is resolved. as per your suggestion

Can you please explain me why do we move this field what is the logic

i appreciate your quick response

With Regards

Mohammed Raees

Former Member
0 Kudos

Hi Raees,

The reason is system can't determine the value unless it has planned for it..so it fails to find a source from where it can fetch the value. The planned fields are already available in the field catalog..if you add any new field then system needs to get the value from a source..for which you do the coding.

Regards,

Raghu.

Former Member
0 Kudos

Hi Raghu,

It is very clear to me

Thank You

Mohammed Raees

Edited by: Raeesuddin Mohammed on Sep 27, 2011 4:26 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try material group MAKTL (Technical field name) you can find it in field catelog.

instead of material group 1(MVGR1).