<?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 Edit Table Controls in Exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/edit-table-controls-in-exit/m-p/5507491#M1259551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi .. Greetings to all,&lt;/P&gt;&lt;P&gt;Is it possible to edit the table controls in user exit...??&lt;/P&gt;&lt;P&gt;In exit ZXPADU03 for transaction PA40 , I have to change the table control's field property to display only mode for some users maintained in one table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had defined the control statement globally in ZXPADTOP :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTROLS: tc_menu_event TYPE TABLEVIEW USING SCREEN 2000.&lt;/P&gt;&lt;P&gt;DATA: tc_menu_event1 like TABLE OF tc_menu_event .&lt;/P&gt;&lt;P&gt;DATA: cols LIKE LINE OF tc_menu_event-cols .&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;MENU_TC&amp;gt; TYPE CXTAB_CONTROL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In exit ZXPADU03 I am trying with this code :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-TCODE = 'PA40'.&lt;/P&gt;&lt;P&gt;SET SCREEN 2000.&lt;/P&gt;&lt;P&gt;ASSIGN TC_MENU_EVENT TO &amp;lt;MENU_TC&amp;gt;.&lt;/P&gt;&lt;P&gt;LOOP AT TC_MENU_EVENT1-COLS INTO COLS.&lt;/P&gt;&lt;P&gt;IF COLS-SCREEN-NAME = 'RP50G-WERKS'.&lt;/P&gt;&lt;P&gt; COLS-SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is giving error during runtime on line ASSIGN TC_MENU_EVENT TO &amp;lt;MENU_TC&amp;gt;. that " This dynpro (2000) does not exist".&lt;/P&gt;&lt;P&gt;and I am unable to use "WITH CONTROL TC_MENU_EVENT" with loop as it is EXIT not in PBO or PAI module....&lt;/P&gt;&lt;P&gt;Please tell me how to solve this problem ....??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sourabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2009 13:14:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-28T13:14:24Z</dc:date>
    <item>
      <title>Edit Table Controls in Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/edit-table-controls-in-exit/m-p/5507491#M1259551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi .. Greetings to all,&lt;/P&gt;&lt;P&gt;Is it possible to edit the table controls in user exit...??&lt;/P&gt;&lt;P&gt;In exit ZXPADU03 for transaction PA40 , I have to change the table control's field property to display only mode for some users maintained in one table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had defined the control statement globally in ZXPADTOP :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTROLS: tc_menu_event TYPE TABLEVIEW USING SCREEN 2000.&lt;/P&gt;&lt;P&gt;DATA: tc_menu_event1 like TABLE OF tc_menu_event .&lt;/P&gt;&lt;P&gt;DATA: cols LIKE LINE OF tc_menu_event-cols .&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;MENU_TC&amp;gt; TYPE CXTAB_CONTROL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In exit ZXPADU03 I am trying with this code :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-TCODE = 'PA40'.&lt;/P&gt;&lt;P&gt;SET SCREEN 2000.&lt;/P&gt;&lt;P&gt;ASSIGN TC_MENU_EVENT TO &amp;lt;MENU_TC&amp;gt;.&lt;/P&gt;&lt;P&gt;LOOP AT TC_MENU_EVENT1-COLS INTO COLS.&lt;/P&gt;&lt;P&gt;IF COLS-SCREEN-NAME = 'RP50G-WERKS'.&lt;/P&gt;&lt;P&gt; COLS-SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is giving error during runtime on line ASSIGN TC_MENU_EVENT TO &amp;lt;MENU_TC&amp;gt;. that " This dynpro (2000) does not exist".&lt;/P&gt;&lt;P&gt;and I am unable to use "WITH CONTROL TC_MENU_EVENT" with loop as it is EXIT not in PBO or PAI module....&lt;/P&gt;&lt;P&gt;Please tell me how to solve this problem ....??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sourabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 13:14:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/edit-table-controls-in-exit/m-p/5507491#M1259551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T13:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Table Controls in Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/edit-table-controls-in-exit/m-p/5507492#M1259552</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;Get the values which you require from the importing parameters in the include into a global variable and then call the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call screen 9000.&lt;/P&gt;&lt;P&gt;Double click 9000 and then create screen.Then you can work as if you are working in normal module pool.&lt;/P&gt;&lt;P&gt;Use ctrl&lt;EM&gt;shift&lt;/EM&gt;F5(display object list) for seeing the related includes in the exit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 13:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/edit-table-controls-in-exit/m-p/5507492#M1259552</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2009-04-28T13:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Table Controls in Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/edit-table-controls-in-exit/m-p/5507493#M1259553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jayanthi,&lt;/P&gt;&lt;P&gt;              Thanks for the quick reply.&lt;/P&gt;&lt;P&gt;Actually I have no need to create new screen as my requirement is just to make a field of table in non editable mode which is present in standard screen (Table). &lt;/P&gt;&lt;P&gt;Only this code is enough if I am able to control the table screen elements in the exit...&lt;/P&gt;&lt;P&gt;      IF COLS-SCREEN-NAME = 'RP50G-WERKS'.&lt;/P&gt;&lt;P&gt;        COLS-SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;If i will create other screen ,,  lots of other coding is required again... and even more than tat that table is used for HR actions like transfer , promotion, hiring etc.. so it is linked and configured with so many other things also ....&lt;/P&gt;&lt;P&gt;Is this is the only possible solution, can it be done in any other way.... ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sourabh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sourabh Jain on Apr 28, 2009 4:21 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 13:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/edit-table-controls-in-exit/m-p/5507493#M1259553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T13:50:46Z</dc:date>
    </item>
  </channel>
</rss>

