<?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: table control questions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710501#M310792</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;Are you in change mode of the "Element list" tab..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I am able to give the variable in the column "Name" for the 'OK' type field ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOTO SE51..Give the program and give a new screen 0999..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set the "Element list" radio button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press create..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the description..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the 'Element list' tab you will see only line..which is for the 'OK' type field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look for the same type field in your exiting screen..&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>Sun, 29 Oct 2006 22:30:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-29T22:30:49Z</dc:date>
    <item>
      <title>table control questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710493#M310784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) when i create a dynpro in abap and use the vertical scroll bar, sy-ucomm doesn't get reset. here is how you can test this. do something in a screen and check what sy-ucomm is (eg 'ENTER') then, F8. then, click on the vertical scroll bar. you will notice that the sy-ucomm is still set to 'ENTER'. you wouldn't think this would be an issue, but if you click on the vertical scroll bar, whatever you did before it, will happen again. this is an issue and i was wondering how other people get around this. thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) if you double click on a row in a table control and check the internal table, the field that holds the "checked on" itab-selkz is not on. but, if you do it a second time and check this field itab-selkz, it is on. why does this happen? i have three TCs on a screen and when i double click on a line item in one, i have to update another. to determine what i am doing, i loop at the itab to get this info. then, i write info to the third TC. any help on this woudl be great. &lt;/P&gt;&lt;P&gt;thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 18:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710493#M310784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T18:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: table control questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710494#M310785</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;1) Clear the ok-code..at the end of PBO...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;In the screen element list you would have assigned a variable name for the OK code..&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE XX..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CLEAR_OKCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CLEAR_OKCODE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;in the module clear the ok code variable.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; CLEAR: V_OKCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END MODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify the internal table with the selkz field in the internal table in PAI..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE UPDATE_SELKZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;in the module update the selkz..&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE UPDATE_SELKZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ITAB-SELKZ = SCR_FIELD-SELKZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODIFY ITAB TRANSPORTING SELKZ INDEX TC-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;where TC is the table control name.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END MODULE.&lt;/P&gt;&lt;P&gt;&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>Sun, 29 Oct 2006 19:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710494#M310785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T19:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: table control questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710495#M310786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the quick answer, but at some point in the pai i need to load sy-ucomm to the okcode. how will i know NOT to load the okcode when someone clicks on the vertical scroll bar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 20:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710495#M310786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T20:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: table control questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710496#M310787</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;You are clearing only in the PBO and not in the PAI..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user the does any action the ok code variable will automatically set in PAI..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Narendran Muthukumaran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 20:06:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710496#M310787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T20:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: table control questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710497#M310788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks again. i am confused. if i set a variable called v_okcode, i need to pass the sy-ucomm to it at some point in the pai, correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;again, i appreciate your help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is what i know. &lt;/P&gt;&lt;P&gt;in the pbo i clear out v_okcode(which was set at some time). but, in pai, i set the v_okcode with sy-ucomm. (if not, how does this get set and if someone clicks on the vertical scroll bar, what is v_okcode set with?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 21:44:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710497#M310788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T21:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: table control questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710498#M310789</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;No! It's wrong: you have to set the OK_CODE variable in the element list tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way the system stores automatically the value of functional code choosen by user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the you should check OK_CODE instead of SY-UCOMM is USER_COMMAND, after doing the action u have to clear OK_CODE variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND.&lt;/P&gt;&lt;P&gt;CASE OK_CODE.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can use a new variable a clear ok_code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND.&lt;/P&gt;&lt;P&gt;SAVE_OK_CODE = OK_CODE.&lt;/P&gt;&lt;P&gt;CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;CASE SAVE_OK_CODE.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 21:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710498#M310789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T21:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: table control questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710499#M310790</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;if you go SE51..Then give the program and the screen number..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then press the "Element list" radio button..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then press change..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the fourth column "Type of screen element" check the value for OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the corresponding third column "Name" give a name V_OKCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare the same field in the top include..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: V_OKCODE TYPE SYUCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By declaring this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable V_OKCODE will automatically be set with the sy-ucomm value...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your user command module..Use the variable V_OKCODE instead of SY-UCOMM..&lt;/P&gt;&lt;P&gt;&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>Sun, 29 Oct 2006 22:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710499#M310790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T22:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: table control questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710500#M310791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks. yes, i notice this before in the element list tab. i am there, and in change mode. all the other fields can be changed (they are white) but the OK type line is greyed out. i cannot add the new variable name to this 3rd field from the left. any ideas. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks. you are getting the full points for this help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 22:27:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710500#M310791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T22:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: table control questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710501#M310792</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;Are you in change mode of the "Element list" tab..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I am able to give the variable in the column "Name" for the 'OK' type field ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOTO SE51..Give the program and give a new screen 0999..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set the "Element list" radio button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press create..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the description..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the 'Element list' tab you will see only line..which is for the 'OK' type field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look for the same type field in your exiting screen..&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>Sun, 29 Oct 2006 22:30:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710501#M310792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T22:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: table control questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710502#M310793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, i am in change mode. i can change all other fields in the element list except, i cannot add the name to the ok type. any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 22:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710502#M310793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T22:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: table control questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710503#M310794</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 send me a screen shot of your change mode to my email address..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My email address is there in my business card..&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>Sun, 29 Oct 2006 22:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710503#M310794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T22:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: table control questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710504#M310795</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;I got your screen shot...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your screen a subscreen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a subscreen you will not get the field enabled..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the screen that is calling this subscreen..&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>Sun, 29 Oct 2006 22:52:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710504#M310795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T22:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: table control questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710505#M310796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that was it. the main screen is fine. the main screen shows the ok field and it is changeable. &lt;/P&gt;&lt;P&gt;thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 23:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-questions/m-p/1710505#M310796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T23:01:13Z</dc:date>
    </item>
  </channel>
</rss>

