Following is a list of variables which can be passed from Process Runner to external process as a parameters or variables. These will help external process to consume them in their internal logic with much tighter integration.
Variable name |
Description |
Comments and Examples |
#CURPRTYPE# |
Type of the current process i.e. TX, BA, GS or DE |
TX for Transaction or BA for BAPI/RFM or GS for GUI Script or DE for Data Extractor |
#CURPROC# |
Process/table/BAPI name that you are using for current process |
MM02, MARC, BAPI_CREATE_CONTRACT etc. |
"#CURPRFILE#" |
Name of the current process file along with full path |
C:\Innowera\MRRC.ite C:\Innowera\MM03.itf |
#CURXLFILE# |
Excel file being used for current process along with full path |
e.g. C:\Innowera\test.xls |
#CURXLSHEET# |
Excel Sheet name being used |
Sheet1, Sheet2 … |
#CURSAPSYS# |
Name of SAP system ID |
PR1, DEV, QAS… |
#SAPUSR# |
SAP user name |
JSMITH |
#SAPLAN# |
SAP system language user has chosen while logging to SAP |
EN,FR,DE |
#SAPCLIENT# |
SAP client number |
101, 800 |
#SAPSYSTEMNO# |
SAP system number |
00, 01 |
#NOOFREC# |
Number of records extracted by Process Runner (Available only in Data Extractor processes) |
20000 |
#NOOFCALL# |
Number of finished calls after a process completed (Available only in Transaction processes) |
550 |
#RUNTYPE# |
Type of run user has chosen from normal run, test run, debug run or error processing run. (Available only in Transaction processes) |
1 for Run or 2 for Test Run or 3 for Error Processing Run or 4 for Debug Run |
#ERRORCOUNT# |
No. of error count ( Available in Transaction processes ) |
5 |
#ERRORSTAT# |
Error status of the process runner task |
1 = Error , 0 = Success |
#ERRORMSG# |
Error message trapped by the application when process runner error status is 1 |
Specify account number SAP Front end Server: The method got an invalid argument. |
#XLDATASTARTROW# |
Starting row of data in the worksheet chosen while running any task |
10 |
#XLDATAENDROW# |
Ending row of data in the worksheet chosen while running any task |
100 |
'#XLDATASTATCOL# |
Stat column |
|
#XLDATALOGCOL# |
Log column |
0 |
#ISMASTERPROCESS# |
Is the process a master process or not |
1 when its master process else 0 |
#MASTERXLFILE# |
Name of the Excel file used in master process |
C:\Documents\Try.xls |
#MASTERXLSHEET# |
Name of the Excel sheet used in master process |
Sheet1, Sheet2 |
#MASTERXLDATASTARTROW# |
Starting row number in master process |
2, 5 |
#MASTERXLDATAENDROW# |
Ending row number in master process |
100, 1000 |