In this case, you have to create a z-table (For e.g. Zmmt_plantprofit) for maintaining combination of Plant and Profit center and then validate based on this table. Following is the sample code for the same; TABLES : zMMT_plantprofit IF wmarc-werks is NOT INITIAL.
In this case, you have to create a z-table (For e.g. Zmmt_plantprofit) for maintaining combination of Plant and Profit center and then validate based on this table. Following is the sample c…