<?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 Problems with calling batch input inside a report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-calling-batch-input-inside-a-report/m-p/11898041#M1962057</link>
    <description>&lt;P&gt;Hi experts, I have the requirement to change the billing plan related to the customer contract (VA42). I tried multiple ways to change the billing plan rule (marked in the screenshot) field name is "FPLA-PERIO". But somehow none of these approaches worked. For example:&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/questions/1522483/bapi-or-function-to-update-billing-plan-in-sales-o.html"&gt;https://answers.sap.com/questions/1522483/bapi-or-function-to-update-billing-plan-in-sales-o.html&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;The system provides no error when executing the function module. But it also doesn't change the billing plan. &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1682574-billing-plan.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt; My approach was that I recorded a batch input (BDC) which changes the billing plan rule. Based on this batch ipunt I created a function module. &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1682577-function-module.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt; Problem:&lt;/STRONG&gt; My idea is to integrate this function module in my report. For example, if I call the function module in a report which has no additional selection screen everything works fine and the module changes the billing period.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1682573-runtime-working.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt; But I want to use the function module in a report which has an initial selection screen. I think this causes the problem that the function module doesn't work inside this "other" report. I assume that there is a dynpro error. I'm receiving the Error 1001. &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1682578-runtime-not-working.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1682575-report-not-working.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt; So what would help me?&lt;/STRONG&gt; &lt;/P&gt;
  &lt;P&gt; Do you think that my assumption regarding the error is right? &lt;/P&gt;
  &lt;P&gt; If yes why does this happen? &lt;/P&gt;
  &lt;P&gt; Is it possible to fix this Issue in any way? &lt;/P&gt;
  &lt;P&gt; &lt;STRONG&gt;Alternatively:&lt;/STRONG&gt; Do you know the right combination of function modules to change the billing period so that I do not need to use the batch input? &lt;/P&gt;</description>
    <pubDate>Fri, 03 May 2019 07:46:37 GMT</pubDate>
    <dc:creator>Daniel_Degenhardt</dc:creator>
    <dc:date>2019-05-03T07:46:37Z</dc:date>
    <item>
      <title>Problems with calling batch input inside a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-calling-batch-input-inside-a-report/m-p/11898041#M1962057</link>
      <description>&lt;P&gt;Hi experts, I have the requirement to change the billing plan related to the customer contract (VA42). I tried multiple ways to change the billing plan rule (marked in the screenshot) field name is "FPLA-PERIO". But somehow none of these approaches worked. For example:&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/questions/1522483/bapi-or-function-to-update-billing-plan-in-sales-o.html"&gt;https://answers.sap.com/questions/1522483/bapi-or-function-to-update-billing-plan-in-sales-o.html&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;The system provides no error when executing the function module. But it also doesn't change the billing plan. &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1682574-billing-plan.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt; My approach was that I recorded a batch input (BDC) which changes the billing plan rule. Based on this batch ipunt I created a function module. &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1682577-function-module.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt; Problem:&lt;/STRONG&gt; My idea is to integrate this function module in my report. For example, if I call the function module in a report which has no additional selection screen everything works fine and the module changes the billing period.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1682573-runtime-working.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt; But I want to use the function module in a report which has an initial selection screen. I think this causes the problem that the function module doesn't work inside this "other" report. I assume that there is a dynpro error. I'm receiving the Error 1001. &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1682578-runtime-not-working.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1682575-report-not-working.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt; So what would help me?&lt;/STRONG&gt; &lt;/P&gt;
  &lt;P&gt; Do you think that my assumption regarding the error is right? &lt;/P&gt;
  &lt;P&gt; If yes why does this happen? &lt;/P&gt;
  &lt;P&gt; Is it possible to fix this Issue in any way? &lt;/P&gt;
  &lt;P&gt; &lt;STRONG&gt;Alternatively:&lt;/STRONG&gt; Do you know the right combination of function modules to change the billing period so that I do not need to use the batch input? &lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 07:46:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-calling-batch-input-inside-a-report/m-p/11898041#M1962057</guid>
      <dc:creator>Daniel_Degenhardt</dc:creator>
      <dc:date>2019-05-03T07:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with calling batch input inside a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-calling-batch-input-inside-a-report/m-p/11898042#M1962058</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I think you can analyse the error in more detail and identify the issue :&lt;/P&gt;&lt;P&gt;1) check the error in the return table, you will know on which element the error is&lt;/P&gt;&lt;P&gt;2) run the BDC in foreground by changing the mode to A &lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 08:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-calling-batch-input-inside-a-report/m-p/11898042#M1962058</guid>
      <dc:creator>r010101010</dc:creator>
      <dc:date>2019-05-03T08:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with calling batch input inside a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-calling-batch-input-inside-a-report/m-p/11898043#M1962059</link>
      <description>&lt;P&gt;Hi Deenesh, thanks you're right. &lt;/P&gt;&lt;P&gt;Mode "A" helped me to find the issue. &lt;/P&gt;&lt;P&gt;The Problem is that: Before the batch starts I'm modifying the contract with a BAPI. which leads to a locked contract by the BAPI which can't access by the batch Input. &lt;/P&gt;&lt;P&gt; Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 08:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-calling-batch-input-inside-a-report/m-p/11898043#M1962059</guid>
      <dc:creator>Daniel_Degenhardt</dc:creator>
      <dc:date>2019-05-03T08:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with calling batch input inside a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-calling-batch-input-inside-a-report/m-p/11898044#M1962060</link>
      <description>&lt;P&gt;Hello Daniel, &lt;/P&gt;&lt;P&gt;is this your question still not answered or has been solved? because you have written as answered and not comment. So if BAPI has locked contract and you can not access it by batch input. you can try to DEQUEUE_ ... or after using BAPI, WAIT UP TO 5 SECONDS. then you can use Batch input. &lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 05:02:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-calling-batch-input-inside-a-report/m-p/11898044#M1962060</guid>
      <dc:creator>former_member184158</dc:creator>
      <dc:date>2019-05-06T05:02:06Z</dc:date>
    </item>
  </channel>
</rss>

