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 for changing network user status in ps module

Former Member
0 Likes
1,157

hi all,

can anyone tell me the function module with which i can change the user status in CJ02 transaction, i have network number as well as object number

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
626

Check following BAPI (and don't hesitate to look at transaction BAPI and at scn/sap search tools)

  • BAPI_BUS2054_CHANGE_MULTI, BAPI_BUS2054_SET_STATUS
  • BAPI_BUS2002_CHANGE, BAPI_BUS2002_SET_STATUS
  • Also don't forget to call first BAPI_PS_INITIALIZATION and BAPI_PS_PRECOMMIT before BAPI_TRANSACTION_COMMIT

trigger those in a after save Badi/BTE.

You could also use a PS substitution (transaction OPSI Note 440186 - FAQ 2: Validation and substitution in the project) and use in an exit FM STATUS_CHECK and STATUS_CHANGE_EXTERN.

Regards,

Raymond