04-11-2011 10:51 AM
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
04-11-2011 11:19 AM
04-12-2011 8:28 AM
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"