<?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 DUMP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump/m-p/2785073#M649288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am prepared the ALV code using custom container to display the fields in the output and to edit the field values in the output. Totally I am displaying 10 fields in the output among those 10 fields only 4 fields I want to display in edit mode remaining fields I want to display in grey mode I mean in non editable mode. I am using the following code for the fields which I want to display in grey mode but it is giving dump and the error message is &amp;#145;Error inserting into or changing a sorted table&amp;#146; and the error analysis is as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You tried to insert or change a line at position 2 in the internal&lt;/P&gt;&lt;P&gt;table "\PROGRAM=YTESTING_ONLINE_GOODS_RECIEPT\DATA=WA_OUTPUT-FIELD_STYLE" (of&lt;/P&gt;&lt;P&gt; the kind SORTED_TABLE).&lt;/P&gt;&lt;P&gt;This violated the sort sequence of the table, which was laid down when&lt;/P&gt;&lt;P&gt;the table was declared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code I have written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM set_specific_field_attributes .&lt;/P&gt;&lt;P&gt;  DATA: gv_stylerow TYPE lvc_s_styl.&lt;/P&gt;&lt;P&gt;  DATA: gv_styletab TYPE lvc_t_styl.&lt;/P&gt;&lt;P&gt;  LOOP AT it_output INTO wa_output.&lt;/P&gt;&lt;P&gt;    gv_stylerow-fieldname = 'AUFNR'.&lt;/P&gt;&lt;P&gt;    gv_stylerow-style     = cl_gui_alv_grid=&amp;gt;mc_style_disabled.&lt;/P&gt;&lt;P&gt;    APPEND gv_stylerow TO wa_output-field_style.&lt;/P&gt;&lt;P&gt;    MODIFY it_output FROM wa_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    gv_stylerow-fieldname = 'RUECK'.&lt;/P&gt;&lt;P&gt;    gv_stylerow-style     = cl_gui_alv_grid=&amp;gt;mc_style_disabled.&lt;/P&gt;&lt;P&gt;    APPEND gv_stylerow TO wa_output-field_style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    gv_stylerow-fieldname = 'KUNNR'.&lt;/P&gt;&lt;P&gt;    gv_stylerow-style     = cl_gui_alv_grid=&amp;gt;mc_style_disabled.&lt;/P&gt;&lt;P&gt;    APPEND gv_stylerow TO wa_output-field_style.&lt;/P&gt;&lt;P&gt;    MODIFY it_output FROM wa_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    gv_stylerow-fieldname = 'NAME1'.&lt;/P&gt;&lt;P&gt;    gv_stylerow-style     = cl_gui_alv_grid=&amp;gt;mc_style_disabled.&lt;/P&gt;&lt;P&gt;    APPEND gv_stylerow TO wa_output-field_style.&lt;/P&gt;&lt;P&gt;    MODIFY it_output FROM wa_output.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   gv_stylerow-fieldname = 'MATNR'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   gv_stylerow-style     = cl_gui_alv_grid=&amp;gt;mc_style_disabled.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   APPEND gv_stylerow TO wa_output-field_style.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MODIFY it_output FROM wa_output TRANSPORTING field_style.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   gv_stylerow-fieldname = 'MAKTX'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   gv_stylerow-style     = cl_gui_alv_grid=&amp;gt;mc_style_disabled.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   APPEND gv_stylerow TO wa_output-field_style.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MODIFY it_output FROM wa_output TRANSPORTING field_style.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me where I done mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2007 07:47:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-30T07:47:27Z</dc:date>
    <item>
      <title>DUMP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump/m-p/2785073#M649288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am prepared the ALV code using custom container to display the fields in the output and to edit the field values in the output. Totally I am displaying 10 fields in the output among those 10 fields only 4 fields I want to display in edit mode remaining fields I want to display in grey mode I mean in non editable mode. I am using the following code for the fields which I want to display in grey mode but it is giving dump and the error message is &amp;#145;Error inserting into or changing a sorted table&amp;#146; and the error analysis is as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You tried to insert or change a line at position 2 in the internal&lt;/P&gt;&lt;P&gt;table "\PROGRAM=YTESTING_ONLINE_GOODS_RECIEPT\DATA=WA_OUTPUT-FIELD_STYLE" (of&lt;/P&gt;&lt;P&gt; the kind SORTED_TABLE).&lt;/P&gt;&lt;P&gt;This violated the sort sequence of the table, which was laid down when&lt;/P&gt;&lt;P&gt;the table was declared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code I have written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM set_specific_field_attributes .&lt;/P&gt;&lt;P&gt;  DATA: gv_stylerow TYPE lvc_s_styl.&lt;/P&gt;&lt;P&gt;  DATA: gv_styletab TYPE lvc_t_styl.&lt;/P&gt;&lt;P&gt;  LOOP AT it_output INTO wa_output.&lt;/P&gt;&lt;P&gt;    gv_stylerow-fieldname = 'AUFNR'.&lt;/P&gt;&lt;P&gt;    gv_stylerow-style     = cl_gui_alv_grid=&amp;gt;mc_style_disabled.&lt;/P&gt;&lt;P&gt;    APPEND gv_stylerow TO wa_output-field_style.&lt;/P&gt;&lt;P&gt;    MODIFY it_output FROM wa_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    gv_stylerow-fieldname = 'RUECK'.&lt;/P&gt;&lt;P&gt;    gv_stylerow-style     = cl_gui_alv_grid=&amp;gt;mc_style_disabled.&lt;/P&gt;&lt;P&gt;    APPEND gv_stylerow TO wa_output-field_style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    gv_stylerow-fieldname = 'KUNNR'.&lt;/P&gt;&lt;P&gt;    gv_stylerow-style     = cl_gui_alv_grid=&amp;gt;mc_style_disabled.&lt;/P&gt;&lt;P&gt;    APPEND gv_stylerow TO wa_output-field_style.&lt;/P&gt;&lt;P&gt;    MODIFY it_output FROM wa_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    gv_stylerow-fieldname = 'NAME1'.&lt;/P&gt;&lt;P&gt;    gv_stylerow-style     = cl_gui_alv_grid=&amp;gt;mc_style_disabled.&lt;/P&gt;&lt;P&gt;    APPEND gv_stylerow TO wa_output-field_style.&lt;/P&gt;&lt;P&gt;    MODIFY it_output FROM wa_output.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   gv_stylerow-fieldname = 'MATNR'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   gv_stylerow-style     = cl_gui_alv_grid=&amp;gt;mc_style_disabled.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   APPEND gv_stylerow TO wa_output-field_style.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MODIFY it_output FROM wa_output TRANSPORTING field_style.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   gv_stylerow-fieldname = 'MAKTX'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   gv_stylerow-style     = cl_gui_alv_grid=&amp;gt;mc_style_disabled.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   APPEND gv_stylerow TO wa_output-field_style.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MODIFY it_output FROM wa_output TRANSPORTING field_style.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me where I done mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 07:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump/m-p/2785073#M649288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T07:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: DUMP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump/m-p/2785074#M649289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you post the complete code please...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 07:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump/m-p/2785074#M649289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T07:53:14Z</dc:date>
    </item>
  </channel>
</rss>

