<?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: Syntax Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3470674#M834274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THanks Venkat and Rahul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raju.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2008 18:09:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-10T18:09:24Z</dc:date>
    <item>
      <title>Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3470671#M834271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends, An upgrade error from 4.6 to 6.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM BUILD_OBJECT_FROM_IDOC USING    P_OBJECT_NAME
                                     P_VERB
                                     P_IDOCTYPE
                                     P_OBJECT[].
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the above statement I had an error &lt;/P&gt;&lt;P&gt;In Release 4.0, the special character "[" - as here in the name "P_OBJECT[]" - is no longer allowed.		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I chnaged it to,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM build_object_from_idoc
TABLES p_object TYPE object
USING p_object_name
      p_verb
      p_idoctype.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the error is,&lt;/P&gt;&lt;P&gt;You can only refer to the object type OBJECT using "REF TO".		&lt;/P&gt;&lt;P&gt;ANy suggestions.&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Raju.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 17:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3470671#M834271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T17:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3470672#M834272</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;see this,  please define the p_object as the table type .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of itab,&lt;/P&gt;&lt;P&gt;              f1 &lt;/P&gt;&lt;P&gt;              f2 &lt;/P&gt;&lt;P&gt;               .&lt;/P&gt;&lt;P&gt;               .&lt;/P&gt;&lt;P&gt;        end of itab.&lt;/P&gt;&lt;P&gt;data: object type standard table of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in you form p_OBJECT type itab. "&amp;lt;&amp;lt;&amp;lt;&amp;lt;ur structure name of object&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 17:47:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3470672#M834272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T17:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3470673#M834273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;FORM build_object_from_idoc
TABLES p_object structure object
USING p_object_name
      p_verb
      p_idoctype.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi I have edited my response above, check if it works now...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*                             D A T A                                  *
************************************************************************
DATA:  BEGIN OF t_data OCCURS 0,
           werks LIKE msku-werks, "Plant
           matnr LIKE msku-matnr, "Material
           END OF t_data.

FORM get_data  TABLES   pt_data STRUCTURE t_data.

***********CODE**********

ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rahul Kavuri on Mar 10, 2008 11:28 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 17:53:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3470673#M834273</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2008-03-10T17:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3470674#M834274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THanks Venkat and Rahul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raju.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 18:09:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3470674#M834274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T18:09:24Z</dc:date>
    </item>
  </channel>
</rss>

