<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1664616#M294339</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;&lt;/P&gt;&lt;P&gt;BDC are used for follwoing scenarios mostly: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Mass Upload of Data&lt;/P&gt;&lt;P&gt;2. allowed to do some activity repeatedly for large amout of data where User Interaction becomes Hectic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Major use would be for DATA TRANSFER!!!!! &lt;/P&gt;&lt;P&gt;It allows us to automate some transaction for which we have data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following documents would give u some brief idea on Batch Data communication : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/bdc.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u want to call a transaction and goto a particular screen as soon as u call the transaction, u can record the flow in BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is u have to goto SHDB transaction for recording and then specify the transaction code then pass the values and once u reach the screen, press save button and press back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code will get automatically generated.&lt;/P&gt;&lt;P&gt;Then u can copy and paste the part of the code that is needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A sample code for calling MM03 transaction from an ALV. &lt;/P&gt;&lt;P&gt;When u click on the MATNR of the ALV grid this will call transaction. U can perform this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a messtab&lt;/P&gt;&lt;P&gt;DATA: i_bdcdata TYPE STANDARD TABLE OF bdcdata,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table to hold BDC messages&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i_messtab TYPE STANDARD TABLE OF bdcmsgcoll&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Work area to hold bdcdata value&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: w_bdcdata TYPE bdcdata,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Work area to hold BDC messages&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;w_messtab TYPE bdcmsgcoll.&lt;/P&gt;&lt;P&gt;CONSTANTS : c_e type bdcmsgcoll-msgtyp value 'E', "E&lt;/P&gt;&lt;P&gt;c_a type bdcmsgcoll-msgtyp value 'A', "A&lt;/P&gt;&lt;P&gt;nodata type c value '/'. "/&lt;/P&gt;&lt;P&gt;perform f1000_bdc_mm03 using lv_matnr lv_werks.&lt;/P&gt;&lt;P&gt;FORM f1000_bdc_mm03 USING P_LV_MATNR&lt;/P&gt;&lt;P&gt;P_LV_WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '0060'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'RMMG1-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'/00'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'RMMG1-MATNR'&lt;/P&gt;&lt;P&gt;p_lv_matnr.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MSICHTAUSW-DYTXT(15)'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ENTR'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(15)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '0080'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'RMMG1-WERKS'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ENTR'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'RMMG1-WERKS'&lt;/P&gt;&lt;P&gt;p_lv_werks.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '4000'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ZU01'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'RMMG1-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '4300'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ZU08'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'RMMG1-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '4110'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=GESV'.&lt;/P&gt;&lt;P&gt;*perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;'RMMG1-MATNR'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call transaction 'MM03' using i_bdcdata MODE 'N'MESSAGES INTO i_messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls mark points if helped&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Nov 2006 06:00:48 GMT</pubDate>
    <dc:creator>anversha_s</dc:creator>
    <dc:date>2006-11-05T06:00:48Z</dc:date>
    <item>
      <title>BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1664615#M294338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  plz let me know that&lt;/P&gt;&lt;P&gt;1.Can we call a bdc from a report program? how?&lt;/P&gt;&lt;P&gt;2.If we sheduled 3 sessions in background&lt;/P&gt;&lt;P&gt;  first has executed successfully&lt;/P&gt;&lt;P&gt;  second has some error in execution&lt;/P&gt;&lt;P&gt;  then what hapens to the process execution&lt;/P&gt;&lt;P&gt;wather the third procee will run or the process will be stoped over ther itself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Siddhardha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2006 05:59:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1664615#M294338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-05T05:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1664616#M294339</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;&lt;/P&gt;&lt;P&gt;BDC are used for follwoing scenarios mostly: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Mass Upload of Data&lt;/P&gt;&lt;P&gt;2. allowed to do some activity repeatedly for large amout of data where User Interaction becomes Hectic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Major use would be for DATA TRANSFER!!!!! &lt;/P&gt;&lt;P&gt;It allows us to automate some transaction for which we have data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following documents would give u some brief idea on Batch Data communication : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/bdc.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u want to call a transaction and goto a particular screen as soon as u call the transaction, u can record the flow in BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is u have to goto SHDB transaction for recording and then specify the transaction code then pass the values and once u reach the screen, press save button and press back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code will get automatically generated.&lt;/P&gt;&lt;P&gt;Then u can copy and paste the part of the code that is needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A sample code for calling MM03 transaction from an ALV. &lt;/P&gt;&lt;P&gt;When u click on the MATNR of the ALV grid this will call transaction. U can perform this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a messtab&lt;/P&gt;&lt;P&gt;DATA: i_bdcdata TYPE STANDARD TABLE OF bdcdata,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table to hold BDC messages&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i_messtab TYPE STANDARD TABLE OF bdcmsgcoll&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Work area to hold bdcdata value&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: w_bdcdata TYPE bdcdata,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Work area to hold BDC messages&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;w_messtab TYPE bdcmsgcoll.&lt;/P&gt;&lt;P&gt;CONSTANTS : c_e type bdcmsgcoll-msgtyp value 'E', "E&lt;/P&gt;&lt;P&gt;c_a type bdcmsgcoll-msgtyp value 'A', "A&lt;/P&gt;&lt;P&gt;nodata type c value '/'. "/&lt;/P&gt;&lt;P&gt;perform f1000_bdc_mm03 using lv_matnr lv_werks.&lt;/P&gt;&lt;P&gt;FORM f1000_bdc_mm03 USING P_LV_MATNR&lt;/P&gt;&lt;P&gt;P_LV_WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '0060'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'RMMG1-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'/00'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'RMMG1-MATNR'&lt;/P&gt;&lt;P&gt;p_lv_matnr.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MSICHTAUSW-DYTXT(15)'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ENTR'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(15)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '0080'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'RMMG1-WERKS'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ENTR'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'RMMG1-WERKS'&lt;/P&gt;&lt;P&gt;p_lv_werks.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '4000'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ZU01'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'RMMG1-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '4300'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ZU08'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'RMMG1-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '4110'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=GESV'.&lt;/P&gt;&lt;P&gt;*perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;'RMMG1-MATNR'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call transaction 'MM03' using i_bdcdata MODE 'N'MESSAGES INTO i_messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls mark points if helped&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2006 06:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1664616#M294339</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-05T06:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1664617#M294340</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;1.&amp;lt;b&amp;gt;Can we call a bdc from a report program? how?&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; I guess you are referring to a session that is created and exists in SM35. The answer is YES we can execute a session through a program. We have to SUBMIT program RSBDCSUB with the session name for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.If we sheduled 3 sessions in background&lt;/P&gt;&lt;P&gt;first has executed successfully&lt;/P&gt;&lt;P&gt;second has some error in execution&lt;/P&gt;&lt;P&gt;then what hapens to the process execution&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;wather the third procee will run or the process will be stoped over ther itself&amp;lt;/b&amp;gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the 3 sessions are independent, then the 3rd can continue to process. Also depending on the requirement we can restrict execting the 3rd by explicit handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Hope the above info gives you some idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2006 07:03:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1664617#M294340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-05T07:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1664618#M294341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to control the third session based on the results of the earlier sessions, instead of using the session method, you can use CALL TRANSACTION MESSAGES INTO messtab. You examine the results of messtab to determine whether or not you should continue with the next transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2006 19:12:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1664618#M294341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-05T19:12:42Z</dc:date>
    </item>
  </channel>
</rss>

