<?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: BAPI_DOCUMENT_CREATE2 not working whne called from Module-pool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-create2-not-working-whne-called-from-module-pool-program/m-p/11177371#M1908633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anita, your question is a bit... foggy.&lt;/P&gt;&lt;P&gt;Did You check the return table if there is any message? Did you put the BAPI_TRANSACTION_COMMIT after &lt;SPAN style="color: #333333; font-size: 11.9999990463257px;"&gt; BAPI_DOCUMNET_CREATE2 ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.9999990463257px;"&gt;These are the basic questions, then without knowing what your FM does, it's &lt;STRONG&gt;extremely&lt;/STRONG&gt; hard trying to help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2015 07:28:35 GMT</pubDate>
    <dc:creator>SimoneMilesi</dc:creator>
    <dc:date>2015-07-30T07:28:35Z</dc:date>
    <item>
      <title>BAPI_DOCUMENT_CREATE2 not working whne called from Module-pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-create2-not-working-whne-called-from-module-pool-program/m-p/11177370#M1908632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created a custom FM to create documnet number. This FM uses BAPI_DOCUMNET_CREATE2 to create document numbers.&lt;/P&gt;&lt;P&gt;When i execute the custom FM, it is creating document number and document as well.&lt;/P&gt;&lt;P&gt;Bt when i call the custom FM in a module pool, document number is getting generated, but document is not getting created. No instance of the document no is found in CV04N transaction or DRAW tavble.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 07:02:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-create2-not-working-whne-called-from-module-pool-program/m-p/11177370#M1908632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-30T07:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_DOCUMENT_CREATE2 not working whne called from Module-pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-create2-not-working-whne-called-from-module-pool-program/m-p/11177371#M1908633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anita, your question is a bit... foggy.&lt;/P&gt;&lt;P&gt;Did You check the return table if there is any message? Did you put the BAPI_TRANSACTION_COMMIT after &lt;SPAN style="color: #333333; font-size: 11.9999990463257px;"&gt; BAPI_DOCUMNET_CREATE2 ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.9999990463257px;"&gt;These are the basic questions, then without knowing what your FM does, it's &lt;STRONG&gt;extremely&lt;/STRONG&gt; hard trying to help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 07:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-create2-not-working-whne-called-from-module-pool-program/m-p/11177371#M1908633</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2015-07-30T07:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_DOCUMENT_CREATE2 not working whne called from Module-pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-create2-not-working-whne-called-from-module-pool-program/m-p/11177372#M1908634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, looks&amp;nbsp; this BAPI 'BAPI_DOCUMENT_CREATE2' is not released.&lt;/P&gt;&lt;P&gt;We are not suppose to use these BAPIs which are not released, please check for other BAPIs or other FM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you can provide more details, we can check exact FM/BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 12:04:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-create2-not-working-whne-called-from-module-pool-program/m-p/11177372#M1908634</guid>
      <dc:creator>suresh_kutam</dc:creator>
      <dc:date>2015-07-31T12:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_DOCUMENT_CREATE2 not working whne called from Module-pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-create2-not-working-whne-called-from-module-pool-program/m-p/11177373#M1908635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the solution.&lt;/P&gt;&lt;P&gt;The custom FM using the BAPI will not work properly when called form Module pool. It seems two different processors are called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead I call the custom FM from a program and I called the program from the module pool.&lt;/P&gt;&lt;P&gt;its working fine now.&lt;/P&gt;&lt;P&gt;thanks all for the suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 12:44:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-create2-not-working-whne-called-from-module-pool-program/m-p/11177373#M1908635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-05T12:44:01Z</dc:date>
    </item>
  </channel>
</rss>

