cancel
Showing results for 
Search instead for 
Did you mean: 

Listing & Exclusion in Base Material(PMATA)

0 Kudos

Hi ALL,

We have requirement in to add listing & exclusion based on Base Material PMATA. I have added PMATA field in Structure and new table also created.

Table has created with combination id " Customer / Base Material / Description) .

Now requirement is when ever we enter material in sales order listing need to check based on Base material value from the condition table. if both value is different error message need to display. Bur right now its happen.

I understand we need implement the user exit to populate value but whether how can i check based on base material with customer in the item leavel. Please let me know how to handle this issue..

Regards

Prabu K

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi

In include MV45AFZZ, implementing user exits "USEREXIT_MOVE_FIELD_TO_VBAP" and validate the logic against field KUNNR(SP-Customer).

Thanks,

Niladri

0 Kudos

Thanks Niladri.

Base material value & Customer value is wrong mean how to produce the error message. Standard message or we need to handle message manually.

I guss , based on key combination standard message will apperar. Please advice me..

REgards

Prabu K

0 Kudos

Hi,

As per my understanding, the listing/exclusion is based on base material value but in order item, user will enter material value when the userexit will trigger to validate both with the Customer (sold to party) field. I believe there will be two cases to promt the messages :

  • The enhancement will validate material value or base material value - custom message.
  • For the exclusion list check - standard message.

Thanks,

Niladri