<?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 MD61 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031892#M1349464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;start-of-selection.


  perform open_group.

  loop at ltab.

    CONDENSE ITAB-W_QTY1.
    CONDENSE ITAB-W_QTY2 .
    CONDENSE ITAB-W_QTY3 .
    CONDENSE ITAB-W_QTY4.
    perform bdc_dynpro      using 'SAPMM60X' '0100'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBDPT'.
*perform bdc_field       using 'BDC_CURSOR'
*                              'AM60X-MATNR'.
    perform bdc_field       using 'AM60X-MATAW'
                                  ' '.
    perform bdc_field       using 'AM60X-PBDAW'
                                 'X'.
    perform bdc_field       using 'AM60X-PBDNR'
                                LTAB-req_no.
    perform bdc_field       using 'AM60X-WERKS'
                              LTAB-werks.
    perform bdc_dynpro      using 'SAPMM60X' '0127'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'T459U-ENTLU'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=WEIT'.
    perform bdc_field       using 'HM60X-UEBEINZ'
                                  'X'.
    perform bdc_field       using 'T459U-BEDAE'
                                  LTAB-REQ_TYP.
    perform bdc_field       using 'T459U-ENTLU'
                                  LTAB-mode.
    perform bdc_field       using 'HM60X-ORPLAN'
                                  'X'.
    perform bdc_field       using 'T459U-VERVS'
                                  'X'.
    perform bdc_dynpro      using 'SAPMM60X' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'AM60X-MATNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'AM60X-MATAW'
                                  ' '.
    perform bdc_field       using 'AM60X-MATNR'
                                  ' '.
    perform bdc_field       using 'AM60X-WERKS'
                                  LTAB-werks.
    perform bdc_field       using 'RM60X-VERSB'
                                  LTAB-VERSB.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;contd..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2009 08:35:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-24T08:35:34Z</dc:date>
    <item>
      <title>BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031890#M1349462</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 am working on MD61 BDC....I facing problem for scrolling down to next page ...I am using p+ for next page..but it not working...In md61 19 rows are visible ..upto 19th row it working fine..after 19th it is going to next page but after puting one material (20th row)...it comes back again to 1st page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Supriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 07:07:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031890#M1349462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T07:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031891#M1349463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Supriya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you don't go through this link the 4th on at the top of ABAP, General [Limit of 2500 characters in a posting|/thread/1319756 &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;No one will be able to help you with the code like this, So Please Follow Limit Condition than code will show in proper form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 07:33:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031891#M1349463</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-08-24T07:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031892#M1349464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;start-of-selection.


  perform open_group.

  loop at ltab.

    CONDENSE ITAB-W_QTY1.
    CONDENSE ITAB-W_QTY2 .
    CONDENSE ITAB-W_QTY3 .
    CONDENSE ITAB-W_QTY4.
    perform bdc_dynpro      using 'SAPMM60X' '0100'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBDPT'.
*perform bdc_field       using 'BDC_CURSOR'
*                              'AM60X-MATNR'.
    perform bdc_field       using 'AM60X-MATAW'
                                  ' '.
    perform bdc_field       using 'AM60X-PBDAW'
                                 'X'.
    perform bdc_field       using 'AM60X-PBDNR'
                                LTAB-req_no.
    perform bdc_field       using 'AM60X-WERKS'
                              LTAB-werks.
    perform bdc_dynpro      using 'SAPMM60X' '0127'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'T459U-ENTLU'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=WEIT'.
    perform bdc_field       using 'HM60X-UEBEINZ'
                                  'X'.
    perform bdc_field       using 'T459U-BEDAE'
                                  LTAB-REQ_TYP.
    perform bdc_field       using 'T459U-ENTLU'
                                  LTAB-mode.
    perform bdc_field       using 'HM60X-ORPLAN'
                                  'X'.
    perform bdc_field       using 'T459U-VERVS'
                                  'X'.
    perform bdc_dynpro      using 'SAPMM60X' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'AM60X-MATNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'AM60X-MATAW'
                                  ' '.
    perform bdc_field       using 'AM60X-MATNR'
                                  ' '.
    perform bdc_field       using 'AM60X-WERKS'
                                  LTAB-werks.
    perform bdc_field       using 'RM60X-VERSB'
                                  LTAB-VERSB.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;contd..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 08:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031892#M1349464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T08:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031893#M1349465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;perform bdc_field       using 'RM60X-ENTLU'
                                  LTAB-mode.
    perform bdc_field       using 'AM60X-PBDAW'
                                  'X'.
    perform bdc_field       using 'AM60X-PBDNR'
                                  LTAB-req_no.
    perform bdc_dynpro      using 'SAPLM60E' '0200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RM60X-PLN05(03)'.

    CLEAR : WRK_STR,WRK_STR1,itab.
    loop at itab where req_no = ltab-req_no AND werks = LTAB-werks AND VERSB = LTAB-VERSB AND
                                REQ_TYP = LTAB-REQ_TYP AND mode = LTAB-mode ."AND indi = LTAB-indi.


IF WRK_STR EQ 19.

perform bdc_dynpro      using 'SAPLM60E' '0200'.
perform bdc_field       using 'BDC_OKCODE'
                              '=P+'.
perform bdc_field       using 'BDC_CURSOR'
                              'PBPT-MATNR(01)'.
perform bdc_dynpro      using 'SAPLM60E' '0200'.
*perform bdc_field       using 'BDC_OKCODE'
*                              '=P+'.
perform bdc_field       using 'BDC_CURSOR'
                              'PBPT-MATNR(01)'.

WRK_STR = 00.
*WRK_SEL = 00.
WRK_QTR = 00.

ENDIF.

      WRK_STR =  WRK_STR + 1.
      CONDENSE WRK_STR.
      CONCATENATE 'PBPT-MATNR' '(' WRK_STR ')' INTO WRK_STR1.

      WRK_QTR = WRK_QTR + 1.
      CONDENSE WRK_QTR.
      CONCATENATE 'RM60X-PLN01' '(' WRK_QTR ')' INTO WRK_QTY1.
      CONCATENATE 'RM60X-PLN02' '(' WRK_QTR ')' INTO WRK_QTY2.
      CONCATENATE 'RM60X-PLN03' '(' WRK_QTR ')' INTO WRK_QTY3.
      CONCATENATE 'RM60X-PLN04' '(' WRK_QTR ')' INTO WRK_QTY4.
      CONCATENATE 'RM60X-PLN05' '(' WRK_QTR ')' INTO WRK_QTY5.
      CONCATENATE 'RM60X-PLN06' '(' WRK_QTR ')' INTO WRK_QTY6.
      CONCATENATE 'RM60X-PLN07' '(' WRK_QTR ')' INTO WRK_QTY7.
      CONCATENATE 'RM60X-PLN08' '(' WRK_QTR ')' INTO WRK_QTY8.
      CONCATENATE 'RM60X-PLN09' '(' WRK_QTR ')' INTO WRK_QTY9.
      CONCATENATE 'RM60X-PLN010' '(' WRK_QTR ')' INTO WRK_QTY10.
      CONCATENATE 'RM60X-PLN011' '(' WRK_QTR ')' INTO WRK_QTY11.
      CONCATENATE 'RM60X-PLN012' '(' WRK_QTR ')' INTO WRK_QTY12.
      CONCATENATE 'RM60X-PLN013' '(' WRK_QTR ')' INTO WRK_QTY13.
      CONCATENATE 'RM60X-PLN014' '(' WRK_QTR ')' INTO WRK_QTY14.
      CONCATENATE 'RM60X-PLN015' '(' WRK_QTR ')' INTO WRK_QTY15&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;contd...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 08:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031893#M1349465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T08:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031894#M1349466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;WRK_SEL =  WRK_SEL + 1.
      CONDENSE WRK_SEL.
      CONCATENATE 'RM60X-PBPT_SELKZ' '(' WRK_SEL ')' INTO WRK_SEL1.
      perform bdc_field       using WRK_STR1
                                  ITAB-MATNR.

      perform bdc_field       using WRK_QTY1
                              ITAB-W_qty1.
      perform bdc_field       using WRK_QTY2
                                    ITAB-W_qty2.
      perform bdc_field       using WRK_QTY3
                                    ITAB-W_qty3.
      perform bdc_field       using WRK_QTY4
                                    ITAB-W_qty4.
      perform bdc_field       using WRK_QTY5
                                    ITAB-W_qty5.
      perform bdc_field       using WRK_QTY6
                                    ITAB-W_qty6.
      perform bdc_field       using WRK_QTY7
                                    ITAB-W_qty7.
      perform bdc_field       using WRK_QTY8
                                    ITAB-W_qty8.
      perform bdc_field       using WRK_QTY9
                                    ITAB-W_qty9.
      perform bdc_field       using WRK_QTY10
                                    ITAB-W_qty10.
      perform bdc_field       using WRK_QTY11
                                    ITAB-W_qty11.
      perform bdc_field       using WRK_QTY12
                                    ITAB-W_qty12.
      perform bdc_field       using WRK_QTY13
                                    ITAB-W_qty13.
      perform bdc_field       using WRK_QTY14
                                    ITAB-W_qty14.
      perform bdc_field       using WRK_QTY15
                                    ITAB-W_qty15.
*      IF WRK_STR LT 19.
      perform bdc_dynpro      using 'SAPLM60E' '0200'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
*       ENDIF.
      perform bdc_dynpro      using 'SAPLM60E' '0200'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;perform bdc_dynpro      using 'SAPLM60E' '0200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SICH'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'PBPT-MATNR(01)'.
    perform bdc_transaction using 'MD61'.


  endloop.

  perform close_group&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 08:38:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031894#M1349466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T08:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031895#M1349467</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;Just copy and paste this code... hope this will resove your issue ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF WRK_STR EQ 19.
 
perform bdc_dynpro      using 'SAPLM60E' '0200'.
perform bdc_field       using 'BDC_OKCODE'
                              '=P+'.
perform bdc_field       using 'BDC_CURSOR'
                              'PBPT-MATNR(01)'.
perform bdc_dynpro      using 'SAPLM60E' '0200'.
*perform bdc_field       using 'BDC_OKCODE'
*                              '=P+'.
perform bdc_field       using 'BDC_CURSOR'
                              'PBPT-MATNR(01)'.

perform bdc_dynpro      using 'SAPLM60E' '0200'.    "  Added Code
perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
 
WRK_STR = 00.
*WRK_SEL = 00.
WRK_QTR = 00.
 
ENDIF.
 
      WRK_STR =  WRK_STR + 1.
      CONDENSE WRK_STR.
      CONCATENATE 'PBPT-MATNR' '(' WRK_STR ')' INTO WRK_STR1.
 
      WRK_QTR = WRK_QTR + 1.
      CONDENSE WRK_QTR.
      CONCATENATE 'RM60X-PLN01' '(' WRK_QTR ')' INTO WRK_QTY1.
      CONCATENATE 'RM60X-PLN02' '(' WRK_QTR ')' INTO WRK_QTY2.
      CONCATENATE 'RM60X-PLN03' '(' WRK_QTR ')' INTO WRK_QTY3.
      CONCATENATE 'RM60X-PLN04' '(' WRK_QTR ')' INTO WRK_QTY4.
      CONCATENATE 'RM60X-PLN05' '(' WRK_QTR ')' INTO WRK_QTY5.
      CONCATENATE 'RM60X-PLN06' '(' WRK_QTR ')' INTO WRK_QTY6.
      CONCATENATE 'RM60X-PLN07' '(' WRK_QTR ')' INTO WRK_QTY7.
      CONCATENATE 'RM60X-PLN08' '(' WRK_QTR ')' INTO WRK_QTY8.
      CONCATENATE 'RM60X-PLN09' '(' WRK_QTR ')' INTO WRK_QTY9.
      CONCATENATE 'RM60X-PLN010' '(' WRK_QTR ')' INTO WRK_QTY10.
      CONCATENATE 'RM60X-PLN011' '(' WRK_QTR ')' INTO WRK_QTY11.
      CONCATENATE 'RM60X-PLN012' '(' WRK_QTR ')' INTO WRK_QTY12.
      CONCATENATE 'RM60X-PLN013' '(' WRK_QTR ')' INTO WRK_QTY13.
      CONCATENATE 'RM60X-PLN014' '(' WRK_QTR ')' INTO WRK_QTY14.
      CONCATENATE 'RM60X-PLN015' '(' WRK_QTR ')' INTO WRK_QTY15.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;contd..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 10:42:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031895#M1349467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T10:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031896#M1349468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
WRK_SEL =  WRK_SEL + 1.
      CONDENSE WRK_SEL.
      CONCATENATE 'RM60X-PBPT_SELKZ' '(' WRK_SEL ')' INTO WRK_SEL1.
      perform bdc_field       using WRK_STR1
                                  ITAB-MATNR.
 
      perform bdc_field       using WRK_QTY1
                              ITAB-W_qty1.
      perform bdc_field       using WRK_QTY2
                                    ITAB-W_qty2.
      perform bdc_field       using WRK_QTY3
                                    ITAB-W_qty3.
      perform bdc_field       using WRK_QTY4
                                    ITAB-W_qty4.
      perform bdc_field       using WRK_QTY5
                                    ITAB-W_qty5.
      perform bdc_field       using WRK_QTY6
                                    ITAB-W_qty6.
      perform bdc_field       using WRK_QTY7
                                    ITAB-W_qty7.
      perform bdc_field       using WRK_QTY8
                                    ITAB-W_qty8.
      perform bdc_field       using WRK_QTY9
                                    ITAB-W_qty9.
      perform bdc_field       using WRK_QTY10
                                    ITAB-W_qty10.
      perform bdc_field       using WRK_QTY11
                                    ITAB-W_qty11.
      perform bdc_field       using WRK_QTY12
                                    ITAB-W_qty12.
      perform bdc_field       using WRK_QTY13
                                    ITAB-W_qty13.
      perform bdc_field       using WRK_QTY14
                                    ITAB-W_qty14.
      perform bdc_field       using WRK_QTY15
                                    ITAB-W_qty15.

" Code removed....

ENDLOOP.


perform bdc_dynpro      using 'SAPLM60E' '0200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SICH'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'PBPT-MATNR(01)'.
    perform bdc_transaction using 'MD61'.
 
 
  endloop.
 
  perform close_group
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 10:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031896#M1349468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T10:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031897#M1349469</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;Thanks .. I tried ur code..but it did'nt help...I am getting this message  'Screen  0000 is too large for internal&lt;/P&gt;&lt;P&gt;area' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Supriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 11:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031897#M1349469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T11:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031898#M1349470</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 may do the following process&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto the screen ie MD61 Tcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then switch on the debugger and scroll down&lt;/P&gt;&lt;P&gt;catch the ok code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while you write the bdc leave the first line. &lt;/P&gt;&lt;P&gt;start from the second&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 11:10:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031898#M1349470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T11:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031899#M1349471</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;change this if statement....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF WRK_STR EQ 19.
 
perform bdc_dynpro      using 'SAPLM60E' '0200'.
perform bdc_field       using 'BDC_OKCODE'
                              '=P+'.
perform bdc_field       using 'BDC_CURSOR'
                              'PBPT-MATNR(01)'.

perform bdc_dynpro      using 'SAPLM60E' '0200'.
perform bdc_field       using 'BDC_CURSOR'
                              'PBPT-MATNR(01)'.
 "one line removed..... here and rest all same....
perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
 
WRK_STR = 00.
*WRK_SEL = 00.
WRK_QTR = 00.
 
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 11:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031899#M1349471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T11:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031900#M1349472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shiva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok code for scroll down is '=P+'....i have already written it my code ...after filling all 19 rows it is going to next page but after putting just one material it comes back to page 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I  tried by putting material no from second line also but it din help .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Supriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 11:33:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031900#M1349472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T11:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031901#M1349473</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;ignore the previous codes......&lt;/P&gt;&lt;P&gt;Pasting the code from starting... this should work i believe.....&lt;/P&gt;&lt;P&gt;have made some small changes which were causing the errors....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;start-of-selection.
 
 
  perform open_group.
 
  loop at ltab.
 
    CONDENSE ITAB-W_QTY1.
    CONDENSE ITAB-W_QTY2 .
    CONDENSE ITAB-W_QTY3 .
    CONDENSE ITAB-W_QTY4.
    perform bdc_dynpro      using 'SAPMM60X' '0100'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBDPT'.
*perform bdc_field       using 'BDC_CURSOR'
*                              'AM60X-MATNR'.
    perform bdc_field       using 'AM60X-MATAW'
                                  ' '.
    perform bdc_field       using 'AM60X-PBDAW'
                                 'X'.
    perform bdc_field       using 'AM60X-PBDNR'
                                LTAB-req_no.
    perform bdc_field       using 'AM60X-WERKS'
                              LTAB-werks.
    perform bdc_dynpro      using 'SAPMM60X' '0127'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'T459U-ENTLU'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=WEIT'.
    perform bdc_field       using 'HM60X-UEBEINZ'
                                  'X'.
    perform bdc_field       using 'T459U-BEDAE'
                                  LTAB-REQ_TYP.
    perform bdc_field       using 'T459U-ENTLU'
                                  LTAB-mode.
    perform bdc_field       using 'HM60X-ORPLAN'
                                  'X'.
    perform bdc_field       using 'T459U-VERVS'
                                  'X'.
    perform bdc_dynpro      using 'SAPMM60X' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'AM60X-MATNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'AM60X-MATAW'
                                  ' '.
    perform bdc_field       using 'AM60X-MATNR'
                                  ' '.
    perform bdc_field       using 'AM60X-WERKS'
                                  LTAB-werks.
    perform bdc_field       using 'RM60X-VERSB'
                                  LTAB-VERSB.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 11:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031901#M1349473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T11:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031902#M1349474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
perform bdc_field       using 'RM60X-ENTLU'
                                  LTAB-mode.
    perform bdc_field       using 'AM60X-PBDAW'
                                  'X'.
    perform bdc_field       using 'AM60X-PBDNR'
                                  LTAB-req_no.
    perform bdc_dynpro      using 'SAPLM60E' '0200'.
		" OK CODE REMOVED FROM HERE
    perform bdc_field       using 'BDC_CURSOR'
                                  'RM60X-PLN05(03)'.
 
    CLEAR : WRK_STR,WRK_STR1,itab.
    loop at itab where req_no = ltab-req_no AND werks = LTAB-werks AND VERSB = LTAB-VERSB AND
                                REQ_TYP = LTAB-REQ_TYP AND mode = LTAB-mode ."AND indi = LTAB-indi.
 
 
IF WRK_STR EQ 19.
 
perform bdc_dynpro      using 'SAPLM60E' '0200'.
perform bdc_field       using 'BDC_OKCODE'
                              '=P+'.
perform bdc_field       using 'BDC_CURSOR'
                              'PBPT-MATNR(01)'.
perform bdc_dynpro      using 'SAPLM60E' '0200'.

perform bdc_field       using 'BDC_CURSOR'
                              'PBPT-MATNR(01)'.

 
WRK_STR = 00.
*WRK_SEL = 00.
WRK_QTR = 00.
 
ENDIF.
 
      WRK_STR =  WRK_STR + 1.
      CONDENSE WRK_STR.
      CONCATENATE 'PBPT-MATNR' '(' WRK_STR ')' INTO WRK_STR1.
 
      WRK_QTR = WRK_QTR + 1.
      CONDENSE WRK_QTR.
      CONCATENATE 'RM60X-PLN01' '(' WRK_QTR ')' INTO WRK_QTY1.
      CONCATENATE 'RM60X-PLN02' '(' WRK_QTR ')' INTO WRK_QTY2.
      CONCATENATE 'RM60X-PLN03' '(' WRK_QTR ')' INTO WRK_QTY3.
      CONCATENATE 'RM60X-PLN04' '(' WRK_QTR ')' INTO WRK_QTY4.
      CONCATENATE 'RM60X-PLN05' '(' WRK_QTR ')' INTO WRK_QTY5.
      CONCATENATE 'RM60X-PLN06' '(' WRK_QTR ')' INTO WRK_QTY6.
      CONCATENATE 'RM60X-PLN07' '(' WRK_QTR ')' INTO WRK_QTY7.
      CONCATENATE 'RM60X-PLN08' '(' WRK_QTR ')' INTO WRK_QTY8.
      CONCATENATE 'RM60X-PLN09' '(' WRK_QTR ')' INTO WRK_QTY9.
      CONCATENATE 'RM60X-PLN010' '(' WRK_QTR ')' INTO WRK_QTY10.
      CONCATENATE 'RM60X-PLN011' '(' WRK_QTR ')' INTO WRK_QTY11.
      CONCATENATE 'RM60X-PLN012' '(' WRK_QTR ')' INTO WRK_QTY12.
      CONCATENATE 'RM60X-PLN013' '(' WRK_QTR ')' INTO WRK_QTY13.
      CONCATENATE 'RM60X-PLN014' '(' WRK_QTR ')' INTO WRK_QTY14.
      CONCATENATE 'RM60X-PLN015' '(' WRK_QTR ')' INTO WRK_QTY15.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 11:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031902#M1349474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T11:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031903#M1349475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
WRK_SEL =  WRK_SEL + 1.
      CONDENSE WRK_SEL.
      CONCATENATE 'RM60X-PBPT_SELKZ' '(' WRK_SEL ')' INTO WRK_SEL1.
      perform bdc_field       using WRK_STR1
                                  ITAB-MATNR.
 
      perform bdc_field       using WRK_QTY1
                              ITAB-W_qty1.
      perform bdc_field       using WRK_QTY2
                                    ITAB-W_qty2.
      perform bdc_field       using WRK_QTY3
                                    ITAB-W_qty3.
      perform bdc_field       using WRK_QTY4
                                    ITAB-W_qty4.
      perform bdc_field       using WRK_QTY5
                                    ITAB-W_qty5.
      perform bdc_field       using WRK_QTY6
                                    ITAB-W_qty6.
      perform bdc_field       using WRK_QTY7
                                    ITAB-W_qty7.
      perform bdc_field       using WRK_QTY8
                                    ITAB-W_qty8.
      perform bdc_field       using WRK_QTY9
                                    ITAB-W_qty9.
      perform bdc_field       using WRK_QTY10
                                    ITAB-W_qty10.
      perform bdc_field       using WRK_QTY11
                                    ITAB-W_qty11.
      perform bdc_field       using WRK_QTY12
                                    ITAB-W_qty12.
      perform bdc_field       using WRK_QTY13
                                    ITAB-W_qty13.
      perform bdc_field       using WRK_QTY14
                                    ITAB-W_qty14.
      perform bdc_field       using WRK_QTY15
                                    ITAB-W_qty15.

ENDLOOP.

    perform bdc_field       using 'BDC_OKCODE'        " OK_CODE Added here...
                                  '/00'.

perform bdc_dynpro      using 'SAPLM60E' '0200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SICH'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'PBPT-MATNR(01)'.
    perform bdc_transaction using 'MD61'.
 
 
  endloop.
 
  perform close_group
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 11:43:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031903#M1349475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T11:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031904#M1349476</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;It din work coz if i don put &lt;/P&gt;&lt;P&gt;  perform bdc_field       using 'BDC_OKCODE'        " OK_CODE &lt;/P&gt;&lt;P&gt;                                  '/00'.&lt;/P&gt;&lt;P&gt;into loop ,the program tries to put all the materials simultaneously on table control, and wen it din find the enough space i.e wen the data crosses 19 rows it is giving the  message 'Screen  0000 is too large for internal b&lt;/P&gt;&lt;P&gt;area ' aborting the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 11:53:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031904#M1349476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T11:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031905#M1349477</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 have changed the code in the last three messages of mine.... please copy those code....&lt;/P&gt;&lt;P&gt;i think it will sure work....&lt;/P&gt;&lt;P&gt;the thread was posted at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Posted: Aug 24, 2009 1:43 PM     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the code starts from START-OF-SELECTION....&lt;/P&gt;&lt;P&gt;from there I have given you the code....&lt;/P&gt;&lt;P&gt;copy and paste it in your program.... this should work......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Siddharth Chordia on Aug 24, 2009 2:27 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 12:26:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031905#M1349477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T12:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031906#M1349478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 04:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031906#M1349478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T04:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: BDC MD61</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031907#M1349479</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;IN THE IF CONDITION WRK_SEL = '00' IS COMMENTED OUT.. PLEASE UNCOMMENT IT... AS ITS VALUE WILL BE GRATER THAN 19....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF WRK_STR EQ 19.
 
perform bdc_dynpro      using 'SAPLM60E' '0200'.
perform bdc_field       using 'BDC_OKCODE'
                              '=P+'.
perform bdc_field       using 'BDC_CURSOR'
                              'PBPT-MATNR(01)'.
perform bdc_dynpro      using 'SAPLM60E' '0200'.
 
perform bdc_field       using 'BDC_CURSOR'
                              'PBPT-MATNR(01)'.
 
 
WRK_STR = 00.
WRK_SEL = 00.           " THIS LINE SHOULD NOT BE COMMENTED
WRK_QTR = 00.
 
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it still doesn't solve.... please paste the code of the inner loop and few lines before and after that loop.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Siddharth Chordia on Aug 25, 2009 8:02 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 06:00:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-md61/m-p/6031907#M1349479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T06:00:26Z</dc:date>
    </item>
  </channel>
</rss>

