<?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/3914594#M938394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not at all clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should know what fields you want to use for Batch upload using BDC. So you should have clear cut idea which fields u wanna use on specific screen. And also sometimes there will be some mandatory fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, Here is Simple BDC program for ME13 Transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report ZVKBDCME13
       no standard page heading line-size 255.

include bdcrecx1.

start-of-selection.

perform open_group.

perform bdc_dynpro      using 'SAPMM06I' '0100'.
perform bdc_field       using 'BDC_CURSOR'
                              'EINA-LIFNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'EINA-LIFNR'
                              '10099'.
perform bdc_field       using 'EINA-MATNR'
                              'CCS-99'.
perform bdc_field       using 'EINE-EKORG'
                              '3000'.
perform bdc_field       using 'EINE-WERKS'
                              '3000'.
perform bdc_field       using 'RM06I-NORMB'
                              'X'.
perform bdc_dynpro      using 'SAPMM06I' '0101'.
perform bdc_field       using 'BDC_CURSOR'
                              'EINA-INFNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_dynpro      using 'SAPMM06I' '0102'.
perform bdc_field       using 'BDC_CURSOR'
                              'EINE-INFNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_dynpro      using 'SAPMM06I' '0105'.
perform bdc_field       using 'BDC_CURSOR'
                              'EINE-INFNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_dynpro      using 'SAPMM06I' '0103'.
perform bdc_field       using 'BDC_CURSOR'
                              'EINA-INFNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_transaction using 'ME13'.

perform close_group. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if you find useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chinna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 May 2008 03:58:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-30T03:58:30Z</dc:date>
    <item>
      <title>BDc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3914593#M938393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please send bdc program using me13 tcode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 03:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3914593#M938393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T03:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: BDc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3914594#M938394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not at all clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should know what fields you want to use for Batch upload using BDC. So you should have clear cut idea which fields u wanna use on specific screen. And also sometimes there will be some mandatory fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, Here is Simple BDC program for ME13 Transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report ZVKBDCME13
       no standard page heading line-size 255.

include bdcrecx1.

start-of-selection.

perform open_group.

perform bdc_dynpro      using 'SAPMM06I' '0100'.
perform bdc_field       using 'BDC_CURSOR'
                              'EINA-LIFNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'EINA-LIFNR'
                              '10099'.
perform bdc_field       using 'EINA-MATNR'
                              'CCS-99'.
perform bdc_field       using 'EINE-EKORG'
                              '3000'.
perform bdc_field       using 'EINE-WERKS'
                              '3000'.
perform bdc_field       using 'RM06I-NORMB'
                              'X'.
perform bdc_dynpro      using 'SAPMM06I' '0101'.
perform bdc_field       using 'BDC_CURSOR'
                              'EINA-INFNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_dynpro      using 'SAPMM06I' '0102'.
perform bdc_field       using 'BDC_CURSOR'
                              'EINE-INFNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_dynpro      using 'SAPMM06I' '0105'.
perform bdc_field       using 'BDC_CURSOR'
                              'EINE-INFNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_dynpro      using 'SAPMM06I' '0103'.
perform bdc_field       using 'BDC_CURSOR'
                              'EINA-INFNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_transaction using 'ME13'.

perform close_group. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if you find useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chinna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 03:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3914594#M938394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T03:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: BDc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3914595#M938395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;me13 is display the purchase info , how can u write BDC for me13&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which transaction u want me11 or me12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sitaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 04:28:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3914595#M938395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T04:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: BDc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3914596#M938396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Generally ME11 is used to create info records&lt;/P&gt;&lt;P&gt;     or       ME13 to change info records.&lt;/P&gt;&lt;P&gt;refer the code.&lt;/P&gt;&lt;P&gt;1.prepare a flat file. with th efollowing fields:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vendor,matrl no,pur grp,info record number.&lt;/STRONG&gt;2.prepare an 2.internal table in compatible with falt file.&lt;/P&gt;&lt;P&gt;3. do the recording using transaction shdb&lt;/P&gt;&lt;P&gt;4, Create pgm and loop th eperform staements.&lt;/P&gt;&lt;P&gt;5.Change the recordinfg fields to itab fields&lt;/P&gt;&lt;P&gt;6. The tables are updated are as follows &lt;STRONG&gt;EINA ,EINE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt;report ZUK_BDC_ME13&lt;/P&gt;&lt;P&gt;       no standard page heading line-size 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include bdcrecx1.&lt;/P&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;perform open_group.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMM06I' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'EINA-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 'EINA-LIFNR'&lt;/P&gt;&lt;P&gt;                              'aaa'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'EINA-MATNR'&lt;/P&gt;&lt;P&gt;                              '000000000000000143'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'EINE-EKORG'&lt;/P&gt;&lt;P&gt;                              '0001'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'EINA-INFNR'&lt;/P&gt;&lt;P&gt;                              '5300000010'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RM06I-NORMB'&lt;/P&gt;&lt;P&gt;                              'X'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMM06I' '0101'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'EINA-INFNR'.&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_dynpro      using 'SAPMM06I' '0102'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'EINE-INFNR'.&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_dynpro      using 'SAPMM06I' '0105'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'EINE-INFNR'.&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_dynpro      using 'SAPMM06I' '0103'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'EINA-INFNR'.&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_transaction using 'ME13'.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;perform close_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Reward if helpful&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Umakanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 04:34:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3914596#M938396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T04:34:17Z</dc:date>
    </item>
  </channel>
</rss>

