<?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: SWNC_STATREC_READ TaskType values in XML in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/swnc-statrec-read-tasktype-values-in-xml/m-p/7271008#M1530104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: I've tried changing the codepage of my RFC connection with no effect.  The SAP system I'm connecting to is 4103 (UTF-16LE).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Sep 2010 16:01:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-07T16:01:48Z</dc:date>
    <item>
      <title>SWNC_STATREC_READ TaskType values in XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/swnc-statrec-read-tasktype-values-in-xml/m-p/7271007#M1530103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope I'm posting this to the right place.  I couldn't find an RFC specific forum anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on an app in C using RFC to call the function module SWNC_STATREC_READ.  When I receive back the normal records in XML format, the task type values don't seem to be correct.  For example, for an obvious RFC record, the task type field is "&amp;lt;TASKTYPE&amp;gt;/g==&amp;lt;/TASKTYPE&amp;gt;".  I've looked at the constants for task type in CL_SWNC_CONSTANTS and things don't seem to match up.  How am I supposed to get a raw 254 value from this string?    I'm assuming the encoding is UTF8, so I've tried to break the values down to hex and binary and figure out some kind of pattern that would tell me something is off (byte or nibble swapped, etc) but haven't had any luck.  With the example, /g== would be 2F 67 3D 3D in hex, this doesn't seem to get me near the FE value I'm looking for.  I've looked at several other task types from this data and am still at a loss in figuring it out.  I have several other 'raw' fields to extract that seem to have the same formatting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Sep 2010 02:56:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/swnc-statrec-read-tasktype-values-in-xml/m-p/7271007#M1530103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-06T02:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: SWNC_STATREC_READ TaskType values in XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/swnc-statrec-read-tasktype-values-in-xml/m-p/7271008#M1530104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: I've tried changing the codepage of my RFC connection with no effect.  The SAP system I'm connecting to is 4103 (UTF-16LE).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 16:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/swnc-statrec-read-tasktype-values-in-xml/m-p/7271008#M1530104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-07T16:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: SWNC_STATREC_READ TaskType values in XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/swnc-statrec-read-tasktype-values-in-xml/m-p/7271009#M1530105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...and the answer is, Base64 encoding.  I don't deal with XML too often and didn't recognize it.  Many searches later thru SDN and I stumbled on the answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 21:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/swnc-statrec-read-tasktype-values-in-xml/m-p/7271009#M1530105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-07T21:05:47Z</dc:date>
    </item>
  </channel>
</rss>

