<?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: Kindly let me the error in this code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744940#M323328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Used mode A but got the same result only one item also no error /message&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Dec 2006 05:57:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-13T05:57:53Z</dc:date>
    <item>
      <title>Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744934#M323322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FORM transaction_bdc .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA :&lt;/P&gt;&lt;P&gt;  v_cnt(2) TYPE n,&lt;/P&gt;&lt;P&gt;  v_bst(2) TYPE n,&lt;/P&gt;&lt;P&gt;  v_bn TYPE i,&lt;/P&gt;&lt;P&gt;  v_bstpo(25),&lt;/P&gt;&lt;P&gt;  v_ebtyp(25),&lt;/P&gt;&lt;P&gt;  v_menge(25),&lt;/P&gt;&lt;P&gt;  v_eeind(25),&lt;/P&gt;&lt;P&gt;  v_xblnr(25),&lt;/P&gt;&lt;P&gt;  v_xblnr1(25),&lt;/P&gt;&lt;P&gt;  v_ebelp(2) TYPE n,&lt;/P&gt;&lt;P&gt;  v_ebelpt(2),&lt;/P&gt;&lt;P&gt;  v_menge1(11),&lt;/P&gt;&lt;P&gt;  v_ebt TYPE i,&lt;/P&gt;&lt;P&gt;  v_vebtyp LIKE ekes-ebtyp,&lt;/P&gt;&lt;P&gt;  v_eb(2) TYPE n,&lt;/P&gt;&lt;P&gt;  v_tcselflag(40),&lt;/P&gt;&lt;P&gt;  v_tem(2) TYPE n,&lt;/P&gt;&lt;P&gt;  v_correct TYPE i,&lt;/P&gt;&lt;P&gt;  v_file TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: ls_outtab TYPE tb_struc.&lt;/P&gt;&lt;P&gt;  DATA: l_valid TYPE c,&lt;/P&gt;&lt;P&gt;        l_locked TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD g_grid-&amp;gt;check_changed_data&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      e_valid = l_valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF l_valid EQ 'X'.&lt;/P&gt;&lt;P&gt;    LOOP AT tb_output WHERE check EQ 'X' .&lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING tb_output TO itab_output.&lt;/P&gt;&lt;P&gt;      APPEND itab_output.&lt;/P&gt;&lt;P&gt;      CLEAR itab_output.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    IF tb_output-check &amp;lt;&amp;gt; 'X'.&lt;/P&gt;&lt;P&gt;      MESSAGE e003 WITH text-004.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  IF itab_output[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    PERFORM open_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***looping at purchase order level.&lt;/P&gt;&lt;P&gt;    LOOP AT itab_output where ebelp is not initial .&lt;/P&gt;&lt;P&gt;*read table itab_output with key ebelp = ekpo-ebelp.&lt;/P&gt;&lt;P&gt;      CLEAR v_bn.&lt;/P&gt;&lt;P&gt;      CLEAR v_ebt.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_dynpro USING 'SAPMM06E' '0105'.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_field USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;      'RM06E-BSTNR'.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_field USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;      '/00'.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_field USING 'RM06E-BSTNR'&lt;/P&gt;&lt;P&gt;      itab_output-ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;Changing alphanumeric fields and quantity fields to character type&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*v_ebelp = tB_OUTPUT-ebelp.&lt;/P&gt;&lt;P&gt;*clear v_ebelpt.&lt;/P&gt;&lt;P&gt;*v_menge1 = tB_OUTPUT-menge.&lt;/P&gt;&lt;P&gt;*v_ebelpt = v_ebelp.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;End Of Changing&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;Checking for the exact number of the item&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT itab_output where ebeln = tb_output-ebeln.&lt;/P&gt;&lt;P&gt;        loop at tb_output.&lt;/P&gt;&lt;P&gt;        IF tb_output-ebelp = itab_output-ebelp.&lt;/P&gt;&lt;P&gt;          exit.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          v_bn = v_bn + 1.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;v_bst = v_bn + 1.&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;End Of Checking&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Mapping items&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;        v_bst = v_bst - 1.&lt;/P&gt;&lt;P&gt;        v_tem = v_bst.&lt;/P&gt;&lt;P&gt;        CONCATENATE 'RM06E-BSTPO(' v_bst ')' INTO v_bstpo.&lt;/P&gt;&lt;P&gt;        CONCATENATE 'RM06E-TCSELFLAG(' v_tem ')' INTO v_tcselflag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        PERFORM bdc_dynpro USING 'SAPMM06E' '0120'.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;        v_bstpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;        '=DETA'.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING 'RM06E-EBELP'&lt;/P&gt;&lt;P&gt;        v_ebelpt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        PERFORM bdc_dynpro USING 'SAPMM06E' '0111'.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;        'EKPO-BSTAE'.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;        '/00'.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_dynpro USING 'SAPMM06E' '0120'.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;        v_bstpo.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;        '=BSTA'.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING 'RM06E-EBELP'&lt;/P&gt;&lt;P&gt;        v_ebelpt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING v_tcselflag&lt;/P&gt;&lt;P&gt;        'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Checking weather Confirmation category already exists&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;        SELECT ebtyp FROM ekes INTO v_vebtyp WHERE ebelp =&lt;/P&gt;&lt;P&gt;        itab_output-ebelp AND ebeln = itab_output-ebeln.&lt;/P&gt;&lt;P&gt;        ENDSELECT.&lt;/P&gt;&lt;P&gt;        IF sy-dbcnt &amp;gt; 0.&lt;/P&gt;&lt;P&gt;          v_ebt = sy-dbcnt.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        v_eb = v_ebt + 1.&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;End Of Checking&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;For Line items&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;        CONCATENATE 'EKES-EBTYP(' v_eb ')' INTO v_ebtyp.&lt;/P&gt;&lt;P&gt;        CONCATENATE 'EKES-MENGE(' v_eb ')' INTO v_menge.&lt;/P&gt;&lt;P&gt;        CONCATENATE 'RM06E-EEIND(' v_eb ')' INTO v_eeind.&lt;/P&gt;&lt;P&gt;        CONCATENATE 'EKES-XBLNR(' v_eb ')' INTO v_xblnr.&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;End&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;        PERFORM bdc_dynpro USING 'SAPLEINB' '0200'.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;        v_xblnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;        '=BU'.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING v_ebtyp&lt;/P&gt;&lt;P&gt;       itab_output-ebtyp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING v_eeind&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        itab_output-eindt.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING v_menge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        v_menge1.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field USING v_xblnr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        itab_output-xblnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;End Of Mappings&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;loop at itab_output.&lt;/P&gt;&lt;P&gt;        MOVE-CORRESPONDING itab_output TO ekes.&lt;/P&gt;&lt;P&gt;        modify ekes.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       MOVE-CORRESPONDING itab_output TO eket.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       MODIFY eket.&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;       MOVE-CORRESPONDING tb_output TO ekpo.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;       MODIFY ekpo.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&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;       CALL TRANSACTION 'ME22N'&lt;/P&gt;&lt;P&gt;       USING itbdc&lt;/P&gt;&lt;P&gt;       MODE   'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*perform bdc_transaction using 'ME22N'.&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;     endif.&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;End Of Purchase Order Loop&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM close_group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 11:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744934#M323322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T11:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744935#M323323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the nature of the problem? Syntax error, short dump, incorrect results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 14:41:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744935#M323323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T14:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744936#M323324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting only one line item for a PO whereas I  want all line items&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 05:10:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744936#M323324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T05:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744937#M323325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi asha..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after checking the syntax error for the code you give given..&lt;/P&gt;&lt;P&gt;it sayserror in this line. &amp;lt;b&amp;gt;DATA: ls_outtab TYPE tb_struc&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;that is , the type "tb_struc" is unknown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so please check this declaration.&lt;/P&gt;&lt;P&gt; hope this helps you..&lt;/P&gt;&lt;P&gt;reward if useful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 05:23:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744937#M323325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T05:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744938#M323326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have to record  me22n for multiple line items( in table control multiple entries should be entered)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if this doesn't work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 05:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744938#M323326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T05:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744939#M323327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asha , &lt;/P&gt;&lt;P&gt;  Try executing the transaction in mode 'A' , so insted of &lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ME22N'&lt;/P&gt;&lt;P&gt;USING itbdc&lt;/P&gt;&lt;P&gt;MODE 'E'.&lt;/P&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ME22N'&lt;/P&gt;&lt;P&gt;USING itbdc&lt;/P&gt;&lt;P&gt;MODE 'A'.&lt;/P&gt;&lt;P&gt;and see what is the message/error which occurs when the BDC tried to fill the second line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 05:28:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744939#M323327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T05:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744940#M323328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Used mode A but got the same result only one item also no error /message&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 05:57:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744940#M323328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T05:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744941#M323329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to define a table control for this . Can you help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 05:58:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744941#M323329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T05:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744942#M323330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asha , &lt;/P&gt;&lt;P&gt;  Is the BDC called for the second record , what happens when the second record is used , what i mean is that you have entered the 2nd record details in the internal table , as u can see in mode 'A' it goes step by step , once the fileds for first line is filled , then the 2nd line must be porcessed , what happnens at that time .Is there any attempt to populate the field in the screen or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 06:07:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744942#M323330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T06:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744943#M323331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem now is the data for single line item is getting updated and as soon as the call transaction method is encountered the prog. goes to ME22N n hence the loop is not completed . the second line item is not updated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 06:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744943#M323331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T06:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744944#M323332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asha , &lt;/P&gt;&lt;P&gt;  Try placing the statement&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ME22N'&lt;/P&gt;&lt;P&gt;USING itbdc&lt;/P&gt;&lt;P&gt;MODE 'E'.&lt;/P&gt;&lt;P&gt; after the &amp;lt;b&amp;gt;endloop.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this and please tell me what is the result , first try running this in mode 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 06:24:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744944#M323332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T06:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744945#M323333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Placed call transaction outside loop with both A and E but same result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 06:52:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744945#M323333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T06:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744946#M323334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;  Is it still the same case that before the second line item is filled the transaction is called , if that is the case please confirm whether the details of line item 2 are filled in the internal table used for BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 06:57:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744946#M323334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T06:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744947#M323335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the internal table is getting filled&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 07:02:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744947#M323335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T07:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744948#M323336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asha,&lt;/P&gt;&lt;P&gt;Place the call transaction in the loop and check once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if it is helpdul&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Kiran i&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 07:10:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744948#M323336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T07:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly let me the error in this code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744949#M323337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already done&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 07:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-let-me-the-error-in-this-code/m-p/1744949#M323337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T07:11:19Z</dc:date>
    </item>
  </channel>
</rss>

