<?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 BDC Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060094#M425666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the BDC program for sales order creation and here I read the file as each line seperately to get the data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program was working fine for line items &amp;lt; 7, as we are getting more line items in single PO now I changed the program to include this condition also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is program is working for line items &amp;gt; 7 now and for line items &amp;lt;= 7 it is giving the error "No batch input data for screen SAPMV45A 4001" and stuck at the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sending part of the code, can you please help me what i am doing wrong with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM populate_data .
  data: lv_po(35) type c,
        gv_num(5) type n value '00001',
        gv_fname1(132) type c,
        gv_fname2(132) type c,
        gv_fname3(132) type c,
        GV_FNAME4(132) TYPE C,
        lv_price(13) type c.

  Loop at gt_sdata INTO gs_sdata.

    if lv_po ne gs_sdata-bstkd.
      lv_po = gs_sdata-bstkd.

      clear: gv_fname1, gv_fname2, gv_fname3, gv_fname4.

      perform bdc_dynpro      using 'SAPMV45A' '0101'.
      perform bdc_field       using 'BDC_CURSOR' 'VBAK-AUART'.
      perform bdc_field       using 'BDC_OKCODE' '/00'.
      perform bdc_field       using 'VBAK-AUART' 'OR'.
      perform bdc_field       using 'VBAK-VKORG' '300'.
      perform bdc_field       using 'VBAK-VTWEG' '20'.
      perform bdc_field       using 'VBAK-SPART' '01'.

      perform bdc_dynpro      using 'SAPMV45A' '4001'.
      perform bdc_field       using 'BDC_OKCODE' '=POAN'.
      perform bdc_field       using 'VBKD-BSTKD' gs_sdata-BSTKD.
      perform bdc_field       using 'VBKD-BSTDK' gs_sdata-BSTDK.
      perform bdc_field       using 'KUAGV-KUNNR' '1195'.
      perform bdc_field       using 'KUWEV-KUNNR' gs_sdata-KUNNR1.
      perform bdc_field       using 'RV45A-KETDAT' GS_SDATA-KETDAT.
      perform bdc_field       using 'RV45A-KPRGBZ' 'D'.

    endif.

    concatenate 'RV45A-KWMENG(' gv_num ')' INTO GV_FNAME1.
    concatenate 'VBAP-POSNR(' gv_num ')' INTO GV_FNAME2.
    concatenate 'RV45A-MABNR(' gv_num ')' INTO GV_FNAME3.
    concatenate 'KOMV-KBETR(' gv_num ')' INTO GV_FNAME4.

    SELECT KNUMH FROM A951
    INTO TABLE IT_A951
    WHERE KAPPL = 'V'
    AND KSCHL = 'PR00'
    AND MATNR = gs_sdata-MABNR
    AND DATBI &amp;gt; SY-DATUM.

    READ TABLE IT_A951 INDEX 1.

*    CHECK NOT IT_A951 IS INITIAL.
    If NOT IT_A951 IS INITIAL.

      SELECT KNUMH KBETR FROM KONP
      INTO TABLE IT_KONP
      FOR ALL ENTRIES IN IT_A951
      WHERE KNUMH = IT_A951-KNUMH.

      Read table IT_KONP with key KNUMH = IT_A951-KNUMH.
      clear lv_price.
      if sy-subrc = 0.
        lv_price = IT_KONP-KBETR.
      endif.
    Endif.

    perform bdc_field       using 'BDC_CURSOR' 'KOMV-KBETR(001)'.
    perform bdc_field       using GV_FNAME1 gs_sdata-kwmeng.
    perform bdc_field       using GV_FNAME2 gs_sdata-posnr.
    perform bdc_field       using GV_FNAME3 gs_sdata-mabnr.
    perform bdc_field       using GV_FNAME4 lv_price.

    IF gv_num = 7.
    	gv_num = 1.
      	perform bdc_dynpro      using 'SAPMV45A' '4001'.
      perform bdc_field       using 'BDC_OKCODE' '=KKAU'.

    ENDIF.

    clear gs_sdata.
    clear it_a951.
    clear it_konp.
    gv_num = gv_num + 1.

    AT END of BSTKD.

      perform bdc_dynpro      using 'SAPMV45A' '4002'.
      perform bdc_field       using 'BDC_OKCODE' '=SICH'.
      perform bdc_field       using 'BDC_CURSOR' 'VBAK-GWLDT'.
      perform bdc_field       using 'VBAK-GWLDT' '12/31/2007'.

      perform bdc_transaction using 'VA01'.
      gv_num = 1.
      clear gs_sdata.
      l2_num = l2_num + 1.
    ENDAT.

  Endloop.
ENDFORM.                    " populate_data

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2007 17:35:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-13T17:35:08Z</dc:date>
    <item>
      <title>BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060094#M425666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the BDC program for sales order creation and here I read the file as each line seperately to get the data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program was working fine for line items &amp;lt; 7, as we are getting more line items in single PO now I changed the program to include this condition also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is program is working for line items &amp;gt; 7 now and for line items &amp;lt;= 7 it is giving the error "No batch input data for screen SAPMV45A 4001" and stuck at the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sending part of the code, can you please help me what i am doing wrong with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM populate_data .
  data: lv_po(35) type c,
        gv_num(5) type n value '00001',
        gv_fname1(132) type c,
        gv_fname2(132) type c,
        gv_fname3(132) type c,
        GV_FNAME4(132) TYPE C,
        lv_price(13) type c.

  Loop at gt_sdata INTO gs_sdata.

    if lv_po ne gs_sdata-bstkd.
      lv_po = gs_sdata-bstkd.

      clear: gv_fname1, gv_fname2, gv_fname3, gv_fname4.

      perform bdc_dynpro      using 'SAPMV45A' '0101'.
      perform bdc_field       using 'BDC_CURSOR' 'VBAK-AUART'.
      perform bdc_field       using 'BDC_OKCODE' '/00'.
      perform bdc_field       using 'VBAK-AUART' 'OR'.
      perform bdc_field       using 'VBAK-VKORG' '300'.
      perform bdc_field       using 'VBAK-VTWEG' '20'.
      perform bdc_field       using 'VBAK-SPART' '01'.

      perform bdc_dynpro      using 'SAPMV45A' '4001'.
      perform bdc_field       using 'BDC_OKCODE' '=POAN'.
      perform bdc_field       using 'VBKD-BSTKD' gs_sdata-BSTKD.
      perform bdc_field       using 'VBKD-BSTDK' gs_sdata-BSTDK.
      perform bdc_field       using 'KUAGV-KUNNR' '1195'.
      perform bdc_field       using 'KUWEV-KUNNR' gs_sdata-KUNNR1.
      perform bdc_field       using 'RV45A-KETDAT' GS_SDATA-KETDAT.
      perform bdc_field       using 'RV45A-KPRGBZ' 'D'.

    endif.

    concatenate 'RV45A-KWMENG(' gv_num ')' INTO GV_FNAME1.
    concatenate 'VBAP-POSNR(' gv_num ')' INTO GV_FNAME2.
    concatenate 'RV45A-MABNR(' gv_num ')' INTO GV_FNAME3.
    concatenate 'KOMV-KBETR(' gv_num ')' INTO GV_FNAME4.

    SELECT KNUMH FROM A951
    INTO TABLE IT_A951
    WHERE KAPPL = 'V'
    AND KSCHL = 'PR00'
    AND MATNR = gs_sdata-MABNR
    AND DATBI &amp;gt; SY-DATUM.

    READ TABLE IT_A951 INDEX 1.

*    CHECK NOT IT_A951 IS INITIAL.
    If NOT IT_A951 IS INITIAL.

      SELECT KNUMH KBETR FROM KONP
      INTO TABLE IT_KONP
      FOR ALL ENTRIES IN IT_A951
      WHERE KNUMH = IT_A951-KNUMH.

      Read table IT_KONP with key KNUMH = IT_A951-KNUMH.
      clear lv_price.
      if sy-subrc = 0.
        lv_price = IT_KONP-KBETR.
      endif.
    Endif.

    perform bdc_field       using 'BDC_CURSOR' 'KOMV-KBETR(001)'.
    perform bdc_field       using GV_FNAME1 gs_sdata-kwmeng.
    perform bdc_field       using GV_FNAME2 gs_sdata-posnr.
    perform bdc_field       using GV_FNAME3 gs_sdata-mabnr.
    perform bdc_field       using GV_FNAME4 lv_price.

    IF gv_num = 7.
    	gv_num = 1.
      	perform bdc_dynpro      using 'SAPMV45A' '4001'.
      perform bdc_field       using 'BDC_OKCODE' '=KKAU'.

    ENDIF.

    clear gs_sdata.
    clear it_a951.
    clear it_konp.
    gv_num = gv_num + 1.

    AT END of BSTKD.

      perform bdc_dynpro      using 'SAPMV45A' '4002'.
      perform bdc_field       using 'BDC_OKCODE' '=SICH'.
      perform bdc_field       using 'BDC_CURSOR' 'VBAK-GWLDT'.
      perform bdc_field       using 'VBAK-GWLDT' '12/31/2007'.

      perform bdc_transaction using 'VA01'.
      gv_num = 1.
      clear gs_sdata.
      l2_num = l2_num + 1.
    ENDAT.

  Endloop.
ENDFORM.                    " populate_data

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 17:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060094#M425666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T17:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060095#M425667</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 would suggest using the BAPI BAPI_SALESORDER_CREATEFROMDAT2 instead of using BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 17:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060095#M425667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T17:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060096#M425668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Veni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a typical problem with BDC. To run BDC without any error, your recording environment and execution environment should be identical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are facing problem because during recording, no. of items visible must be &amp;gt; 7 . During execution, the BDC recorded program doesnt find space or any recording for scroll down to enter eighth item. causing error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow the BAPI method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thak,&lt;/P&gt;&lt;P&gt;bye.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 19:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060096#M425668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T19:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060097#M425669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren/Audumber,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This program is working with line items &amp;gt; 7, when a PO with &amp;lt; 7 line items is there then it is stuking. It is not going to the next screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know BAPI is the best, but I have to fix this by tomorrow morning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are going to get Edi invoices very soon, then no need of this program at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me some suggetion to fix this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 22:27:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060097#M425669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T22:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060098#M425670</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;Give the mode = 'A' then check where exactly you are getting stuck.&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,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 22:55:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060098#M425670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T22:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060099#M425671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used one file with 3 PO's in it. 1st one with 9 line item 2nd one with 11 line items and 3rd one with 3 line items. First two PO's processed properly and sales orders created for those, third one with 3 line items, after clicking yes to okcode for 3 line items it went into add more line items like items &amp;gt; 7 and staying there to enter more line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After screen 4001 'BDC_OKCODE' '=POAN' it is going to 4001 'BDC_OKCODE' '=KKAU' instead of directly going to 4002 'BDC_OKCODE' '=SICH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to rectify this prpblem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 23:31:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060099#M425671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T23:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060100#M425672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Veni&lt;/P&gt;&lt;P&gt;you have mentioned &lt;/P&gt;&lt;P&gt;"After screen 4001 'BDC_OKCODE' '=POAN' it is going to 4001 'BDC_OKCODE' '=KKAU' instead of directly going to 4002 'BDC_OKCODE' '=SICH."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in ur code&lt;/P&gt;&lt;P&gt;"IF gv_num = 7.&lt;/P&gt;&lt;P&gt;    	gv_num = 1.&lt;/P&gt;&lt;P&gt;      	perform bdc_dynpro      using 'SAPMV45A' '4001'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_OKCODE' '=KKAU'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    ENDIF."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will go to SAPMV45A' '4001'   only if gv_num = 7. but in you case it will be less then 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think it should work. Just check in debugging mode...why its going inside this if condition. Because it should not match if line items are less then 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 23:51:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060100#M425672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T23:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060101#M425673</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 are refreshing the BDCDATA internal table right after the call transaction??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 00:07:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060101#M425673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T00:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060102#M425674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using standard include BDCRECX1, in that I see REFRESH BDCDATA in FORM BDC_TRANSACTION USING TCODE just before ENDFORM. Do you think i should copy this and change it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, It should not go into 'IF gv_num = 7' because it is not satisfying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I debug in Call transaction mode at perform bdc_field, it is taking 3 line items, then going to 4001 - KKAU and staying there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I tried to come out, it is not going to AT END of BSTKD and 3rd screen for GWLDT - cancellation date, but going to &lt;/P&gt;&lt;P&gt;"perform bdc_transaction using 'VA01'." and asking for cacellation date. I gave cancellation date manually and saved it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S Missing data: Guarantee               &lt;/P&gt;&lt;P&gt;S Function code cannot be selected      &lt;/P&gt;&lt;P&gt;S The document is complete              &lt;/P&gt;&lt;P&gt;S Standard Order 647134 has been saved  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 18:01:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060102#M425674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T18:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060103#M425675</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;Could you please post the data declaration of the internal table gt_sdata..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 18:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060103#M425675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T18:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060104#M425676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: begin of ty_sdata,&lt;/P&gt;&lt;P&gt;         BSTKD(35) TYPE C,  "Cust pur order number&lt;/P&gt;&lt;P&gt;         POSNR(06) TYPE C,  "Sales document item&lt;/P&gt;&lt;P&gt;         BSTDK(10) type c,  "Customer purchase order date&lt;/P&gt;&lt;P&gt;         GWLDT(08) type C,  "Guarantee date&lt;/P&gt;&lt;P&gt;         KETDAT(10) TYPE C, "Req delivery date&lt;/P&gt;&lt;P&gt;         MABNR(18) TYPE C,  "Material number&lt;/P&gt;&lt;P&gt;         KWMENG(18) TYPE C, "Cumulative order qty&lt;/P&gt;&lt;P&gt;         KUNNR1(10) TYPE C, "Ship-to party&lt;/P&gt;&lt;P&gt;         KBETR(13) TYPE C,  "Rate&lt;/P&gt;&lt;P&gt;      End of ty_sdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gt_sdata type table of ty_sdata,&lt;/P&gt;&lt;P&gt;      gs_sdata type ty_sdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gt_sdata will have all data.&lt;/P&gt;&lt;P&gt;gs_sdata will have only one line at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 18:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060104#M425676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T18:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060105#M425677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The  problem seems to me is why its going to 4001 - KKAU. if condition is not satisfying. this you can check in debugging mode and regarding entering in endat againg whether&lt;/P&gt;&lt;P&gt;BSTKD is changing at that record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check in debugging&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 18:45:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060105#M425677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T18:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060106#M425678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use the logic in the IDOC_INPUT_ORDERS as an example on how to populate BDC for VA01 (for any number of items).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would just use POAN for each new item, it will scroll the list and make the new item - the 2st item on the screen (it's true for all tiems except the 1st one).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, if your gv_num &amp;gt; 1, use 'POAN' and then update values on the 2nd line :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RV45A-KWMENG(2)' gs_sdata-kwmeng.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 18:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060106#M425678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T18:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060107#M425679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,Audumber,Naresh and Siarhei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for all your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appritiate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 19:50:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2060107#M425679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T19:50:15Z</dc:date>
    </item>
  </channel>
</rss>

