<?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: Hexa deimal in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029115#M83225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;       Thanks for ur reply,&lt;/P&gt;&lt;P&gt;  i am trying to upload file using GUI_UPLOAD my file has a seprator as space and i am getting a problem with respect to name as FIRST name and SECOND NAME &lt;/P&gt;&lt;P&gt;First name XXXXX vvvv&lt;/P&gt;&lt;P&gt;LAST name yxyxyxy&lt;/P&gt;&lt;P&gt;and the system is putting rest of the values in my next value irrespective of the lenght and space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am working on 4.6c and not able to find the class CL_ABAP_CHAR_UTILITIES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: aima sufi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Nov 2005 10:18:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-22T10:18:46Z</dc:date>
    <item>
      <title>Hexa deimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029113#M83223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;            i would like to know the hexadecimal value for SPACE and it would be kind enough to give some lines regarding the Concept of Hexa Decimal values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 09:55:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029113#M83223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T09:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hexa deimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029114#M83224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the hexadecimal value of space is 20.&lt;/P&gt;&lt;P&gt;some chracters are stored in the CLASS CL_ABAP_CHAR_UTILITIES.&lt;/P&gt;&lt;P&gt;as attributes&lt;/P&gt;&lt;P&gt;HORIZONTAL_TAB&lt;/P&gt;&lt;P&gt;VERTICAL_TAB&lt;/P&gt;&lt;P&gt;NEWLINE&lt;/P&gt;&lt;P&gt;CR_LF&lt;/P&gt;&lt;P&gt;FORM_FEED&lt;/P&gt;&lt;P&gt;BACKSPACE&lt;/P&gt;&lt;P&gt;SPACE_STR&lt;/P&gt;&lt;P&gt;SPACE_STR_LANGU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so for space you can declare a constant with value equal to CL_ABAP_CHAR_UTILITIES=&amp;gt;NEWLINE for eg.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ravi Kanth Talagana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 09:57:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029114#M83224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T09:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hexa deimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029115#M83225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;       Thanks for ur reply,&lt;/P&gt;&lt;P&gt;  i am trying to upload file using GUI_UPLOAD my file has a seprator as space and i am getting a problem with respect to name as FIRST name and SECOND NAME &lt;/P&gt;&lt;P&gt;First name XXXXX vvvv&lt;/P&gt;&lt;P&gt;LAST name yxyxyxy&lt;/P&gt;&lt;P&gt;and the system is putting rest of the values in my next value irrespective of the lenght and space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am working on 4.6c and not able to find the class CL_ABAP_CHAR_UTILITIES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: aima sufi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 10:18:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029115#M83225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T10:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hexa deimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029116#M83226</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;Chek out this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="369306"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 10:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029116#M83226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T10:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hexa deimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029117#M83227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Aima,&lt;/P&gt;&lt;P&gt;   I don't think you need to give the field separator at all in your case. &lt;/P&gt;&lt;P&gt;Just declare the internal table of the same structure of the file to be uploaded and pass that itab to the FM.&lt;/P&gt;&lt;P&gt;Try that.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 10:23:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029117#M83227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T10:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hexa deimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029118#M83228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;         if i am passing directly the itab then it is storing first name last name in the same field as the field length can accomodate both and from that field onwards  it is storing rest of the values accroding to the length of the field in internal table which are bigger the the value and hence i am not able to get the right values in right field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 10:28:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029118#M83228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T10:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hexa deimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029119#M83229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  For uploading any data into internal table, either you should know the length of fields or you should have some specific delimiter between the fields.&lt;/P&gt;&lt;P&gt;Any of the case will survive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is any delimiter, you can split the whole record based on this delimter and then pass the values into the fields of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the length of each field in the file is known, then we can split the record at those respective positions and put them in an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if your file for uploading meet any of these requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 10:58:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029119#M83229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T10:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hexa deimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029120#M83230</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;pls post your complete syntax with respect to &lt;/P&gt;&lt;P&gt;file handling&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 11:00:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029120#M83230</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-11-22T11:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hexa deimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029121#M83231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aima,&lt;/P&gt;&lt;P&gt;  As already mentioned by others, You should declare the length of the first name field in the internal table as the maximum length of the first name field in the file.&lt;/P&gt;&lt;P&gt;and the same with even the last name field also.&lt;/P&gt;&lt;P&gt;If there is no fixed length mainatained for those fields, there is no way to determine, which is the first field ans which is the second.&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;In Ravi Kanth Talagana,&lt;/P&gt;&lt;P&gt;how can you tell what is the first name and what is the last name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it is clear for now.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 11:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029121#M83231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T11:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hexa deimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029122#M83232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;For uploading any data into internal table, either you should know the length of fields or you should have some specific delimiter between the fields.&lt;/P&gt;&lt;P&gt;Any of the case will survive.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;In my case my field lenght are greater then defined in file and SPACE is the seprator used&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;when iam retriving data from file in internal table i am using simple line &lt;/P&gt;&lt;P&gt;Data: ln(2000) type c,it_ln like table of ln with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from this i am filling my internal table but when i am filling the field first name and last name  i am getting 3 spaces and system is filling the value in next field hence there after system is not filling using spaces but according to the length of the field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 11:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029122#M83232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T11:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hexa deimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029123#M83233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aima,&lt;/P&gt;&lt;P&gt;If the file structure is something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name1             Name2             Field3&lt;/P&gt;&lt;P&gt;Aima              Sufi              Test      &lt;/P&gt;&lt;P&gt;Ravi Kanth        Talagana          Test2&lt;/P&gt;&lt;P&gt;Then declare the internal table as &lt;/P&gt;&lt;P&gt;Data: Begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;        name1(18),&lt;/P&gt;&lt;P&gt;        name2(18),&lt;/P&gt;&lt;P&gt;        Field3(10),&lt;/P&gt;&lt;P&gt;      End of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you don't even need to pass the separator.&lt;/P&gt;&lt;P&gt;And The Internal table will get automatically Populated.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 12:04:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029123#M83233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T12:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hexa deimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029124#M83234</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;Count the number of characters of each field in the input file and declare internal table with the lenght of those respective fields. Dont specify delimiter as we already know the length of fields.&lt;/P&gt;&lt;P&gt;Then data gets uploaded correctly.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  If you dont know the lenght of the fields or if there is no delimiter, then how can the system get to know which values belong to which field? So, it can not upload the values correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 12:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hexa-deimal/m-p/1029124#M83234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T12:12:02Z</dc:date>
    </item>
  </channel>
</rss>

