Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Exp Issue
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
Dear Experts.
Please help out ,
I would like to do Regular Exp for the below line in SAP ,

Code:
SAPGuiSession("Session").SAPGuiWindow("Document Flow").SAPGuiTree("TableTreeControl").SelectItem "GT-BP CRM Complaint 0065000430 / 1010;GT-Credit Memo Reque 0060000120 / 1010","GT-Credit Memo Reque 0060000120 / 1010"

But the numbers mentioned in above line
1.0065000430 / 1010
2.0060000120 / 1010
3.0060000120 / 1010

will change so I want to do it in Regular Expressions. Can you please help me to do Reg Exp.
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
You can try the below code.

Code:
SAPGuiSession("Session").SAPGuiWindow("Document Flow").SAPGuiTree("TableTreeControl").SelectItem "RegExp:=GT-BP CRM Complaint .*;RegExp:=GT-Credit Memo Reque.*","RedExp:=GT-Credit Memo Reque.*"

OR

SAPGuiSession("Session").SAPGuiWindow("Document Flow").SAPGuiTree("TableTreeControl").SelectItem "RegExp:=GT-BP CRM Complaint .*;RegExp:=GT-Credit Memo Reque.*","#1"


Modify the code if required.

Regards,
Ankesh
Reply
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
Thanks Ankesh ,
It should work because the same logic appilied one of my senior in earlier project but I forgot this how to use regulaer exp here so I posted here ...after seen your code , I got it -Thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Very interesting issue with regular expression Please Help Me :) dzordz 3 4,635 02-01-2013, 01:35 PM
Last Post: RA185112
  Square Bracket Issue - Regular Expression kapsig431 2 3,618 03-29-2012, 08:38 PM
Last Post: kapsig431
  Regular Exp for mm/dd/yyyy date format dheerajm 6 18,069 08-28-2009, 12:30 PM
Last Post: basanth27
Question How to chach no of characters in Textbox with the use of Reguler Exp. chetan-24 2 3,371 09-30-2008, 07:36 PM
Last Post: chetan-24

Forum Jump:


Users browsing this thread: 1 Guest(s)