<?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/2004892#M408573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;It appears that the problem is with Material Description field (MAKTX) not with the Material Number (MATNR) field.&lt;/P&gt;&lt;P&gt;Are you passing the Material description  data to that screen. if you are not passing that you better comment it. Generally we only pass the Material No only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2007 14:37:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-12T14:37:23Z</dc:date>
    <item>
      <title>BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2004890#M408571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to process a batch input for a MIGO transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to start by making sure that the Detail screen is closed.  I then&lt;/P&gt;&lt;P&gt;want to begin by entering the Material number, as indicated in the &lt;/P&gt;&lt;P&gt;code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT valid_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPLMIGO' '0001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=MIGO_OK_DETAIL_CLOSE'.*&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'GOITEM-MAKTX(01)'&lt;/P&gt;&lt;P&gt;                                  valid_table-maktx.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But an exception is throw:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOITEM-MAKTX(01) is not an input field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this happens because the Detail screen is not yet closed;&lt;/P&gt;&lt;P&gt;the Material number on the Detail screen is GOITEM-MAKTX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should this code be revised so I can still first make sure the&lt;/P&gt;&lt;P&gt;Detail screen is called and then intialize the input fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 14:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2004890#M408571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T14:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2004891#M408572</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;U can use the BAPI:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Call goods movement BAPI
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
     EXPORTING
          GOODSMVT_HEADER  = GM_HEADER
          GOODSMVT_CODE    = GM_CODE
     IMPORTING
          GOODSMVT_HEADRET = GM_HEADRET
          MATERIALDOCUMENT = GM_RETMTD
     TABLES
          GOODSMVT_ITEM    = GM_ITEM
          RETURN           = GM_RETURN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 14:36:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2004891#M408572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T14:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2004892#M408573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;It appears that the problem is with Material Description field (MAKTX) not with the Material Number (MATNR) field.&lt;/P&gt;&lt;P&gt;Are you passing the Material description  data to that screen. if you are not passing that you better comment it. Generally we only pass the Material No only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 14:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2004892#M408573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T14:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2004893#M408574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Try with this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT valid_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM bdc_dynpro USING 'SAPLMIGO' '0001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM bdc_field USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=MIGO_OK_DETAIL_CLOSE'.*&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PERFORM bdc_dynpro USING 'SAPLMIGO' '0001'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;PERFORM bdc_field USING 'GOITEM-MAKTX(01)'&lt;/P&gt;&lt;P&gt;valid_table-maktx.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Francis.&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 17:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2004893#M408574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T17:25:53Z</dc:date>
    </item>
  </channel>
</rss>

