<?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: Trouble implementing BDCP_BEFORE_WRITE for COND_A in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/trouble-implementing-bdcp-before-write-for-cond-a/m-p/1765061#M330903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am experimenting same problem but working with Equipments. It seems the code is not going through that BADI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you finally fixed that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Vivek, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which SAP Version are you working with...?&lt;/P&gt;&lt;P&gt;Could it be due to that... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is Note 420562 relevant?&lt;/P&gt;&lt;P&gt;I am working with&lt;/P&gt;&lt;P&gt;SAP_BASIS 620 level 54&lt;/P&gt;&lt;P&gt;SAP_APPL  470 level 22&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ivan Vojvodic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2007 07:43:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-14T07:43:48Z</dc:date>
    <item>
      <title>Trouble implementing BDCP_BEFORE_WRITE for COND_A</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trouble-implementing-bdcp-before-write-for-cond-a/m-p/1765059#M330901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to BADIs -- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating change pointers for sales and tax condition records using VK11, VK31, VK34 and only want to create change pointers for certain condition types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used SE19 to create an implementation of BDCP_BEFORE_WRITE for message type COND_A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added my code -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: kschl type konh-kschl.&lt;/P&gt;&lt;P&gt;break dgreenberg.&lt;/P&gt;&lt;P&gt;IF CHANGE_DOCUMENT_HEADER-OBJECTCLAS EQ 'COND_A'.&lt;/P&gt;&lt;P&gt;select single kschl into kschl&lt;/P&gt;&lt;P&gt;from konh&lt;/P&gt;&lt;P&gt;where knumh = CHANGE_DOCUMENT_HEADER-OBJECTID.&lt;/P&gt;&lt;P&gt;if kschl &amp;lt;&amp;gt; 'PR00'.&lt;/P&gt;&lt;P&gt;    CLEAR CHANGE_POINTERS.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And change pointers are still being created for non PR00 condition types.  I have attempted to debug by adding break sy-uname.  And manually adding break points to both CHANGE_POINTERS_CREATE and CHANGE_POINTERS_CREATE_DIRECT and the code is not stopping from VK11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing a step in 'implementing' the badi -- I assume the badi calls are made from within the code in the FM above.  I also assume that VK11 is calling one of the FM above as CDHDR and CDPOS are being populated with the transactions being processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is my code not being hit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my code is being hit (and I just can't get the code to stop) -- it may be that the values are not yet written to the KONH table -- but I need to be able to interrogate the values in the transaction to make my filtering decision -- is there a temporary table that stores those values about to be posted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated --&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 20:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trouble-implementing-bdcp-before-write-for-cond-a/m-p/1765059#M330901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T20:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble implementing BDCP_BEFORE_WRITE for COND_A</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trouble-implementing-bdcp-before-write-for-cond-a/m-p/1765060#M330902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if you have already tried this. &lt;/P&gt;&lt;P&gt;To stop the program at the BADI, go to SE24 and put a breakpoint in the class&lt;/P&gt;&lt;P&gt;CL_EXITHANDLER class's "get instance" method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then when u run the transaction; program will stop at all EXIT calls including BADI exits. then you can make sure your code is being hit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek Kute&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 05:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trouble-implementing-bdcp-before-write-for-cond-a/m-p/1765060#M330902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T05:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble implementing BDCP_BEFORE_WRITE for COND_A</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trouble-implementing-bdcp-before-write-for-cond-a/m-p/1765061#M330903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am experimenting same problem but working with Equipments. It seems the code is not going through that BADI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you finally fixed that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Vivek, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which SAP Version are you working with...?&lt;/P&gt;&lt;P&gt;Could it be due to that... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is Note 420562 relevant?&lt;/P&gt;&lt;P&gt;I am working with&lt;/P&gt;&lt;P&gt;SAP_BASIS 620 level 54&lt;/P&gt;&lt;P&gt;SAP_APPL  470 level 22&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ivan Vojvodic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 07:43:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trouble-implementing-bdcp-before-write-for-cond-a/m-p/1765061#M330903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T07:43:48Z</dc:date>
    </item>
  </channel>
</rss>

