<?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_PO_CREATE1 in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180958#M463732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jun 2007 11:16:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-29T11:16:02Z</dc:date>
    <item>
      <title>BAPI_PO_CREATE1 in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180953#M463727</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; How to suppress the E and A type messages from BAPI_PO_CREATE1 in the background to avoid that messages in Job log?&lt;/P&gt;&lt;P&gt; Ie. I want to avoid those messages which is automatically written to Job log in background mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will process the return table and then will write the relevant messages to the job log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 13:43:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180953#M463727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T13:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180954#M463728</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;- You have to loop at the bapi return table, right after the BAPI_PO_CREATE1 function call.&lt;/P&gt;&lt;P&gt;- WRITE out all of the errors&lt;/P&gt;&lt;P&gt;- You sheduled this program as a jobstep. In SM37 select your job and choose Job - Modify menu. Click on jobsteps. Select the program and click on the pencil (modify). On the popup, you have to click on the print data window. Here you can set that the printed list will remain in the spool, and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 14:03:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180954#M463728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T14:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180955#M463729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Thanks for you answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But actually my problem is not regarding handling the return message table from the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What currently happening is i have used this BAPI_PO_CREATE1 in one program.&lt;/P&gt;&lt;P&gt;We can excecute the program either in foreground or background. &lt;/P&gt;&lt;P&gt;In foreground the errors are written to a list.&lt;/P&gt;&lt;P&gt;In backgroung the errors are written to the Job log from the program, but what is actually happening is from BAPI_PO_CREATE1 all the E and A type messages are automatically logged into Job log and I wanted to avoid that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will write the error log depending on my requirement.&lt;/P&gt;&lt;P&gt;now irrespective of my error log some other messages are also comming in the error log from BAPI_PO_CREATE1 in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to avoid those messages populating from the BAPI in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 05:24:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180955#M463729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T05:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180956#M463730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What currently happening is i have used this BAPI_PO_CREATE1 in one program.&lt;/P&gt;&lt;P&gt;We can excecute the program either in foreground or background. &lt;/P&gt;&lt;P&gt;In foreground the errors are written to a list.&amp;lt;b&amp;gt;---&amp;gt;good&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;In backgroung the errors are written to the Job log from the program, but what is actually happening is from BAPI_PO_CREATE1 all the E and A type messages are automatically logged into Job log and I wanted to avoid that.---&amp;gt;u can skip if it is back ground &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;if sy-batch = 'X'.&lt;/P&gt;&lt;P&gt;dont display errors.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;errors.&lt;/P&gt;&lt;P&gt;endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;I will write the error log depending on my requirement.&lt;/P&gt;&lt;P&gt;now irrespective of my error log some other messages are also comming in the error log from BAPI_PO_CREATE1 in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to avoid those messages populating from the BAPI in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;But question is : how to u come to know which records got uploaded into SAP ? how to u recorrect errrors?&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 05:29:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180956#M463730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T05:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180957#M463731</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 think you did not got my question correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See I have a program with BAPI_PO_CREATE1.&lt;/P&gt;&lt;P&gt;I am not handling the errors the return table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I excecute the program in forgroung no messages will come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I excecute the program in background all the error messages will be automatically written to Job Log but I dont want that. ie. it shound not log any messages in log in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the difference in FG and BG!!&lt;/P&gt;&lt;P&gt;Can we suppress these messages in background??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 06:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180957#M463731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T06:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180958#M463732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2007 11:16:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180958#M463732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-29T11:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180959#M463733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently facing the same issue.  Is there any way you found to suppress the job log messages in background?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 10:26:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180959#M463733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-27T10:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180960#M463734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem but with the BAPI_PR_CREATE. The return table does not return any message errors but when executing in backgroud the error messages are displayed. Could you solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much and best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laiz S. Martins&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2010 07:49:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-in-background/m-p/2180960#M463734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-08T07:49:56Z</dc:date>
    </item>
  </channel>
</rss>

