Automatic Forwarding

Dr. Ulrich Mende wug at mende-edv-beratung.de
Fri Dec 8 03:27:12 EST 2000


Automatic ForwardingHi, Brad-
 
if a Boss maintains  a n d  activates a substitution via (Workflow)Inbox =
--> Extras --> Maintain / Activate Substitution,=20
then this means auto forwarding between the Boss and his Assistant. If =
the Boss does not activate, but his Assistent does via=20
Inbox --> Extras --> Substitute for, then this is no auto forwarding.
 
Here is a Form to check wether  a user BOSS has set up an auto =
forwarding to a user ASSISTANT:
 
FORM CHECK_AUTO_FORWARDING USING VALUE(BOSS) LIKE SY-UNAME
                                  VALUE(ASSISTANT) LIKE SY-UNAME
                                  ONFLAG           LIKE SY-BATCH.
  CLEAR ONFLAG.
  SELECT * FROM HRUS_D2
           WHERE US_NAME  =3D  BOSS
             AND REP_NAME =3D  ASSISTANT
             AND BEGDA    <=3D SY-DATUM
             AND ENDDA    >=3D SY-DATUM
             AND ACTIVE =3D 'X'.   " is only set via auto forwarding =
Extras --> Activate Substitution
    ONFLAG =3D 'X'.
    EXIT.
  ENDSELECT.
ENDFORM.
 
 
If you skip the field ASSISTENT, you can check if the Boss has set up =
auto forwarding to any user.
Best regards  Ulrich
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20001208/e0907f4c/attachment.htm


More information about the SAP-WUG mailing list