<?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: Getting fields from Layout Variant ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-fields-from-layout-variant/m-p/3888245#M934018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I too checked the same before u replied to me .&lt;/P&gt;&lt;P&gt;Neways full points for ur clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 May 2008 13:44:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-29T13:44:57Z</dc:date>
    <item>
      <title>Getting fields from Layout Variant ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-fields-from-layout-variant/m-p/3888241#M934014</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;I have created a Report using ALV OOPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This report has a Layout Variant as a SSCRN Parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say I've 10 fields in my internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The STANDARD Layout Variant has been created with all the 10 fields.&lt;/P&gt;&lt;P&gt;A user-specific layout variant has been created with 3 fields out of 10 fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to know which 3 fields have been used in that layout variant so that I can use that date for further processing  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 11:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-fields-from-layout-variant/m-p/3888241#M934014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T11:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting fields from Layout Variant ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-fields-from-layout-variant/m-p/3888242#M934015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;      CALL METHOD G_GRID-&amp;gt;GET_FRONTEND_FIELDCATALOG
        IMPORTING
          ET_FIELDCATALOG = TEMP_FCAT .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Call this method after SET_TABLE_FOR_FIRST_DISPLAY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 12:04:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-fields-from-layout-variant/m-p/3888242#M934015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T12:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting fields from Layout Variant ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-fields-from-layout-variant/m-p/3888243#M934016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this method earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm getting all the fields into the fieldcatalog .(as per my example all 10 fields ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need only those fields which are being displayed as part of the layout variant selected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the FM 'LT_DBDATA_READ_FROM_LTDX' to which I can pass the Layout Variant Name .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But even this FM is returning me all the 10 fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other clues ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 12:09:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-fields-from-layout-variant/m-p/3888243#M934016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T12:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting fields from Layout Variant ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-fields-from-layout-variant/m-p/3888244#M934017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FM worked correct. You always get 10 fields from there. But if you look at fieldcatalog after FM, you can see that filed NO_OUT on 3 fileds has value 'X'.&lt;/P&gt;&lt;P&gt;Try to loop at fieldcatalog table with NO_OUT IS INITIAL with append lines into new fieldcatalog table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: First method is worked too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 13:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-fields-from-layout-variant/m-p/3888244#M934017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T13:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting fields from Layout Variant ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-fields-from-layout-variant/m-p/3888245#M934018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I too checked the same before u replied to me .&lt;/P&gt;&lt;P&gt;Neways full points for ur clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 13:44:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-fields-from-layout-variant/m-p/3888245#M934018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T13:44:57Z</dc:date>
    </item>
  </channel>
</rss>

