<?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: Synatx Error for POS and LEN data in ABAP coding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574957#M1938373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2016 13:09:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-03-23T13:09:08Z</dc:date>
    <item>
      <title>Synatx Error for POS and LEN data in ABAP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574954#M1938370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'book antiqua', palatino;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'book antiqua', palatino;"&gt;I am writing this small code in ABAP editor. I am facing a syntactical error of Filed Type 'I' does not permit a sub field access.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'book antiqua', palatino;"&gt;Please explain this error type and also explain how to clear this error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'book antiqua', palatino;"&gt;Please is my program( Just trying to write system date).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'book antiqua', palatino;"&gt;DATA: POS TYPE I VALUE 5,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'book antiqua', palatino;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEN TYPE I VALUE 25.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'book antiqua', palatino;"&gt;WRITE AT/ POS(LEN) '********'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'book antiqua', palatino;"&gt;SKIP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'book antiqua', palatino;"&gt;WRITE AT: POS 'DATE', 20 SY-DATUM,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'book antiqua', palatino;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; POS 'TIME', 20-SY-UZEIT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'book antiqua', palatino;"&gt;ULINE AT/POS(LEN)&lt;/SPAN&gt;&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;Shafali Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Mar 2016 16:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574954#M1938370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-19T16:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Synatx Error for POS and LEN data in ABAP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574955#M1938371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which line the error is raised? Definitely wrog is &lt;SPAN style="color: #333333; font-family: 'book antiqua', palatino; font-size: 13.3333px;"&gt;20-SY-UZEIT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;you may check &lt;A href="https://help.sap.com/saphelp_46c/helpdata/en/9f/db9e3035c111d1829f0000e829fbfe/content.htm?original_fqdn=help.sap.de" title="https://help.sap.com/saphelp_46c/helpdata/en/9f/db9e3035c111d1829f0000e829fbfe/content.htm?original_fqdn=help.sap.de"&gt;Positioning WRITE Output on the List - BC - ABAP Programming - SAP Library&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or &lt;A href="http://help.sap.com/abapdocu_702/en/abapuline.htm" title="http://help.sap.com/abapdocu_702/en/abapuline.htm"&gt;ABAP Keyword Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Mar 2016 18:03:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574955#M1938371</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2016-03-19T18:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Synatx Error for POS and LEN data in ABAP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574956#M1938372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shafali Jain,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: POS TYPE I VALUE 5,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEN TYPE I VALUE 25.&lt;/P&gt;&lt;P&gt;WRITE AT : POS(LEN)'**************************'.&lt;/P&gt;&lt;P&gt;NEW-LINE.&lt;/P&gt;&lt;P&gt;WRITE AT&amp;nbsp; : POS 'DATE', 20 SY-DATUM.&lt;/P&gt;&lt;P&gt;NEW-LINE.&lt;/P&gt;&lt;P&gt;WRITE AT : POS 'TIME', 20 SY-UZEIT.&lt;/P&gt;&lt;P&gt;NEW-LINE.&lt;/P&gt;&lt;P&gt;WRITE AT : POS(LEN) SY-ULINE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Mar 2016 20:09:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574956#M1938372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-19T20:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Synatx Error for POS and LEN data in ABAP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574957#M1938373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 13:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574957#M1938373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-23T13:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Synatx Error for POS and LEN data in ABAP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574958#M1938374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Point of order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question has not been answered - some one has just given you code that works.&amp;nbsp; You will never learn this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I type fields are integer fields and internally they are not held as digits but as binary codes.&amp;nbsp; As a simple example a number from 0 to 65535 can be defined using a 2 byte code where (dependant on what type of processor you are using) you multiply the 2nd character by 256 and add the first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly Packed BCD's are represented by hex characters representing the values 0 to 9.&amp;nbsp; Floting Point numbers contain a mantissa and an exponent.&amp;nbsp; In all these cases to split them in any way would yield meaningless results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In reference to your code, as it stands in your original post,&amp;nbsp; the error is not the error quoted but 'Field "AT/" is unknown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to be correct when you are posting information since incorrect information can waste peoples time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 13:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574958#M1938374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-23T13:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Synatx Error for POS and LEN data in ABAP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574959#M1938375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really sorry. I have just started learning SAP ABAP and with that lots of questions/queries arises.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry for putting incomplete information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try not to do so again.&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;Shafali Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:05:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574959#M1938375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-23T14:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Synatx Error for POS and LEN data in ABAP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574960#M1938376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shafali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You only learn by doing things yourself.&amp;nbsp; You asked a specific question: 'Please explain this error type' with reference to your 'Type I subfield access' error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not one of the people answered this question.&amp;nbsp; Instead they concentrated on the second part of your post which was far easier to answer.&amp;nbsp; Even then they did not explain what they had done - just posted a code listing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know &lt;EM&gt;exactly &lt;/EM&gt;what was wrong with your code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are just learning.&amp;nbsp; Please don't learn by rote - it does you no good.&amp;nbsp; There is a good site which gives you pointers to asking questions and getting answers: &lt;BR /&gt;&lt;A href="http://www.catb.org/esr/faqs/smart-questions.html"&gt;http://www.catb.org/esr/faqs/smart-questions.html&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a good read,&amp;nbsp; and if you cannot see why code works or why it appears different then always ask.&amp;nbsp; And if you still have unanswered questions,&amp;nbsp; re-iterate them in the same thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574960#M1938376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-23T14:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Synatx Error for POS and LEN data in ABAP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574961#M1938377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for guiding me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try to fix the code and also consult the site you have provided and if still faces some issue will update in a proper format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shafali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574961#M1938377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-23T14:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Synatx Error for POS and LEN data in ABAP coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574962#M1938378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:26:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synatx-error-for-pos-and-len-data-in-abap-coding/m-p/11574962#M1938378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-23T14:26:59Z</dc:date>
    </item>
  </channel>
</rss>

