<?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: text for code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162144#M457457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not get a hit &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have in MM02 is Fabr Code which is a multiple options &lt;/P&gt;&lt;P&gt;0001 - 86% stretch cotton 52% vinyl &lt;/P&gt;&lt;P&gt;0002 - .....&lt;/P&gt;&lt;P&gt;0003 - .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code gets selected and inserted into mm02 &lt;/P&gt;&lt;P&gt;I need to extract the text. I dont think I am creating any text here. Any ideas ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2007 19:35:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-03T19:35:46Z</dc:date>
    <item>
      <title>text for code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162139#M457452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In trasaction mm02 basic data 2 we have a field in AFS fabric content code when i click on it it shows the fcc code and fcc text , the text is a combination of many different things &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to display this text .. how do i extract it. I am sure there is a function module that combines many fields to create the text. how to find out what function module it is&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 19:17:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162139#M457452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T19:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: text for code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162140#M457453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may be able to read this using READ_TEXT.  You will need to know the text object and id.  The NAME should be the material number.   You can view the text object ids via transaction SE75.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 19:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162140#M457453</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-05-03T19:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: text for code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162141#M457454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can not figure out the text object and id, here is a little trick.   Create the text as you do in MM02,  just enter some text and save the material.  Now go to SE16 and do a query on table STXH.  Do a query using today as the creation date and your user id as the person who created it,  you should get a hit,  the one that you just created via MM02,  here you can see the object, id, and the name.  Pass these values to the READ_TEXT functino module and you should be good to go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, this is all assuming that what you are trying to get, is in fact, text.  I do not have in MM02, what you are referring to, so I don't know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 19:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162141#M457454</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-05-03T19:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: text for code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162142#M457455</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;Press F1 on that field...and then press the technical info field..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then take the data element of that field..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then goto SE12...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the data element..Double click on the domain..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will have a value table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the texts add T at the end..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex..IF the table name is T005...The text table will be T005T..&lt;/P&gt;&lt;P&gt;&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>Thu, 03 May 2007 19:27:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162142#M457455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T19:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: text for code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162143#M457456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or if the values are fix in the domain, you could also do this to retreive them.  All you need is the domain name assigned to the data element in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report zrich_0001.


data: idd07v type table of  dd07v with header line.

start-of-selection.




call function 'DD_DOMVALUES_GET'
     exporting
          domname        = 'RFBSK'
          text           = 'X'
          langu          = sy-langu
     tables
          dd07v_tab      = idd07v
     exceptions
          wrong_textflag = 1
          others         = 2.

loop at idd07v.
  write:/ idd07v-domvalue_l, idd07v-ddtext.
endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 19:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162143#M457456</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-05-03T19:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: text for code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162144#M457457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not get a hit &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have in MM02 is Fabr Code which is a multiple options &lt;/P&gt;&lt;P&gt;0001 - 86% stretch cotton 52% vinyl &lt;/P&gt;&lt;P&gt;0002 - .....&lt;/P&gt;&lt;P&gt;0003 - .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code gets selected and inserted into mm02 &lt;/P&gt;&lt;P&gt;I need to extract the text. I dont think I am creating any text here. Any ideas ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 19:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162144#M457457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T19:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: text for code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162145#M457458</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;Please check my reply..And try that...&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>Thu, 03 May 2007 19:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162145#M457458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T19:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: text for code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162146#M457459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I misunderstood,  I think the text is either coming from a text table like Naren suggested, or by the domain.  Can you tell me the field name of the code please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 19:37:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162146#M457459</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-05-03T19:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: text for code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162147#M457460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Narendra, I have tried your solution but it does not work as it takes me to another table that contains mandt and fabric code and not the text &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J_3AFCC is the field name in MARA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 20:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162147#M457460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T20:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: text for code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162148#M457461</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;When you get the table...Just add T at the end of the table...You will get the text table..&lt;/P&gt;&lt;P&gt;&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>Thu, 03 May 2007 20:15:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162148#M457461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T20:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: text for code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162149#M457462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i was not able to find the text table by adding T to th beginning &lt;/P&gt;&lt;P&gt;J_3AFCCO is the table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 20:19:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162149#M457462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T20:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: text for code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162150#M457463</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;Try giving J_3AFCCOT&lt;/P&gt;&lt;P&gt;&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>Thu, 03 May 2007 20:20:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162150#M457463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T20:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: text for code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162151#M457464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that you check the domain, there could be a value range there as well.  GO to MARA, on the field in question double click the data element, now double click the domain, click on the "Vales" tab, is there values there? if so, you can get the values and text using the function module mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich HEilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 20:30:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-for-code/m-p/2162151#M457464</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-05-03T20:30:21Z</dc:date>
    </item>
  </channel>
</rss>

