Quantcast
Channel: SCN: Message List - SAP GUI
Viewing all articles
Browse latest Browse all 6448

SAP GUI Script How to find next available row when no add icon on screen

$
0
0

I am creating a script imbedded in Excel to add contacts in transaction XD02 (Change Customer). The contact tab does not have an add icon so how would I find the next available row?  I have tried the following statement in an attempt to get the value of the contact but it fails:

 

'Contact Tab if the first entry contains data then check the next and so on until a blank contact name is present

 

session.FindById("wnd[0]/usr/subSUBTAB:SAPLATAB:0100/tabsTABSTRIP100/tabpTAB07").Select

 

ReturnValue = session.FindById("wnd[0]/usr/subSUBTAB:SAPLATAB:0100/tabsTABSTRIP100/tabpTAB07/ssubSUBSC:SAPLATAB:0201/subAREA1:SAPMF02D:7360/tblSAPMF02DTCTRL_ANSPRECHPARTNER/txtKNVK-NAME1[1,0]").getCellValue(1, 0)


Viewing all articles
Browse latest Browse all 6448

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>