<?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: modifying table by selecting checkboxes  in basic list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-table-by-selecting-checkboxes-in-basic-list/m-p/2262462#M490542</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;Keep the conditions that a single check box has to be selected with in a row.&lt;/P&gt;&lt;P&gt;Sample like code : &lt;/P&gt;&lt;P&gt;for getting the selected checkboxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR v_lisel.&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    READ LINE sy-index FIELD VALUE v_chk.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    READ LINE sy-index FIELD VALUE sy-lisel INTO v_lisel.&lt;/P&gt;&lt;P&gt;    IF v_lisel+2(1) = ' ' AND sy-index GT 5.&lt;/P&gt;&lt;P&gt;      v_lisel+2(1) = 'X'.&lt;/P&gt;&lt;P&gt;      MODIFY LINE sy-index FIELD VALUE sy-lisel FROM v_lisel.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and picking up the documnet no of selected checkbox records&lt;/P&gt;&lt;P&gt;  REFRESH itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    CLEAR v_chk.&lt;/P&gt;&lt;P&gt;    READ LINE sy-index FIELD VALUE v_chk.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    IF v_chk = 'X'.&lt;/P&gt;&lt;P&gt;      lv_profi = sy-lisel+49(12).&lt;/P&gt;&lt;P&gt;       itab-profi = lv_profi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND  itab&lt;/P&gt;&lt;P&gt;      CLEAR   itab.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;  SORT itab BY profi.&lt;/P&gt;&lt;P&gt;  DELETE ADJACENT DUPLICATES FROM itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 27, 2008 6:21 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2007 06:25:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-24T06:25:09Z</dc:date>
    <item>
      <title>modifying table by selecting checkboxes  in basic list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-table-by-selecting-checkboxes-in-basic-list/m-p/2262459#M490539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a basic list whose first two fields are checkboxes. &lt;/P&gt;&lt;P&gt;I have to select only one checkbox from first list and can have multiple selections in second checkbox.&lt;/P&gt;&lt;P&gt;In a row only one checkbox can be selected. &lt;/P&gt;&lt;P&gt;Based on these selections i have to update a table with the other entries of my basic list.&lt;/P&gt;&lt;P&gt;how do i do it???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 05:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-table-by-selecting-checkboxes-in-basic-list/m-p/2262459#M490539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T05:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: modifying table by selecting checkboxes  in basic list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-table-by-selecting-checkboxes-in-basic-list/m-p/2262460#M490540</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 be more clear about what the checkboxes represent and what are the other columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont find any difficulty in looping on the internal table contents for both first and second list and update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 06:13:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-table-by-selecting-checkboxes-in-basic-list/m-p/2262460#M490540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T06:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: modifying table by selecting checkboxes  in basic list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-table-by-selecting-checkboxes-in-basic-list/m-p/2262461#M490541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mayur&lt;/P&gt;&lt;P&gt;   Can you please explain ur requirement thru screenshot for more clarity and better response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreeram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 06:23:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-table-by-selecting-checkboxes-in-basic-list/m-p/2262461#M490541</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-05-24T06:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: modifying table by selecting checkboxes  in basic list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-table-by-selecting-checkboxes-in-basic-list/m-p/2262462#M490542</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;Keep the conditions that a single check box has to be selected with in a row.&lt;/P&gt;&lt;P&gt;Sample like code : &lt;/P&gt;&lt;P&gt;for getting the selected checkboxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR v_lisel.&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    READ LINE sy-index FIELD VALUE v_chk.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    READ LINE sy-index FIELD VALUE sy-lisel INTO v_lisel.&lt;/P&gt;&lt;P&gt;    IF v_lisel+2(1) = ' ' AND sy-index GT 5.&lt;/P&gt;&lt;P&gt;      v_lisel+2(1) = 'X'.&lt;/P&gt;&lt;P&gt;      MODIFY LINE sy-index FIELD VALUE sy-lisel FROM v_lisel.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and picking up the documnet no of selected checkbox records&lt;/P&gt;&lt;P&gt;  REFRESH itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    CLEAR v_chk.&lt;/P&gt;&lt;P&gt;    READ LINE sy-index FIELD VALUE v_chk.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    IF v_chk = 'X'.&lt;/P&gt;&lt;P&gt;      lv_profi = sy-lisel+49(12).&lt;/P&gt;&lt;P&gt;       itab-profi = lv_profi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND  itab&lt;/P&gt;&lt;P&gt;      CLEAR   itab.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;  SORT itab BY profi.&lt;/P&gt;&lt;P&gt;  DELETE ADJACENT DUPLICATES FROM itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 27, 2008 6:21 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 06:25:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-table-by-selecting-checkboxes-in-basic-list/m-p/2262462#M490542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T06:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: modifying table by selecting checkboxes  in basic list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-table-by-selecting-checkboxes-in-basic-list/m-p/2262463#M490543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the transaction cj20n I had been asked to create a checkbox for multi well option which I have created. At the project level as well as the WBS level they want this checkbox which I have created. Now it is required that when chech box is checked, it should validate the remote sump field and populate it with valid location based on the DLS or NTS selection as radiobutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the checkbox is unchecked, it shld validate the surface location field and populate it,If DLS or NTS selected , it validates the surface loaction  with valid surface location based on DLS or NTS selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The coding for the screens are as follows , but I am not sure if it is correct as it dosent give the desired result.Kindly help me out a sits an urgent work given and help will be hihgly appreciated and rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the current functionality , if DLS or NTS selected and well ID populated, validate that the well ID adheres to the appropriate formatting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is for screen 600 similary I have done for screen 700 but I am not able to validate still  or get teh result. zzmulti_well is the field for new checkbox option created (multi well).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE check_0600_zsurflocn INPUT.&lt;/P&gt;&lt;P&gt;IF proj-zzmulti_well IS  INITIAL.&lt;/P&gt;&lt;P&gt;  IF proj-zzsurflocn IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    CASE 'X'.&lt;/P&gt;&lt;P&gt;      WHEN proj-zzdls.&lt;/P&gt;&lt;P&gt;        lv_result =  zcl_well=&amp;gt;check_dls_sr( location_id = proj-zzsurflocn ).&lt;/P&gt;&lt;P&gt;        IF lv_result IS INITIAL.&lt;/P&gt;&lt;P&gt;          MESSAGE e003(zwell). " Not a valid DLS surface location&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      WHEN proj-zznts.&lt;/P&gt;&lt;P&gt;        lv_result =  zcl_well=&amp;gt;check_nts_sr( location_id = proj-zzsurflocn ).&lt;/P&gt;&lt;P&gt;        IF lv_result IS INITIAL.&lt;/P&gt;&lt;P&gt;          MESSAGE e004(zwell). " Not a valid NTS surface location&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " check_0600_zsurflocn  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  check_0600_zremsump  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Remote sump validation.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE check_0600_zremsump INPUT.&lt;/P&gt;&lt;P&gt;IF proj-zzmulti_well IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;  IF proj-zzremsump IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    CASE 'X'.&lt;/P&gt;&lt;P&gt;      WHEN proj-zzdls.&lt;/P&gt;&lt;P&gt;        lv_result =  zcl_well=&amp;gt;check_dls_sr( location_id = proj-zzremsump ).&lt;/P&gt;&lt;P&gt;        IF lv_result IS INITIAL.&lt;/P&gt;&lt;P&gt;          MESSAGE e005(zwell).  " Not a valid DLS remote sump&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      WHEN proj-zznts.&lt;/P&gt;&lt;P&gt;        lv_result =  zcl_well=&amp;gt;check_nts_sr( location_id = proj-zzremsump ).&lt;/P&gt;&lt;P&gt;        IF lv_result IS INITIAL.&lt;/P&gt;&lt;P&gt;          MESSAGE e006(zwell).  " Not a valid NTS remote sump&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " check_0600_zremsump  INPUT&lt;/P&gt;&lt;P&gt;Kindly help pleaseeee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aarav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 23:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-table-by-selecting-checkboxes-in-basic-list/m-p/2262463#M490543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T23:07:34Z</dc:date>
    </item>
  </channel>
</rss>

