<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: How to check SAP Element is editable or not in SAP mode? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-check-SAP-Element-is-editable-or-not-in-SAP-mode/m-p/49635#M5005</link>
    <description>&lt;P&gt;&lt;SPAN&gt;This code checks the editability of the specified textbox. You can modify the code and adjust the ID as per your SAP environment.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To check if a SAP textbox is editable, you can use code stage, it should look like:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="language-vb"&gt;&lt;CODE&gt;Dim SapGuiAuto  As Object
Dim Application As Object
Dim Connection  As Object
Dim session     As Object

SapGuiAuto  = GetObject("SAPGUI")
Application = SapGuiAuto.GetScriptingEngine
Connection = Application.Children(0)
session    = Connection.Children(0)

If session.findById("wnd[0]/usr/subDETAIL_AREA:SAPLCNPB_M:1010/subVIEW_AREA:SAPLCJWB:3998/tabsPTABSCR/tabpPGND/ssubSUBSCR2:SAPLCJWB:1205/ctxtPROJ-PWHIE").Changeable Then
  session.findById("wnd[0]/usr/subDETAIL_AREA:SAPLCNPB_M:1010/subVIEW_AREA:SAPLCJWB:3998/tabsPTABSCR/tabpPGND/ssubSUBSCR2:SAPLCJWB:1205/ctxtPROJ-PWHIE").Text = "NewValue"
Else
   MsgBox("The textbox is not changeable/editable.")
End If&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jerome Santiago - &lt;A href="https://www.linkedin.com/in/jerome-santiago-b9b272141/" target="test_blank"&gt;https://www.linkedin.com/in/jerome-santiago-b9b272141/&lt;/A&gt;&lt;BR /&gt;Automation Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 16 Jan 2024 22:21:00 GMT</pubDate>
    <dc:creator>jsantiago08</dc:creator>
    <dc:date>2024-01-16T22:21:00Z</dc:date>
    <item>
      <title>How to check SAP Element is editable or not in SAP mode?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-check-SAP-Element-is-editable-or-not-in-SAP-mode/m-p/49634#M5004</link>
      <description>&lt;P&gt;Dear Everyone&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; How to check SAP textbox is editable or not in SAP spy mode?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Or it can be check in other spy mode?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;James Li&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jan 2024 10:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-check-SAP-Element-is-editable-or-not-in-SAP-mode/m-p/49634#M5004</guid>
      <dc:creator>jamesli000</dc:creator>
      <dc:date>2024-01-10T10:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to check SAP Element is editable or not in SAP mode?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-check-SAP-Element-is-editable-or-not-in-SAP-mode/m-p/49635#M5005</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This code checks the editability of the specified textbox. You can modify the code and adjust the ID as per your SAP environment.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To check if a SAP textbox is editable, you can use code stage, it should look like:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="language-vb"&gt;&lt;CODE&gt;Dim SapGuiAuto  As Object
Dim Application As Object
Dim Connection  As Object
Dim session     As Object

SapGuiAuto  = GetObject("SAPGUI")
Application = SapGuiAuto.GetScriptingEngine
Connection = Application.Children(0)
session    = Connection.Children(0)

If session.findById("wnd[0]/usr/subDETAIL_AREA:SAPLCNPB_M:1010/subVIEW_AREA:SAPLCJWB:3998/tabsPTABSCR/tabpPGND/ssubSUBSCR2:SAPLCJWB:1205/ctxtPROJ-PWHIE").Changeable Then
  session.findById("wnd[0]/usr/subDETAIL_AREA:SAPLCNPB_M:1010/subVIEW_AREA:SAPLCJWB:3998/tabsPTABSCR/tabpPGND/ssubSUBSCR2:SAPLCJWB:1205/ctxtPROJ-PWHIE").Text = "NewValue"
Else
   MsgBox("The textbox is not changeable/editable.")
End If&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jerome Santiago - &lt;A href="https://www.linkedin.com/in/jerome-santiago-b9b272141/" target="test_blank"&gt;https://www.linkedin.com/in/jerome-santiago-b9b272141/&lt;/A&gt;&lt;BR /&gt;Automation Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jan 2024 22:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-check-SAP-Element-is-editable-or-not-in-SAP-mode/m-p/49635#M5005</guid>
      <dc:creator>jsantiago08</dc:creator>
      <dc:date>2024-01-16T22:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to check SAP Element is editable or not in SAP mode?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-check-SAP-Element-is-editable-or-not-in-SAP-mode/m-p/49636#M5006</link>
      <description>&lt;P&gt;Hello friend&lt;/P&gt;
&lt;P&gt;In SAP Spy mode, verifying textbox editability is crucial. Explore SAP's native features or consider alternative spy modes for a comprehensive check. Effective testing ensures smooth SAP functionality.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Thiagoros sharma&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jan 2024 08:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-check-SAP-Element-is-editable-or-not-in-SAP-mode/m-p/49636#M5006</guid>
      <dc:creator>Thiagorossharma</dc:creator>
      <dc:date>2024-01-17T08:37:00Z</dc:date>
    </item>
  </channel>
</rss>

