Hi All,
I am trying to use screen personas (3.0 SP 11) to simplify the user profile screen for our end users. I am struggling to access a certain cell in the parameters table.

As you can see, I've done some tab merging and added a few new fields. I believe I need to use javascript to pull some parameters from the parameter table into the new fields (if there is an easier way, I'm all ears). I feel like I am most of the way there, but I cannot get get the contents of certain cells and it doesn't make any sense to me.
Here is the code I have so far. This code is fired during the onLoad screen event.
//open parameter tab if it's not somehow already selected
if (session.findById("wnd[0]/usr/tabsTABSTRIP1").selectedTab !== session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpPARAM")) {
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpPARAM").select();
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpDEFA/ssubMAINAREA:SAPLSUID_MAINTENANCE:1105/ctxtSUID_ST_NODE_DEFAULTS-SPLD").setFocus();
}
// get the grid view table into a variable.
var pTable = session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpPARAM/ssubMAINAREA:SAPLSUID_MAINTENANCE:1104/cntlG_PARAMETER_CONTAINER/shellcont/shell");
//get total number of rows in the table
var numRows = pTable.rowCount;
//get the column name that holds the variables
var columnNames = pTable.getColumnName(0);
var columnValues = pTable.getColumnName(1);
//page down the table, make sure the row we want is visible - not sure this is necessary
pTable.firstVisibleRow = 25;
//set the current cell to 29 - this works
pTable.setCurrentCell(29, columnNames);
// get the value of cell 29 - this does not work.
var pid = pTable.getCellValue(29, columnNames);
session.utils.alert(pid);
// try to find the index of the VKB parameter
//var i = 0;
//while (i < numRows) {
// var field = pTable.getCellValue(i, columnNames);
// session.utils.alert(field);
// if (field == "VKB") {
// session.utils.alert(i.toString());
// }
// i++;
//}
My intention was to look at each row in the first column of the table and find the indexes for the parameters I want, then get those cells from the second column. You can see the beginning of that in the commented section at the end. However, for some reason, whenever the code hits index 29 for the getCellValue method call, it throws an error. Setting 29 to be the current cell works fine, but getting the contents of it fails (you can see it's selected in the screenshot behind the error message). Am I doing something wrong here?

Thanks in advance.
Bryan