Skip to Content

How to disable a screen field based on anoher field in ME31k and ME32K

hello all,

in ME31k and ME32K

i want to disable Target Value field,

I don't want to use transaction variant (SHD0), as i want to disable based on another field BSART.

from the screen shot disable target field if agreement type = 'CDWK'

else the target field should be enabled for the end user..

does sap provided any such flexibility to achieve these type of conditions..

thanks all.

me31k.jpg (106.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Oct 28, 2016 at 07:12 AM

    members, any update ..

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 03, 2016 at 06:20 PM

    Hi Vinay,

    For cases like these you have to modify in user exits(especially screen exits).

    If you cannot find any exits then an ABAPer has to look for enhancement to modify the screen before the display of the screen itself.

    Reward points if useful

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 04, 2016 at 08:17 AM

    So you want to override Customizing (T161, T162) Did you check Cusomizing option (ask functional/consultant first)

    Else which of the Contract BAdI listed in SPRO did you already check/try, did you analyze the PBO (forms FELDAUSWAHL to overide T162 and MODIFY_FELDAUSWAHL during LOOP AT SCREEN) of the screen, did you notice this fied is "required" in dynpro definition, so are you confident in your requirement (MK qty vs WK amt.)

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded