SAP ABAP Class CL_SWL_SUBSTITUTION (Functions for Substitution)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-WFM (Application Component) SAP Business Workflow
⤷
SWL (Package) Business Workflow: Worklist Client

⤷

⤷

Properties
Class | CL_SWL_SUBSTITUTION | |
Short Description | Functions for Substitution | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SWL | Business Workflow: Worklist Client |
Created | 20040907 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SWL_SUBSTITUTION has no interface implemented.
Friends
Class CL_SWL_SUBSTITUTION has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Protected | Type reference (TYPE) | SYDATUM | '99991231' | Max. Date | 20040907 | |
2 | ![]() |
Constant | Protected | Type reference (TYPE) | SYDATUM | '19900101' | Min. Date | 20040907 | |
3 | ![]() |
Constant | Protected | Type reference (TYPE) | TWFS-SICHT | 'XXXXXXXXXXXX' | Dummy View for Substitutions | 20040910 | |
4 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | OBJEC-PLVAR | Plan Version | 20040907 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Activate Personal Substitutes | 20040907 |
2 | ![]() |
Static method | Public | Method | Adopt Personal Substitution | 20040907 |
3 | ![]() |
Static method | Protected | Method | Adopt substitution | 20040910 |
4 | ![]() |
Static method | Protected | Method | Checks Whether Substitute Profile Exists | 20040907 |
5 | ![]() |
Static method | Protected | Method | Checks Whether User Exists | 20040907 |
6 | ![]() |
Static method | Public | Method | Delete Personal Substitute | 20040907 |
7 | ![]() |
Static method | Public | Method | End Personal Substitution | 20040907 |
8 | ![]() |
Static method | Protected | Method | End substitution | 20040910 |
9 | ![]() |
Static method | Protected | Method | Determines Active Plan Versions | 20040907 |
10 | ![]() |
Static method | Public | Method | Determines Substitutions Adopted | 20040910 |
11 | ![]() |
Static method | Public | Method | Determines Personal Substitute | 20040907 |
12 | ![]() |
Static method | Public | Method | Determines Personal Substitutions | 20040909 |
13 | ![]() |
Static method | Public | Method | Determines Substitute Profile | 20040907 |
14 | ![]() |
Static method | Public | Method | Determines Substitutions | 20040909 |
15 | ![]() |
Static method | Public | Method | Maintain Personal Substitutes | 20040908 |
Events
Class CL_SWL_SUBSTITUTION has no event.
Types
Class CL_SWL_SUBSTITUTION has no local type.
Method Signatures
Method ACTIVATE_PERS_SUBSTITUTE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_ACTIVATE | Call by reference | Type reference (TYPE) | XFELD | Aktivieren/Deaktivieren | 20040907 | ||
2 | ![]() |
I_SUBSTITUTE | Call by reference | Type reference (TYPE) | SWRAGENT | Vertreter | 20040907 | ||
3 | ![]() |
I_SUBSTITUTED_PERSON | Call by reference | Type reference (TYPE) | SWRAGENT | Vertretene Person | 20040907 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Aktivierung/Deaktivierung fehlgeschlagen | 20040907 | |
2 | ![]() |
Es handelt sich um keine persönliche Vertretung | 20040907 | |
3 | ![]() |
Planvariante ist nicht gepflegt | 20040907 | |
4 | ![]() |
Vertreter existiert nicht | 20040907 | |
5 | ![]() |
Benutzer existiert nicht | 20040907 |
Method ADOPT_PERS_SUBSTITUTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_SUBSTITUTE | Call by reference | Type reference (TYPE) | SWRAGENT | Vertreter | 20040907 | ||
2 | ![]() |
I_SUBSTITUTED_PERSON | Call by reference | Type reference (TYPE) | SWRAGENT | Vertretene Personen (Vertretung) | 20040907 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Übernahme fehlgeschlagen | 20040907 | |
2 | ![]() |
Es handelt sich um keine persönliche Vertretung | 20040907 | |
3 | ![]() |
Planvariante ist nicht gepflegt | 20040907 | |
4 | ![]() |
Benutzer existiert nicht | 20040907 |
Method ADOPT_SUBSTITUTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_SUBSTITUTIONS | Value transfer | Type reference (TYPE) | THRWFUSER_V | Vertretungen | 20040910 | ||
2 | ![]() |
I_SUBSTITUTE | Call by reference | Type reference (TYPE) | SWRAGENT | Vertreter | 20040910 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler beim Insert auf die Datenbank | 20040910 |
Method CHECK_SUBSTITUTE_PROFILE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_PROFILE | Call by reference | Type reference (TYPE) | SWR_SUBSTPROF | Vertreterprofil | 20040907 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Vertreterprofil existiert nicht | 20040907 |
Method CHECK_USER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_USER | Call by reference | Type reference (TYPE) | BAPIBNAME-BAPIBNAME | Benutzername im Benutzerstamm | 20040907 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Benutzer existiert nicht | 20040907 |
Method DELETE_PERS_SUBSTITUTE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_END_DATE | Value transfer | Type reference (TYPE) | SYDATUM | Löschen bis Datum | 20040907 | ||
2 | ![]() |
I_START_DATE | Value transfer | Type reference (TYPE) | SYDATUM | Löschen ab Datum | 20040907 | ||
3 | ![]() |
I_SUBSTITUTE | Call by reference | Type reference (TYPE) | SWRAGENT | Vertreter | 20040907 | ||
4 | ![]() |
I_SUBSTITUTED_PERSON | Call by reference | Type reference (TYPE) | SWRAGENT | Vertretene Person | 20040907 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Löschen fehlgeschlagen | 20040907 | |
2 | ![]() |
Es handelt sich um keine persönliche Vertretung | 20040907 | |
3 | ![]() |
Planvariante ist nicht gepflegt | 20040907 | |
4 | ![]() |
Zeitraum ungültig | 20040907 | |
5 | ![]() |
Benutzer existiert nicht | 20040907 |
Method END_PERS_SUBSTITUTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_END_ALL | Call by reference | Type reference (TYPE) | XFELD | 'X' | alle Vertretungen beenden | 20040907 | |
2 | ![]() |
I_SUBSTITUTE | Call by reference | Type reference (TYPE) | SWRAGENT | Vertreter | 20040907 | ||
3 | ![]() |
I_SUBSTITUTED_PERSON | Call by reference | Type reference (TYPE) | SWRAGENT | Vertretene Personen (Vertretung) | 20040907 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Beenden fehlgeschlagen | 20040907 | |
2 | ![]() |
Es handelt sich um keine persönliche Vertretung | 20040907 | |
3 | ![]() |
Planvariante ist nicht gepflegt | 20040907 | |
4 | ![]() |
Benutzer existiert nicht | 20040907 |
Method END_SUBSTITUTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_SUBSTITUTIONS | Call by reference | Type reference (TYPE) | THRWFUSER_V | Vertretungen | 20040910 | ||
2 | ![]() |
I_SUBSTITUTE | Call by reference | Type reference (TYPE) | SWRAGENT | Vertreter | 20040910 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler beim Update auf die Datenbank | 20040910 |
Method GET_ACT_PLANVARIANT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_PLAN_VARIANT | Value transfer | Type reference (TYPE) | OBJEC-PLVAR | Planvariante | 20040907 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Planvariante nicht gepflegt | 20040907 |
Method GET_ADOPTED_SUBSTITUTIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_INBOX_VIEW | Call by reference | Type reference (TYPE) | THRWFUSER_V | übernommene Vertretungen | 20040910 | ||
2 | ![]() |
ET_SUBSTITUTIONS | Call by reference | Type reference (TYPE) | SWLTTWFS | übernommene Vertretungen | 20040910 | ||
3 | ![]() |
I_SUBSTITUTE | Call by reference | Type reference (TYPE) | SWRAGENT | Vertreter | 20040910 |
Method GET_ADOPTED_SUBSTITUTIONS on class CL_SWL_SUBSTITUTION has no exception.
Method GET_PERS_SUBSTITUTES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_SUBSTITUTES | Call by reference | Type reference (TYPE) | SWRTSUBSTITUTE | Vertreter | 20040907 | ||
2 | ![]() |
I_END_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Vertreter bis zu diesem Datum suchen | 20040907 | ||
3 | ![]() |
I_START_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Vertreter ab diesem Datum suchen | 20040907 | ||
4 | ![]() |
I_SUBSTITUTED_PERSON | Call by reference | Type reference (TYPE) | SWRAGENT | Vertretene Person | 20040907 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Es handelt sich um keine persönliche Vertretung | 20040907 | |
2 | ![]() |
Planvariante ist nicht gepflegt | 20040907 | |
3 | ![]() |
Zeitraum ungültig | 20040907 | |
4 | ![]() |
Benutzer existiert nicht | 20040907 |
Method GET_PERS_SUBSTITUTIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_SUBSTITUTIONS | Call by reference | Type reference (TYPE) | SWRTSUBSTITUTION | Vertretung | 20040909 | ||
2 | ![]() |
I_SUBSTITUTE | Call by reference | Type reference (TYPE) | SWRAGENT | Vertreter | 20040909 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Es handelt sich um keine persönliche Vertretung | 20040909 | |
2 | ![]() |
Planvariante ist nicht gepflegt | 20040909 | |
3 | ![]() |
Fehler bei der Ermittlung der Vertretungen | 20040909 | |
4 | ![]() |
Benutzer existiert nicht | 20040909 |
Method GET_SUBSTITUTE_PROFILES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | Sprachenschlüssel der aktuellen Textumgebung | 20040907 | ||
2 | ![]() |
RT_PROFILES | Value transfer | Type reference (TYPE) | SWRTSUBSTPROFILE | Vertreterprofile | 20040907 |
Method GET_SUBSTITUTE_PROFILES on class CL_SWL_SUBSTITUTION has no exception.
Method GET_SUBSTITUTIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_SUBSTITUTIONS | Call by reference | Type reference (TYPE) | SWRTSUBSTITUTION | Vertretung | 20040909 | ||
2 | ![]() |
I_SUBSTITUTE | Call by reference | Type reference (TYPE) | SWRAGENT | Vertreter | 20040909 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Planvariante ist nicht gepflegt | 20040909 | |
2 | ![]() |
Fehler bei der Ermittlung der Vertretungen | 20040909 | |
3 | ![]() |
Benutzer existiert nicht | 20040909 |
Method MAINTAIN_PERS_SUBSTITUTE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_SUBSTITUTE | Call by reference | Type reference (TYPE) | SWRAGENT | Vertreter | 20040908 | ||
2 | ![]() |
I_SUBSTITUTED_PERSON | Call by reference | Type reference (TYPE) | SWRAGENT | Vertretene Person | 20040908 | ||
3 | ![]() |
I_SUBST_ACTIVE | Call by reference | Type reference (TYPE) | SWR_SUBSTACTIVE | 'X' | Kennzeichen: Vertretung aktiv | 20040908 | |
4 | ![]() |
I_SUBST_BEGIN | Call by reference | Type reference (TYPE) | SWR_SUBSTBEGIN | SY-DATUM | Beginn der Vertretung | 20040908 | |
5 | ![]() |
I_SUBST_END | Call by reference | Type reference (TYPE) | SWR_SUBSTEND | '99991231' | Ende der Vertretung | 20040908 | |
6 | ![]() |
I_SUBST_PROFILE | Call by reference | Type reference (TYPE) | SWR_SUBSTPROF | Vertreterprofil | 20040908 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Anlage des Vertreters fehlgeschlagen | 20040908 | |
2 | ![]() |
Es handelt sich um keine persönliche Vertretung | 20040908 | |
3 | ![]() |
Planvariante ist nicht gepflegt | 20040908 | |
4 | ![]() |
Vertreterprofile ungültig | 20040908 | |
5 | ![]() |
Zeitraum ungültig | 20040908 | |
6 | ![]() |
Benutzer existiert nicht | 20040908 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 700 |