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

EXIT in initial Screen VA01

Former Member
0 Likes
2,264

Hi,

I need an exit in the initial screen of tx. VA01.

When you enter the Order Type and the Organizational Data I need to validate some order Types.

Regards.

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
1,592

Hi,

The following exit will work:

V45A0002 EXIT_SAPMV45A_002

If not working for your scenario, try the following also,

EXIT_SAPMV45A_003 and component V45A0002

Pls reward points if solved your issue.

Regards,

Renjith Michael.

Hi,

I need an exit in the initial screen of tx. VA01.

When you enter the Order Type and the Organizational Data I need to validate some order Types.

Regards.

Thanks.

5 REPLIES 5
Read only

Former Member
0 Likes
1,592

Hi there

i had the similar requirement, but then used field exit to get this done.

remember you cant get value of other field in field exit( eg order type in sales office field exit)

for that you can use FM 'GET_DYNP_VALUE' to find value for other screen field like

CALL FUNCTION 'GET_DYNP_VALUE'

EXPORTING

I_FIELD = 'VBAK-AUART'

I_REPID = 'SAPMV45A'

I_DYNNR = '0101'

CHANGING

O_VALUE = auart

EXCEPTIONS

this will find you the value for order type in sales office field exit code.

to define field exit goto

cmod > then type in command field PRFB. then define field exit.

if u need more help let me know.

cheers

Edited by: mandy on Jan 14, 2008 2:28 PM

Read only

Former Member
0 Likes
1,592

Hi,

Try USEREXIT_FIELD_MODIFICATION in include MV45AFZZ.

Thanks

Naren

Read only

0 Likes
1,592

USEREXIT_FIELD_MODIFICATION will test only after going to second screen not on initial screen.

Edited by: mandy on Jan 14, 2008 2:36 PM

Read only

0 Likes
1,592

Use enhancement point FCODE_BEARBEITEN_01 in enhancement spot ES_SAPMV45A

Read only

Former Member
1,593

Hi,

The following exit will work:

V45A0002 EXIT_SAPMV45A_002

If not working for your scenario, try the following also,

EXIT_SAPMV45A_003 and component V45A0002

Pls reward points if solved your issue.

Regards,

Renjith Michael.