Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP SAPWindows Leading Zeros
#2
Solved: 11 Years, 4 Months, 1 Week ago
There are two ways I can think of...
1) Instead of using Output Value, try using GetROProperty.

2) Use the following :
' Before selecting the node,
Code:
sNum = DataTable("Purch_Req_Num", dtGlobalSheet)
sNumWithoutZero = Right(sNum, Len(sNum) - 0)
SAPGuiSession("Session").SAPGuiWindow("Create Purchase Order").SAPGuiTree("TableTreeControl").SelectNode sNumWithoutZero

Let me know if it doesnt work out..
Reply


Messages In This Thread
QTP SAPWindows Leading Zeros - by bodd - 04-17-2008, 08:20 PM
RE: QTP SAPWindows Leading Zeros - by niranjan - 04-17-2008, 09:54 PM
RE: QTP SAPWindows Leading Zeros - by bodd - 04-18-2008, 12:55 AM
RE: QTP SAPWindows Leading Zeros - by niranjan - 04-18-2008, 02:15 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Enable Leading Zero Nana 5 9,459 06-07-2008, 04:39 AM
Last Post: niranjan

Forum Jump:


Users browsing this thread: 1 Guest(s)