” SapGui numeric component type = 21 ”

  • Questions
  • '' SapGui numeric component type = 21 ''
Question ID: 104318
0
0

I have created a PFA but facing problem while executing it.Excell sheet is ok.Error is something like this " SapGui numeric component type = 21 " it is a warning message.
script is running with proper input of data but with the above warning notificatin are failing.
Please help

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on February 11, 2011 11:07 am
13 views
Answers (1)
2
Private answer

Check the actual variable value in the spreadsheet. In SAP, it may be requiring an integer value, but a value read in from a DataTable cell is treated as a string and can cause problems if the field expects a numeric value.

If this is the case, you can convert the value from the DataTable by doing something like:

MyIntCellValue = Int(DataTable(''MyCell'',dtGlobalSheet))

The Int VBScript function converts a value to an integer.

Marked as spam
Posted by (Questions: 2, Answers: 425)
Answered on October 24, 2014 8:20 pm