Application Development and Automation 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: 
Read only

Validating Field IN VA01/VA02

Former Member
0 Likes
1,565

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&regards,

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&regards,

Venkat.

4 REPLIES 4
Read only

Former Member
0 Likes
920

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

Read only

Former Member
0 Likes
920

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

Read only

Former Member
0 Likes
920

Hi,

You can use the User Exit FORM USEREXIT_FIELD_MODIFICATION in Program MV45AFZZ.

Regards

Sandipan

Read only

tarangini_katta
Active Contributor
0 Likes
920

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