<?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 XOR command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xor-command/m-p/7401113#M1546888</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;How to do XOR command between 2 numbers in SAP. The formula is NUM1 XOR NUM2 (where NUM1 and NUM2 are binary expressions since an XOR is a bit command).. Is there any FM available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw a command BIT-XOR but it only works for HEX characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Oct 2010 15:32:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-18T15:32:05Z</dc:date>
    <item>
      <title>XOR command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xor-command/m-p/7401113#M1546888</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;How to do XOR command between 2 numbers in SAP. The formula is NUM1 XOR NUM2 (where NUM1 and NUM2 are binary expressions since an XOR is a bit command).. Is there any FM available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw a command BIT-XOR but it only works for HEX characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 15:32:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xor-command/m-p/7401113#M1546888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T15:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: XOR command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xor-command/m-p/7401114#M1546889</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;You should use BIT-XOR. See:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: w_xx(10) type x,
      w_x1(10) type x,
      w_x2(10) type x,
      w_ii type i,
      w_i1 type i,
      w_i2 type i.

w_i1 = 12345.
w_i2 = 67890.

w_x1 = w_i1.
w_x2 = w_i2.

w_xx = w_x1 BIT-XOR w_x2.

w_ii = w_xx.

write w_ii.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leandro Mengue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 17:15:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xor-command/m-p/7401114#M1546889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T17:15:07Z</dc:date>
    </item>
  </channel>
</rss>

