<?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 display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892466#M1961597</link>
    <description>&lt;P&gt;I had to de-zoom at 33% to be able to read your question !&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2019 07:25:10 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2019-05-31T07:25:10Z</dc:date>
    <item>
      <title>alv display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892459#M1961590</link>
      <description>&lt;H1&gt;&lt;/H1&gt;
  &lt;P&gt;I've made a table and I want to display the table in alv where it'll show additional column , if the age is less than 5 it should display a5 in the field or if the age is between 5 to 10 it should display a10 and so on. do I have to write loop and where condition?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 11:39:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892459#M1961590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-29T11:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: alv display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892460#M1961591</link>
      <description>&lt;P&gt;Hi Bhavana,&lt;/P&gt;&lt;P&gt;You need to have one extra field in your output internal table which will be used to display ALV, and write the logic inside LOOP.. END LOOP and update the extra field.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Guru Prasad.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 16:22:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892460#M1961591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-29T16:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: alv display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892461#M1961592</link>
      <description>&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I tried writing logic inside the loop but it is not displaying anything in the added field.&lt;/P&gt;&lt;P&gt;Can you please share the logic? I also tried to use modify statement but it is still not working.&lt;/P&gt;&lt;P&gt;I am still a beginner and I googled it but I am still confused.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 07:39:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892461#M1961592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-30T07:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: alv display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892462#M1961593</link>
      <description>&lt;P&gt;Hi Bhavana,&lt;/P&gt;&lt;P&gt;Refer below basic logic, also attached output.&lt;/P&gt;&lt;P&gt;TYPES :&lt;BR /&gt;
 BEGIN OF ty_age,&lt;BR /&gt;
 age TYPE i,&lt;BR /&gt;
 text TYPE char4,&lt;BR /&gt;
 END OF ty_age.&lt;BR /&gt;
&lt;BR /&gt;
DATA :&lt;BR /&gt;
 it_age TYPE TABLE OF ty_age,&lt;BR /&gt;
 wa_age TYPE ty_age.&lt;BR /&gt;
&lt;BR /&gt;
wa_age-age = 4.&lt;BR /&gt;
APPEND wa_age TO it_age.&lt;BR /&gt;
&lt;BR /&gt;
wa_age-age = 10.&lt;BR /&gt;
APPEND wa_age TO it_age.&lt;BR /&gt;
&lt;BR /&gt;
wa_age-age = 12.&lt;BR /&gt;
APPEND wa_age TO it_age.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
LOOP AT it_age INTO wa_age.&lt;BR /&gt;
 IF wa_age-age BETWEEN 0 AND 4.&lt;BR /&gt;
 CONCATENATE 'a' '4' INTO wa_age-text.&lt;BR /&gt;
 ELSEIF wa_age-age BETWEEN 5 AND 10.&lt;BR /&gt;
 CONCATENATE 'a' '5' INTO wa_age-text.&lt;BR /&gt;
 ELSEIF wa_age-age BETWEEN 11 AND 15.&lt;BR /&gt;
 CONCATENATE 'a' '10' INTO wa_age-text.&lt;BR /&gt;
 ENDIF.&lt;BR /&gt;
 MODIFY it_age FROM wa_age TRANSPORTING text.&lt;BR /&gt;
&lt;BR /&gt;
ENDLOOP.&lt;BR /&gt;
&lt;BR /&gt;
LOOP AT it_age INTO wa_age.&lt;BR /&gt;
 WRITE : / , wa_age-age, space, wa_age-text.&lt;BR /&gt;
ENDLOOP.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Guru Prasad.&lt;A href="https://answers.sap.com/storage/attachments/1691646-output.png"&gt;output.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 09:19:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892462#M1961593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-30T09:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: alv display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892463#M1961594</link>
      <description>&lt;P&gt;Thankyou this was helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 09:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892463#M1961594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-30T09:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: alv display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892464#M1961595</link>
      <description>&lt;P&gt;Could you possibly change the font in the question? I almost had a heart attack when the tab opened... &lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 18:15:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892464#M1961595</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2019-05-30T18:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: alv display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892465#M1961596</link>
      <description>&lt;P&gt;I'm sorry about the font. I am not sure how I should change it.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 07:20:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892465#M1961596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-31T07:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: alv display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892466#M1961597</link>
      <description>&lt;P&gt;I had to de-zoom at 33% to be able to read your question !&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 07:25:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892466#M1961597</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-05-31T07:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: alv display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892467#M1961598</link>
      <description>&lt;P&gt;Sorry for the inconvenience. I was able to remove the format of your text by using a plain text editor. I'll bring this up with IT.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 15:05:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/11892467#M1961598</guid>
      <dc:creator>claudiapacheco</dc:creator>
      <dc:date>2019-05-31T15:05:22Z</dc:date>
    </item>
  </channel>
</rss>

