<?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: can be reprocessed a bapi? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843588#M1591165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can realize such behaviour by using FBGENDAT report on the BAPI (which is, technically,a Function module). &lt;/P&gt;&lt;P&gt;Please refer to the documentation in service.sap.com, and read the note:&lt;/P&gt;&lt;P&gt;[Note 517767 - Generate test data for function modules|https://websmp230.sap-ag.de/sap%28bD1pdCZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=517767]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above link explain how to generate test data for function modules and BAPIs; that's basically generates a variant for the function module which populates the interface with your data, so that you can run it all the times you want.&lt;/P&gt;&lt;P&gt;Notice that you can set the generation mode in multiple ways, e.g. the FM could generate the variant data and terminate, as well as write variant data and continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2011 09:40:51 GMT</pubDate>
    <dc:creator>matteo_montalto</dc:creator>
    <dc:date>2011-05-03T09:40:51Z</dc:date>
    <item>
      <title>can be reprocessed a bapi?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843585#M1591162</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;Is there a functionality in the context of BAPIs similar to SM35, where BAPI calls are logged and from where failed BAPI call can be reprocessed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 08:04:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843585#M1591162</guid>
      <dc:creator>nacho_garcia</dc:creator>
      <dc:date>2011-05-03T08:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: can be reprocessed a bapi?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843586#M1591163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe with Idocs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 08:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843586#M1591163</guid>
      <dc:creator>nacho_garcia</dc:creator>
      <dc:date>2011-05-03T08:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: can be reprocessed a bapi?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843587#M1591164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The functionality of BAPIs are exactly similar to a function module and so there is no logs created like in SM35.&lt;/P&gt;&lt;P&gt;on the contrary if you want a log to be generated for your object you can always use an application log which is standard and call it in your program.&lt;/P&gt;&lt;P&gt;for that you have to create an object in SLG1 and then pass the returning table of your bapi to it.&lt;/P&gt;&lt;P&gt;Along with that you can easily find the code for the application log which is called in all the standard processes in SAP.&lt;/P&gt;&lt;P&gt;this way you can save the log.&lt;/P&gt;&lt;P&gt;but i am not sure as to how u can reprocess the BAPI other than re running the program you are calling the BAPI in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 09:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843587#M1591164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-03T09:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: can be reprocessed a bapi?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843588#M1591165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can realize such behaviour by using FBGENDAT report on the BAPI (which is, technically,a Function module). &lt;/P&gt;&lt;P&gt;Please refer to the documentation in service.sap.com, and read the note:&lt;/P&gt;&lt;P&gt;[Note 517767 - Generate test data for function modules|https://websmp230.sap-ag.de/sap%28bD1pdCZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=517767]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above link explain how to generate test data for function modules and BAPIs; that's basically generates a variant for the function module which populates the interface with your data, so that you can run it all the times you want.&lt;/P&gt;&lt;P&gt;Notice that you can set the generation mode in multiple ways, e.g. the FM could generate the variant data and terminate, as well as write variant data and continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 09:40:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843588#M1591165</guid>
      <dc:creator>matteo_montalto</dc:creator>
      <dc:date>2011-05-03T09:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: can be reprocessed a bapi?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843589#M1591166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The point is not to have a log, but have an easy method to reprocess data if an error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 09:43:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843589#M1591166</guid>
      <dc:creator>nacho_garcia</dc:creator>
      <dc:date>2011-05-03T09:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: can be reprocessed a bapi?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843590#M1591167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; The point is not to have a log, but have an easy method to reprocess data if an error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's absolutely the task FBGENDAT was created for, so go for it. &lt;/P&gt;&lt;P&gt;Depending on your system version and sp level, you could have (or not) the FBGENDAT report on your system. Note also you will have to set the FBGENDAT parameter to 'X' in SU01 tx for the user (even RFC, even not a dialog one) that will process the FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 09:49:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843590#M1591167</guid>
      <dc:creator>matteo_montalto</dc:creator>
      <dc:date>2011-05-03T09:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: can be reprocessed a bapi?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843591#M1591168</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;Matteo, this was a very helpul answer.&lt;/P&gt;&lt;P&gt;But this seems aimed at developing. Isn't there something for a user to reprocess his data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like transaction SM35 does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 10:09:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843591#M1591168</guid>
      <dc:creator>nacho_garcia</dc:creator>
      <dc:date>2011-05-03T10:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: can be reprocessed a bapi?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843592#M1591169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; But this seems aimed at developing. Isn't there something for a user to reprocess his data?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Like transaction SM35 does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi ngllamedo,&lt;/P&gt;&lt;P&gt;unfortunately, no solution I'm aware of from the user's perspective. &lt;/P&gt;&lt;P&gt;Please note however that if a certain BAPI returns error, these are most of the times related to the data submitted; an in-depth, technical analysis is then a solution. I can't see then what's the point in reprocessing "wrong" data; the result would be anyway an error. The solution I purposed is to be intended for problem finding, in order to find what's wrong with data submitted and change them accordingly.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 10:30:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-be-reprocessed-a-bapi/m-p/7843592#M1591169</guid>
      <dc:creator>matteo_montalto</dc:creator>
      <dc:date>2011-05-03T10:30:03Z</dc:date>
    </item>
  </channel>
</rss>

