<?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: from, and  perfrom (error) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-and-perfrom-error/m-p/2210864#M473531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works perfectly fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  data: it_msgtab type table of bdcmsgcoll  with header line.
  data: bdcdata type table of bdcdata with header line.

  perform bdc_transaction tables it_msgtab using 'MD61' 'E' 'L'.

form bdc_transaction tables messtab using tcode ctumode cupdate .

  call transaction tcode using bdcdata
  mode ctumode
  update cupdate
  messages into messtab.
  refresh bdcdata.
  clear bdcdata.

endform. " bdc_transaction&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2007 13:47:17 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-04-27T13:47:17Z</dc:date>
    <item>
      <title>from, and  perfrom (error)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-and-perfrom-error/m-p/2210863#M473530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got error like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; PERFORM bdc_transaction  TABLES it_msgtab using 'MD61''E''L'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM bdc_transaction TABLES messtab USING tcode ctumode cupdate .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL TRANSACTION tcode USING bdcdata&lt;/P&gt;&lt;P&gt;                         MODE   ctumode&lt;/P&gt;&lt;P&gt;                         UPDATE cupdate&lt;/P&gt;&lt;P&gt;                         MESSAGES INTO messtab.&lt;/P&gt;&lt;P&gt;  REFRESH bdcdata.&lt;/P&gt;&lt;P&gt;  CLEAR   bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " bdc_transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR:  Program ZBDC_MD61_UPLOAD&lt;/P&gt;&lt;P&gt;Different number of parameters in FORM and PERFORM (routine:&lt;/P&gt;&lt;P&gt;BDC_TRANSACTION, number of formal parameters: 1, number of actual&lt;/P&gt;&lt;P&gt;parameters: 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE2) IF I PUT SPACE BETWEEN TCODE E AND L..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM bdc_transaction  TABLES it_msgtab using 'MD61' 'E' 'L'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM bdc_transaction TABLES messtab USING tcode ctumode cupdate .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL TRANSACTION tcode USING bdcdata&lt;/P&gt;&lt;P&gt;                         MODE   ctumode&lt;/P&gt;&lt;P&gt;                         UPDATE cupdate&lt;/P&gt;&lt;P&gt;                         MESSAGES INTO messtab.&lt;/P&gt;&lt;P&gt;  REFRESH bdcdata.&lt;/P&gt;&lt;P&gt;  CLEAR   bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " bdc_transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program ZBDC_MD61_UPLOAD&lt;/P&gt;&lt;P&gt;Different number of parameters in FORM and PERFORM (routine:&lt;/P&gt;&lt;P&gt;BDC_TRANSACTION, number of formal parameters: 1, number of actual&lt;/P&gt;&lt;P&gt;parameters: 4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS INADVANCE,.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 13:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-and-perfrom-error/m-p/2210863#M473530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T13:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: from, and  perfrom (error)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-and-perfrom-error/m-p/2210864#M473531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works perfectly fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  data: it_msgtab type table of bdcmsgcoll  with header line.
  data: bdcdata type table of bdcdata with header line.

  perform bdc_transaction tables it_msgtab using 'MD61' 'E' 'L'.

form bdc_transaction tables messtab using tcode ctumode cupdate .

  call transaction tcode using bdcdata
  mode ctumode
  update cupdate
  messages into messtab.
  refresh bdcdata.
  clear bdcdata.

endform. " bdc_transaction&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 13:47:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-and-perfrom-error/m-p/2210864#M473531</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-27T13:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: from, and  perfrom (error)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-and-perfrom-error/m-p/2210865#M473532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Messagetab you are not passing in  PERFORM Statement&lt;/P&gt;&lt;P&gt;write&lt;/P&gt;&lt;P&gt;PERFORM bdc_transaction TABLES&lt;/P&gt;&lt;P&gt;                                      it_bdcdata  it_mestab                                                                                &lt;/P&gt;&lt;P&gt;using 'MD61'  'E'   'L'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM bdc_transaction TABLES bdcdata messtab &lt;/P&gt;&lt;P&gt;                                    USING tcode ctumode cupdate .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION tcode USING bdcdata&lt;/P&gt;&lt;P&gt;MODE ctumode&lt;/P&gt;&lt;P&gt;UPDATE cupdate&lt;/P&gt;&lt;P&gt;MESSAGES INTO messtab.&lt;/P&gt;&lt;P&gt;REFRESH bdcdata.&lt;/P&gt;&lt;P&gt;CLEAR bdcdata.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 13:50:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-and-perfrom-error/m-p/2210865#M473532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T13:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: from, and  perfrom (error)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-and-perfrom-error/m-p/2210866#M473533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insted of using direct values, can you try using variables instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. &lt;/P&gt;&lt;P&gt;DATA: tcode TYPE sy-tcode VALUE 'MD61',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define other two variables as well with their values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM bdc_transaction TABLES it_msgtab using tcode ctumode cupdate .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM bdc_transaction TABLES messtab USING tcode ctumode cupdate .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION tcode USING bdcdata&lt;/P&gt;&lt;P&gt;MODE ctumode&lt;/P&gt;&lt;P&gt;UPDATE cupdate&lt;/P&gt;&lt;P&gt;MESSAGES INTO messtab.&lt;/P&gt;&lt;P&gt;REFRESH bdcdata.&lt;/P&gt;&lt;P&gt;CLEAR bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " bdc_transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 13:50:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-and-perfrom-error/m-p/2210866#M473533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T13:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: from, and  perfrom (error)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-and-perfrom-error/m-p/2210867#M473534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there should be space between the parameters like you mentioned in case 2. It might be an issue with your quotes.. pl mak sure you are using the right quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 13:54:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-and-perfrom-error/m-p/2210867#M473534</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-04-27T13:54:35Z</dc:date>
    </item>
  </channel>
</rss>

