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

Different vendor material group should not allow in one scheduled agreement

Hi All,

I have one requirement

In Info record (me11) we have a filed called as Vendor material group. Suppose i have 4 material and mat-1 is having vendor material group is 001

similarly mat-2 is 002, mat-3 is 003 and again mat-4 is 001. These things i have maintained in Info record.

When i create scheduled agreement in me31L system won't restrict me to create all the material.

But my client requirement is when i will put mat-1 in line item 10 and mat-2 in line item 20 my system won't allow me to create scheduling agmt because both the material is in different vendor material group. If i put mat-1 in line item 10 and mat-4 in line item 20 then my system will allow me to do the agmt.

What is it solution please help me out.

Thank you.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Feb 28, 2013 at 04:20 PM

    Hi,

    Use user exit and put a validation as below,

    As soon as user enters the first material code, pass this material code (MATNR) to EINA table and pick Vendor Mat. Grp (WGLIF). Now, you have the vendor mat grp value for first material. Repeat the process for next materials and compare the vendor mat grp value of these materials with first one, if it is same then allow the user to proceed and if it is different then put a error message.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanx Shailesh for your reply. Could you please elaborate in details means which user exit should i use and what would be my functional spec for this requirement. I am new into this system. Kindly help me out.

      Thanks.

  • author's profile photo Former Member
    Former Member
    Posted on Mar 04, 2013 at 10:01 AM

    This message was moderated.

    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.