Hello experts
I'm in the process of adding a new customer field to the standard PO transactions (ME21N, ME22N, etc.). I've already found and implemented exit MM06E005, and using it I've added a customer field at header level. The new field is also updating to the database when needed. I'm in the process of fine-tuning the new field and making it more user-friendly, and this is where I'm a bit stuck. I'm on NW04, SAP version 640.
My main question is about the edit/display setting of the field . It should be in output-only when viewing the whole document as display, and hopefully it can be hidden when working with a document type that does not need the field.
At the moment, the field is always input-ready no matter which transaction I use. I've been able to make the field update its contents only when in change mode (i.e., although you can input a new value in ME23N, the change will not be registered to the database and will revert back to the original value). I've tried adding a LOOP AT SCREEN on exit EXIT_SAPMM06E_006 (Header screen PBO), however the loop doesn't seem to execute; when debugging the exit simply "jumps" out of the exit code. I also tried validating the transaction code and the transaction type (whether V, H, or A) when switching from display to change mode in a transaction, but these didn't seem to change when I switched views in a transaction.
My second, easier question would be if it is possible to change the title of the tab from "Customer Data" to something else, and if so, how.
I'd appreciate any help you could provide. Thanks in advance.
Regards,
Juan Ramos
Add a comment