<?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 - mr21 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mr21/m-p/3728279#M897342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks kiran,&lt;/P&gt;&lt;P&gt;but your prog also work for 2 material but what about multiple material code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2008 08:06:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-23T08:06:23Z</dc:date>
    <item>
      <title>BDC - mr21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mr21/m-p/3728277#M897340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am writing BDC for MR21 t-code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try with single material code prog is working perfectly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have 5 material code with new price.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But prog is taking one-by-one record and asking for save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of this i want 5 material in single doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what change i should make in my BDC. Because this is testing , actually in single doc more than 300 material will come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 07:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mr21/m-p/3728277#M897340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T07:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: BDC - mr21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mr21/m-p/3728278#M897341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Try this BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_M_REVAL_CREATEPRICECHANGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best thing would be do the recording using SHDB Transaction and capture all screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow see the sample code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report ZTESTMR21&lt;/P&gt;&lt;P&gt;no standard page heading line-size 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include bdcrecx1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform open_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPRCKM_MR21' '0201'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MR21HEAD-BUKRS'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ENTR'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MR21HEAD-BUDAT'&lt;/P&gt;&lt;P&gt;'08/21/2007'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MR21HEAD-BUKRS'&lt;/P&gt;&lt;P&gt;'0011'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MR21HEAD-WERKS'&lt;/P&gt;&lt;P&gt;'1000'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MR21HEAD-SCREEN_VARIANT'&lt;/P&gt;&lt;P&gt;'MR21_LAGERMATERIAL_0250'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPRCKM_MR21' '0201'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ENTR'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'CKI_MR21_0250-NEWPEINH(01)'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MR21HEAD-SCREEN_VARIANT'&lt;/P&gt;&lt;P&gt;'MR21_LAGERMATERIAL_BWKEY_0250'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'CKI_MR21_0250-MATNR(01)'&lt;/P&gt;&lt;P&gt;'300300300'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'CKI_MR21_0250-NEWVALPR(01)'&lt;/P&gt;&lt;P&gt;'1'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'CKI_MR21_0250-NEWPEINH(01)'&lt;/P&gt;&lt;P&gt;'1'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPRCKM_MR21' '0201'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=SAVE'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'CKI_MR21_0250-MATNR(02)'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MR21HEAD-SCREEN_VARIANT'&lt;/P&gt;&lt;P&gt;'MR21_LAGERMATERIAL_BWKEY_0250'.&lt;/P&gt;&lt;P&gt;perform bdc_transaction using 'MR21'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform close_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 07:31:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mr21/m-p/3728278#M897341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T07:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: BDC - mr21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mr21/m-p/3728279#M897342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks kiran,&lt;/P&gt;&lt;P&gt;but your prog also work for 2 material but what about multiple material code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 08:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mr21/m-p/3728279#M897342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T08:06:23Z</dc:date>
    </item>
  </channel>
</rss>

