Application Development 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: 

VA02 block the processes status change

Former Member
0 Kudos

Hi,

In VA02 tcode I need to check credit status in Header Data and if it is 'Not Approved' then any change in Status with Status No. block which get displayed on click of 'Object Status' should not be allowed while saving the changes.

Will this can be acheived by checking the field VBUK-CMGST = B in USEREXIT_SAVE_DOCUMENT_PREPARE then exit. If not, please provide me the solution.

Thanks,

K.Tharani.

1 REPLY 1

Former Member
0 Kudos

Hi,

It has been achieved as said above with help of function module 'status_change_extern'