<?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-multiple characteristics upload in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-multiple-characteristics-upload/m-p/2479649#M558511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLQMS1' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MAKT-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=NEU'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLQMS1' '0100'.&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;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;counter = 00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;counter = counter + 1.&lt;/P&gt;&lt;P&gt;&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 'RQMSP-WERKS(counter)'&lt;/P&gt;&lt;P&gt;wa_itab-WERKS.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'RQMSP-MKMNR(counter)'&lt;/P&gt;&lt;P&gt;wa_itab-MKMNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help if many entries are done on the same screen using table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Reward Pnts if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2007 11:17:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-25T11:17:34Z</dc:date>
    <item>
      <title>BDC-multiple characteristics upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-multiple-characteristics-upload/m-p/2479648#M558510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am uploading the data for Matarial specifications in the transaction in qs61 by BDC.&lt;/P&gt;&lt;P&gt;There are multiple records for 1 material.&lt;/P&gt;&lt;P&gt;I am stuck at the selecting 2 nd record through BDC.&lt;/P&gt;&lt;P&gt;I have attached the sample code.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLQMS1' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=NEU'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLQMS1' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RQMSP-MKMNR(01)'.&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 'RQMSP-WERKS(01)'&lt;/P&gt;&lt;P&gt;                              itab-WERKS.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RQMSP-MKMNR(01)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It selects the first row and posts the record.&lt;/P&gt;&lt;P&gt;But for 2nd or more than 2 records evenif i create 1 counter.It is unable to post the record. &lt;/P&gt;&lt;P&gt;counter = 01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;counter = counter + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLQMS1' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=NEU'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLQMS1' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RQMSP-MKMNR(counter)'.&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 'RQMSP-WERKS(counter)'&lt;/P&gt;&lt;P&gt;                              wa_itab-WERKS.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RQMSP-MKMNR(counter)'&lt;/P&gt;&lt;P&gt;                              wa_itab-MKMNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;evenif counter has value 02 it selects the 2nd row but the fiels ae blank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 10:52:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-multiple-characteristics-upload/m-p/2479648#M558510</guid>
      <dc:creator>former_member1144231</dc:creator>
      <dc:date>2007-06-25T10:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: BDC-multiple characteristics upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-multiple-characteristics-upload/m-p/2479649#M558511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLQMS1' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MAKT-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=NEU'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLQMS1' '0100'.&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;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;counter = 00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;counter = counter + 1.&lt;/P&gt;&lt;P&gt;&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 'RQMSP-WERKS(counter)'&lt;/P&gt;&lt;P&gt;wa_itab-WERKS.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'RQMSP-MKMNR(counter)'&lt;/P&gt;&lt;P&gt;wa_itab-MKMNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help if many entries are done on the same screen using table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Reward Pnts if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 11:17:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-multiple-characteristics-upload/m-p/2479649#M558511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T11:17:34Z</dc:date>
    </item>
  </channel>
</rss>

