<?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: BDC Program in SAP with Excel in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063897#M725969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naimesh...would you happen to know VB script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have mapped each cell in excel to a field in the BDC program, but the data is not transmitted. It gives me an error.."Object Variable or With Block Variable Not Set"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2007 22:37:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-20T22:37:56Z</dc:date>
    <item>
      <title>BDC Program in SAP with Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063895#M725967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys: I recorded a BDC program in SAP. I also RFC enabled it. Now I want to pass data from Excel to this program in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this be done? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 22:15:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063895#M725967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T22:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Program in SAP with Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063896#M725968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes It should. As this FM is RFC enabled and you are calling it from EXCEL, it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 22:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063896#M725968</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-20T22:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Program in SAP with Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063897#M725969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naimesh...would you happen to know VB script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have mapped each cell in excel to a field in the BDC program, but the data is not transmitted. It gives me an error.."Object Variable or With Block Variable Not Set"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 22:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063897#M725969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T22:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Program in SAP with Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063898#M725970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be helpful to you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/76/4a42f7f16d11d1ad15080009b0fb56/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/76/4a42f7f16d11d1ad15080009b0fb56/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 23:21:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063898#M725970</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-20T23:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Program in SAP with Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063899#M725971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that was helpful..and I have seen that post before...thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to connect to SAP from Excel,load the customer data via an RC Function Module, but I cant get the customer number in the return message from SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my VB code for the return part&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Get return parameters &amp;amp; display in excel&lt;/P&gt;&lt;P&gt;Set objReturn = objCreateCustomer.Imports("SUBRC")&lt;/P&gt;&lt;P&gt;ActiveSheet.Cells((vLastRow + vRows), 1) = objReturn.Value("MESSTAB")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, in my function module (EXPORT), I have &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBRC	LIKE	SYST-SUBRC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in my (TABLES), I have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSTAB	LIKE	BDCMSGCOLL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to make the customer number appear as a return message from SAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks so much...almost there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 15:49:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063899#M725971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-21T15:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Program in SAP with Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063900#M725972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to read the bdcmsgcoll-MSGTYP = 'S' and in this one of the parameters will be the generated customer no.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 20:25:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063900#M725972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-21T20:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Program in SAP with Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063901#M725973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how to loop thourgh the table which was returned by SAP to excel. Try with passing the Customer as also a Export parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read your message table in the RFC function module and pass the customer which was generated there to the export parameter. Try to give the message with this number. If you get the message then you will almost get the the success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 20:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-in-sap-with-excel/m-p/3063901#M725973</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-21T20:34:00Z</dc:date>
    </item>
  </channel>
</rss>

