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: 

How to chnage th user status in QM?

Former Member
0 Kudos

Hi,

I have created a user status profile in QM with 2 statuses ( INIT - initial and RCHA-results changed). Now, I have to record the results, and whenever I do so, and save the results successfully ( using a digital signature) the user status should change from the initial i.e INIT to RCHA. Incase the digital signature fails the status should not be changed and should be the default one i.e INIT. But this is not happening.

Can you please tell me the way out? Also if there is any specific BADI/BAPI that can be used for status changes.

Thanks

2 REPLIES 2

kesavadas_thekkillath
Active Contributor
0 Kudos

Yo can use function STATUS_CHANGE_EXTERN to chage user status

0 Kudos

can anybody tell me how to code the problem??

I am using 2 FMs- 1. BAPI_INSPLOT_GETSTATUS ( to get the current status) and 2. STATUS_CHANGE_EXTERN ( to change the status)

I need to--

Compare a password. if sy-subrc =0 and the latest status is initial, then the status will change to "RCHA"