<?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 report problem. empty catalog. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349764#M1231940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Past the code in between code option &lt;STRONG&gt;&amp;lt;&amp;gt;&lt;/STRONG&gt;  so that every one can read it clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Instead of using SELECT and ENDSELECT use below syntax,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT  pa0001~pernr 
              pa0001~begda 
              pa0001~endda 
              pa0001~bukrs 
              pa0001~werks
              pa0001~persg 
               pa0001~persk 
              pa0001~orgeh 
              pa0001~plans 
              pa0001~stell
              pa0002~nachn 
              pa0002~vorna 
              pa0002~gesch 
              pa0002~gbdat
              pa0006~pstlz 
              pa0006~ort02
              INTO CORRESPONDING FIELDS OF TABLE t_employee   " use TABLE 
  FROM ( ( pa0001 inner JOIN pa0002 ON pa0001~pernr = pa0002~pernr )
  INNER JOIN pa0006 ON pa0002~pernr = pa0006~pernr )
  WHERE pa0001~pernr IN persnum AND
               pa0001~bukrs IN ccode AND
               pa0001~begda IN date.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) In FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_callback_program = v_rep_id                 "you were using 'g_repid' which is not at all declared
      is_layout          = gs_layout
      it_fieldcat        = it_field
    TABLES
      t_outtab           = t_employee
    EXCEPTIONS
      program_error      = 1
      OTHERS             = 2.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE i799(cu) WITH 'Error creando el ALV'(008) 'Código'(009) sy-subrc.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Check wether the Table t_employee is consisting any data or not, by keeping a BREAK-POINT after the SELECT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) If possible while filling the field catalog fill ROW_POS and COL_POS, and always use capital letters when ever you give any value in single quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_field-row_pos = '1'.
  wa_field-col_pos = '1'.
  wa_field-fieldname = 'PERNR'. " name of field from internal table
  wa_field-tabname = 'T_EMPLOYEE'. " internal table name
  wa_field-outputlen = 10. " output length on screen
  wa_field-checkbox = c_check. " print as checkbox
  wa_field-edit = c_check. " make field open for input
  wa_field-seltext_l = text-006. " header information
  APPEND wa_field TO it_field. " append field catalog internal table
  CLEAR wa_field. " clear field catalog work area&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bala Krishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2009 17:46:41 GMT</pubDate>
    <dc:creator>former_member585060</dc:creator>
    <dc:date>2009-03-12T17:46:41Z</dc:date>
    <item>
      <title>ALV report problem. empty catalog.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349761#M1231937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a lot of problems with the ALV displaying stuff, i can see no problems in the code but the alv doesnt display anything at all, the catalog is built but any data is displayed  in the list, i even took the function call out of the perform and called REUSE_ALV_GRID_DISPLAY directly to avoid posting any parametres...but the list is still empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i post the code, is really simple alv example. take info from it001, 002 and 006 and (try to )display that in a alv list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone see something wrong i would really apreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ruben.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZPRR3_12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;______________________________________________________________________&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; TYPE-POOLS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;______________________________________________________________________&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: C_CHECK TYPE c VALUE  'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : v_rep_id TYPE sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF t_employee OCCURS 0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    pernr TYPE persno,&lt;/P&gt;&lt;P&gt;    begda TYPE begda,&lt;/P&gt;&lt;P&gt;    endda TYPE endda,&lt;/P&gt;&lt;P&gt;    bukrs TYPE bukrs,&lt;/P&gt;&lt;P&gt;    werks TYPE persa,&lt;/P&gt;&lt;P&gt;    persg TYPE persg,&lt;/P&gt;&lt;P&gt;    persk TYPE persk,&lt;/P&gt;&lt;P&gt;    orgeh TYPE orgeh,&lt;/P&gt;&lt;P&gt;    plans TYPE plans,&lt;/P&gt;&lt;P&gt;    stell TYPE stell,&lt;/P&gt;&lt;P&gt;    nachn TYPE pad_nachn,&lt;/P&gt;&lt;P&gt;    vorna TYPE pad_vorna,&lt;/P&gt;&lt;P&gt;    gesch TYPE gesch,&lt;/P&gt;&lt;P&gt;    gbdat TYPE gbdat,&lt;/P&gt;&lt;P&gt;    pstlz TYPE pstlz_hr,&lt;/P&gt;&lt;P&gt;    ort02 TYPE pad_ort02,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  END OF t_employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" for alv functions.&lt;/P&gt;&lt;P&gt;TYPE-POOLS: slis, truxs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gs_layout     TYPE slis_layout_alv,&lt;/P&gt;&lt;P&gt;      it_field      TYPE slis_t_fieldcat_alv,&lt;/P&gt;&lt;P&gt;      tt_fieldcat   TYPE slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: tt_fieldcat   TYPE STANDARD TABLE OF slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  v_rep_id = sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK parametres WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: persnum FOR t_employee-pernr DEFAULT 000.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: ccode FOR t_employee-bukrs DEFAULT 'ES01'.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: date  FOR sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK parametres.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK options WITH FRAME TITLE text-002.&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   op_alv   TYPE c AS CHECKBOX,&lt;/P&gt;&lt;P&gt;   op_excel TYPE c AS CHECKBOX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  "initialize select-options&lt;/P&gt;&lt;P&gt;  op_alv = C_CHECK.&lt;/P&gt;&lt;P&gt;  op_excel = ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM data_request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF op_excel EQ C_CHECK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*PERFORM excel_save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF op_alv EQ C_CHECK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM display_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM write_raw USING t_employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**********************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; FORMS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;**********************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  CHARGE_DATA&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FORM data_request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT  pa0001&lt;SUB&gt;pernr pa0001&lt;/SUB&gt;begda pa0001&lt;SUB&gt;endda pa0001&lt;/SUB&gt;bukrs pa0001~werks&lt;/P&gt;&lt;P&gt;          pa0001&lt;SUB&gt;persg pa0001&lt;/SUB&gt;persk pa0001&lt;SUB&gt;orgeh pa0001&lt;/SUB&gt;plans pa0001~stell&lt;/P&gt;&lt;P&gt;          pa0002&lt;SUB&gt;nachn pa0002&lt;/SUB&gt;vorna pa0002&lt;SUB&gt;gesch pa0002&lt;/SUB&gt;gbdat&lt;/P&gt;&lt;P&gt;          pa0006&lt;SUB&gt;pstlz pa0006&lt;/SUB&gt;ort02&lt;/P&gt;&lt;P&gt;  INTO CORRESPONDING FIELDS OF t_employee&lt;/P&gt;&lt;P&gt;  FROM pa0001 JOIN pa0002 ON pa0001&lt;SUB&gt;pernr = pa0002&lt;/SUB&gt;pernr&lt;/P&gt;&lt;P&gt;              JOIN pa0006 ON pa0002&lt;SUB&gt;pernr = pa0006&lt;/SUB&gt;pernr&lt;/P&gt;&lt;P&gt;  WHERE pa0001~pernr IN persnum AND&lt;/P&gt;&lt;P&gt;        pa0001~bukrs IN ccode AND&lt;/P&gt;&lt;P&gt;        pa0001~begda IN date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " CHARGE_DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  display_alv&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FORM display_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM build_header.&lt;/P&gt;&lt;P&gt;  PERFORM build_layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write t_employee-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     i_callback_program                = 'g_repid'&lt;/P&gt;&lt;P&gt;     is_layout                         =  gs_layout&lt;/P&gt;&lt;P&gt;     it_fieldcat                       =  it_field&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_outtab                          = t_employee&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     program_error                     = 1&lt;/P&gt;&lt;P&gt;     OTHERS                            = 2&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE i799(cu) WITH 'Error creando el ALV'(008) 'Código'(009) sy-subrc.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; PERFORM call_alv using t_employee.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "display_alv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  build_HEADER&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;form build_header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: wa_field TYPE slis_fieldcat_alv. "work area for field catalog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'pernr'.   " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 10.        " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-checkbox = c_check.   " print as checkbox&lt;/P&gt;&lt;P&gt;  wa_field-edit = c_check.       " make field open for input&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-006.      " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'begda'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-003. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'endda'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-004. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'bukrs'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-005. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'werks'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-007. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'persg'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-008. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'persk'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-009. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'orgeh'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-010. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'plans'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-011. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'stell'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-012. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'nachn'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-013. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'vorna'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-014. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'gesch'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-015. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'gbdat'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-016. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'pstlz'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-017. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_field-fieldname = 'ort0z'.  " name of field from internal table&lt;/P&gt;&lt;P&gt;  wa_field-tabname = 't_employee'. " internal table name&lt;/P&gt;&lt;P&gt;  wa_field-outputlen = 12.       " output length on screen&lt;/P&gt;&lt;P&gt;  wa_field-seltext_l = text-018. " header information&lt;/P&gt;&lt;P&gt;  APPEND wa_field TO it_field.   " append field catalog internal table&lt;/P&gt;&lt;P&gt;  CLEAR wa_field.                " clear field catalog work area&lt;/P&gt;&lt;P&gt;endform.                    " PREPARE_FIELD_CATALOG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  build_layout&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FORM build_layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gs_layout-colwidth_optimize = 'X'. "Optimizar ancho del listado&lt;/P&gt;&lt;P&gt;  gs_layout-zebra = 'X'.           "Mostrar líneas tipo cebra.&lt;/P&gt;&lt;P&gt;  gs_layout-detail_popup = 'X'.    "Mostrar opción de información detalle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "build_layout&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  call_alv&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;ALV_EMPLOYEE  text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*FORM call_alv using alv_employee LIKE t_employee.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;ABAP List Viewer&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;**WRITE: alv_employee-pernr.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    i_callback_program                = 'g_repid'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    is_layout                         = gs_layout&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    it_fieldcat                       = it_field[]&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     t_outtab                          = alv_employee&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    program_error                     = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    OTHERS                            = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           .&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MESSAGE i799(cu) WITH 'Error creando el ALV'(008) 'Código'(009) sy-subrc.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*ENDFORM.                    "CALL_ALV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM write_raw  USING  p_ta_employee LIKE t_employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE:  p_ta_employee-pernr,p_ta_employee-begda,p_ta_employee-endda,p_ta_employee-bukrs,p_ta_employee-werks,p_ta_employee-persg,&lt;/P&gt;&lt;P&gt;          p_ta_employee-persk,p_ta_employee-orgeh,p_ta_employee-plans,p_ta_employee-stell,p_ta_employee-nachn,p_ta_employee-vorna,&lt;/P&gt;&lt;P&gt;          p_ta_employee-gesch,p_ta_employee-gbdat,p_ta_employee-pstlz,p_ta_employee-ort02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " WRITE_RAW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 15:26:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349761#M1231937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T15:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: ALV report problem. empty catalog.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349762#M1231938</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;PRE&gt;&lt;CODE&gt;
wa_field-fieldname = 'PERNR'  "---&amp;gt; UPPERCASE when in quotes 'pernr'. " name of field from internal table
wa_field-tabname = 'T_EMPLOYEE' "---&amp;gt; UPPERCASE when in quotes 't_employee'. " internal table name
wa_field-outputlen = 10. " output length on screen
wa_field-checkbox = c_check. " print as checkbox
wa_field-edit = c_check. " make field open for input
wa_field-seltext_l = text-006. " header information
APPEND wa_field TO it_field. " append field catalog internal table
CLEAR wa_field. " clear field catalog work area

" do the changes in your fieldcat for every field..write in UPPER CASE.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 16:19:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349762#M1231938</guid>
      <dc:creator>Mohamed_Mukhtar</dc:creator>
      <dc:date>2009-03-12T16:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALV report problem. empty catalog.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349763#M1231939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;always when u use the catalag, u need to fill the "fieldname" and "tabname" values using UPPERCASE letters.&lt;/P&gt;&lt;P&gt;doing that ur problem will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 16:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349763#M1231939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T16:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: ALV report problem. empty catalog.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349764#M1231940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Past the code in between code option &lt;STRONG&gt;&amp;lt;&amp;gt;&lt;/STRONG&gt;  so that every one can read it clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Instead of using SELECT and ENDSELECT use below syntax,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT  pa0001~pernr 
              pa0001~begda 
              pa0001~endda 
              pa0001~bukrs 
              pa0001~werks
              pa0001~persg 
               pa0001~persk 
              pa0001~orgeh 
              pa0001~plans 
              pa0001~stell
              pa0002~nachn 
              pa0002~vorna 
              pa0002~gesch 
              pa0002~gbdat
              pa0006~pstlz 
              pa0006~ort02
              INTO CORRESPONDING FIELDS OF TABLE t_employee   " use TABLE 
  FROM ( ( pa0001 inner JOIN pa0002 ON pa0001~pernr = pa0002~pernr )
  INNER JOIN pa0006 ON pa0002~pernr = pa0006~pernr )
  WHERE pa0001~pernr IN persnum AND
               pa0001~bukrs IN ccode AND
               pa0001~begda IN date.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) In FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_callback_program = v_rep_id                 "you were using 'g_repid' which is not at all declared
      is_layout          = gs_layout
      it_fieldcat        = it_field
    TABLES
      t_outtab           = t_employee
    EXCEPTIONS
      program_error      = 1
      OTHERS             = 2.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE i799(cu) WITH 'Error creando el ALV'(008) 'Código'(009) sy-subrc.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Check wether the Table t_employee is consisting any data or not, by keeping a BREAK-POINT after the SELECT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) If possible while filling the field catalog fill ROW_POS and COL_POS, and always use capital letters when ever you give any value in single quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_field-row_pos = '1'.
  wa_field-col_pos = '1'.
  wa_field-fieldname = 'PERNR'. " name of field from internal table
  wa_field-tabname = 'T_EMPLOYEE'. " internal table name
  wa_field-outputlen = 10. " output length on screen
  wa_field-checkbox = c_check. " print as checkbox
  wa_field-edit = c_check. " make field open for input
  wa_field-seltext_l = text-006. " header information
  APPEND wa_field TO it_field. " append field catalog internal table
  CLEAR wa_field. " clear field catalog work area&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bala Krishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 17:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349764#M1231940</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2009-03-12T17:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: ALV report problem. empty catalog.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349765#M1231941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ruben&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is almost no good reason around why one should create a fieldcatalog manually. &lt;/P&gt;&lt;P&gt;Apparently all your fields belongs to one or more DDIC structures. Therefore, just call the corresponding fm (in case of OO-based ALV it is LVC_FIELDCATALOG_MERGE) repeatedly for each of the structures and delete or inactivate fields you do not need, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LVC_S_FCAT-TECH = 'X'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you need some refinement of the fieldcatalog then do it after the automated generation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 20:09:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349765#M1231941</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-03-12T20:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: ALV report problem. empty catalog.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349766#M1231942</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;Use this wiki by me to &lt;STRONG&gt;Learn to display data in ALV Grid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/learn%252bto%252bdisplay%252bdata%252bin%252balv%252bgrid" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/learn%252bto%252bdisplay%252bdata%252bin%252balv%252bgrid&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 03:54:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349766#M1231942</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2009-03-13T03:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: ALV report problem. empty catalog.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349767#M1231943</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;First of all,thanks for all your replies, they where all very helpfull for me. I used all your solutions at once and now it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Bala Krishna  it´s my first post i didn´t know the ** option for codes, i´ll look into that for the next time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Uwe Schieferstein  now that i i can set the catalog manually and display the data, i´ll try to do that using 'LVC_FIELDCATALOG_MERGE'. It was my first one &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;, now i´ll keep working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruben.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 08:34:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349767#M1231943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-13T08:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV report problem. empty catalog.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349768#M1231944</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;While doing ALV  basic thing to remember always is .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While populating  fieldcat  except   system fileds  all fields should be passed  in caps .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And  internal table and fields  sholud be quotes and caps .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try with this . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check  r u appending all fields or not .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in debug   check  the data populating in internal table or not .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 08:40:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-problem-empty-catalog/m-p/5349768#M1231944</guid>
      <dc:creator>kamesh_g</dc:creator>
      <dc:date>2009-03-13T08:40:54Z</dc:date>
    </item>
  </channel>
</rss>

