<?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: Problem with method SET_LONG_TEXT, class CL_SALV_COLUMN. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138658#M1709264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help, but I have already checked these things, there is no such problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the internal tables inside class as well but could not find any thinng suspicious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Dec 2012 04:45:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-12-17T04:45:53Z</dc:date>
    <item>
      <title>Problem with method SET_LONG_TEXT, class CL_SALV_COLUMN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138656#M1709262</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;I am facing a weird problem with method SET_LONG_TEXT of class CL_SALV_COLUMN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For displaying header of my ALV report, I have used this method 22 times and it is working fine for 20 columns&lt;/P&gt;&lt;P&gt;but it is not setting the value properly for two columns in ES language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For these two columns the ALV takes data elements translataion and displays in header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debugger, I checked the values being passed to this Method and found it be correct,&lt;/P&gt;&lt;P&gt;the one that I wanted to display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the same time it is working fine all 22 columns in EN language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some one tackled the similar siltuation, please reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 16:43:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138656#M1709262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-14T16:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with method SET_LONG_TEXT, class CL_SALV_COLUMN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138657#M1709263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are ;you sure you have the column fieldname exactly correct in what you are supplying to the method to get the column name?&amp;nbsp; For example, look at demo program SALV_TEST_TABLE_COLUMNS.... where you will see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lr_column ?= lr_columns-&amp;gt;get_column( &lt;SPAN class="L0S33"&gt;'HYPERLINK' &lt;/SPAN&gt;).&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;++++++ this text has to exactly match your fieldname in upper case.&amp;nbsp; If not nothing will change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lr_column-&amp;gt;set_long_text( &lt;SPAN class="L0S33"&gt;'HYPERLINK' &lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;catch &lt;/SPAN&gt;cx_salv_not_found.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;"#EC NO_HANDLER&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; endtry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is an error because you did not supply the exact fieldname in your column retrieval, the actual column title will remain unchanged.... and since you're probably using try....endtry. and not looking to see if an exception was caught...you might not see that your fieldname is not correct and that the long text therefore remained unchanged.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 20:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138657#M1709263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-14T20:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with method SET_LONG_TEXT, class CL_SALV_COLUMN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138658#M1709264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help, but I have already checked these things, there is no such problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the internal tables inside class as well but could not find any thinng suspicious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 04:45:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138658#M1709264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-17T04:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with method SET_LONG_TEXT, class CL_SALV_COLUMN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138659#M1709265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ankit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are 21,22 column refering standard data element or custom data element?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked proper traslation maintained from EN to ES in the translation, check in data element menu path GO to -&amp;gt; translation original language EN Target Language ES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks/Gagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 04:58:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138659#M1709265</guid>
      <dc:creator>former_member194152</dc:creator>
      <dc:date>2012-12-17T04:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with method SET_LONG_TEXT, class CL_SALV_COLUMN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138660#M1709266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes Gagan, the variables are correctly set, I have checked the translatation in debugger as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with &lt;SPAN style="font-size: 10pt;"&gt;set_short_text and SET_MEDIUM_TEXT , but nothing is working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks a lot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 05:13:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138660#M1709266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-17T05:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with method SET_LONG_TEXT, class CL_SALV_COLUMN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138661#M1709267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.benx.de/benx(bD1lbiZjPTAwMQ==)/de/index.do?onInputProcessing(brai_thread)&amp;amp;001_thread_id=1992920"&gt;http://www.benx.de/benx(bD1lbiZjPTAwMQ==)/de/index.do?onInputProcessing(brai_thread)&amp;amp;001_thread_id=1992920&lt;/A&gt; &amp;amp;001_temp=R3TR|CLAS|CL_SALV_COLUMN|SET_LONG_TEXT|WD4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 05:22:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138661#M1709267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-17T05:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with method SET_LONG_TEXT, class CL_SALV_COLUMN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138662#M1709268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nikita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But its more cumbersome for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other idea, that colud may my code work...???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 05:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138662#M1709268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-17T05:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with method SET_LONG_TEXT, class CL_SALV_COLUMN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138663#M1709269</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;My problem got solved.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri; color: #1f497d; font-size: 12pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN lang="EN"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;It was taking the text with max length, among 　　Data Element’s Translation and Language translation, since the language translation was less in size so it was displaying 　　Data Element’s Translation.&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;I solved this problem by providing blank space.&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN lang="EN"&gt;Well, still its a workaround.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Probably it needs to be fixed by SAP.&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Thanking You All for helping.&lt;/P&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 06:07:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138663#M1709269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-17T06:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with method SET_LONG_TEXT, class CL_SALV_COLUMN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138664#M1709270</link>
      <description>&lt;P&gt;this problem can be solved by using &lt;STRONG&gt;'conv #' .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DATA: lo_column TYPE REF TO cl_salv_column.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;eg . &lt;/STRONG&gt; lo_column-&amp;gt;set_long_text( conv # ( text-002 ) ).&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 11:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138664#M1709270</guid>
      <dc:creator>former_member800181</dc:creator>
      <dc:date>2023-07-19T11:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with method SET_LONG_TEXT, class CL_SALV_COLUMN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138665#M1709271</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;dineshkumar1302&lt;/SPAN&gt; You can see that it's a 2012 question, 7.40 didn't exist at that time, and moreover it doesn't answer the question, SET_LONG_TEXT is not sufficient. Also don't post a comment if it corresponds to an answer. Avoid answering old questions, because usually (and unfortunately), the same question has been asked and answered many times, even recently.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 11:38:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-method-set-long-text-class-cl-salv-column/m-p/9138665#M1709271</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-07-19T11:38:30Z</dc:date>
    </item>
  </channel>
</rss>

