Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 2136

[VBA] Reading data in non-editable fields

$
0
0

Hi everyone,

 

I'm looking for a way for my VBA script to read the content of greyed out fields in VA01.

Example of fields that I have in mind:

 

1.PNG

 

Normally I am able to find the path by recording the content edition and pulling it from the recorded macro like below:

 

session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\02/ssubSUBSCREEN_BODY:SAPMV45A:4401/subSUBSCREEN_TC:SAPMV45A:4900/tblSAPMV45ATCTRL_U_ERF_AUFTRAG/ctxtRV45A-MABNR[1," & j & "]").Text = Sheets("Order").Cells(i, 1)

How can I read the locked fields? I can't simply edit and record to find the path and knowing the table doesn't help either since replacing the table and position in the above code doesn't seem to work either.

 

Your help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 2136

Trending Articles



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