<?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: Error - Pricing error Mandatory condition MWST is missing. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-pricing-error-mandatory-condition-mwst-is-missing/m-p/7131835#M1512519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just add ENTER command whereever you get the error.   If its after executing the save command, you code should be &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' '=SICH'.&lt;/P&gt;&lt;P&gt;IF WA_VBAP-PSTYV = &amp;lt;Text item category&amp;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' '/ENT'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If its before then move the above IF statement before SAVE Command (or whereever appropriate).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;PS: Please remember to award points if my answer was helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Jul 2010 12:23:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-03T12:23:02Z</dc:date>
    <item>
      <title>Error - Pricing error Mandatory condition MWST is missing.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-pricing-error-mandatory-condition-mwst-is-missing/m-p/7131834#M1512518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expertsu2026&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a BCD to cancel billing plans, but an error occurred when I run mi program in u2018Eu2019 mode, the error is V1801.  Only when I have a material with item category type text (No pricing, No Taxes). In the normal process the error is common, and the user press enter and continues with the process in the Tx VA02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do?..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my codeu2026&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regardsu2026&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT it_vbak INTO wa_vbak.

    LOOP AT it_tab INTO wa_tab
            WHERE text = wa_vbak-bstnk.
      v_fecha = wa_tab-date.


      tran_opts-dismode = 'A'.
      tran_opts-updmode = 'A'.

      CLEAR bdcdata.
      REFRESH bdcdata.

      PERFORM bdc_dynpro USING 'SAPMV45A' '0102'.
      PERFORM bdc_field  USING 'BDC_CURSOR' 'VBAK-VBELN'.
      PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
      PERFORM bdc_field  USING 'VBAK-VBELN' wa_vbak-vbeln.

      LOOP AT it_vbap INTO wa_vbap
        WHERE vbeln = wa_vbak-vbeln
        AND pstyv = 'Z006'
         OR pstyv = 'Z010'
         OR pstyv = 'Z012'
         OR pstyv = 'Z024'
         OR pstyv = 'Z036'
         OR pstyv = 'Z048'
         OR pstyv = 'Z060'

         OR pstyv = 'ZT06'
         OR pstyv = 'ZT10'
         OR pstyv = 'ZT12'
         OR pstyv = 'ZT24'
         OR pstyv = 'ZT36'
         OR pstyv = 'ZT48'
         OR pstyv = 'ZT60'.

* Z006, Z010, Z012, Z024, Z036, Z048, Z060, ZPF.
* ZT06, ZT10, ZT12, ZT24, ZT36, ZT48, ZT60

        PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
        PERFORM bdc_field  USING 'BDC_OKCODE' '=POPO'.
        PERFORM bdc_dynpro USING 'SAPMV45A' '0251'.
        PERFORM bdc_field  USING 'BDC_CURSOR' 'RV45A-POSNR'.
        PERFORM bdc_field  USING 'BDC_OKCODE' '=POSI'.
        PERFORM bdc_field  USING 'RV45A-POSNR' wa_vbap-posnr.
        PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
        PERFORM bdc_field  USING 'BDC_OKCODE' '=ITEM'.
        PERFORM bdc_field  USING 'BDC_CURSOR' 'VBAP-POSNR(01)'.
        PERFORM bdc_dynpro USING 'SAPMV45A' '4003'.
        PERFORM bdc_field  USING 'BDC_OKCODE' '=T\05'.

        PERFORM bdc_dynpro      USING 'SAPLV60F' '4001'.
        PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
        PERFORM bdc_field       USING 'BDC_CURSOR' 'FPLA-ENDAT'.
        PERFORM bdc_dynpro      USING 'SAPLV60F' '4001'.
        PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
        PERFORM bdc_field       USING 'FPLA-ENDAT' v_fecha.

        PERFORM bdc_dynpro USING 'SAPLV60F' '4001'.
        PERFORM bdc_field  USING 'BDC_OKCODE' '=S\BACK'.

      ENDLOOP.

      PERFORM bdc_dynpro      USING 'SAPMV45A' '4001'.
      PERFORM bdc_field       USING 'BDC_OKCODE' '=SICH'.

    ENDLOOP.

    CALL TRANSACTION 'VA02'
    USING bdcdata
    OPTIONS FROM  tran_opts
    MESSAGES INTO ierror.
    COMMIT WORK.

  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 17:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-pricing-error-mandatory-condition-mwst-is-missing/m-p/7131834#M1512518</guid>
      <dc:creator>former_member509264</dc:creator>
      <dc:date>2010-07-02T17:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error - Pricing error Mandatory condition MWST is missing.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-pricing-error-mandatory-condition-mwst-is-missing/m-p/7131835#M1512519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just add ENTER command whereever you get the error.   If its after executing the save command, you code should be &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' '=SICH'.&lt;/P&gt;&lt;P&gt;IF WA_VBAP-PSTYV = &amp;lt;Text item category&amp;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' '/ENT'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If its before then move the above IF statement before SAVE Command (or whereever appropriate).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;PS: Please remember to award points if my answer was helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jul 2010 12:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-pricing-error-mandatory-condition-mwst-is-missing/m-p/7131835#M1512519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-03T12:23:02Z</dc:date>
    </item>
  </channel>
</rss>

