<?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: checkbox with user-command in list processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-with-user-command-in-list-processing/m-p/5300129#M1222389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Test the following Sample Code hope will help you to solve out your problem use &lt;STRONG&gt;AT LINE-SELECTION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: check1 TYPE c LENGTH 1 VALUE 'X'.

START-OF-SELECTION.
  WRITE: / check1 AS CHECKBOX, 'Checkbox 1'.

AT LINE-SELECTION.
  WRITE: 'Ok'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2009 15:39:56 GMT</pubDate>
    <dc:creator>faisalatsap</dc:creator>
    <dc:date>2009-03-16T15:39:56Z</dc:date>
    <item>
      <title>checkbox with user-command in list processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-with-user-command-in-list-processing/m-p/5300127#M1222387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm writing a checkbox in my list-processing as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WRITE:/1  check AS CHECKBOX.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once i click the checkbox in list-processing i want to perform immediate action for the entry clicked.&lt;/P&gt;&lt;P&gt;I tried to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WRITE:/1   check AS CHECKBOX USER-COMMAND 'TICK'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it can't get through syntax check. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please comment if able is achiveable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 14:56:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-with-user-command-in-list-processing/m-p/5300127#M1222387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T14:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox with user-command in list processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-with-user-command-in-list-processing/m-p/5300128#M1222388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try...having text next to the checkbox and for the text have a HOTSPOT..So that when you click the hotspot you can check the checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 15:05:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-with-user-command-in-list-processing/m-p/5300128#M1222388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T15:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox with user-command in list processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-with-user-command-in-list-processing/m-p/5300129#M1222389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Test the following Sample Code hope will help you to solve out your problem use &lt;STRONG&gt;AT LINE-SELECTION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: check1 TYPE c LENGTH 1 VALUE 'X'.

START-OF-SELECTION.
  WRITE: / check1 AS CHECKBOX, 'Checkbox 1'.

AT LINE-SELECTION.
  WRITE: 'Ok'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 15:39:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-with-user-command-in-list-processing/m-p/5300129#M1222389</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-03-16T15:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox with user-command in list processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-with-user-command-in-list-processing/m-p/5300130#M1222390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the statement below.. hope it solves your issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WRITE  check as checkbox HOTSPOT ON.

AT LINE-SELECTION.     " In this event write code that you want to process when clicked on checkbox&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 15:47:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-with-user-command-in-list-processing/m-p/5300130#M1222390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T15:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox with user-command in list processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-with-user-command-in-list-processing/m-p/5300131#M1222391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: check.

* Display
WRITE:  check AS CHECKBOX,
       'Checkbox' HOTSPOT ON.

AT LINE-SELECTION.

* Check the checkbox.
  READ LINE 1.
  IF sy-lisel(1) IS INITIAL.
    sy-lisel(1) = 'X'.  " Check
  ELSE.
    sy-lisel(1) = ''.   " Uncheck
  ENDIF.
  MODIFY LINE 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 15:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-with-user-command-in-list-processing/m-p/5300131#M1222391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T15:55:17Z</dc:date>
    </item>
  </channel>
</rss>

