Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

BADI ME_PROCESS_PO_CUST to make RFQ field mandatory.

0 Kudos

I have created BADI implementation for ME21N transaction to make RFQ field(item level ) mandatory based on Purchase group(header level).
IF GROUP value is changed , error message is not getting updated.

what AM I supposed do?


Active Contributor
0 Kudos

Start coding an implementation of the BAdI. Where are you stuck?

  • PROCESS_ITEM use method get_data for item, use get_header and get_data from header and raise error using macro mmpur_metafield and mmpur_message_forced to raise an error on missing field
  • PROCESS_HEADER when Purchase group is changed (get_data and get_previous data) then loop at items (get_items) and perform same check than in process_item

There are many threads and samples on this BAdI in the forum