on 2024 Oct 30 3:33 PM
hi Experts,
Can anyone please let me know how to Disable/Grey Out the fields using a BADI for ME22N.
I am trying to disable the fields PO Quantity and Net Price at Item Overview tab, if this does not work particularly I can disable the whole tab to edit as well.
I am using BADI GOS_SRV_SELECT to try and disable the fields to edit in ME22N transaction. The greying out condition is based on EKKO-UNSEZ = 'Pending'.
Are we actually disabling the fields to edit here ? If yes, how ?
or are we displaying any error message when someone edits the field values ?
Can someone help me with the logic Please ?
Help Greatly appreciated !
Thanks
Request clarification before answering.
The GOS_SRV_SELECT is linked to the GOS, handle the attachment widget, and is therefore not relevant here.
The classic PO BAdI is ME_PROCESS_PO_CUST.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raymond,
I have tried to use that ME_PROCES_PO_CUST. there are already implementations available in my system using this BADI. I have tried to set a breakpoint and tried to trigger it through the transaction ME22N. But, I was unable to trigger that breakpoint ?
Please consider the above Image, I am trying tp disable the field PO Quantity and Net Price based on Our reference field as highlighted above. Can you please share some pseudo code on how to achieve this using BADI ?
Thanks.
Hi Raymond,
If I understood correctly, by using the FM MEPOBADI_FS_ITEM, I have to write an implicit enhancement on the end of this FM and disable the fields by using the Metafields concept. Is that true ? If yes, how can I find the metafield numbers for these PO Quantity and Net Price fields ?
Regards
User | Count |
---|---|
96 | |
39 | |
6 | |
5 | |
3 | |
3 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.