<?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 Batch Input using Transaction Mb1b in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136210#M745204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use batch input for the transaction MB1B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already used the batch input recorder to get the right fieldnames and values.&lt;/P&gt;&lt;P&gt;My problem is that the ok_codes seems not to be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to skip the first screen and enter in the second one only materials and batch no via batch input (I already have these data in an internal table) - so on the second screen (0421) the user should enter the quantity for each single line at the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My coding is following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*perform oben using 'SAPLMM07M' '0400' 'X'.&lt;/P&gt;&lt;P&gt;*perform unten using 'BDC_CURSOR' 'RM07M-LGORT'.&lt;/P&gt;&lt;P&gt;*perform unten using 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;*perform unten using 'MKPF-BLDAT' '27.12.2007'.&lt;/P&gt;&lt;P&gt;*perform unten using 'MKPF-BUDAT' '27.12.2007'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-BWARTWA' '311'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-WERKS' '1000'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-LGORT' '1000'.&lt;/P&gt;&lt;P&gt;*perform unten using 'XFULL' 'X'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-WVERS3' 'X'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-XNAPR' 'X'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*loop at itab.&lt;/P&gt;&lt;P&gt;*n = n + 1.&lt;/P&gt;&lt;P&gt;*perform oben using 'SAPMM07M' '0421' 'X'.&lt;/P&gt;&lt;P&gt;*perform unten using 'MSEG-MATNR(n)' itab-matnr.&lt;/P&gt;&lt;P&gt;*perform unten using 'mseg-charg(n)' itab-charg.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like it is not working properly, it is not continuing after the first screen (0400).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question:&lt;/P&gt;&lt;P&gt;Can I use the batch input with this loop???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Christoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2007 04:53:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-27T04:53:52Z</dc:date>
    <item>
      <title>Batch Input using Transaction Mb1b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136210#M745204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use batch input for the transaction MB1B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already used the batch input recorder to get the right fieldnames and values.&lt;/P&gt;&lt;P&gt;My problem is that the ok_codes seems not to be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to skip the first screen and enter in the second one only materials and batch no via batch input (I already have these data in an internal table) - so on the second screen (0421) the user should enter the quantity for each single line at the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My coding is following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*perform oben using 'SAPLMM07M' '0400' 'X'.&lt;/P&gt;&lt;P&gt;*perform unten using 'BDC_CURSOR' 'RM07M-LGORT'.&lt;/P&gt;&lt;P&gt;*perform unten using 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;*perform unten using 'MKPF-BLDAT' '27.12.2007'.&lt;/P&gt;&lt;P&gt;*perform unten using 'MKPF-BUDAT' '27.12.2007'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-BWARTWA' '311'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-WERKS' '1000'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-LGORT' '1000'.&lt;/P&gt;&lt;P&gt;*perform unten using 'XFULL' 'X'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-WVERS3' 'X'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-XNAPR' 'X'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*loop at itab.&lt;/P&gt;&lt;P&gt;*n = n + 1.&lt;/P&gt;&lt;P&gt;*perform oben using 'SAPMM07M' '0421' 'X'.&lt;/P&gt;&lt;P&gt;*perform unten using 'MSEG-MATNR(n)' itab-matnr.&lt;/P&gt;&lt;P&gt;*perform unten using 'mseg-charg(n)' itab-charg.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like it is not working properly, it is not continuing after the first screen (0400).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question:&lt;/P&gt;&lt;P&gt;Can I use the batch input with this loop???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Christoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 04:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136210#M745204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T04:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Input using Transaction Mb1b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136211#M745205</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 first screen generally contains headder data, which you need to give input, it is must. As per my knowledge u can't skip that screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) you can loop like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 05:23:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136211#M745205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T05:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Input using Transaction Mb1b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136212#M745206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good to know that I can use this loop in that way. But why, even if I am not trying to skip the first screen, it is not going to the next screen automatically?&lt;/P&gt;&lt;P&gt;This is the code I am using to start the transaction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'MB1B' using bdc mode 'A' update 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 05:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136212#M745206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T05:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Input using Transaction Mb1b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136213#M745207</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; make sure that all &lt;EM&gt;ok codes&lt;/EM&gt; are at the end of the screen in recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  *perform oben using 'SAPLMM07M' '0400' 'X'.&lt;/P&gt;&lt;P&gt;*perform unten using 'BDC_CURSOR' 'RM07M-LGORT'.&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;perform unten using 'BDC_OKCODE' '/00'.&lt;/STRONG&gt;  &lt;U&gt;This should be&lt;/U&gt;&lt;/P&gt;&lt;P&gt;*perform unten using 'MKPF-BLDAT' '27.12.2007'.&lt;/P&gt;&lt;P&gt;*perform unten using 'MKPF-BUDAT' '27.12.2007'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-BWARTWA' '311'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-WERKS' '1000'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-LGORT' '1000'.&lt;/P&gt;&lt;P&gt;*perform unten using 'XFULL' 'X'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-WVERS3' 'X'.&lt;/P&gt;&lt;P&gt;*perform unten using 'RM07M-XNAPR' 'X'.&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;perform unten using 'BDC_OKCODE' '/00'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still problem exists kindly post the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 06:23:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136213#M745207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T06:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Input using Transaction Mb1b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136214#M745208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this, still not working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code - table itab is an internal table with 2 rows (matnr and charg).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form bdc.&lt;/P&gt;&lt;P&gt;perform oben using 'SAPLMM07M' '0400' 'X'.&lt;/P&gt;&lt;P&gt;perform unten using 'BDC_CURSOR' 'RM07M-LGORT'.&lt;/P&gt;&lt;P&gt;perform unten using 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;perform unten using 'RM07M-BWARTWA' '311'.&lt;/P&gt;&lt;P&gt;perform unten using 'RM07M-WERKS' '1000'.&lt;/P&gt;&lt;P&gt;perform unten using 'RM07M-LGORT' '1000'.&lt;/P&gt;&lt;P&gt;perform unten using 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform oben using 'SAPMM07M' '0421' 'X'.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;n = n + 1.&lt;/P&gt;&lt;P&gt;perform unten using 'MSEG-MATNR(n)' itab-matnr.&lt;/P&gt;&lt;P&gt;perform unten using 'mseg-charg(n)' itab-charg.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'MB1B' using bdc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form oben using programm dynpro dynbegin.&lt;/P&gt;&lt;P&gt;  bdc-program = programm.&lt;/P&gt;&lt;P&gt;  bdc-dynpro = dynpro.&lt;/P&gt;&lt;P&gt;  bdc-dynbegin = dynbegin.&lt;/P&gt;&lt;P&gt;  bdc-fnam = ''.&lt;/P&gt;&lt;P&gt;  bdc-fval = ''.&lt;/P&gt;&lt;P&gt;  append bdc.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form unten using fnam fval.&lt;/P&gt;&lt;P&gt;  bdc-program = ''.&lt;/P&gt;&lt;P&gt;  bdc-dynpro = ''.&lt;/P&gt;&lt;P&gt;  bdc-dynbegin = ''.&lt;/P&gt;&lt;P&gt;  bdc-fnam = fnam.&lt;/P&gt;&lt;P&gt;  bdc-fval = fval.&lt;/P&gt;&lt;P&gt;  append bdc.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Christoph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like the transaction is called without using the information from bdc table... What I am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Christoph Schle on Dec 27, 2007 8:14 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 06:46:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136214#M745208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T06:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Input using Transaction Mb1b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136215#M745209</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;perform bdc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form bdc.&lt;/P&gt;&lt;P&gt;perform oben using 'SAPLMM07M' '0400' 'X'.&lt;/P&gt;&lt;P&gt;perform unten using 'BDC_CURSOR' 'RM07M-LGORT'.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;perform unten using 'BDC_OKCODE' '/00'.&lt;/STRONG&gt; &lt;EM&gt;delete this one&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;perform unten using 'RM07M-BWARTWA' '311'.&lt;/P&gt;&lt;P&gt;perform unten using 'RM07M-WERKS' '1000'.&lt;/P&gt;&lt;P&gt;perform unten using 'RM07M-LGORT' '1000'.&lt;/P&gt;&lt;P&gt;perform unten using 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;perform oben using 'SAPMM07M' '0421' 'X'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;loop at itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;n = n + 1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;perform unten using 'MSEG-MATNR(n)' itab-matnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;perform unten using 'mseg-charg(n)' itab-charg.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endloop.&lt;/STRONG&gt; &lt;EM&gt;this is wrong&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to achieve the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  perform oben using 'SAPMM07M' '0421' 'X'.&lt;/P&gt;&lt;P&gt;  perform unten using 'MSEG-MATNR' itab-matnr.&lt;/P&gt;&lt;P&gt;  perform unten using 'mseg-charg' itab-charg.&lt;/P&gt;&lt;P&gt;  perform unten using 'BDC_OKCODE' '/00'. &lt;EM&gt;Check the Ok code in recording&lt;/EM&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'MB1B' using bdc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: pavan kumar pisipati on Dec 27, 2007 8:22 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 07:21:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136215#M745209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T07:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Input using Transaction Mb1b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136216#M745210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your replies.&lt;/P&gt;&lt;P&gt;I solved the problem now in a little bit different way, will post the coding here when it is finish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help and a happy new year!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 08:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-using-transaction-mb1b/m-p/3136216#M745210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T08:27:06Z</dc:date>
    </item>
  </channel>
</rss>

