<?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: Help !!!!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1466856#M219808</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 the following eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA TXT(8) VALUE '19980606'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA mytype(1) VALUE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN txt 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;ASSIGN txt TO &amp;lt;fs&amp;gt; TYPE 'D'.&lt;/P&gt;&lt;P&gt;WRITE / &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN TXT TO &amp;lt;FS&amp;gt; TYPE MYTYPE.&lt;/P&gt;&lt;P&gt;WRITE / &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example using the CASTING addition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA TXT(8) VALUE '19980606'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA mytype(1) VALUE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN txt 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;ASSIGN txt TO &amp;lt;fs&amp;gt; CASTING TYPE d.&lt;/P&gt;&lt;P&gt;WRITE / &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN txt TO &amp;lt;fs&amp;gt; CASTING TYPE (mytype).&lt;/P&gt;&lt;P&gt;WRITE / &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases, the system displays the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;19980606&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;06061998&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3139393830363036&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In these examples, string TXT is assigned to field symbol &amp;lt;FS&amp;gt; three times: first without casting, then casting with type D and finally with casting with type X. The format of the second output line depends on the data in the user master record. The numbers in the last line are the hexadecimal codes of the characters in txt . They are platform-specific (in this case, ASCII).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Aug 2006 05:30:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-11T05:30:28Z</dc:date>
    <item>
      <title>Help !!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1466855#M219807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello frnds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to pass HEXVALUE '25' at the end of a text(character type) in SAP and after that it is going into the mainframe system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz do you have any idea how to do this.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Navneet Chaubey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 05:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1466855#M219807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T05:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help !!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1466856#M219808</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 the following eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA TXT(8) VALUE '19980606'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA mytype(1) VALUE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN txt 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;ASSIGN txt TO &amp;lt;fs&amp;gt; TYPE 'D'.&lt;/P&gt;&lt;P&gt;WRITE / &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN TXT TO &amp;lt;FS&amp;gt; TYPE MYTYPE.&lt;/P&gt;&lt;P&gt;WRITE / &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example using the CASTING addition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA TXT(8) VALUE '19980606'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA mytype(1) VALUE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN txt 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;ASSIGN txt TO &amp;lt;fs&amp;gt; CASTING TYPE d.&lt;/P&gt;&lt;P&gt;WRITE / &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN txt TO &amp;lt;fs&amp;gt; CASTING TYPE (mytype).&lt;/P&gt;&lt;P&gt;WRITE / &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases, the system displays the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;19980606&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;06061998&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3139393830363036&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In these examples, string TXT is assigned to field symbol &amp;lt;FS&amp;gt; three times: first without casting, then casting with type D and finally with casting with type X. The format of the second output line depends on the data in the user master record. The numbers in the last line are the hexadecimal codes of the characters in txt . They are platform-specific (in this case, ASCII).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 05:30:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1466856#M219808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T05:30:28Z</dc:date>
    </item>
  </channel>
</rss>

