While creating a purchase requisition,my requirement is to default requisitioner field if empty with first two characters of the costcenter or if the requisitioner is not empty first two chars of the costcenter and the value entered in requsistioner field and then issue a message saying that the field value has been changed.
I am able to populate the values but not the message.
Can someone tell how I can display the message using the BAdi
ME_PROCESS_REQ_CUST after changing the values.
I used Process_Account and Process_Item methods of the BAdi for implementing this.
In Process_Item method, i am sending the changed values using
call method im_item->set_data
exporting im_data = ls_item.
How can I pass the message in this metho.d