More than once, I was asked for a quick and easy solution to let a “super-user” manage the user substitutions of his collegues in the SAP Business Workplace. The “super-user” has not to be intended as administrator or a technical user, it can be the responsible of an office.
The following code is an example of how to handle this requirement :
*&---------------------------------------------------------------------*
*& Report Z_SET_SUBSTITUTE
*&
*&---------------------------------------------------------------------*
REPORT Z_SET_SUBSTITUTE.
PARAMETERS p_user type sy-uname OBLIGATORY.
START-OF-SELECTION.
CALL FUNCTION 'SWL_SUBSTITUTION_DEFINE'
EXPORTING
USER = p_user
And this is the result :


Note that it’s the same application used to maintain your substitute in SBWP transaction (menu voice Settings - Workflow settings - Maintain substitute).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 31 | |
| 18 | |
| 17 | |
| 15 | |
| 14 | |
| 12 | |
| 11 | |
| 10 | |
| 9 | |
| 9 |