2010 Aug 11 7:01 PM
Hello Fellows.
I'm facing a problem trying to change a screen attribute of a ME22N standard field at Item Detail:
My requeriment:
I need to change the Delivery Completed Indicator (MEPO1313-ELIKZ) from Delivery Tab in ME22N, to Display Only, everytime it's flagged on (marked).
So, something like this:
- Call ME22N
- Delivery Completed Indicator marked?
- Yes: Change it to Display Only
- No: Leave it openned.
I was able to change it to Display Only changing it's atrribute at SPRO - Customizing, but I need it only at certain conditions.
Any idea?
Thank's.
2010 Aug 11 8:13 PM
Take a look at the BADI ME_PROCESS_PO_CUST, specifically the method FIELDSELECTION_ITEM_REFKEYS.
That method passes the item object, in that you could read the flag out of the item data and set the fieldselection references to point to a custom one that has delivery completed as display.
Its a little obtuse how to do it but the BADI has example code to guide you along.
2010 Aug 11 8:13 PM
Take a look at the BADI ME_PROCESS_PO_CUST, specifically the method FIELDSELECTION_ITEM_REFKEYS.
That method passes the item object, in that you could read the flag out of the item data and set the fieldselection references to point to a custom one that has delivery completed as display.
Its a little obtuse how to do it but the BADI has example code to guide you along.
2010 Aug 11 9:00 PM
Thank you for your reply Weston.
Since I don't have too much OO skills and I'm new to BADI's, any document explaning how to use a BADI?
I heard about this BADI, that it can only change custom fields attributes. Have you sure I can use it for standard one's?
Thank's.
2010 Aug 12 1:59 PM
Thank you Weston.
The problem was solved doing exactly what you said.
Anyone with same doubt, post here and I can post a detailed way to do it, using the Weston method.
Thank you again.
2010 Aug 31 1:17 PM
Hi,
I would appreciate if you can post details of the solution.
Thanks and Regards,
Auro
2021 Sep 28 3:48 PM
Hi ,
I have got the same requiremnt,
could you elobrate the steps what you have done to change delivery completed indicator to display mode after GRN quantity and PO quantity are equal.
if possible kindly share your code what you have done in the BADI ME_PROCESS_PO_CUST, specifically the method FIELDSELECTION_ITEM_REFKEYS