<?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: ALV Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154854#M750355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Delete the layout and create it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beacuse the layout created might be before you increased the size of the field&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;Rama.Pammi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rama Chary on Dec 27, 2007 7:19 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2007 13:41:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-27T13:41:55Z</dc:date>
    <item>
      <title>ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154848#M750349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one query in ALV fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using REUSE_ALV_FIELDCATALOG_MERGE &amp;amp; passing standard structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in that structure say ABC having field F1 having data type CHAR(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to increase the length of field F1 to 30. So, I have declared one field named say LV_F1 having length 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added appended that field i.e. LV_F1 in my fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have populated the data properly in my internal table ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After displaying output I am able to see field ABC-F1 in my output display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I change the layout &amp;amp; select my field LV_F1 i m getting dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody will give me suggestion pls??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 10:51:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154848#M750349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T10:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154849#M750350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u want to change the formatting u need to prepare fieldcatalog by yourself not using the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;ANUPAM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 10:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154849#M750350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T10:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154850#M750351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gupta,&lt;/P&gt;&lt;P&gt;If u want to change the any existing options like size,color etc,then u need to develop the "Field catalog" manually like&lt;/P&gt;&lt;P&gt;FLDCAT-FIELDNAME = 'VBELN'.&lt;/P&gt;&lt;P&gt;FLDCAT-SELTEXT_M = 'Sales Document'.&lt;/P&gt;&lt;P&gt;FLDCAT-COL_POS = 0.&lt;/P&gt;&lt;P&gt;*FLDCAT-EMPHASIZE = 'C411'.&lt;/P&gt;&lt;P&gt;FLDCAT-OUTPUTLEN = 20.&lt;/P&gt;&lt;P&gt;FLDCAT-KEY = 'X'.&lt;/P&gt;&lt;P&gt;FLDCAT-ICON = 'X'.&lt;/P&gt;&lt;P&gt;*FLDCAT-NO_OUT = 'X'.  "It hides the field from display&lt;/P&gt;&lt;P&gt;APPEND FLDCAT TO FLDCAT.&lt;/P&gt;&lt;P&gt;CLEAR FLDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FLDCAT-FIELDNAME = 'ERDAT'.&lt;/P&gt;&lt;P&gt;FLDCAT-SELTEXT_L = 'Record Date created'.&lt;/P&gt;&lt;P&gt;FLDCAT-COL_POS = 1.&lt;/P&gt;&lt;P&gt;FLDCAT-KEY = 'X'.&lt;/P&gt;&lt;P&gt;APPEND FLDCAT TO FLDCAT.&lt;/P&gt;&lt;P&gt;CLEAR FLDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FLDCAT-FIELDNAME = 'ERNAM'.&lt;/P&gt;&lt;P&gt;FLDCAT-SELTEXT_L = 'Cteated Object Person Name'.&lt;/P&gt;&lt;P&gt;FLDCAT-COL_POS = 2.&lt;/P&gt;&lt;P&gt;APPEND FLDCAT TO FLDCAT.&lt;/P&gt;&lt;P&gt;CLEAR FLDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FLDCAT-FIELDNAME = 'AUDAT'.&lt;/P&gt;&lt;P&gt;FLDCAT-SELTEXT_M = 'Document Date'.&lt;/P&gt;&lt;P&gt;FLDCAT-COL_POS = 3.&lt;/P&gt;&lt;P&gt;FLDCAT-EMPHASIZE = 'C110'.&lt;/P&gt;&lt;P&gt;APPEND FLDCAT TO FLDCAT.&lt;/P&gt;&lt;P&gt;CLEAR FLDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;later pass this "FLDCAT" to parameter "IT_FIELDCAT" in FM "REUSE_ALV_GRID_DISPLAY".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u hv any doubts regarding this,then feel free to ask.&lt;/P&gt;&lt;P&gt;Plz reward if it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;chandu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 11:54:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154850#M750351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T11:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154851#M750352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to create the field catalog manaually.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 12:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154851#M750352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T12:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154852#M750353</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;Yes it can be done through manually. Actually if I create fieldcatalog manually then I need to do it for 200 fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other suggestion for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 13:33:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154852#M750353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T13:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154853#M750354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I am not sure whether i understood properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If the field LV_F1,&lt;/P&gt;&lt;P&gt;    is not there in the internal table,&lt;/P&gt;&lt;P&gt;    then we should not add it in the field catalogue.  &lt;/P&gt;&lt;P&gt;   It will give error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. if u want to increase the field length (for display purpose),&lt;/P&gt;&lt;P&gt;  u can modify the field catalogue (for that field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalogue-output_len = 30.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 13:36:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154853#M750354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T13:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154854#M750355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Delete the layout and create it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beacuse the layout created might be before you increased the size of the field&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;Rama.Pammi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rama Chary on Dec 27, 2007 7:19 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 13:41:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154854#M750355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T13:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154855#M750356</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 think there is no need to create a new field with 30 length, eventhough if you create a new field with 30 char you will popluated newly created with initial field values, so it will also contain 10 char values only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have fieldcatalog merge FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at gt_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if gt_fieldcat-fieldname = 'F1'.&lt;/P&gt;&lt;P&gt;gt_fieldcat-outputlen = 30.&lt;/P&gt;&lt;P&gt;modify gt_fieldcat.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 13:46:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/3154855#M750356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T13:46:37Z</dc:date>
    </item>
  </channel>
</rss>

