<?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 to post FI document(bapi_acc_document _post)  in Background Sheduling not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-post-fi-document-bapi-acc-document-post-in-background-sheduling-not/m-p/424321#M11722</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
  &lt;UL&gt;
   &lt;LI&gt;Do you actually know why it is not working in Background Scheduling?&lt;/LI&gt;
   &lt;LI&gt;Have you experimented with this BAPI and added syntax "IN BACKGROUND TASK" and possibly addionally adding "AS SEPARATE UNIT" to make it run in a Background Scenario...&lt;/LI&gt;
  &lt;/UL&gt;
  &lt;P&gt;&lt;BR /&gt;If this approach should work, you can check for :&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;*---&amp;gt; Check Prgr running in Background ...
IF sy-binpt = abap_true OR
   sy-batch = abap_true.

  CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST' IN BACKGROUND TASK
  ...

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 17 Jul 2017 20:11:11 GMT</pubDate>
    <dc:creator>NTeunckens</dc:creator>
    <dc:date>2017-07-17T20:11:11Z</dc:date>
    <item>
      <title>Bapi to post FI document(bapi_acc_document _post)  in Background Sheduling not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-post-fi-document-bapi-acc-document-post-in-background-sheduling-not/m-p/424320#M11721</link>
      <description>&lt;P&gt;I am using bapi_Acc_document_post to post the Customer Entry in my Custom report.&lt;/P&gt;
  &lt;P&gt;my report is working fine in my server but it is not working client server because they running this report by scheduling job, so posting is not happening.&lt;/P&gt;
  &lt;P&gt;please suggest if this bapi can work in background scheduling, do i need to do any enhancement for this.&lt;/P&gt;
  &lt;P&gt;please let me know if some other bapi is available.&lt;/P&gt;
  &lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 18:32:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-post-fi-document-bapi-acc-document-post-in-background-sheduling-not/m-p/424320#M11721</guid>
      <dc:creator>former_member248833</dc:creator>
      <dc:date>2017-07-17T18:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi to post FI document(bapi_acc_document _post)  in Background Sheduling not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-post-fi-document-bapi-acc-document-post-in-background-sheduling-not/m-p/424321#M11722</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
  &lt;UL&gt;
   &lt;LI&gt;Do you actually know why it is not working in Background Scheduling?&lt;/LI&gt;
   &lt;LI&gt;Have you experimented with this BAPI and added syntax "IN BACKGROUND TASK" and possibly addionally adding "AS SEPARATE UNIT" to make it run in a Background Scenario...&lt;/LI&gt;
  &lt;/UL&gt;
  &lt;P&gt;&lt;BR /&gt;If this approach should work, you can check for :&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;*---&amp;gt; Check Prgr running in Background ...
IF sy-binpt = abap_true OR
   sy-batch = abap_true.

  CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST' IN BACKGROUND TASK
  ...

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Jul 2017 20:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-post-fi-document-bapi-acc-document-post-in-background-sheduling-not/m-p/424321#M11722</guid>
      <dc:creator>NTeunckens</dc:creator>
      <dc:date>2017-07-17T20:11:11Z</dc:date>
    </item>
  </channel>
</rss>

