<?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: how to rectify th esyntax error... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838724#M664815</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;U try with this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA : WA_ZCRM_DM_VBRP TYPE TS_ZCRM_DM_VBRP,&lt;/P&gt;&lt;P&gt;ITAB LIKE TABLE OF WA_ZCRM_DM_VBRP.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Sep 2007 11:18:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-20T11:18:44Z</dc:date>
    <item>
      <title>how to rectify th esyntax error...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838721#M664812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;I have written a code like below. But when i am chking it showing an error as....&lt;/P&gt;&lt;P&gt;"A line of itab and WA_T_DATA are not mutually convertable. In a unicode program itab must have the same structure of a Unicode character". So, any one can help me on this....my code is.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZTESTREPORT_ITEM&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTESTREPORT_ITEM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: ZCRM_DM_VBRP.&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TS_ZCRM_DM_VBRP,&lt;/P&gt;&lt;P&gt;       VBELN LIKE ZCRM_DM_VBRP-VBELN,&lt;/P&gt;&lt;P&gt;       POSNR LIKE ZCRM_DM_VBRP-POSNR,&lt;/P&gt;&lt;P&gt;       AUBEL LIKE ZCRM_DM_VBRP-AUBEL,&lt;/P&gt;&lt;P&gt;       AUPOS LIKE ZCRM_DM_VBRP-AUPOS,&lt;/P&gt;&lt;P&gt;       MATNR LIKE ZCRM_DM_VBRP-MATNR,&lt;/P&gt;&lt;P&gt;       CHARG LIKE ZCRM_DM_VBRP-CHARG,&lt;/P&gt;&lt;P&gt;       WERKS LIKE ZCRM_DM_VBRP-WERKS,&lt;/P&gt;&lt;P&gt;       FKIMG LIKE ZCRM_DM_VBRP-FKIMG,&lt;/P&gt;&lt;P&gt;       NETWR LIKE ZCRM_DM_VBRP-NETWR,&lt;/P&gt;&lt;P&gt;       ERDAT LIKE ZCRM_DM_VBRP-ERDAT,&lt;/P&gt;&lt;P&gt;       UVALL LIKE ZCRM_DM_VBRP-UVALL,&lt;/P&gt;&lt;P&gt;       END OF TS_ZCRM_DM_VBRP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       TT_ZCRM_DM_VBRP  TYPE STANDARD TABLE OF TS_ZCRM_DM_VBRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Declaration of work area&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : WA_ZCRM_DM_VBRP TYPE TS_ZCRM_DM_VBRP,&lt;/P&gt;&lt;P&gt;       ITAB TYPE TT_ZCRM_DM_VBRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: T_OPTIONS  TYPE TABLE OF  RFC_DB_OPT INITIAL SIZE 10,&lt;/P&gt;&lt;P&gt;       T_FIELDS   TYPE TABLE OF  RFC_DB_FLD INITIAL SIZE 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; STRUCTURE DECLARATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TYPES: BEGIN OF TS_DATA.   "OCCURS 0,&lt;/P&gt;&lt;P&gt;       INCLUDE STRUCTURE  TAB512 .&lt;/P&gt;&lt;P&gt;TYPES: END OF TS_DATA,&lt;/P&gt;&lt;P&gt;       TT_DATA   TYPE STANDARD TABLE OF TS_DATA .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*WORK AREA DECLARATION&lt;/P&gt;&lt;P&gt;DATA:  WA_T_DATA TYPE TS_DATA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;INTERNAL TABLE DECLARATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       ITAB1 TYPE TT_DATA.&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;                  START-OF-SELECTION                                         *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;********************************************************************************&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*CALLING FUNCTION MODULE TO READ TABLE FROM REMOTE CLIENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RFC_READ_TABLE' DESTINATION  'DAACLNT060'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;   QUERY_TABLE                =  'ZCRM_DM_VBRP'&lt;/P&gt;&lt;P&gt;   DELIMITER                  =  '   '&lt;/P&gt;&lt;P&gt;   NO_DATA                    =  '   '&lt;/P&gt;&lt;P&gt;   ROWSKIPS                   =  0&lt;/P&gt;&lt;P&gt;   ROWCOUNT                   =  0&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    OPTIONS                   = T_OPTIONS&lt;/P&gt;&lt;P&gt;    FIELDS                    = T_FIELDS&lt;/P&gt;&lt;P&gt;    DATA                      = ITAB1&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   TABLE_NOT_AVAILABLE        = 1&lt;/P&gt;&lt;P&gt;   TABLE_WITHOUT_DATA         = 2&lt;/P&gt;&lt;P&gt;   OPTION_NOT_VALID           = 3&lt;/P&gt;&lt;P&gt;   FIELD_NOT_VALID            = 4&lt;/P&gt;&lt;P&gt;   NOT_AUTHORIZED             = 5&lt;/P&gt;&lt;P&gt;   DATA_BUFFER_EXCEEDED       = 6&lt;/P&gt;&lt;P&gt;   OTHERS                     = 7          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;LOOP THE INTERNAL TABLE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT ITAB1 INTO WA_T_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*APPEND WORK AREA TO THE INTENAL TABLE&lt;/P&gt;&lt;P&gt; APPEND WA_T_DATA TO ITAB.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;*INSERT INTERNAL TABLE DATA TO Z TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT ZCRM_DM_VBRP FROM TABLE ITAB.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CLAER THE WORK AREA.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLEAR WA_T_DATA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 11:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838721#M664812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T11:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to rectify th esyntax error...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838722#M664813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Go to Program Attributes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uncheck Unicode option.&lt;/P&gt;&lt;P&gt;Now activate it.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rama.Pammi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 11:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838722#M664813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T11:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to rectify th esyntax error...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838723#M664814</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;Change your code like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: ZCRM_DM_VBRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA&amp;lt;/b&amp;gt; : &amp;lt;b&amp;gt;BEGIN OF WA_TS_ZCRM_DM_VBRP&amp;lt;/b&amp;gt;,&lt;/P&gt;&lt;P&gt;VBELN LIKE ZCRM_DM_VBRP-VBELN,&lt;/P&gt;&lt;P&gt;POSNR LIKE ZCRM_DM_VBRP-POSNR,&lt;/P&gt;&lt;P&gt;AUBEL LIKE ZCRM_DM_VBRP-AUBEL,&lt;/P&gt;&lt;P&gt;AUPOS LIKE ZCRM_DM_VBRP-AUPOS,&lt;/P&gt;&lt;P&gt;MATNR LIKE ZCRM_DM_VBRP-MATNR,&lt;/P&gt;&lt;P&gt;CHARG LIKE ZCRM_DM_VBRP-CHARG,&lt;/P&gt;&lt;P&gt;WERKS LIKE ZCRM_DM_VBRP-WERKS,&lt;/P&gt;&lt;P&gt;FKIMG LIKE ZCRM_DM_VBRP-FKIMG,&lt;/P&gt;&lt;P&gt;NETWR LIKE ZCRM_DM_VBRP-NETWR,&lt;/P&gt;&lt;P&gt;ERDAT LIKE ZCRM_DM_VBRP-ERDAT,&lt;/P&gt;&lt;P&gt;UVALL LIKE ZCRM_DM_VBRP-UVALL,&lt;/P&gt;&lt;P&gt;END OF &amp;lt;b&amp;gt;WA_TS_ZCRM_DM_VBRP&amp;lt;/b&amp;gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Declaration of work area&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA : ITAB LIKE STANDARD TABLE OF WA_TS_ZCRM_DM_VBRP with hedaer line.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Reward If Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 11:16:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838723#M664814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T11:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to rectify th esyntax error...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838724#M664815</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;U try with this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA : WA_ZCRM_DM_VBRP TYPE TS_ZCRM_DM_VBRP,&lt;/P&gt;&lt;P&gt;ITAB LIKE TABLE OF WA_ZCRM_DM_VBRP.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 11:18:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838724#M664815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T11:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to rectify th esyntax error...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838725#M664816</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;U have to declare itab as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type standard table of ZCRM_DM_VBRP ..Now u have to make move-corresponding from itab1 to itab ..like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB1 INTO WA_T_DATA.&lt;/P&gt;&lt;P&gt;move-corresponding  WA_T_DATA TO ITAB.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;CLEAR WA_T_DATA.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*INSERT INTERNAL TABLE DATA TO Z TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT ZCRM_DM_VBRP FROM TABLE ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if u find useful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 11:20:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838725#M664816</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-09-20T11:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to rectify th esyntax error...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838726#M664817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Structure of itab and WA_T_DATA are not same .&lt;/P&gt;&lt;P&gt;These structures shud be same inorder to avoid these error.&lt;/P&gt;&lt;P&gt;As u r using the statement :&lt;/P&gt;&lt;P&gt;APPEND WA_T_DATA TO ITAB , which have diff structure and so is the error.&lt;/P&gt;&lt;P&gt;Both shud have same structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;revrt back if any issues,&lt;/P&gt;&lt;P&gt;reward  if helpful.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 11:22:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838726#M664817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T11:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to rectify th esyntax error...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838727#M664818</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;The reason for the error is that the table ITAB and the work area WA_T_DATA are having different structures(i.e fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_T_DATA has only one field(WA), whereas internal table ITAB has many fields(VBELN,POSNR..etc), hence it is not possible to insert an entry into internal table ITAB using the work area WA_T_DATA(due to difference in structures).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do a successful insert into the internal table declare a new work area of the type ZCRM_DM_VBRP and use this work area to append the rows to internal table ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;P&gt;data: wa_itab type  ZCRM_DM_VBRP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move: wa_t_data+0(10) to wa_itab-vbeln,&lt;/P&gt;&lt;P&gt;         wa_t_data+10(6) to wa_itab-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The above move logic depends on your requirement to split the fields....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa_itab to itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dilli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 11:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838727#M664818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T11:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to rectify th esyntax error...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838728#M664819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Deva,&lt;/P&gt;&lt;P&gt; Can u give me the logic....&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>Thu, 20 Sep 2007 12:02:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838728#M664819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T12:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to rectify th esyntax error...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838729#M664820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report ZTESTREPORT_ITEM&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZTESTREPORT_ITEM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: ZCRM_DM_VBRP.&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TS_ZCRM_DM_VBRP,&lt;/P&gt;&lt;P&gt;VBELN LIKE ZCRM_DM_VBRP-VBELN,&lt;/P&gt;&lt;P&gt;POSNR LIKE ZCRM_DM_VBRP-POSNR,&lt;/P&gt;&lt;P&gt;AUBEL LIKE ZCRM_DM_VBRP-AUBEL,&lt;/P&gt;&lt;P&gt;AUPOS LIKE ZCRM_DM_VBRP-AUPOS,&lt;/P&gt;&lt;P&gt;MATNR LIKE ZCRM_DM_VBRP-MATNR,&lt;/P&gt;&lt;P&gt;CHARG LIKE ZCRM_DM_VBRP-CHARG,&lt;/P&gt;&lt;P&gt;WERKS LIKE ZCRM_DM_VBRP-WERKS,&lt;/P&gt;&lt;P&gt;FKIMG LIKE ZCRM_DM_VBRP-FKIMG,&lt;/P&gt;&lt;P&gt;NETWR LIKE ZCRM_DM_VBRP-NETWR,&lt;/P&gt;&lt;P&gt;ERDAT LIKE ZCRM_DM_VBRP-ERDAT,&lt;/P&gt;&lt;P&gt;UVALL LIKE ZCRM_DM_VBRP-UVALL,&lt;/P&gt;&lt;P&gt;END OF TS_ZCRM_DM_VBRP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TT_ZCRM_DM_VBRP TYPE STANDARD TABLE OF TS_ZCRM_DM_VBRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Declaration of work area&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : WA_ZCRM_DM_VBRP TYPE TS_ZCRM_DM_VBRP,&lt;/P&gt;&lt;P&gt;ITAB TYPE TT_ZCRM_DM_VBRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: T_OPTIONS TYPE TABLE OF RFC_DB_OPT INITIAL SIZE 10,&lt;/P&gt;&lt;P&gt;T_FIELDS TYPE TABLE OF RFC_DB_FLD INITIAL SIZE 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;STRUCTURE DECLARATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TYPES: BEGIN OF TS_DATA. "OCCURS 0,&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE TAB512 .&lt;/P&gt;&lt;P&gt;TYPES: END OF TS_DATA,&lt;/P&gt;&lt;P&gt;TT_DATA TYPE STANDARD TABLE OF TS_DATA .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*WORK AREA DECLARATION&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA: WA_T_DATA TYPE TS_ZCRM_DM_VBRP.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;INTERNAL TABLE DECLARATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ITAB1 TYPE TT_DATA.&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;START-OF-SELECTION *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;********************************************************************************&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*CALLING FUNCTION MODULE TO READ TABLE FROM REMOTE CLIENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RFC_READ_TABLE' DESTINATION 'DAACLNT060'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;QUERY_TABLE = 'ZCRM_DM_VBRP'&lt;/P&gt;&lt;P&gt;DELIMITER = ' '&lt;/P&gt;&lt;P&gt;NO_DATA = ' '&lt;/P&gt;&lt;P&gt;ROWSKIPS = 0&lt;/P&gt;&lt;P&gt;ROWCOUNT = 0&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;OPTIONS = T_OPTIONS&lt;/P&gt;&lt;P&gt;FIELDS = T_FIELDS&lt;/P&gt;&lt;P&gt;DATA = ITAB1&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;TABLE_NOT_AVAILABLE = 1&lt;/P&gt;&lt;P&gt;TABLE_WITHOUT_DATA = 2&lt;/P&gt;&lt;P&gt;OPTION_NOT_VALID = 3&lt;/P&gt;&lt;P&gt;FIELD_NOT_VALID = 4&lt;/P&gt;&lt;P&gt;NOT_AUTHORIZED = 5&lt;/P&gt;&lt;P&gt;DATA_BUFFER_EXCEEDED = 6&lt;/P&gt;&lt;P&gt;OTHERS = 7 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;LOOP THE INTERNAL TABLE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT ITAB1 INTO WA_T_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*APPEND WORK AREA TO THE INTENAL TABLE&lt;/P&gt;&lt;P&gt;APPEND WA_T_DATA TO ITAB.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;*INSERT INTERNAL TABLE DATA TO Z TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT ZCRM_DM_VBRP FROM TABLE ITAB.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CLAER THE WORK AREA.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLEAR WA_T_DATA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 12:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rectify-th-esyntax-error/m-p/2838729#M664820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T12:18:16Z</dc:date>
    </item>
  </channel>
</rss>

