<?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: ABAP Help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593843#M1083196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i checked the table has entries. In the screen 100 which it displays i dont see anything. its a plain screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont know why my custom control does not show up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2008 09:46:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-23T09:46:34Z</dc:date>
    <item>
      <title>ABAP Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593840#M1083193</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;Please tell me what is wrong in this alv program. i dont get any error. i dont get output either&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZALVBALA
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*

REPORT  zalvbala.


DATA : alvgrid TYPE REF TO cl_gui_alv_grid,
       conname TYPE scrfname VALUE 'BALA',
       custcont TYPE REF TO cl_gui_custom_container,
       fieldcat TYPE lvc_t_fcat,
       flayout TYPE lvc_s_layo,
       headcatalogline type LVC_S_FCAT.

DATA : BEGIN OF inttable OCCURS 0.
        INCLUDE STRUCTURE zemptable.
DATA : END OF inttable.

SELECT * FROM zemptable INTO TABLE inttable.

CALL SCREEN 100.

*----------------------------------------------------------------------*
*  MODULE display_alv INPUT
*----------------------------------------------------------------------*
*
*----------------------------------------------------------------------*
MODULE display_alv INPUT.
  CREATE OBJECT custcont
    EXPORTING
      container_name = conname.
    

  CREATE OBJECT alvgrid
    EXPORTING
      i_parent = custcont.
      

  flayout-zebra = 'X'.
  flayout-grid_title = 'Demo Program'.
  flayout-smalltitle = 'X'.


  headcatalogline-fieldname = 'ENO'.
  headcatalogline-inttype = 'C' .
  headcatalogline-outputlen = '5' .
  headcatalogline-coltext = 'Employee Number '.
  headcatalogline-seltext = 'Employee Number '.
  APPEND headcatalogline to fieldcat.

  headcatalogline-fieldname = 'ENAME'.
  headcatalogline-inttype = 'C' .
  headcatalogline-outputlen = '20' .
  headcatalogline-coltext = 'Employee Name '.
  headcatalogline-seltext = 'Employee Name '.
  APPEND headcatalogline to fieldcat.

  CALL METHOD alvgrid-&amp;gt;set_table_for_first_display
    EXPORTING
      is_layout        = flayout
    CHANGING
      it_outtab        = inttable[]
      it_fieldcatalog  = fieldcat.
   
ENDMODULE.                    "display_alv INPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table structure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name : zemptable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eno&lt;/P&gt;&lt;P&gt;ename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have created a screen 100 with a custom control in name 'BALA'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Bala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 09:34:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593840#M1083193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T09:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593841#M1083194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked whether ut inttable contains any entries or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 09:41:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593841#M1083194</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2008-10-23T09:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593842#M1083195</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;Try this....&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  headcatalogline-fieldname = 'ENO'.
  headcatalogline-inttype = 'C' .
  headcatalogline-outputlen = '5' .
  headcatalogline-col_pos = 1.
  headcatalogline-tabname = 1.
  headcatalogline-coltext = 'Employee Number '.
  headcatalogline-seltext = 'Employee Number '.
  APPEND headcatalogline to fieldcat.
 
  headcatalogline-fieldname = 'ENAME'.
  headcatalogline-inttype = 'C' .
  headcatalogline-outputlen = '20' .
  headcatalogline-col_pos = 2.
  headcatalogline-tabname = 1.
  headcatalogline-coltext = 'Employee Name '.
  headcatalogline-seltext = 'Employee Name '.
  APPEND headcatalogline to fieldcat.

  CALL METHOD alvgrid-&amp;gt;set_table_for_first_display
    EXPORTING
      is_layout        = flayout
    CHANGING
      it_outtab        = inttable[]
      it_fieldcatalog  = fieldcat[].

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see whether u passed the container name to 'conname' correctly...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sukriti Saha on Oct 23, 2008 3:18 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 09:45:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593842#M1083195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T09:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593843#M1083196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i checked the table has entries. In the screen 100 which it displays i dont see anything. its a plain screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont know why my custom control does not show up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 09:46:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593843#M1083196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T09:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593844#M1083197</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 found out the error. in the line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE display_alv input.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i should have given &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE display_alv output&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Bala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 09:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593844#M1083197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T09:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593845#M1083198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are calling your module in the PBO of your screen, aren't you?  I'm thinking not because it is defined as an INPUT module (which is called from the PAI) rather than as an OUTPUT module (which is called from the PBO).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 09:51:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593845#M1083198</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2008-10-23T09:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593846#M1083199</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;You may pass the I_STRUCTURE_NAME field also as your structure name(Name of the DDIC structure (for example, 'SFLIGHT') for the data in the output table. If you specify this parameter, the field catalog is generated automatically&lt;/P&gt;&lt;P&gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 09:52:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593846#M1083199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T09:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593847#M1083200</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 the table zemptable contains some entries in &lt;STRONG&gt;SE16n&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 09:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-help/m-p/4593847#M1083200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T09:52:11Z</dc:date>
    </item>
  </channel>
</rss>

