2008 Dec 08 6:21 AM
Hi Experts,
I have a requirement like ,I have to modify(enable/disable) shedule line Catogery field in standard screen in Va01/Va02 for some conditins. If certain conditions are satisfied then it should be in editable mode else it will be in display mode.
How Can I Do This ,Can Any one please suggest me.
I'm Waiting for Your Response.
Thanks®ards,
Venkat.
Hi Experts,
I have a requirement like ,I have to modify(enable/disable) shedule line Catogery field in standard screen in Va01/Va02 for some conditins. If certain conditions are satisfied then it should be in editable mode else it will be in display mode.
How Can I Do This ,Can Any one please suggest me.
I'm Waiting for Your Response.
Thanks®ards,
Venkat.
2008 Dec 08 8:49 AM
hi venkat,,,,,
just put the code in your user-exit or badi.....
LOOP AT SCREEN.
IF SCREEN-NAME = u2018BSEG-EBELNu2018. >>>>>>>>. YOUR FIELD NAME ON THE SCREEN.
SCREEN-INPUT = 0. (makes field DISABLE)
MODIFY SCREEN.
ENDIF.
ENDLOOP.
THANKS
SAURABH
2008 Dec 08 9:05 AM
Hi,
There is a user exit to do this in the program MV45AFZZ. The subroutine in which you can do perform this check is USEREXIT_FIELD_MODIFICATION. This is called for each field. You need to therefore check which field is being processed and set the input attribute of the screen to 0 to disable the input.
regards,
Advait
2008 Dec 08 9:39 AM
Hi,
You can use the User Exit FORM USEREXIT_FIELD_MODIFICATION in Program MV45AFZZ.
Regards
Sandipan
2008 Dec 08 1:09 PM
Hi Venkat,
Use this user exit.
EXIT_SAPMV45A_004.
Enhancemnt V45A0003.
It may be helpful toyou.
Craete project in CMOD in CMOD Implement the enhancement in the project and Activate the Project.
I hope it may helpful to you.
Thanks
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |