<?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 ALV Grid using object oriented technique in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-object-oriented-technique/m-p/2904912#M683278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to display a ALV grid using object oriented technique. I am facing 2 problems - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. There is a currency field of type WRBTR. The column heading for this field is getting right justified, I want the column heading to be left justified and the actual content to be right justified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The report is giving an output when run directly, but when scheduled in background, the job is getting cancelled saying 'Control Framework: Fatal error - GUI cannot be reached'.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest what should be done to avoid this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Indrajit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2007 12:14:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-19T12:14:00Z</dc:date>
    <item>
      <title>ALV Grid using object oriented technique</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-object-oriented-technique/m-p/2904912#M683278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to display a ALV grid using object oriented technique. I am facing 2 problems - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. There is a currency field of type WRBTR. The column heading for this field is getting right justified, I want the column heading to be left justified and the actual content to be right justified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The report is giving an output when run directly, but when scheduled in background, the job is getting cancelled saying 'Control Framework: Fatal error - GUI cannot be reached'.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest what should be done to avoid this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Indrajit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 12:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-object-oriented-technique/m-p/2904912#M683278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T12:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid using object oriented technique</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-object-oriented-technique/m-p/2904913#M683279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Indrajit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  I don't think there is option to align column heading.  But i am not sure.&lt;/P&gt;&lt;P&gt;2.  If you also want to run the ALV program in background mode then don't create the ALV container(any container e.g custom container, docking container, HTML container etc )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for this is, container is set on a screen and there will not be any screen in background processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for e.g.,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create ALV container only in foreground processing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;lo_alvdock   TYPE REF TO cl_gui_docking_container.&lt;/P&gt;&lt;P&gt;IF sy-batch IS INITIAL.&lt;/P&gt;&lt;P&gt;  CREATE OBJECT lo_alvdock&lt;/P&gt;&lt;P&gt;                EXPORTING repid     = lv_repid&lt;/P&gt;&lt;P&gt;                          dynnr     = lv_dynnr&lt;/P&gt;&lt;P&gt;                          side      = lo_alvdock-&amp;gt;dock_at_left&lt;/P&gt;&lt;P&gt;                          extension = 3000.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kesava&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Kesava&lt;/P&gt;&lt;P&gt;        Kesava Chandra Rao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 14:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-object-oriented-technique/m-p/2904913#M683279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T14:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid using object oriented technique</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-object-oriented-technique/m-p/2904914#M683280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone suggest a workaround for this? The requirement is to have a container, split it into 2 parts - display the header info in one part and item info in other part. The report can be executed in both foreground and background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Indrajit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 05:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-object-oriented-technique/m-p/2904914#M683280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T05:45:27Z</dc:date>
    </item>
  </channel>
</rss>

