<?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: Adding Condition types to ME11 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888618#M1595578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi eduardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOOD NEWS!!! got it!!! &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; There's an exit MM06E005 which has a FM EXIT_SAPMM06E_013 which allows you to check the condition records table TKOMV before saving. I then used macro MMPUR_MESSAGE to raise the error message. This triggers the Hold functionality which allows one to save the PO with errors to be updated later.&lt;/P&gt;&lt;P&gt;Thanks a ton for all your help.&lt;/P&gt;&lt;P&gt;take care.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;xineohpi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 May 2011 06:11:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-21T06:11:30Z</dc:date>
    <item>
      <title>Adding Condition types to ME11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888611#M1595571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello gurus!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to add freight condition types to ME11 while creating info records. The users should enter freight conditions unconditionally w/o which the info record should not be saved. I tried validating this before save. I used Badi SD_COND_SAVE_A to validate if freight conditions are entered by the user, if not the transaction throws an error message. However the error message takes me back to the CREATE RECORD : PURCH. ORGANISATION DATA 1 screen and the net price entry gets locked and the PB00 condition type is also lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to ABAP and in dire need of help!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 11:32:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888611#M1595571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-04T11:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Condition types to ME11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888612#M1595572</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;Create the BADI, activate it, and if you are creating it, check that in CT_KONPDB_NEW you have a line for the desired KSCHL and that CT_KONPDB_OLD is empty (without lines). I suggest you to set a break-point and check the structures in the interface. Set filters with commands CHECK to avoid that all kind of conditions run this coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  CHECK sy-tcode = 'ME11'.

  field-symbols:  &amp;lt;konp_old&amp;gt; type konpdb,
                 &amp;lt;konp_new&amp;gt; type konpdb,
                 &amp;lt;konh_old&amp;gt; type konhdb,
                 &amp;lt;konh_new&amp;gt; type konhdb,
                 &amp;lt;kondat_new&amp;gt; type vkondat,
                 &amp;lt;kondat_old&amp;gt; type vkondat,
                 &amp;lt;vake&amp;gt; type vakevb.

      read table ct_konpdb_new assigning &amp;lt;konp_new&amp;gt;
                    with   kschl = 'COND'.
      IF sy-subrc &amp;lt;&amp;gt; 0.  
        MESSAGE e398(00) WITH ...
      ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 13:44:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888612#M1595572</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-05-05T13:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Condition types to ME11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888613#M1595573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi eduardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for answering. i tried what u suggested. but my problem is dat d main program for me11 is SAPMM06I. And the 'Create gross price conditon' (screen no 201) is from SAPMV13A. So when i try validating using SD_COND_SAVE_A the validation occurs but the error message is displayed on screen 102 of SAPMM06I. The basic price is initialized and the basic condition type is lost. So basically m back to square one..... &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;xineohpi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 12:49:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888613#M1595573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-06T12:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Condition types to ME11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888614#M1595574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi xineohpi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run it with a break in fm SXV_GET_CLIF_BY_NAME to check what BADI's I can use (in a ECC50).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see CACS_COND_VERSIONING, but I have doubts that it works. After we have some BTE that SAP Note 325551 - Field check and field texts in condition tables refers, but I used it to do checks in the mantaining of conditions. Really, you don't forget anything to try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the BADI that we are taking about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 15:37:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888614#M1595574</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-05-06T15:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Condition types to ME11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888615#M1595575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi eduardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to complete the requirement through me11. M thinking of checking for the freight conditions whilst the info record is used in me21n. So if the info record doesnot hav the freight conditions it'll display an error and the info record will have to be re-created properly. wht is ur take on dis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;xineohpi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 07:34:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888615#M1595575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-09T07:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Condition types to ME11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888616#M1595576</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;In ME21N perhaps you can achiive it. Try with badi 'ME_PROCESS_PO_CUST, method CHECK. After, I think that you can achive control with IF_PURCHASE_ORDER_ITEM_MM~GET_CONDITIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 07:42:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888616#M1595576</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-05-09T07:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Condition types to ME11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888617#M1595577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi eduardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No luck with ME_PROCESS_PO_CUST.... However, i found an exit(ZXM06U44) that satisfies my requirement.. but it displays the error message and re-initializes the entire PO which is again unacceptable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;xineohpi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2011 09:03:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888617#M1595577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-14T09:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Condition types to ME11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888618#M1595578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi eduardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOOD NEWS!!! got it!!! &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; There's an exit MM06E005 which has a FM EXIT_SAPMM06E_013 which allows you to check the condition records table TKOMV before saving. I then used macro MMPUR_MESSAGE to raise the error message. This triggers the Hold functionality which allows one to save the PO with errors to be updated later.&lt;/P&gt;&lt;P&gt;Thanks a ton for all your help.&lt;/P&gt;&lt;P&gt;take care.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;xineohpi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2011 06:11:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-condition-types-to-me11/m-p/7888618#M1595578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-21T06:11:30Z</dc:date>
    </item>
  </channel>
</rss>

