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

Function Module Needed to Change user status in ps

Former Member
0 Likes
1,558

Hi all,

i am doing an enhancement in user exit where if the system status is set to TECO i need to change the User Status as MCLS. for this i tried with BAPI but BAPI needs to use PRE COMMIT and TRANSACTION COMMIT . COMMIT is not supposed to be used in the user exit . so plz suggest me a function module which can change the user status .

1 REPLY 1
Read only

former_member491621
Contributor
0 Likes
379

Hi Dinesh,

You can try using the BAPI 'BAPI_BUS2001_SET_STATUS'

Please check the below link

http://wiki.sdn.sap.com/wiki/display/PLM/How+to+use+BAPI+in+Project+System+Module

Hope it helps