<?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 steps differ when inputing same record with different other field value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175360#M755668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it's not BDC, it's just ABAP. You can do something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: old_code LIKE itab-code.

LOOP AT itab.
* Process A
  IF old_code = itab-code.
*   Process B
  ENDIF.
* Process C
* Process D
  old_code = itab-code.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't like to keep track of the code, you can use the AT NEW command.&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, 11 Dec 2007 20:53:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-11T20:53:29Z</dc:date>
    <item>
      <title>BDC steps differ when inputing same record with different other field value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175351#M755659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CODE&lt;DEL&gt;DATE&lt;/DEL&gt;--&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;ETC...(there is of course other field)&lt;/P&gt;&lt;P&gt;11----01.10.2007   (do process A C D)&lt;/P&gt;&lt;P&gt;12----01.10.2007   (do process A C D)&lt;/P&gt;&lt;P&gt;12----01.11.2007   (Having same code field so do process A B C D)&lt;/P&gt;&lt;P&gt;13----01.11.2007   (do process A C D)&lt;/P&gt;&lt;P&gt;14----01.10.2007   (do process A C D)&lt;/P&gt;&lt;P&gt;15----01.11.2007   (do process A C D)&lt;/P&gt;&lt;P&gt;15----01.12.2007   (Having same code field so do process A B C D)&lt;/P&gt;&lt;P&gt;16----01.10.2007   (do process A C D)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi i am doing a BDC batch my input table a bit like above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first record will do process A C D &lt;/P&gt;&lt;P&gt;second record will do process A C D&lt;/P&gt;&lt;P&gt;thirt record will do process A B C D&lt;/P&gt;&lt;P&gt;second record will do process A C D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hint of how i can do that plzzzz .  Urgent helppp needed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 20:08:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175351#M755659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T20:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: BDC steps differ when inputing same record with different other field value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175352#M755660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as per understanding,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if code = 11 and date = 01.10.2007 then u need process A C and D  right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define 4 subrountine with A B C D logics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define one more subroutine with SR1 and SR2.&lt;/P&gt;&lt;P&gt;inside SR1 call 3 subroutines A C D&lt;/P&gt;&lt;P&gt;and SR2 call A B C D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if code = 11 and date = 01.10.2007 then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call subroutine SR1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if if code = 12 and date = 01.11.2007 then call Subroutine SR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u have any issue, let me know the detailed requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 20:19:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175352#M755660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T20:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: BDC steps differ when inputing same record with different other field value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175353#M755661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After process A, whenever you encounter a duplicate code, you execute process B.&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, 11 Dec 2007 20:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175353#M755661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T20:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: BDC steps differ when inputing same record with different other field value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175354#M755662</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;Do it in a synchronous Mode. By default it will be asynchronous mode. Otherwise it will through you an error message like the transaction is locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 20:31:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175354#M755662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T20:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: BDC steps differ when inputing same record with different other field value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175355#M755663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok for code i execute the step B in addition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but how do i check for the duplicate record be setting a flag or something&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 20:34:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175355#M755663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T20:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: BDC steps differ when inputing same record with different other field value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175356#M755664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i won't know what i will have in my table in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 20:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175356#M755664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T20:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: BDC steps differ when inputing same record with different other field value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175357#M755665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;euhhhh what do you meen by asycronous mode or syncronous mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am doing a batch input &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform open_BDC &lt;/P&gt;&lt;P&gt;perform dynpro&lt;/P&gt;&lt;P&gt;perform field&lt;/P&gt;&lt;P&gt;perform dynpro&lt;/P&gt;&lt;P&gt;perform field&lt;/P&gt;&lt;P&gt;perform close_BDC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 20:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175357#M755665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T20:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: BDC steps differ when inputing same record with different other field value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175358#M755666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you loop through the table, you can keep track of the previous code. If it's the same, process B.&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, 11 Dec 2007 20:41:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175358#M755666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T20:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: BDC steps differ when inputing same record with different other field value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175359#M755667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do you keep track of the previous code .  i am quite new to BDC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 20:47:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175359#M755667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T20:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: BDC steps differ when inputing same record with different other field value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175360#M755668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it's not BDC, it's just ABAP. You can do something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: old_code LIKE itab-code.

LOOP AT itab.
* Process A
  IF old_code = itab-code.
*   Process B
  ENDIF.
* Process C
* Process D
  old_code = itab-code.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't like to keep track of the code, you can use the AT NEW command.&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, 11 Dec 2007 20:53:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-steps-differ-when-inputing-same-record-with-different-other-field-value/m-p/3175360#M755668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T20:53:29Z</dc:date>
    </item>
  </channel>
</rss>

