<?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 Displaying Data in ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-data-in-alv/m-p/8090888#M1615407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario where i want to display data in ALV.&lt;/P&gt;&lt;P&gt;But I have to display op by working on different internal tables.&lt;/P&gt;&lt;P&gt;Mean it is not straight one internal table which i can pass to "REUSE_ALV_GRID_DISPLAY".&lt;/P&gt;&lt;P&gt;Following is my code to display output. Please tell me how can i display the same o/p in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_FINAL2 INTO WA_FINAL2." this table contains all the sales offices.&lt;/P&gt;&lt;P&gt;TOTAL_SUM = 0.&lt;/P&gt;&lt;P&gt;TOTAL_TARGET = 0.&lt;/P&gt;&lt;P&gt;TOTAL_VARIANCE = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:5 'Sales Office Code:', WA_FINAL2-VKBUR, 60'Sales Office Name:', WA_FINAL2-BEZEI.&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/5 'MONTH',&lt;/P&gt;&lt;P&gt;59'SALES',&lt;/P&gt;&lt;P&gt;89'TARGET SALES',&lt;/P&gt;&lt;P&gt;139'VARIANCE(In %)'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_FINAL INTO WA_FINAL WHERE VKBUR = WA_FINAL2-VKBUR." this table contains sales data.&lt;/P&gt;&lt;P&gt;TOTAL_SUM = TOTAL_SUM + WA_FINAL-SUM.&lt;/P&gt;&lt;P&gt;TOTAL_TARGET = TOTAL_TARGET + WA_FINAL-TARGET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/5 WA_FINAL-MONTHNAME,&lt;/P&gt;&lt;P&gt;45 WA_FINAL-SUM,&lt;/P&gt;&lt;P&gt;80 WA_FINAL-TARGET,&lt;/P&gt;&lt;P&gt;120 WA_FINAL-VARIANCE.&lt;/P&gt;&lt;P&gt;ENDLOOP."end for it_final&lt;/P&gt;&lt;P&gt;ULINE.&lt;/P&gt;&lt;P&gt;TOTAL_VARIANCE = ( ( TOTAL_SUM * 100 ) / TOTAL_TARGET ) - 100.&lt;/P&gt;&lt;P&gt;WRITE: /5 'TOTAL',&lt;/P&gt;&lt;P&gt;45 TOTAL_SUM,&lt;/P&gt;&lt;P&gt;80 TOTAL_TARGET,&lt;/P&gt;&lt;P&gt;120 TOTAL_VARIANCE.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;ENDLOOP."end for it_final2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator Message: First try to figure your own logic &amp;amp; get back to the forums in case you face any difficulty. Don't expect others to spoonfeed you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jul 20, 2011 2:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2011 08:54:42 GMT</pubDate>
    <dc:creator>former_member925838</dc:creator>
    <dc:date>2011-07-20T08:54:42Z</dc:date>
    <item>
      <title>Displaying Data in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-data-in-alv/m-p/8090888#M1615407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario where i want to display data in ALV.&lt;/P&gt;&lt;P&gt;But I have to display op by working on different internal tables.&lt;/P&gt;&lt;P&gt;Mean it is not straight one internal table which i can pass to "REUSE_ALV_GRID_DISPLAY".&lt;/P&gt;&lt;P&gt;Following is my code to display output. Please tell me how can i display the same o/p in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_FINAL2 INTO WA_FINAL2." this table contains all the sales offices.&lt;/P&gt;&lt;P&gt;TOTAL_SUM = 0.&lt;/P&gt;&lt;P&gt;TOTAL_TARGET = 0.&lt;/P&gt;&lt;P&gt;TOTAL_VARIANCE = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:5 'Sales Office Code:', WA_FINAL2-VKBUR, 60'Sales Office Name:', WA_FINAL2-BEZEI.&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/5 'MONTH',&lt;/P&gt;&lt;P&gt;59'SALES',&lt;/P&gt;&lt;P&gt;89'TARGET SALES',&lt;/P&gt;&lt;P&gt;139'VARIANCE(In %)'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_FINAL INTO WA_FINAL WHERE VKBUR = WA_FINAL2-VKBUR." this table contains sales data.&lt;/P&gt;&lt;P&gt;TOTAL_SUM = TOTAL_SUM + WA_FINAL-SUM.&lt;/P&gt;&lt;P&gt;TOTAL_TARGET = TOTAL_TARGET + WA_FINAL-TARGET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/5 WA_FINAL-MONTHNAME,&lt;/P&gt;&lt;P&gt;45 WA_FINAL-SUM,&lt;/P&gt;&lt;P&gt;80 WA_FINAL-TARGET,&lt;/P&gt;&lt;P&gt;120 WA_FINAL-VARIANCE.&lt;/P&gt;&lt;P&gt;ENDLOOP."end for it_final&lt;/P&gt;&lt;P&gt;ULINE.&lt;/P&gt;&lt;P&gt;TOTAL_VARIANCE = ( ( TOTAL_SUM * 100 ) / TOTAL_TARGET ) - 100.&lt;/P&gt;&lt;P&gt;WRITE: /5 'TOTAL',&lt;/P&gt;&lt;P&gt;45 TOTAL_SUM,&lt;/P&gt;&lt;P&gt;80 TOTAL_TARGET,&lt;/P&gt;&lt;P&gt;120 TOTAL_VARIANCE.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;ENDLOOP."end for it_final2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator Message: First try to figure your own logic &amp;amp; get back to the forums in case you face any difficulty. Don't expect others to spoonfeed you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jul 20, 2011 2:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 08:54:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-data-in-alv/m-p/8090888#M1615407</guid>
      <dc:creator>former_member925838</dc:creator>
      <dc:date>2011-07-20T08:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Data in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-data-in-alv/m-p/8090889#M1615408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why dont you try REUSE_ALV_BLOCK_LIST_DISPLAY if you want he two tables separetely.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 09:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-data-in-alv/m-p/8090889#M1615408</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2011-07-20T09:00:37Z</dc:date>
    </item>
  </channel>
</rss>

