|
variable | content | example |
general status information | ||
&V[_user] | user’s name | BAKER |
&V[_client] | client | 001 |
&V[_language] | language | E |
&V[_transaction] | transaction code | MM03 |
&V[_transactionid] | transaction id: transaction code plus a sequence number | MM03.7 |
&V[_title] | name of SAP screen | display material |
&V[_database] | name of R/3 system | C11 |
&V[_ashost] | name of host server | pwdf0042 |
&V[_program] | current main program name | SAPMF05A |
&V[_dynpro] | screen number | 0100 |
&V[_last_fcode] | last function code | /NVA02 |
&V[_homedir] | SAP GUI folder name | C:\Program Files\SAP\FrontEnd\sapgui |
&V[_hostname] | Name of frontend PC | dw0158 |
&V[_sapgui_version] | Version of SAP GUI | 640 |
&V[_sapgui_patch] | Patch level of SAP GUI | 21 |
window size | ||
&V[_windowsize_x] &V[_windowsize_y] &V[_screensize_x] | window width in pixel window height in pixel screen width in pixel | 1250 850 1920 |
position of cursor | ||
&V[_cursorrow] &V[_cursorcol] &V[_cursorfieldname] &V[_cursortabname] &V[_cursorcolname] | position of cursor: row and column available in an InputScript if the user has placed the cursor in an input field name of the field where the cursor is placed name of the table where the cursor is placed name of the column where the cursor | 12 30 Company code All items Material |
&V[_tabrow] &V[_tabcol] | position of cursor: number of the table row and number of the table column, in each case beginning with 1 available in an InputScript if the user has placed the cursor in a table cell | 5 6 |
&V[_listcursorrow] | position of cursor in lists: row (begins with 0) | 7 |
&V[_listcursorcol] | position of cursor in lists: column (begins with 0) | 48 |
indications | ||
&V[_lastwarning] | text of the last warning during in the processing of an InputScript | W: date is in the future |
&V[_lasterror] | text of the last error message during in the processing of an InputScript, with transaction, program and dynpro number given in brackets | E: booking code X2 is not permitted (FB01,SAPMF05A,0300) |
&V[_message] | message text (information) | receipt 100000444 was recorded in booking number 1000 |
&V[_msgid] | message id | 05 |
&V[_msgno] | message number | 055 |
&V[_msgtype] | message type | W |
&V[_exception] | exception message text after a function call with option -try | Material 15088 not found |
contents in lists | ||
&V[_listline(0)] &V[_listline(1)] &V[_listline(2)] … | contents of the lines in a list
note: vertical and horizontal lines in the list are represented internally by numbers (4,5,..) | 5M-06 10000 05 |
&V[_listline] | content of the list line in which the cursor currently is | 5M-02 28000 09 |
&V[_liststring] | string within the list line in which the cursor currently is | 28000 |
extra indications in lists and tables | ||
&V[_listfirstvisiblerow] | first filled row on current screen in lists and tables | 252 |
&V[_listlastvisiblerow] | last filled row on current screen in lists and tables | 280 |
&V[_listlastrow] | total count of rows in lists and tables | 578 |
date and time | ||
&V[today_ymd] | actual date in the form: year month day | 20021224 |
&V[today_hms] | time of day in the form: hour minute second | 154810 |
&V[today...] | predefined variables and calculations with today+… or today-… are possible. In the calculations, + or – as well as d=day, h=hour, m=minute, s=second may be used. | &V[today_m/d/y] –> 12/24/2002 &V[today_h:m] –> 15:48 &V[today_d.m.y h:m] –> 24.12.2002 15:48 &V[today+1_m/d/y] –> 12/25/2002 &V[today+6h_h:m] –> 21:48 |
variables in GuiXT script and history directories | ||
&user | user’s name | BAKER |
&client | client | 001 |
&database | name of R/3 system | C11 |
&winuser | Windows user name (in GuiXT script directory and history directory) | Smith |