<?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 data checking in BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-checking-in-bdc/m-p/1224521#M137442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have to upload data like prices to master table according country. There might be rounding differences, if the price unit in the upload file is different to the price unit in the material master. This upload will not change the price unit in the material master, it will recalculate the price from the upload file before updating the material master. How can i do that ? please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Apr 2006 08:44:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-11T08:44:38Z</dc:date>
    <item>
      <title>data checking in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-checking-in-bdc/m-p/1224521#M137442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have to upload data like prices to master table according country. There might be rounding differences, if the price unit in the upload file is different to the price unit in the material master. This upload will not change the price unit in the material master, it will recalculate the price from the upload file before updating the material master. How can i do that ? please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 08:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-checking-in-bdc/m-p/1224521#M137442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-11T08:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: data checking in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-checking-in-bdc/m-p/1224522#M137443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gautam,&lt;/P&gt;&lt;P&gt;1) UPload the data in the file into an internal table using GUI_UPLOAD function module / open dataset command.&lt;/P&gt;&lt;P&gt;2) For each record in the file,&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;select single &amp;lt;UOM&amp;gt;&lt;/P&gt;&lt;P&gt; from mara&lt;/P&gt;&lt;P&gt; where matnr = itab-matnr.&lt;/P&gt;&lt;P&gt;if itab-UOM &amp;lt;&amp;gt; mara-&amp;lt;UOM&amp;gt;.&lt;/P&gt;&lt;P&gt;Use any one of the following FMs&lt;/P&gt;&lt;P&gt;CONVERT_CURRENCY_BY_RATE   &lt;/P&gt;&lt;P&gt;CONVERT_COUNTRY_CURRENCY   &lt;/P&gt;&lt;P&gt;CONVERT_AMOUNT_TO_CURRENCY &lt;/P&gt;&lt;P&gt;CONVERT_TO_FOREIGN_CURRENCY&lt;/P&gt;&lt;P&gt;CONVERT_TO_LOCAL_CURRENCY                            &lt;/P&gt;&lt;P&gt;CONVERT_TO_TC_CURR         &lt;/P&gt;&lt;P&gt;to convert the price in the file to a new price with unit in the material master.&lt;/P&gt;&lt;P&gt;modify itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Upload to material master using BAPI/BDC.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 08:54:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-checking-in-bdc/m-p/1224522#M137443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-11T08:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: data checking in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-checking-in-bdc/m-p/1224523#M137444</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;Try this process&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program after you giving the Bdc statement do the appropriate validation and than u pass that data to the respective fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '0060'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RMMG1-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=AUSW'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RMMG1-MATNR'&lt;/P&gt;&lt;P&gt;                              '000000000000000022'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MSICHTAUSW-DYTXT(01)'.&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 'MSICHTAUSW-KZSEL(01)'&lt;/P&gt;&lt;P&gt;                              'X'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '3005'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=BU'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'SKTEXT-MAKTX(01)'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'SKTEXT-MAKTX(01)'&lt;/P&gt;&lt;P&gt;                              newdesc.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                              'EA'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MATKL'&lt;/P&gt;&lt;P&gt;                              '01'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-SPART'&lt;/P&gt;&lt;P&gt;                              '00'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MTPOS_MARA'&lt;/P&gt;&lt;P&gt;                              'NORM'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-BRGEW'&lt;/P&gt;&lt;P&gt;                              '12'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-GEWEI'&lt;/P&gt;&lt;P&gt;                              'KG'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-NTGEW'&lt;/P&gt;&lt;P&gt;                              '10'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ws_mode = 'N'.&lt;/P&gt;&lt;P&gt;    call transaction 'MM02' using bdcdata mode ws_mode&lt;/P&gt;&lt;P&gt;                          messages into messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*loop at bdcdata.&lt;/P&gt;&lt;P&gt;*if bdcdata-fval eq newdesc.&lt;/P&gt;&lt;P&gt;itab-matnr = matnr.&lt;/P&gt;&lt;P&gt;*itab-olddesc = myvar.&lt;/P&gt;&lt;P&gt;itab-maktx = 'hail' .&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;perform field_catalog changing fcat.&lt;/P&gt;&lt;P&gt;perform field_lay changing layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dont follow this but after this statement you do the required validations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanksa&lt;/P&gt;&lt;P&gt;Mrutyunjaua Tripathy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 08:56:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-checking-in-bdc/m-p/1224523#M137444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-11T08:56:00Z</dc:date>
    </item>
  </channel>
</rss>

