<?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: Does BAPI call the validations defined for standard transactions ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-bapi-call-the-validations-defined-for-standard-transactions/m-p/7672747#M1575284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general, BAPI's should call the same validations like the standard transactions, e.g. BAPI_ACC_DOCUMENT_POST runs through the same validations like posting via FB01.&lt;/P&gt;&lt;P&gt;BAPI's are designed to be called from outside the SAP system as well, so it would be pretty bad if such a loophole would exist.&lt;/P&gt;&lt;P&gt;Check your prerequisites of the validation, maybe you check for a transaction code which is different if called from the BAPI.&lt;/P&gt;&lt;P&gt;Also try tracing the execution of that BAPI (SE30 or better SAT, if available) and see which routines are being called.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Feb 2011 14:56:30 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2011-02-21T14:56:30Z</dc:date>
    <item>
      <title>Does BAPI call the validations defined for standard transactions ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-bapi-call-the-validations-defined-for-standard-transactions/m-p/7672746#M1575283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me if BAPI handles the validations defined for standard transactions ? I have a standard transaction KB15N. Validation defined for a field works fine when run thorugh the transaction. But if same data is updated using BAPI , validations are not getting called and wrong data is updated in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please confirm if BAPI handles validations ? If yes, how to take care of it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best  Regards,&lt;/P&gt;&lt;P&gt;V joshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 14:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/does-bapi-call-the-validations-defined-for-standard-transactions/m-p/7672746#M1575283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-21T14:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Does BAPI call the validations defined for standard transactions ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-bapi-call-the-validations-defined-for-standard-transactions/m-p/7672747#M1575284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general, BAPI's should call the same validations like the standard transactions, e.g. BAPI_ACC_DOCUMENT_POST runs through the same validations like posting via FB01.&lt;/P&gt;&lt;P&gt;BAPI's are designed to be called from outside the SAP system as well, so it would be pretty bad if such a loophole would exist.&lt;/P&gt;&lt;P&gt;Check your prerequisites of the validation, maybe you check for a transaction code which is different if called from the BAPI.&lt;/P&gt;&lt;P&gt;Also try tracing the execution of that BAPI (SE30 or better SAT, if available) and see which routines are being called.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 14:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/does-bapi-call-the-validations-defined-for-standard-transactions/m-p/7672747#M1575284</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-02-21T14:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Does BAPI call the validations defined for standard transactions ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-bapi-call-the-validations-defined-for-standard-transactions/m-p/7672748#M1575285</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;Validations of fields depends upon user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI's will validate some of the fields. For example, if the type of the field is 'date' and you are sending a string, it 'll throw a error message and if the plant or some master data didnt present in the system, it throws the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in the case of fields which uses conversion exits, you 've to handle those in the report itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesnt meet your requirement , provide more information about what BAPI are you using and data passed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 14:56:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/does-bapi-call-the-validations-defined-for-standard-transactions/m-p/7672748#M1575285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-21T14:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Does BAPI call the validations defined for standard transactions ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-bapi-call-the-validations-defined-for-standard-transactions/m-p/7672749#M1575286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following condition in the prerequsite of validation &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequsite :      Transaction code = 'KB15N' &lt;/P&gt;&lt;P&gt;check :               Sr cost element &amp;gt; '90000000' AND Sr cost element &amp;lt; '9ZZZZZZZ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BAPI  'BAPI_ACC_MANUAL_ALLOC_POST'  for posting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i need to modify the pre-requisite  condition ? Kindly guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;V Joshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 15:04:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/does-bapi-call-the-validations-defined-for-standard-transactions/m-p/7672749#M1575286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-21T15:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Does BAPI call the validations defined for standard transactions ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-bapi-call-the-validations-defined-for-standard-transactions/m-p/7672750#M1575287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to find out the correct prerequisites yourself. Obviously SY-TCODE is not KB15N when called via BAPI.&lt;/P&gt;&lt;P&gt;Assuming it works the same as the FI validations: activate the expert trace inside the validation maintenance (must be in display mode), then processing will stop right there and you can find out the current values of the SY-fields (and other field values passed to the validation) in your debugger window.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 15:11:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/does-bapi-call-the-validations-defined-for-standard-transactions/m-p/7672750#M1575287</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-02-21T15:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Does BAPI call the validations defined for standard transactions ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-bapi-call-the-validations-defined-for-standard-transactions/m-p/7672751#M1575288</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;As our  Thomas told it will validate same like how it is  done in GUI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: madhurao123 on Feb 22, 2011 6:19 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 05:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/does-bapi-call-the-validations-defined-for-standard-transactions/m-p/7672751#M1575288</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-02-22T05:18:11Z</dc:date>
    </item>
  </channel>
</rss>

