Script Function: It returns the partner type of the user.
SYS_ACT_PTTYP()
| 
                     Return codes  | 
            
|---|
| 
                     "D" - Activation through UserInterface  | 
            
This script function determines how a task is activated.
When you use this function in post processing or when the option "Generate at runtime" is set, the system will supply an empty return code.
This example shows the line that is written to the activation report if a task has been activated by a CallAPI.
:SET &PTTYP# = SYS_ACT_PTTYP()
:IF &PTTYP#  = 
 "C"
:   PRINT "Task was activated 
 through CallAPI."
:ENDIF
        
See also:
Script Elements - Activation Data
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function