<?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 Reg. BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-bdc/m-p/2293069#M500414</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 trying to update condition values of a shipment cost document (VI02) through BDC by clicking on the '+' button and update the values there..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPLV69A' '9000'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=V69A_KOAN'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPLV69A' '9000'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=BACK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Updating the condition line&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                  'KOMV-KBETR(02)'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'KOMV-KSCHL(02)' var_kschl.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'KOMV-KBETR(02)' var_num.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck with how to determine the value of '02'(because it came  up as '02' in  the sample recording I used as I was updating the 2nd condition) in the last two statements above. I can code but its getting ugly. Is there anyway to determine this value dynamically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your input.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2007 20:12:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-21T20:12:32Z</dc:date>
    <item>
      <title>Reg. BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-bdc/m-p/2293069#M500414</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 trying to update condition values of a shipment cost document (VI02) through BDC by clicking on the '+' button and update the values there..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPLV69A' '9000'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=V69A_KOAN'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPLV69A' '9000'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=BACK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Updating the condition line&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                  'KOMV-KBETR(02)'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'KOMV-KSCHL(02)' var_kschl.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'KOMV-KBETR(02)' var_num.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck with how to determine the value of '02'(because it came  up as '02' in  the sample recording I used as I was updating the 2nd condition) in the last two statements above. I can code but its getting ugly. Is there anyway to determine this value dynamically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your input.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 20:12:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-bdc/m-p/2293069#M500414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T20:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reg. BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-bdc/m-p/2293070#M500415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Concatenate statement to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: kbetr(14) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      concatenate 'KOMV-KBETR(' sy-tabix ')' into kbetr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, Sy-tabix is example to show how to do this dynamically...I hope you will know the number of record to update from Internal table and you can use it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 20:34:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-bdc/m-p/2293070#M500415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T20:34:05Z</dc:date>
    </item>
  </channel>
</rss>

