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

ME_PROCESS_PO_CUST

Former Member
0 Likes
797

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 .

3 REPLIES 3
Read only

Former Member
0 Likes
684

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.

Read only

0 Likes
684

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

Read only

0 Likes
684

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