I need to block any item who comes from different cost center than initial one when creating a purchase requisition (me51n). In other word, I need to make sure all items in one PR belong to same cost center. What is the best way to do it? I did some research and figure out badi ME_PROCESS_REQ_CUST could be used.Could anyone here tell me how to use this badi to compare the costcenter of different item in one requisition before saving it? Or using User Exit is simpler? I am a neophyte for SAP programming so could you provide more details?
Thanks in advance.