<?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: FIELD CATLOG in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-catlog/m-p/1772765#M333526</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;The field catalog is used to specify column attributes which will be used to display the records in the ALV..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Dec 2006 17:35:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-15T17:35:14Z</dc:date>
    <item>
      <title>FIELD CATLOG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-catlog/m-p/1772764#M333525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHAT IS FIELD CATLOG WHAT IT HOLDS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 17:33:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-catlog/m-p/1772764#M333525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T17:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD CATLOG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-catlog/m-p/1772765#M333526</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;The field catalog is used to specify column attributes which will be used to display the records in the ALV..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 17:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-catlog/m-p/1772765#M333526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T17:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD CATLOG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-catlog/m-p/1772766#M333527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil ,&lt;/P&gt;&lt;P&gt;A field catalog is used in ALV , and is used to contain the details of the field which are to be displayed in the ALV . It basically contains the name of field , the header/text for the field , the data type , the position the ALV where it is to be displayed and many more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 17:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-catlog/m-p/1772766#M333527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T17:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD CATLOG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-catlog/m-p/1772767#M333528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The field catalog allows you to set attributes of the column, the entire column, you can not change the column attributes per record row. You set it one time for the column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field Catalog &lt;/P&gt;&lt;P&gt;Definition&lt;/P&gt;&lt;P&gt;Screen area of the Report Designer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;All query fields, filters, variables, and text elements for the data provider (query or query view) on which the report is based are displayed in the field catalog. The field catalog also contains the list of custom texts created by users, which were inserted into the header area of the report, for example. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the field catalog, you can insert or reuse query fields or text elements for the data provider that were deleted from the report, for example, at any time with drag and drop. You can also work with custom texts the same way. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure&lt;/P&gt;&lt;P&gt;The following elements are listed in the field catalog:&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;      Custom texts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;      Query fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;      Text elements for the data provider, such as Last Changed By, Due Date, Query Description, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;      Filter elements (see also Filter) that you can insert into the header area of your report, for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;      Variables, which are filled with the actual values entered at the runtime for the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example...&lt;/P&gt;&lt;P&gt;REPORT ZPLANT_ALV .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type-pools: slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of DISP,&lt;/P&gt;&lt;P&gt;SLNO TYPE I,&lt;/P&gt;&lt;P&gt;werks type MARC-WERKS,&lt;/P&gt;&lt;P&gt;matnr type MARA-MATNR,&lt;/P&gt;&lt;P&gt;maktx type MAKT-MAKTx,&lt;/P&gt;&lt;P&gt;mtart type MARA-MTART,&lt;/P&gt;&lt;P&gt;volum type MARA-VOLUM,&lt;/P&gt;&lt;P&gt;ntgew type MARA-NTGEW,&lt;/P&gt;&lt;P&gt;ersda type MARA-ERSDA,&lt;/P&gt;&lt;P&gt;laeda type MARA-LAEDA,&lt;/P&gt;&lt;P&gt;end of DISP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_disp type table of disp,&lt;/P&gt;&lt;P&gt;wa_disp type disp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: it_fcat type slis_t_fieldcat_alv,&lt;/P&gt;&lt;P&gt;wa_fcat type slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_werks type marc-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF p_werks IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE I000(Z_errors).&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;&lt;/P&gt;&lt;P&gt;select MARC~WERKS&lt;/P&gt;&lt;P&gt;MARA~MATNR&lt;/P&gt;&lt;P&gt;MAKT~MAKTX&lt;/P&gt;&lt;P&gt;MARA~MTART&lt;/P&gt;&lt;P&gt;MARA~VOLUM&lt;/P&gt;&lt;P&gt;MARA~NTGEW&lt;/P&gt;&lt;P&gt;MARA~ERSDA&lt;/P&gt;&lt;P&gt;MARA~LAEDA&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;MARC inner join MARA&lt;/P&gt;&lt;P&gt;on marc&lt;SUB&gt;matnr = mara&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;inner join makt&lt;/P&gt;&lt;P&gt;on marc&lt;SUB&gt;matnr = makt&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;into corresponding fields of table IT_DISP&lt;/P&gt;&lt;P&gt;where marc~werks = p_werks and spras = 'EN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;PERFORM display.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;MESSAGE I001(Z_errors).&lt;/P&gt;&lt;P&gt;ENDIF.&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;form display.&lt;/P&gt;&lt;P&gt;LOOP AT IT_DISP INTO WA_DISP.&lt;/P&gt;&lt;P&gt;MOVE SY-TABIX TO WA_DISP-SLNO.&lt;/P&gt;&lt;P&gt;MODIFY IT_DISP FROM WA_DISP TRANSPORTING SLNO.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fcat-col_pos = 1.&lt;/P&gt;&lt;P&gt;wa_fcat-fieldname = 'SLNO'.&lt;/P&gt;&lt;P&gt;WA_fcat-SELTEXT_L = 'SLNO'.&lt;/P&gt;&lt;P&gt;wa_fcat-tabname = 'IT_DISP'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_fieldname ='SLNO'.&lt;/P&gt;&lt;P&gt;*wa_fcat-ref_tabname = ''.&lt;/P&gt;&lt;P&gt;wa_fcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;append wa_fcat to it_fcat.&lt;/P&gt;&lt;P&gt;clear wa_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fcat-col_pos = 2.&lt;/P&gt;&lt;P&gt;wa_fcat-fieldname = 'WERKS'.&lt;/P&gt;&lt;P&gt;wa_fcat-tabname = 'IT_DISP'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_fieldname ='WERKS'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_tabname = 'MARC'.&lt;/P&gt;&lt;P&gt;wa_fcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;append wa_fcat to it_fcat.&lt;/P&gt;&lt;P&gt;clear wa_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fcat-col_pos = 3.&lt;/P&gt;&lt;P&gt;wa_fcat-fieldname = 'MATNR'.&lt;/P&gt;&lt;P&gt;wa_fcat-tabname = 'IT_DISP'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_fieldname ='MATNR'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_tabname = 'MARA'.&lt;/P&gt;&lt;P&gt;wa_fcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;append wa_fcat to it_fcat.&lt;/P&gt;&lt;P&gt;clear wa_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fcat-col_pos = 4.&lt;/P&gt;&lt;P&gt;wa_fcat-fieldname = 'MAKTX'.&lt;/P&gt;&lt;P&gt;wa_fcat-tabname = 'IT_DISP'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_fieldname ='MAKTX'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_tabname = 'MAKT'.&lt;/P&gt;&lt;P&gt;wa_fcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;append wa_fcat to it_fcat.&lt;/P&gt;&lt;P&gt;clear wa_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fcat-col_pos = 5.&lt;/P&gt;&lt;P&gt;wa_fcat-fieldname = 'MTART'.&lt;/P&gt;&lt;P&gt;wa_fcat-tabname = 'IT_DISP'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_fieldname ='MTART'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_tabname = 'MARA'.&lt;/P&gt;&lt;P&gt;wa_fcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;append wa_fcat to it_fcat.&lt;/P&gt;&lt;P&gt;clear wa_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fcat-col_pos = 6.&lt;/P&gt;&lt;P&gt;wa_fcat-fieldname = 'VOLUM'.&lt;/P&gt;&lt;P&gt;wa_fcat-tabname = 'IT_DISP'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_fieldname ='VOLUM'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_tabname = 'MARA'.&lt;/P&gt;&lt;P&gt;wa_fcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;append wa_fcat to it_fcat.&lt;/P&gt;&lt;P&gt;clear wa_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fcat-col_pos = 7.&lt;/P&gt;&lt;P&gt;wa_fcat-fieldname = 'NTGEW'.&lt;/P&gt;&lt;P&gt;wa_fcat-tabname = 'IT_DISP'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_fieldname ='NTGEW'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_tabname = 'MARA'.&lt;/P&gt;&lt;P&gt;wa_fcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;append wa_fcat to it_fcat.&lt;/P&gt;&lt;P&gt;clear wa_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fcat-col_pos = 8.&lt;/P&gt;&lt;P&gt;wa_fcat-fieldname = 'ERSDA'.&lt;/P&gt;&lt;P&gt;wa_fcat-tabname = 'IT_DISP'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_fieldname ='ERSDA'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_tabname = 'MARA'.&lt;/P&gt;&lt;P&gt;wa_fcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;append wa_fcat to it_fcat.&lt;/P&gt;&lt;P&gt;clear wa_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fcat-col_pos = 9.&lt;/P&gt;&lt;P&gt;wa_fcat-fieldname = 'LAEDA'.&lt;/P&gt;&lt;P&gt;wa_fcat-tabname = 'IT_DISP'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_fieldname ='LAEDA'.&lt;/P&gt;&lt;P&gt;wa_fcat-ref_tabname = 'MARA'.&lt;/P&gt;&lt;P&gt;wa_fcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;append wa_fcat to it_fcat.&lt;/P&gt;&lt;P&gt;clear wa_fcat.&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 = sy-repid&lt;/P&gt;&lt;P&gt;I_GRID_TITLE = 'ALV REPORT-SELECTED PLANT'&lt;/P&gt;&lt;P&gt;IT_FIELDCAT = it_fcat[]&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;T_OUTTAB = IT_DISP&lt;/P&gt;&lt;P&gt;&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;endform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 17:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-catlog/m-p/1772767#M333528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T17:37:19Z</dc:date>
    </item>
  </channel>
</rss>

