<?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: Generic lookups in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248403#M1913653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check DD08L table. It holds the relationships for check tables and text tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else for display purpose you could use SE11: GoTo-&amp;gt;Text Tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Sep 2015 13:55:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-09-10T13:55:16Z</dc:date>
    <item>
      <title>Generic lookups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248400#M1913650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I'm new to SAP generally and RFC/BAPIs/SAP-Tables specifically and I'm also not an ABAP Developer, so I apologize in advance if I'm using the wrong terminology, however, after a good experience in this forum, it seems like people here have the right knowledge/expertise that I need to accomplish what I'm trying to achieve. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I'm trying to figure out a generic way to get lookup values + text for fields in SAP programatically. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I already started implementing something based on domain names which can be found under DD03L and it does work well for short list domain names.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;For longer lists however, I came across couple of challenges, &lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;querying CheckTable/CheckField does allow us to get to some correct values however:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;1. It seems like from the SAP Windows client we are getting shorter list of values (potentially filtered) then what I'm getting from querying the table with the right language. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;2. I can't seem to find a generic way to get the text description (the label of the value). For instance Exp_Type field in BAPITRMAIN table of BAPI_TRIP_CREATE_FROM_DATA which creates a Travel Expanse, points to check-table T706B1 and check-field MANDT, which returns the values, yet in this check-table there's no text description for the values. Furthermore, I couldn't find a clue on where to look for the text neither.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 12.8px; font-family: arial, sans-serif;"&gt;Any help in understanding how to create a generic lookup mechanism that would bring filtered values and text description would be highly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 12.8px; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 12.8px; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 12.8px; font-family: arial, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 12.8px; font-family: arial, sans-serif;"&gt;Itzik&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 23:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248400#M1913650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-09T23:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Generic lookups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248401#M1913651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Itzik Spiten,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text table for T706B1 is T706B5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you enter table in SE16N, system will give the text table name in next row. If text table exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arivazhagan S&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 02:46:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248401#M1913651</guid>
      <dc:creator>arivazhagan_sivasamy</dc:creator>
      <dc:date>2015-09-10T02:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Generic lookups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248402#M1913652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi Arivazhagan&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response! I opened SE16 (hopefully I'm at the right place as I assume it's the Data Browser?). I couldn't figure out where to find the Text table as you suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is there programmatic way to get this data? querying metadata table etc? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 13:46:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248402#M1913652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-10T13:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Generic lookups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248403#M1913653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check DD08L table. It holds the relationships for check tables and text tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else for display purpose you could use SE11: GoTo-&amp;gt;Text Tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 13:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248403#M1913653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-10T13:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Generic lookups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248404#M1913654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rudra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I queried DD08L and got the right check-table for Exp_Type field which is T706B1 but I still can't figure out how to find the relation to T706B5 which should be the text table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did query T706B5 as &lt;SPAN style="color: #333333; font-size: 12px;"&gt;Arivazhagan had recommended above, and it does seem like the right texts table, the only question is how do I find that in SAP tables? Obviously the SAP GUI is getting this relation from somewhere. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, I do apologize if my questions seem lame, I'm really a rookie at this &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1336/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks, &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 14:16:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248404#M1913654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-10T14:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Generic lookups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248405#M1913655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are the steps to get the texts table&lt;/P&gt;&lt;P&gt;1. Go to SE 11 and give the original table name: T706B1&lt;/P&gt;&lt;P&gt;2. Click on Display&lt;/P&gt;&lt;P&gt;3. Click on Goto-&amp;gt;Text Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get programmatically here is the query:&lt;/P&gt;&lt;P&gt;select single tabname fieldname &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from DD08L&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; into (lv_tname, lv_fname)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where checktable = 'T706B1'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and frkart = 'TEXT'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and as4local = 'A'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 14:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248405#M1913655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-10T14:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Generic lookups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248406#M1913656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DD08L-CHECKTABLE = &amp;lt;Your Main Table &amp;gt;&lt;/P&gt;&lt;P&gt;DD08L-FRKART = 'TEXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get back Text table in DD08L-TABNAME&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 14:52:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248406#M1913656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-10T14:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Generic lookups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248407#M1913657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys, this is extremely helpful, you are awesome &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1336/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Itzik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 14:56:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248407#M1913657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-10T14:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Generic lookups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248408#M1913658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Again, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore on this subject:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to programatically find-out what's the text field name? It always appear to be the last field 5th, or 6th in case of compound keys like Country/Region but sometimes it's TEXT25 and sometimes it's different name etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 21:35:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248408#M1913658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-10T21:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Generic lookups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248409#M1913659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Itzik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; F4_GET_TEXTTABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass TABNAME = 'T706B1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then now you will get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEXTTABLE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;T706B5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;TEXTFIELD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; SPKZL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arivazhagan S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 02:45:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248409#M1913659</guid>
      <dc:creator>arivazhagan_sivasamy</dc:creator>
      <dc:date>2015-09-11T02:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Generic lookups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248410#M1913660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arivazhagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response, actually SPKZL is the value fields rather then the text field, but for now I have a workaround which works well, which is to grab the last field of the Text table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the help!&lt;/P&gt;&lt;P&gt;Itzik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 17:37:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-lookups/m-p/11248410#M1913660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-11T17:37:48Z</dc:date>
    </item>
  </channel>
</rss>

