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

User Exit for VA01

Former Member
0 Likes
825

hi all,

In t-code VA01 at second screen there is a check box named as 'Completely dlv.' now i want to tick it always. so can anyone please tell me that which exit will do effect on that screen and what code should i write in user exit?

regards saurabh.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
757

Hi,

use FORM USEREXIT_MOVE_FIELD_TO_VBAK in MV45AFZZ

if sy-tcode = 'VA01'.
 VBAK-AUTLF = 'X'.
endif.

Thanks,

Shailaja Ainala.

hi all,

In t-code VA01 at second screen there is a check box named as 'Completely dlv.' now i want to tick it always. so can anyone please tell me that which exit will do effect on that screen and what code should i write in user exit?

regards saurabh.

5 REPLIES 5
Read only

Former Member
0 Likes
758

Hi,

use FORM USEREXIT_MOVE_FIELD_TO_VBAK in MV45AFZZ

if sy-tcode = 'VA01'.
 VBAK-AUTLF = 'X'.
endif.

Thanks,

Shailaja Ainala.

Read only

0 Likes
757

Hi shailza,

thanx for reply, actually i m doing the same but its not making any effect...

changed in program : MV45AFZZ.

FORM USEREXIT_MOVE_FIELD_TO_VBAK.

if sy-tcode = 'VA01'.

VBAK-AUTLF = 'X'.

endif.

ENDFORM.

please help me.

Regards saurabh.

Read only

0 Likes
757

Hi,

Keep breakpoint in the code where you have written the code after entering sold-to-party and other details in header .....next the value gets setted...its working fine here

Thanks,

Shailaja Ainala.

Read only

0 Likes
757

hi shailja,

thanx alot, its working fine now, so can u tell me one more thing actually now i want to do disable that field then how would i do?

can u help me plz.

regards saurabh.

Edited by: saurabh srivastava on Apr 9, 2009 11:26 AM

Read only

0 Likes
757

Hi,

use FORM USEREXIT_FIELD_MODIFICATION in the same ...

check as

CASE SCREEN-NAME.
  WHEN 'VBAK-AUTLF'.
    SCREEN-ACTIVE = 0.
 ENDCASE.

Thanks,

Shailaja Ainala.