<?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 Problems with Hexa ! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hexa/m-p/916341#M58219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI People&lt;/P&gt;&lt;P&gt;I have this problem in the following lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: HRDBTAB, hrip1001.&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF del_tab OCCURS 0,&lt;/P&gt;&lt;P&gt;       vdata like HRDBTAB-vdata.&lt;/P&gt;&lt;P&gt;DATA:  END OF del_tab.&lt;/P&gt;&lt;P&gt;DATA: f LIKE hrip1001-PROZT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols:  &amp;lt;p1001_vdata&amp;gt; type hrip1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE 'ST02000003' to del_tab-vdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;HERE -&amp;gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;MOVE '000' to del_tab-VDATA+47(3).&lt;/P&gt;&lt;P&gt;**************************************&lt;/P&gt;&lt;P&gt;APPEND del_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign del_tab-vdata to &amp;lt;p1001_vdata&amp;gt; casting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ &amp;lt;p1001_vdata&amp;gt;-SCLAS.&lt;/P&gt;&lt;P&gt;WRITE:/ &amp;lt;p1001_vdata&amp;gt;-SOBID.&lt;/P&gt;&lt;P&gt;WRITE:/ &amp;lt;p1001_vdata&amp;gt;-PROZT.&lt;/P&gt;&lt;P&gt;WRITE:/ &amp;lt;p1001_vdata&amp;gt;-ADATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do to get '0.00' in the field &amp;lt;p1001_vdata&amp;gt;-PROZT, if I move the field del_tab-vdata &lt;/P&gt;&lt;P&gt;to &amp;lt;p1001_vdata&amp;gt;-PROZT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to put blanks chars in del_tab-VDATA+47(3) . If I see it as Hexa I have to see '00' and I see now '30'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me, please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2005 15:16:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-03-02T15:16:30Z</dc:date>
    <item>
      <title>Problems with Hexa !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hexa/m-p/916341#M58219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI People&lt;/P&gt;&lt;P&gt;I have this problem in the following lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: HRDBTAB, hrip1001.&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF del_tab OCCURS 0,&lt;/P&gt;&lt;P&gt;       vdata like HRDBTAB-vdata.&lt;/P&gt;&lt;P&gt;DATA:  END OF del_tab.&lt;/P&gt;&lt;P&gt;DATA: f LIKE hrip1001-PROZT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols:  &amp;lt;p1001_vdata&amp;gt; type hrip1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE 'ST02000003' to del_tab-vdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;HERE -&amp;gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;MOVE '000' to del_tab-VDATA+47(3).&lt;/P&gt;&lt;P&gt;**************************************&lt;/P&gt;&lt;P&gt;APPEND del_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign del_tab-vdata to &amp;lt;p1001_vdata&amp;gt; casting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ &amp;lt;p1001_vdata&amp;gt;-SCLAS.&lt;/P&gt;&lt;P&gt;WRITE:/ &amp;lt;p1001_vdata&amp;gt;-SOBID.&lt;/P&gt;&lt;P&gt;WRITE:/ &amp;lt;p1001_vdata&amp;gt;-PROZT.&lt;/P&gt;&lt;P&gt;WRITE:/ &amp;lt;p1001_vdata&amp;gt;-ADATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do to get '0.00' in the field &amp;lt;p1001_vdata&amp;gt;-PROZT, if I move the field del_tab-vdata &lt;/P&gt;&lt;P&gt;to &amp;lt;p1001_vdata&amp;gt;-PROZT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to put blanks chars in del_tab-VDATA+47(3) . If I see it as Hexa I have to see '00' and I see now '30'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me, please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2005 15:16:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hexa/m-p/916341#M58219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-02T15:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Hexa !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hexa/m-p/916342#M58220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cesar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;char 0 is hex 30 (or dec 30, depending how you read this field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just need to clear proz, you can use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLEAR del_tab-VDATA+47(3).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2005 15:31:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hexa/m-p/916342#M58220</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-03-02T15:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Hexa !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hexa/m-p/916343#M58221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cesar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR &amp;lt;p1001_vdata&amp;gt;-PROZT WITH NULL.&lt;/P&gt;&lt;P&gt;WRITE:/ &amp;lt;p1001_vdata&amp;gt;-PROZT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2005 15:39:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hexa/m-p/916343#M58221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-02T15:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Hexa !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hexa/m-p/916344#M58222</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;What you have put in del_tab-VDATA+47(3) is the string '000'. This is not the same as blanks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the reason why you see 30 in the Hex format is because the character '0' has the ASCII value of 48. And the number 48 in the hexadecimal notation has the value 30. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The character '' (i.e., a blank space) has an ASCII value of 32. Which is 20, if represented in the hexadecimal notation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the concept is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2005 15:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hexa/m-p/916344#M58222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-02T15:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Hexa !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hexa/m-p/916345#M58223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cesar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe your code should be like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES: HRDBTAB, hrip1001.

DATA: BEGIN OF del_tab OCCURS 0,
        vdata like HRDBTAB-vdata.
DATA: END OF del_tab.
DATA: f LIKE hrip1001-PROZT.

FIELD-SYMBOLS: &amp;lt;p1001_vdata&amp;gt; TYPE hrip1001.

* Normal transfer
  del_tab-vdata = 'ST02000003'.

* Set pointer (i think CASTING is not required)
ASSIGN del_tab-vdata TO &amp;lt;p1001_vdata&amp;gt;.

* Set PROZT value
  &amp;lt;p1001_vdata&amp;gt;-prozt = '0.00'.

* Store in internal table
  APPEND del_tab.

* Test output data
  WRITE:/ &amp;lt;p1001_vdata&amp;gt;-SCLAS.
  WRITE:/ &amp;lt;p1001_vdata&amp;gt;-SOBID.
  WRITE:/ &amp;lt;p1001_vdata&amp;gt;-PROZT.
  WRITE:/ &amp;lt;p1001_vdata&amp;gt;-ADATA.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possibly you can use a clear statement for the PROTZ field like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CLEAR:&amp;lt;p1001_vdata&amp;gt;-prozt.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you a bit.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2005 15:58:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hexa/m-p/916345#M58223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-02T15:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Hexa !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hexa/m-p/916346#M58224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Cesar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, there are people taking their time out to answer your questions. Would you mind rewarding them appropriately for their effort? I see that you have not done that in your earlier posts either. So, if possible assign points and close those threads as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you take this in the right spirit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2005 16:15:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hexa/m-p/916346#M58224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-02T16:15:52Z</dc:date>
    </item>
  </channel>
</rss>

