<?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: Column Name missing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183496#M1199853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's just easier to maunally make a field catalog it sounds like then try to get the already populated SE11 Short decription (ddtext) out of SAP. It's a shame that's the case but thanks for the help. We'll just hard-cord the field catalog in the programs since it doesn't sounds like there's any other way to dynamically write it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2009 16:11:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-10T16:11:21Z</dc:date>
    <item>
      <title>Column Name missing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183490#M1199847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This gets the alv to popular without any errors but the column names are blank on top. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_program_name         = sy-repid&lt;/P&gt;&lt;P&gt;        i_structure_name       = 'ZFI_CONTRACT'&lt;/P&gt;&lt;P&gt;        i_inclname             = sy-repid&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        ct_fieldcat            = it_fieldcat&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        inconsistent_interface = 1&lt;/P&gt;&lt;P&gt;        program_error          = 2&lt;/P&gt;&lt;P&gt;        OTHERS                 = 3.&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 = 'ZFAP008Q'&lt;/P&gt;&lt;P&gt;        it_fieldcat        = it_fieldcat[]&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        t_outtab           = wa_zfi_contract&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 15:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183490#M1199847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T15:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Column Name missing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183491#M1199848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check if the it_fieldcat is populated with the correct long medium and short descriptions... looks like you are using a Zstructure... did you use any custom data elements? for which you did not maintain description&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 15:40:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183491#M1199848</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-02-10T15:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Column Name missing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183492#M1199849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yea I think that's it. The custom tables use a 'Built-in Type' for the fields in the table. Is there another way to pull the descriptions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 15:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183492#M1199849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T15:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Column Name missing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183493#M1199850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make your own description...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read your field catalog table with field names and popoulate the descrption manually:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
READ TABLE g_fieldcat_tab INTO w_fieldcat_tab WITH KEY fieldname = 'PS_PSP_PNR'.
if sy-subrc eq 0.
w_fieldcat_tab-ref_tabname = &amp;lt;table name&amp;gt; like vbak vbap...
w_fieldcat_tab-ROUNDFIELDNAME = vblen posnr etc...
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;or &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ TABLE g_fieldcat_tab INTO w_fieldcat_tab WITH KEY fieldname = 'POSNR'.
if sy-subrc eq 0.
w_fieldcat_tab-SELTEXT_L = 'Sales Document Item'.
w_fieldcat_tab-SELTEXT_M = 'Item'.
w_fieldcat_tab-SELTEXT_S = 'Item'.
endif. "keep going for all fields..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: J@Y on Feb 10, 2009 10:51 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 15:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183493#M1199850</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-02-10T15:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Column Name missing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183494#M1199851</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;There is no other when you use the Internal table to built the Field Catalog. You need to loop the Fieldcat table and update the Short. Long text in the Fieldcat table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 15:52:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183494#M1199851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T15:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Column Name missing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183495#M1199852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a structure as same as your custom table with proper data elements/domains and use it in fm FIELD CATALOG MERGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 16:08:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183495#M1199852</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-02-10T16:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Column Name missing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183496#M1199853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's just easier to maunally make a field catalog it sounds like then try to get the already populated SE11 Short decription (ddtext) out of SAP. It's a shame that's the case but thanks for the help. We'll just hard-cord the field catalog in the programs since it doesn't sounds like there's any other way to dynamically write it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 16:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183496#M1199853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T16:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Column Name missing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183497#M1199854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be declare the internal table as same your custom table with proper like data element/domains then try to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = lv_program_name
i_internal_tabname = lv_internal_tabname " &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;
i_inclname = lv_program_name  "&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;
CHANGING
ct_fieldcat = lt_fcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS I am not 100% sure about this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 16:33:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-name-missing/m-p/5183497#M1199854</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-02-10T16:33:19Z</dc:date>
    </item>
  </channel>
</rss>

