Application Development 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: 

Change the Fields in Display mode in ME21N

Former Member
0 Kudos
256

Hi ,

Need to change the fields within Delivery Address to 'Display' mode, in order not to allow the user to change the value in ME21N . If anybody has done it before or give an idea or clue, it would be great to proceed .

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos
82

Hi,

TA-Code OMF4 that leads to "Field selection at document level" in customizing

Choose ME21N - double click

Choose "Reference data, Item" - double click

Mark/unmark check-boxes for "Delivery address"

save

Good luck!

Jo

3 REPLIES 3

Former Member
0 Kudos
83

Hi,

TA-Code OMF4 that leads to "Field selection at document level" in customizing

Choose ME21N - double click

Choose "Reference data, Item" - double click

Mark/unmark check-boxes for "Delivery address"

save

Good luck!

Jo

0 Kudos
82

Hi Jo ,

Thanks for the info .

But I want this to be done by program , (BADI/Exit/Enh.Spot) . Based on the Material entered in the PO Line item , Delivery address should be in display/entry mode .

0 Kudos
82

Hi,

oh, I am sorry.

But the only way I see then is to use EXIT_SAPMM06E_013 of MM06E005.

It is called on booking the PO right before commit. Compare EKPO-ADRNR with expected value. In case of failure send error message.

Please keep me informed if you get a good solution for that! And Thanks!

Good luck

Jo