<?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 problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/3277736#M783769</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;When a BDC session is run in the background, warning messages are ignored and the transaction continues without informing the user.  If you want the transaction to stop, you can change the warning to an error which will terminate the update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2008 16:06:54 GMT</pubDate>
    <dc:creator>mike_germain</dc:creator>
    <dc:date>2008-01-16T16:06:54Z</dc:date>
    <item>
      <title>BDC problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/3277735#M783768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus! &lt;/P&gt;&lt;P&gt;Sorry friends lots of questions on this bdc, in my RFC , i have Sales Order BDC , while running this bdc there are warming messages for eg - Credit Check ( maximim percentage for open items ). when this warming messages comes , the order should not be saved and display this message to user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********************************************&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMV45A' '0101'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'VBAK-VKGRP'.&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 'VBAK-AUART'&lt;/P&gt;&lt;P&gt;                                SDTYPE.            "    'ZFDS'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBAK-VKORG'&lt;/P&gt;&lt;P&gt;                                SDORG.             "    'fr00'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBAK-VTWEG'&lt;/P&gt;&lt;P&gt;                                DISTCHANNEL.       "    'de'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBAK-SPART'&lt;/P&gt;&lt;P&gt;                              DIVISION.            "    'cd'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBAK-VKBUR'&lt;/P&gt;&lt;P&gt;                              SALESOFF.            "    'PU01'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMV45A' '4001'.&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 'VBKD-BSTKD'&lt;/P&gt;&lt;P&gt;                                PO_NO.             "    '32211'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBKD-BSTDK'&lt;/P&gt;&lt;P&gt;                              PO_DATE.             "    '15.01.2007'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'KUAGV-KUNNR'&lt;/P&gt;&lt;P&gt;                              SOLDTOPARTY.         "    '700209'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'KUWEV-KUNNR'&lt;/P&gt;&lt;P&gt;                              SHPTOPARTY.          "    '702037'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RV45A-KETDAT'&lt;/P&gt;&lt;P&gt;                              DELDATE.             "    '15.01.2008'.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'RV45A-KPRGBZ'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'D'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'VBKD-PRSDT'&lt;/P&gt;&lt;P&gt;                              PRICEDATE.           "    '15.01.2008'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBKD-ZTERM'&lt;/P&gt;&lt;P&gt;                              PAYTERM.             "     'X009'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBKD-INCO1'&lt;/P&gt;&lt;P&gt;                              INCOTERMS.           "      'FOL'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBKD-INCO2'&lt;/P&gt;&lt;P&gt;                               INCOTERMS1.         "   'ASURLE PORLE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move 1 to I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'RV45A-MABNR(' I ')' INTO FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using FNAM&lt;/P&gt;&lt;P&gt;                      it_item-MATERIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'RV45A-KWMENG(' I ')' INTO FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using FNAM&lt;/P&gt;&lt;P&gt;                      it_item-QTY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'VBAP-VRKME(' I ')' INTO FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using FNAM&lt;/P&gt;&lt;P&gt;                      it_item-UNIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I = I + 1.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMV45A' '4001'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=PDE2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'VBAP-POSNR(01)'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RV45A-VBAP_SELKZ(01)'&lt;/P&gt;&lt;P&gt;                              'X'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMV45A' '4003'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=SICH'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'VBAP-LGORT'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBAP-WERKS'&lt;/P&gt;&lt;P&gt;                              PLANT.          "    'DFTP'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBAP-LGORT'&lt;/P&gt;&lt;P&gt;                              SLOC.           "    'npgd'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLSPO2' '0101'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=OPT1'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLRHRD' '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;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'SPOP-TEXTLINE1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'VA01' using bdcdata mode 'A'&lt;/P&gt;&lt;P&gt;         update 'A'&lt;/P&gt;&lt;P&gt;        MESSAGES INTO ZBAPI_MESSTAB .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 10:24:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/3277735#M783768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T10:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: BDC problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/3277736#M783769</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;When a BDC session is run in the background, warning messages are ignored and the transaction continues without informing the user.  If you want the transaction to stop, you can change the warning to an error which will terminate the update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 16:06:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/3277736#M783769</guid>
      <dc:creator>mike_germain</dc:creator>
      <dc:date>2008-01-16T16:06:54Z</dc:date>
    </item>
  </channel>
</rss>

