2008 Feb 05 10:52 AM
My requirement is that i want to make the standard NETPR and MENGE field in PO (ME22n) display only when the GR of that line item is done that is, You won't be able to make changes to PO fields netprice and quantity once GR has been done. I just need to know can this be done through the BADI ME_PROCESS_PO_CUST .
My requirement is that i want to make the standard NETPR and MENGE field in PO (ME22n) display only when the GR of that line item is done that is, You won't be able to make changes to PO fields netprice and quantity once GR has been done. I just need to know can this be done through the BADI ME_PROCESS_PO_CUST .
2008 Feb 05 11:03 AM
Hi Tabish,
No you can't use this BADI; the BADI will only allow for changes to custom defined field and additional checks for standard fields. But no manipulation of screen attributes.
Regards,
John.
2008 Feb 05 11:31 AM
So is there any solution for this problem through ABAP, i mean any badi or customer exit or any other way we can do this.Thanks
2008 Feb 05 12:25 PM
Hi,
you can use the mentioned badi and its metod process_items in order to change any item values, and you can display a message from this method. So if you want to disable changes in some of the fields, do it:
- in the metod you can retreive the item's value before user edit
- in the method you can retreive item's value after user edit
and if in the NETPR has a change - then the user has changed it, you can replace the value changed from the user with the old one and display some message in order to inform the user for this.
Regards,
Rosen
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |