<?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: interpret Field-Content in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629935#M604581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello aRs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, i understand your solution. It's another way to resolve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to the community for your help.&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2007 17:11:26 GMT</pubDate>
    <dc:creator>former_member315737</dc:creator>
    <dc:date>2007-08-07T17:11:26Z</dc:date>
    <item>
      <title>interpret Field-Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629924#M604570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have in a table-field (Tab-Text for example) any Text like 'BSEG-BELNR'.&lt;/P&gt;&lt;P&gt;With the command "WRITE TABLE-FIELD.", the displayed result is 'BESG-BELNR'.&lt;/P&gt;&lt;P&gt;It is possible to see as result instead the text 'BESG-BELNR', the content from BESG-BELNR with a write command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You for your answer.&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 09:56:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629924#M604570</guid>
      <dc:creator>former_member315737</dc:creator>
      <dc:date>2007-08-07T09:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: interpret Field-Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629925#M604571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA table_field value 'BSEG-BELNR'.
FIELD-SYMBOLS: &amp;lt;fs&amp;gt; TYPE ANY
ASSIGN (table_field) TO &amp;lt;fs&amp;gt;.
WRITE : &amp;lt;fs&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark points if the solution was useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 10:07:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629925#M604571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T10:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: interpret Field-Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629926#M604572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should use a field symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Documentation here : &lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some (untested) example code &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FIELD-SYMBOLS: &amp;lt;fs&amp;gt; TYPE ANY.
ASSIGN (TABLE-FIELD) TO &amp;lt;fs&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 10:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629926#M604572</guid>
      <dc:creator>dhorions</dc:creator>
      <dc:date>2007-08-07T10:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: interpret Field-Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629927#M604573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just check this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/abap/difference-between-select-single-and-up-to-1-row.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/abap/difference-between-select-single-and-up-to-1-row.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 10:10:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629927#M604573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T10:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: interpret Field-Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629928#M604574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 13:11:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629928#M604574</guid>
      <dc:creator>former_member315737</dc:creator>
      <dc:date>2007-08-07T13:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: interpret Field-Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629929#M604575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so, i test your solution, and it's work in one combination: here is my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==============================================&lt;/P&gt;&lt;P&gt;  DATA table_field TYPE string.&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS &amp;lt;fs&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE text FROM dbtab INTO table_field&lt;/P&gt;&lt;P&gt;         WHERE key EQ '123'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN (table_field) TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;  WRITE &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;==============================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if in text, i have 'BSEG-BELNR', it works fine.&lt;/P&gt;&lt;P&gt;but if in text, i habe 'BESG-BELNR BSEG-BUKRS' or 'BSEG-BELNR, BSEG-BUKRS', the programm dump and say that the field-symbol isn't assign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the reason from this question is that we have actually in an programm this instruction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE BSEG-BELNR BSEG-BUKRS into table_field SEPARATED BY space.&lt;/P&gt;&lt;P&gt;CALL FUNTION 'FUNCTION'&lt;/P&gt;&lt;P&gt;         EXPORTING &lt;/P&gt;&lt;P&gt;              param = table_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the future, we wan't have the table_field dynamik, and then define it as text in dbtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think it's possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 14:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629929#M604575</guid>
      <dc:creator>former_member315737</dc:creator>
      <dc:date>2007-08-07T14:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: interpret Field-Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629930#M604576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't that kind of logical?&lt;/P&gt;&lt;P&gt;if you read the link I posted in my original reply : &lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you would have noticed that a field symbol is a symbol pointing to &amp;lt;b&amp;gt;a field&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use space separated field names, you can use the split statement to get all the different field names out of your string and then assign each one of them to a field symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Untested example code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : itab type table of string, wa type string.
SPLIT table_field AT space INTO TABLE itab. 
loop at itab into wa.
  ASSIGN (wa) TO &amp;lt;fs&amp;gt;.
endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Dries Horions&lt;/P&gt;&lt;P&gt;removed unfriendly stuff from reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 14:15:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629930#M604576</guid>
      <dc:creator>dhorions</dc:creator>
      <dc:date>2007-08-07T14:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: interpret Field-Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629931#M604577</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 this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : v_field like dd03;-fieldname.
v_field =  'BSEG-BELNR'.
condense   : v_field.
write : (v_field) to v_result no-zero
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 14:25:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629931#M604577</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-08-07T14:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: interpret Field-Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629932#M604578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dries,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, i have, in the meantime tested a simular solution to yours and it's works fine.&lt;/P&gt;&lt;P&gt;The link was very helpful and your message confirm that i have the correct solution.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 14:29:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629932#M604578</guid>
      <dc:creator>former_member315737</dc:creator>
      <dc:date>2007-08-07T14:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: interpret Field-Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629933#M604579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello aRs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does your solution only works with numerics fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 14:51:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629933#M604579</guid>
      <dc:creator>former_member315737</dc:creator>
      <dc:date>2007-08-07T14:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: interpret Field-Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629934#M604580</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;No it will work with character /Numeric field also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : v_field like dd03;-fieldname.
v_field =  'BSEG-BELNR'.
condense   : v_field.
write : (v_field) to v_result  "&amp;lt;&amp;lt; You can write without No zero also
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 14:58:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629934#M604580</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-08-07T14:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: interpret Field-Content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629935#M604581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello aRs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, i understand your solution. It's another way to resolve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to the community for your help.&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 17:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interpret-field-content/m-p/2629935#M604581</guid>
      <dc:creator>former_member315737</dc:creator>
      <dc:date>2007-08-07T17:11:26Z</dc:date>
    </item>
  </channel>
</rss>

