Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transaction Time
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hello,

Code:
Services.StartTransaction "trans1"
Services.EndTransaction "trans1"

1) How can I capture the StartTransaction time to a variable?
2) How to get time it took to run the transaction in a variable?

Thanks,
Raj
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,

Code:
Services.StartTransaction "trans1"
    Start=Timer
       --- write Transaction code ----
       ------------------------------
     Finish=Timer
    Services.EndTransaction "trans1"
     Transaction_Time=Finish-Start
    msgbox "Time taken by the Transaction: "&Transaction_Time&" Seconds"
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
That should do. Thanks sreekanth .

So, technically I don’t need Services.StartTransaction and Services.EndTransaction ?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question [HELP]Button no longer works in the transaction ME21N(SAP/QTP) rafaponzio 11 10,336 12-21-2022, 06:08 PM
Last Post: Carlos Veras

Forum Jump:


Users browsing this thread: 4 Guest(s)