<?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 Table maintainance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance/m-p/2315962#M507844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have created a report which is with a selection screen for Contract Account. Then i am passing this Contract account value to the Function Module 'VIEW_MAINTENANCE_CALL' and calling SM30 of a Z table. in short i have made a selection screen for table and then called a SM30 for that table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my q is that i donn want to show the some of the fields as editable. Now as my prog is calling the SM30 code i have to made editions in the Table maintainace code generated for that particular table. Can somebody pleas guide me how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance...&lt;/P&gt;&lt;P&gt;jai...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2007 18:20:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-14T18:20:03Z</dc:date>
    <item>
      <title>Table maintainance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance/m-p/2315962#M507844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have created a report which is with a selection screen for Contract Account. Then i am passing this Contract account value to the Function Module 'VIEW_MAINTENANCE_CALL' and calling SM30 of a Z table. in short i have made a selection screen for table and then called a SM30 for that table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my q is that i donn want to show the some of the fields as editable. Now as my prog is calling the SM30 code i have to made editions in the Table maintainace code generated for that particular table. Can somebody pleas guide me how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance...&lt;/P&gt;&lt;P&gt;jai...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 18:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance/m-p/2315962#M507844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T18:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintainance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance/m-p/2315963#M507845</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;  Go to the transaction SE51..And give the program name and screen number..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Press change..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Choose the layout..Then make it as output field in the field attributes..&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, 14 May 2007 18:26:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance/m-p/2315963#M507845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T18:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintainance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance/m-p/2315964#M507846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the below example code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Table diclaration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;tables: tvdir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Add values to list box&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;  type-pools: vrm.&lt;/P&gt;&lt;P&gt;  data: name  type vrm_id,&lt;/P&gt;&lt;P&gt;        list  type vrm_values,&lt;/P&gt;&lt;P&gt;        value like line of list.&lt;/P&gt;&lt;P&gt;  name = 'P_TABNM'.&lt;/P&gt;&lt;P&gt;  refresh list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'V_024'.&lt;/P&gt;&lt;P&gt;  value-text = text-002. "'V_024-Purchasing Groups'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'V_T024D'.&lt;/P&gt;&lt;P&gt;  value-text = text-003. "'V_T024D-MRP Controllers'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'ZT604'.&lt;/P&gt;&lt;P&gt;  value-text = text-004. "'T604-Commodity Codes'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'T179'.&lt;/P&gt;&lt;P&gt;  value-text = text-005. "'T179-Product Hierarchies'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'TVM1T'.&lt;/P&gt;&lt;P&gt;  value-text = text-006. "'TVM1T-Business Manager'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'TVM2T'.&lt;/P&gt;&lt;P&gt;  value-text = text-007. "'TVM2T-Division manager'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'TVM3T'.&lt;/P&gt;&lt;P&gt;  value-text = text-008. "'TVM3T-Director'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'V_TVV2'.&lt;/P&gt;&lt;P&gt;  value-text = text-009. "'V_TVV2-Customer Group 2'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            id     = name&lt;/P&gt;&lt;P&gt;            values = list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Selection screento table View&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  selection-screen skip 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  parameter p_tabnm(30) as listbox visible length 30 obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  selection-screen skip 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  selection-screen begin of block s1 with frame title text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  parameter: p_radio1 radiobutton group g1,&lt;/P&gt;&lt;P&gt;             p_radio radiobutton group g1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  selection-screen end of block s1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Get flag of corresponding table view&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  select single tabname flag from tvdir into tvdir&lt;/P&gt;&lt;P&gt;                where tabname = p_tabnm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Set flag of corresponding table view&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if p_radio1 eq 'X'.&lt;/P&gt;&lt;P&gt;    if tvdir-flag ne 'X'.&lt;/P&gt;&lt;P&gt;      update tvdir set: flag  = 'X'&lt;/P&gt;&lt;P&gt;                 where tabname = p_tabnm.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if p_radio eq 'X'.&lt;/P&gt;&lt;P&gt;    if tvdir-flag eq 'X'.&lt;/P&gt;&lt;P&gt;      update tvdir set: flag  = ''&lt;/P&gt;&lt;P&gt;                   where tabname = p_tabnm.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Execute View/Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'VIEW_MAINTENANCE_CALL'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      action                               = 'U'&lt;/P&gt;&lt;P&gt;      view_name                            = p_tabnm&lt;/P&gt;&lt;P&gt;   exceptions&lt;/P&gt;&lt;P&gt;     client_reference                     = 1&lt;/P&gt;&lt;P&gt;     foreign_lock                         = 2&lt;/P&gt;&lt;P&gt;     invalid_action                       = 3&lt;/P&gt;&lt;P&gt;     no_clientindependent_auth            = 4&lt;/P&gt;&lt;P&gt;     no_database_function                 = 5&lt;/P&gt;&lt;P&gt;     no_editor_function                   = 6&lt;/P&gt;&lt;P&gt;     no_show_auth                         = 7&lt;/P&gt;&lt;P&gt;     no_tvdir_entry                       = 8&lt;/P&gt;&lt;P&gt;     no_upd_auth                          = 9&lt;/P&gt;&lt;P&gt;     only_show_allowed                    = 10&lt;/P&gt;&lt;P&gt;     system_failure                       = 11&lt;/P&gt;&lt;P&gt;     unknown_field_in_dba_sellist         = 12&lt;/P&gt;&lt;P&gt;     view_not_found                       = 13&lt;/P&gt;&lt;P&gt;     others                               = 14.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Reset flag of corresponding table view&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  update tvdir set: flag  = tvdir-flag&lt;/P&gt;&lt;P&gt;                where tabname = p_tabnm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 18:32:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance/m-p/2315964#M507846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T18:32:39Z</dc:date>
    </item>
  </channel>
</rss>

