<?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: Error while doing BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-doing-bdc/m-p/6052477#M1352572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;Before the call transaction statement,&lt;/P&gt;&lt;P&gt;try the below statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID: 'RBN' FIELD XXXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where XXXX is your Invoice Number variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Madhan D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2009 09:18:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-19T09:18:55Z</dc:date>
    <item>
      <title>Error while doing BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-doing-bdc/m-p/6052475#M1352570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am doing a bdc program on t.code MIR4 (Display invoice screen).The problem is this screen has a SGA/GPA set so that whenever you into this transaction the last entered value is shown in the first screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While doing BDC i deleted the old invoice content (on the first screen) and entered my new invoice number and did the recording.&lt;/P&gt;&lt;P&gt;Now when I run my call transaction using this BDC table the process get stopped in the first screen itself and the old value (set by SGA/GPA) is not removed and hence my bdctab value is not populated and it is showing a error "field 000 not present is program SAPMIR4"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS : after that i checked my recording and saw that the place where I am clearing the old value on the first screen and entering my new value, nothing is recorded in place of BDC_OKCODE, only bdc_fnam  and fval have my new entered value. Maybe it is because the clearing of data is not recorded by my recording...But to record that as there is no okcode for that?&lt;/P&gt;&lt;P&gt;Please advise how to proceed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 07:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-doing-bdc/m-p/6052475#M1352570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-19T07:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error while doing BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-doing-bdc/m-p/6052476#M1352571</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;Before the PERFORM bdc_dynpro USING 'SAPxxxx' '0xx' statement,&lt;/P&gt;&lt;P&gt; use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
clear : BDCDATA.
refresh : BDCDATA.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 07:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-doing-bdc/m-p/6052476#M1352571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-19T07:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error while doing BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-doing-bdc/m-p/6052477#M1352572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;Before the call transaction statement,&lt;/P&gt;&lt;P&gt;try the below statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID: 'RBN' FIELD XXXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where XXXX is your Invoice Number variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Madhan D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 09:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-doing-bdc/m-p/6052477#M1352572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-19T09:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error while doing BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-doing-bdc/m-p/6052478#M1352573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need not to delete the previous value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't do recording for deleting previous value simply start recording by assinging value in the input field.&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on initial screen&lt;/P&gt;&lt;P&gt;BDC_FNAME = field_name&lt;/P&gt;&lt;P&gt;BDC-FVAL = new_field_value&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 09:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-doing-bdc/m-p/6052478#M1352573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-19T09:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error while doing BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-doing-bdc/m-p/6052479#M1352574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi priyasingh ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just go through the following Code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no problem in the flow .You just need th eclear the data in the internal table BDC_DATA  so that there are no prevoius values .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;form BDC_FIELD  using    FNAM FVAL.
IF FVAL &amp;lt;&amp;gt; ''.
    CLEAR BDC_DATA.
    BDC_DATA-FNAM = FNAM.
    BDC_DATA-FVAL = FVAL.
    APPEND BDC_DATA.
  ENDIF.
endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;             &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;form BDC_DYNPRO  using    PROGRAM DYNPRO.
CLEAR BDC_DATA.
  BDC_DATA-PROGRAM  = PROGRAM.
  BDC_DATA-DYNPRO   = DYNPRO.
  BDC_DATA-DYNBEGIN = 'X'.
  APPEND BDC_dATA.
endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;                    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this may help you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aditi Wason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 11:15:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-doing-bdc/m-p/6052479#M1352574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-19T11:15:48Z</dc:date>
    </item>
  </channel>
</rss>

