Skip to Content

no content in chkRC29P-STLKZ[7,0] when reading CS01 BOM table

I'm using SAP GUI VBS script for reading CS01 BOM table. Other commands are working fine, but if I'm using the following command "session.findById("wnd[0]/usr/tabsTS_ITOV/tabpTCMA/ssubSUBPAGE:SAPLCSDI:0152/tblSAPLCSDITCMAT/chkRC29P-STLKZ[7,0]").text" to read entries in column "Indicator: assembly" then I get no value while the line is one time ticked and one time not ticked. What can I do to get a value, if the field is ticked?

example.jpg (274.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 21, 2017 at 03:05 PM

    Hello again,

    Meanwhile I found the answer in the blog "Read check boxes and radio buttons from display Transaction".

    I just have to change from

    session.findById("wnd[0]/usr/tabsTS_ITOV/tabpTCMA/ssubSUBPAGE:SAPLCSDI:0152/tblSAPLCSDITCMAT/chkRC29P-STLKZ[7,0]").text

    to

    session.findById("wnd[0]/usr/tabsTS_ITOV/tabpTCMA/ssubSUBPAGE:SAPLCSDI:0152/tblSAPLCSDITCMAT/chkRC29P-STLKZ[7,0]").selected

    thanks & kind regards

    Marco


    Add comment
    10|10000 characters needed characters exceeded