<?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 MB01 BDC HELP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993111#M1342960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed a BDC program for MB01 to post the GR document for a PO but getting the error &lt;STRONG&gt;No batch input data for screen SAPLKACB 0002.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am getting this error if in run background mode but if i run in the foreground , i am getting the no batch for one of the line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate if anybody could shade some light on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2009 01:16:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-31T01:16:41Z</dc:date>
    <item>
      <title>MB01 BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993111#M1342960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed a BDC program for MB01 to post the GR document for a PO but getting the error &lt;STRONG&gt;No batch input data for screen SAPLKACB 0002.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am getting this error if in run background mode but if i run in the foreground , i am getting the no batch for one of the line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate if anybody could shade some light on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 01:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993111#M1342960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T01:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: MB01 BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993112#M1342961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi Gurus,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I developed a BDC program for MB01 to post the GR document for a PO but getting the error &lt;STRONG&gt;No batch input data for screen SAPLKACB 0002.&lt;/STRONG&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi nikki vee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to SDN, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Screen SAPLKACB 0002 is for Cost Center, I guess while recording You would have't key in the CostCenter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;perform bdc_dynpro      using 'SAPLKACB' '0002'.
perform bdc_field       using 'BDC_CURSOR'
                              'COBL-KOSTL'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTE'.
perform bdc_field       using 'COBL-KOSTL'
                              'IND4100'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main thing in BDC's are how You do recording and its very important too, if could provide me few things which will help you to &lt;/P&gt;&lt;P&gt;solve Your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I need wht is your Flat file structure.&lt;/P&gt;&lt;P&gt;2. The procedure how you do recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suneel G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 02:19:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993112#M1342961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T02:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: MB01 BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993113#M1342962</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;I used the option 'simulate background' 'default display' in bdc recording. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We don't have the cost center information so i am not sure how to skip this screen w/o cost center value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is file structure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using movement type 101 and 543 together. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PO number, scac code, carrier pro number at the header level. &lt;/P&gt;&lt;P&gt;final product with po line number, matnr, qty, batch. &lt;/P&gt;&lt;P&gt;  component matnr, qty, batch. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can have more than one component but only one final product. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Nikki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 02:41:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993113#M1342962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T02:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: MB01 BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993114#M1342963</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; You can't Skip the Cost Center Screen as that will be in configuration level, as I guess according Mov Type, Material, Storage Location, GR No and PO or Plant the &lt;STRONG&gt;Cost center will become mandotory Filed&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Take the record for which You got error saying &lt;STRONG&gt;No batch input data for screen SAPLKACB 0002.&lt;/STRONG&gt; Do manually in &lt;STRONG&gt;MB01&lt;/STRONG&gt; and see how the Screen is called. And consultant Functional for derevation of Cost Center.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What I mean by Procedure is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 1. In first screen of &lt;STRONG&gt;MB01&lt;/STRONG&gt; what fields do You enter once You enter what button you are gona click.&lt;/P&gt;&lt;P&gt; 2. In second screen how are you enter a new line (is that You are clicking New Item button ) or how&lt;/P&gt;&lt;P&gt; 3. And finally when do u save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It could be helpful if you can paste the Code too.. try to post in Code tag. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suneel G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 03:39:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993114#M1342963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T03:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: MB01 BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993115#M1342964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot for your efforts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i do manuually i do not see the cosst centre screen.&lt;/P&gt;&lt;P&gt;Also one more thing after recording if the i process the same bdc session , it creates GR  with no cost centre.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my code.&lt;/P&gt;&lt;P&gt;  REFRESH : bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM bdc_dynpro      USING 'SAPMM07M' '0200'.&lt;/P&gt;&lt;P&gt;  PERFORM bdc_field       USING 'BDC_CURSOR' 'MKPF-BKTXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM bdc_field       USING 'BDC_OKCODE' '/00'..&lt;/P&gt;&lt;P&gt;  WRITE sy-datum TO w_data MM/DD/YYYY.&lt;/P&gt;&lt;P&gt;  PERFORM bdc_field       USING 'MKPF-BLDAT' w_data.&lt;/P&gt;&lt;P&gt;  PERFORM bdc_field       USING 'MKPF-BUDAT' w_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE i_hdr_data.&lt;/P&gt;&lt;P&gt;  READ TABLE i_line_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  	PERFORM bdc_field       USING 'RM07M-LFSNR' i_hdr_data-xblnr.&lt;/P&gt;&lt;P&gt;  	PERFORM bdc_field       USING 'MKPF-BKTXT' i_hdr_data-bktxt.&lt;/P&gt;&lt;P&gt;  	PERFORM bdc_field       USING 'RM07M-BWARTWE' '101'.&lt;/P&gt;&lt;P&gt;       PERFORM bdc_field       USING 'RM07M-EBELN' i_hdr_data-ebeln.&lt;/P&gt;&lt;P&gt;  	PERFORM bdc_field       USING 'RM07M-EBELP' i_line_data-posnr.&lt;/P&gt;&lt;P&gt;  	PERFORM bdc_field       USING 'XFULL' 'X'.&lt;/P&gt;&lt;P&gt;  	PERFORM bdc_field       USING 'RM07M-WVERS1' 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      PERFORM bdc_dynpro      USING 'SAPMM07M' '0221'.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_field       USING 'BDC_CURSOR' 'MSEG-ERFMG(01)'.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_field       USING 'BDC_OKCODE' '=SP'.&lt;/P&gt;&lt;P&gt;  	PERFORM bdc_field       USING 'MSEG-ERFMG(01)' i_line_data-flfimg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM bdc_dynpro      USING 'SAPMM07M' '0210'.&lt;/P&gt;&lt;P&gt;  PERFORM bdc_field       USING 'BDC_CURSOR' 'DM07M-HSDAT_INPUT'.&lt;/P&gt;&lt;P&gt;  PERFORM bdc_field       USING 'BDC_OKCODE' '=SEUB'.&lt;/P&gt;&lt;P&gt;  PERFORM bdc_field       USING 'VM07M-LICHA' i_line_data-fkdmat.&lt;/P&gt;&lt;P&gt;  CLEAR w_data.  WRITE i_line_data-abrdt TO w_data MM/DD/YYYY.&lt;/P&gt;&lt;P&gt;  PERFORM bdc_field       USING 'DM07M-HSDAT_INPUT' i_line_data-abrdt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT i_comp_resb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPMM07M' '0410'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_CURSOR' 'MSEG-ERFMG'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'MSEG-ERFMG' i_comp_resb-lfimg.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'MSEG-CHARG' i_comp_resb-charg.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'DKACB-FMORE' 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPMM07M' '0002'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE' '=ENTE'.&lt;/P&gt;&lt;P&gt;*&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPMM07M' '0221'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_CURSOR' 'MKPF-BUDAT'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE' '=BU'.&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 'MB01' USING bdcdata&lt;/P&gt;&lt;P&gt;                              MODE  l_mode&lt;/P&gt;&lt;P&gt;                              UPDATE 'S'&lt;/P&gt;&lt;P&gt;                              MESSAGES INTO xbdcmsgcoll.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 03:46:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993115#M1342964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T03:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: MB01 BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993116#M1342965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  As you said its ok and why do't try checking chaing the Mode in 'A' and see why the Scree is &lt;STRONG&gt;'SAPLKACB' '0002'.&lt;/STRONG&gt; is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suneel G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 04:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993116#M1342965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T04:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: MB01 BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993117#M1342966</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;I tried that but i get the error in the second component qyt and batch which i already passsed in the bdc table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Nikki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 04:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993117#M1342966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T04:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: MB01 BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993118#M1342967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am not understand you properly ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Suneel G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 05:28:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993118#M1342967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T05:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: MB01 BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993119#M1342968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikki,&lt;/P&gt;&lt;P&gt;    As i read your post. You have problem with MB01 data migration. Do one thing you could do recoding with TCODE SHDB or SCAT. and afterward include the bdcrex1 and see. Still if cost center is giving problem then let me know. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you previous problem i think either your screen field is mismatched or internal table whatever you created is not in proper way. Debug your program to check. if not success then go for both TCode whatever i told you before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Rakesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2009 15:24:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mb01-bdc-help/m-p/5993119#M1342968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-02T15:24:18Z</dc:date>
    </item>
  </channel>
</rss>

