<?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 Problem with CL_ALV_GRID in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-alv-grid/m-p/8123892#M1618687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program where I have used CL_ALV_GRID , the problem is that the data displayed on the screen within the container grid is correct, but when I export it on my disk i.e export local file &amp;gt; Spread Sheet the data for Lifnr is incorrect(the last number for all line item is trucated). Can you please let me the reason why so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of the 9 digits shown on screen only 8 digits are there in xls that is generated for lifnr column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output as xls --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A part of the xls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Group	Vendor	Pre.A/c No.	P.Org&lt;/P&gt;&lt;P&gt;			&lt;/P&gt;&lt;P&gt;YKRD	&lt;STRONG&gt;15080771&lt;/STRONG&gt;	3007710	BYPH&lt;/P&gt;&lt;P&gt;YKRD	&lt;STRONG&gt;15080771&lt;/STRONG&gt;	3007710	BYPH&lt;/P&gt;&lt;P&gt;YKRD	&lt;STRONG&gt;15080934&lt;/STRONG&gt;	3009345	BYPH&lt;/P&gt;&lt;P&gt;YKRD	&lt;STRONG&gt;15080783&lt;/STRONG&gt;	3007838	BYPH&lt;/P&gt;&lt;P&gt;YKRD	&lt;STRONG&gt;15080783&lt;/STRONG&gt;	3007838	BYPH&lt;/P&gt;&lt;P&gt;YKRD	42		BYPH&lt;/P&gt;&lt;P&gt;YKRD	42		BYPH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2011 04:30:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-16T04:30:23Z</dc:date>
    <item>
      <title>Problem with CL_ALV_GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-alv-grid/m-p/8123892#M1618687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program where I have used CL_ALV_GRID , the problem is that the data displayed on the screen within the container grid is correct, but when I export it on my disk i.e export local file &amp;gt; Spread Sheet the data for Lifnr is incorrect(the last number for all line item is trucated). Can you please let me the reason why so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of the 9 digits shown on screen only 8 digits are there in xls that is generated for lifnr column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output as xls --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A part of the xls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Group	Vendor	Pre.A/c No.	P.Org&lt;/P&gt;&lt;P&gt;			&lt;/P&gt;&lt;P&gt;YKRD	&lt;STRONG&gt;15080771&lt;/STRONG&gt;	3007710	BYPH&lt;/P&gt;&lt;P&gt;YKRD	&lt;STRONG&gt;15080771&lt;/STRONG&gt;	3007710	BYPH&lt;/P&gt;&lt;P&gt;YKRD	&lt;STRONG&gt;15080934&lt;/STRONG&gt;	3009345	BYPH&lt;/P&gt;&lt;P&gt;YKRD	&lt;STRONG&gt;15080783&lt;/STRONG&gt;	3007838	BYPH&lt;/P&gt;&lt;P&gt;YKRD	&lt;STRONG&gt;15080783&lt;/STRONG&gt;	3007838	BYPH&lt;/P&gt;&lt;P&gt;YKRD	42		BYPH&lt;/P&gt;&lt;P&gt;YKRD	42		BYPH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 04:30:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-alv-grid/m-p/8123892#M1618687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-16T04:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CL_ALV_GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-alv-grid/m-p/8123893#M1618688</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;Check if your fieldcat is filled properly. Especially elements related with length or data type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 10:48:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-alv-grid/m-p/8123893#M1618688</guid>
      <dc:creator>huseyindereli</dc:creator>
      <dc:date>2011-09-16T10:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CL_ALV_GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-alv-grid/m-p/8123894#M1618689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Field Catalog is correct as the Field is DDIC structure, more over the output on the screen is correctly display  but not when exported. I did note that  the Vendor Column is Numeric in excel as everything is right aligned by default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 09:25:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-alv-grid/m-p/8123894#M1618689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-19T09:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CL_ALV_GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-alv-grid/m-p/8123895#M1618690</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;Can you try changing the output length of the field ( DD_OUTLEN ) in structure LVC_S_FCAT while populating the field catelogue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 09:47:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-alv-grid/m-p/8123895#M1618690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-19T09:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CL_ALV_GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-alv-grid/m-p/8123896#M1618691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Solution I found my self is that The Column header should alway have the no. of character greater than what is specifoed in DDIC Data element .&lt;/P&gt;&lt;P&gt;Example FOr Lifnr the length in  Data element of Lfa1 /lfb1 is mentioned as 10 , so you column header name should be greater than that Like ' Vendor No. ' (11 including the space/s)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 16:17:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-alv-grid/m-p/8123896#M1618691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-19T16:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CL_ALV_GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-alv-grid/m-p/8123897#M1618692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Solution I found my self is that The Column header should alway have the no. of character greater than what is specifoed in DDIC Data element .&lt;/P&gt;&lt;P&gt;Example FOr Lifnr the length in  Data element of Lfa1 /lfb1 is mentioned as 10 , so you column header name should be greater than that Like ' Vendor No. ' (11 including the space/s)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 16:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-alv-grid/m-p/8123897#M1618692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-19T16:17:50Z</dc:date>
    </item>
  </channel>
</rss>

