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

Call screen 4900

Former Member
0 Likes
954

Hi all,

I am making an enhancement in transaction VA01 and 02. When a particular text field is populated in the item level, storage location should be mandatory.

I add the condition under form USEREXIT_FIELD_MODIFICATION of exit MV45AFZZ to make storage location (LGORT) mandatory when item text is populated. This is working fine when it is saved from the overview screen (program SAPMV45A screen number 4900).

But when the user saves from the item text screen (program SAPMV45A screen 4013) the form for field modification is not being called and my check is not executed. I have inserted one more check under form USEREXIT_SAVE_DOCUMENT_PREPARE. Is there any way to call the overview screen from form USEREXIT_SAVE_DOCUMENT_PREPARE?

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
770

Hello,

The user exit is called by SAP, at appropriate places and you CAN'T call/ decide/ drive to call it from anywhere you want, as a programmer.

So, proceed with whatever you are doing, it should serve the purpose.

Rgds,

Raghu.

Hi all,

I am making an enhancement in transaction VA01 and 02. When a particular text field is populated in the item level, storage location should be mandatory.

I add the condition under form USEREXIT_FIELD_MODIFICATION of exit MV45AFZZ to make storage location (LGORT) mandatory when item text is populated. This is working fine when it is saved from the overview screen (program SAPMV45A screen number 4900).

But when the user saves from the item text screen (program SAPMV45A screen 4013) the form for field modification is not being called and my check is not executed. I have inserted one more check under form USEREXIT_SAVE_DOCUMENT_PREPARE. Is there any way to call the overview screen from form USEREXIT_SAVE_DOCUMENT_PREPARE?

Thanks in advance.

2 REPLIES 2
Read only

Former Member
0 Likes
771

Hello,

The user exit is called by SAP, at appropriate places and you CAN'T call/ decide/ drive to call it from anywhere you want, as a programmer.

So, proceed with whatever you are doing, it should serve the purpose.

Rgds,

Raghu.

Read only

Former Member
0 Likes
770

Change in requirement, closing this thread. Thanks for the response.