<?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: Problem with field label in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531174#M849482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try to use the tablename-fieldname of that field for internal table  from which the data is displayed and while creating the field catalog,you will get it.for exampe as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear ls_fcat.&lt;/P&gt;&lt;P&gt;  ls_fcat-fieldname = 'VKORG' .&lt;/P&gt;&lt;P&gt;  ls_fcat-outputlen = '10' .&lt;/P&gt;&lt;P&gt;  ls_fcat-coltext = 'VKORG' .&lt;/P&gt;&lt;P&gt;  append ls_fcat to p_lt_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if still facing problem plz let me know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anil T on Mar 13, 2008 1:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Mar 2008 12:30:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-13T12:30:05Z</dc:date>
    <item>
      <title>Problem with field label</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531168#M849476</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;&lt;/P&gt;&lt;P&gt;I am having a strange problem with field label? I have created a table with three fields one is MANDT and and the remaining fields as PATID and PATNA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am maintaining the field label for these fields, but still i am not getting the names of the fields while i am calling the structure in my alv tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I d'nt know what is the problem here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one tell me how can i solve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 06:45:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531168#M849476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T06:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with field label</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531169#M849477</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;Set this field in field catalog for these fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fieldcat- SCRTEXT_L=  'MATERIAL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 06:49:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531169#M849477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T06:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with field label</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531170#M849478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not the problem with Data Dictionary, &lt;/P&gt;&lt;P&gt;While declaring the fieldcatalogue for thr GRID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;UL&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_BUFFER_ACTIVE              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   I_STRUCTURE_NAME             = 'ZTABLE'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_CLIENT_NEVER_DISPLAY       = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_BYPASSING_BUFFER           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    ct_fieldcat                  = gt_fieldcat&lt;/P&gt;&lt;UL&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;  INCONSISTENT_INTERFACE       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PROGRAM_ERROR                = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                       = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;P&gt;If gt_fieldcat-fieldname = 'PATID'.&lt;/P&gt;&lt;P&gt;gs_fieldcat-ref_field = 'ZTABLE'.&lt;/P&gt;&lt;P&gt;modify gt_fieldcat from gs_fieldcat.&lt;/P&gt;&lt;P&gt;clear gs_fieldcat.&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;Because while calling the FM it is populatinh the fieldname &lt;/P&gt;&lt;P&gt;so you need to modify the fieldcatalogue with fieldname then it will pick the field labels from the Dictionary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this  will solve your problem.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 07:03:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531170#M849478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T07:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with field label</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531171#M849479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shiva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this solution but my question is why i am not getting the field label name automatically? How do get the fieldname?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling the function module 'LVC_FIELDCATALOG_MERGE' in order to get the attributes automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 08:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531171#M849479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T08:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with field label</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531172#M849480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Madhavi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already did that but still the problem persist. When i am passing the structure Sbook to LVC_FIELDCATALOG_MERGE i don't have this problem but when i pass my structure to the above FM, i have this problem.&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;Lisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 08:17:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531172#M849480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T08:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with field label</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531173#M849481</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;&lt;/P&gt;&lt;P&gt;goto se37 and enter the structure anem and check the returned values&lt;/P&gt;&lt;P&gt;Use the field REPTEXT from the FM return this is having value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Import parameters               Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I_BUFFER_ACTIVE&lt;/P&gt;&lt;P&gt;  I_STRUCTURE_NAME                MARA&lt;/P&gt;&lt;P&gt;  I_CLIENT_NEVER_DISPLAY          X&lt;/P&gt;&lt;P&gt;  I_BYPASSING_BUFFER&lt;/P&gt;&lt;P&gt;  I_INTERNAL_TABNAME              I_MARA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Changing parameters             Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CT_FIELDCAT                        0 Entries&lt;/P&gt;&lt;P&gt;                   Result:           204 Entries&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 12:02:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531173#M849481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T12:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with field label</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531174#M849482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try to use the tablename-fieldname of that field for internal table  from which the data is displayed and while creating the field catalog,you will get it.for exampe as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear ls_fcat.&lt;/P&gt;&lt;P&gt;  ls_fcat-fieldname = 'VKORG' .&lt;/P&gt;&lt;P&gt;  ls_fcat-outputlen = '10' .&lt;/P&gt;&lt;P&gt;  ls_fcat-coltext = 'VKORG' .&lt;/P&gt;&lt;P&gt;  append ls_fcat to p_lt_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if still facing problem plz let me know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anil T on Mar 13, 2008 1:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 12:30:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531174#M849482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T12:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with field label</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531175#M849483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do these fields (PATID and PATNA) have data elements assigned to them? If not, assign data elements to them and the text labels from the data elements should show up in your ALV headers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 16:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531175#M849483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T16:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with field label</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531176#M849484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please Check the data elemnts assigned to your fields should have fieldlabels defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can check this by doble clickinmg on table field it will go to data element screen from where check 3 rd tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will find 4 filed lables defined there . like for matnr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                   Length  Field label      &lt;/P&gt;&lt;P&gt; Short             10      Material         &lt;/P&gt;&lt;P&gt; Medium            15      Material         &lt;/P&gt;&lt;P&gt; Long              20      Material         &lt;/P&gt;&lt;P&gt; Heading           18      Material         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these are pulled in Alv. please chk the fild lables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are using some standard data elemnt which doesnt have this.&lt;/P&gt;&lt;P&gt; you may need to cvraete z data elemnts to satisfy the requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 09:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531176#M849484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T09:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with field label</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531177#M849485</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 any one of the way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Give text in field catelog manualy&lt;/P&gt;&lt;P&gt;2. give Dic ref while creating Field catelog&lt;/P&gt;&lt;P&gt;3. use FM to create field catelog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 09:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-label/m-p/3531177#M849485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T09:29:39Z</dc:date>
    </item>
  </channel>
</rss>

