<?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: Problem with New task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140888#M1975962</link>
    <description>&lt;P&gt;Of course, that makes sense. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How about function CC_CALL_TRANSACTION_NEW_TASK called with a RFC destination?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CC_CALL_TRANSACTION_NEW_TASK'
  STARTING NEW TASK 'QM02'
  DESTINATION 'NONE'
  EXPORTING
    transaction = 'QM02'
    skip_first_screen = abap_true
  TABLES
    paramtab = lt_parameters
  EXCEPTIONS
    communication_failure = 97
    system_failure = 98
    OTHERS = 99.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mateusz&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2020 09:16:59 GMT</pubDate>
    <dc:creator>MateuszAdamus</dc:creator>
    <dc:date>2020-05-12T09:16:59Z</dc:date>
    <item>
      <title>Problem with New task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140885#M1975959</link>
      <description>&lt;P&gt;Hello experts,&lt;/P&gt;
  &lt;P&gt;We are facing a strange problem with an ALV list which triggers the transaction QM02. The problem is that this ALV has a hotspot which open a new window to QM02. We have detected that the PBO of the QM02 is not being executed, so the text edit which is in the QM02 is not being refreshed correctly. We are using the FM ABAP4_CALL_TRANSACTION&lt;/P&gt;
  &lt;P&gt;Do you kow how can we solve this problem?&lt;/P&gt;
  &lt;P&gt;Thank you so much in advance,&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Rebeca&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 08:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140885#M1975959</guid>
      <dc:creator>former_member384574</dc:creator>
      <dc:date>2020-05-12T08:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with New task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140886#M1975960</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;rebeca&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Why not use CALL TRANSACTION statement?&lt;/P&gt;&lt;P&gt;You can execute it with the AND SKIP FIRST SCREEN additional and set the QM02 initial input value using parameter ID IQM.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mateusz&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 09:05:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140886#M1975960</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-05-12T09:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with New task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140887#M1975961</link>
      <description>&lt;P&gt;Becaus if I use call transaction the ALV is lost... The idea is to have the ALV list in one mode, and when the user clicks the quality notification, this open another thread... But I can't understand why the PBO is not being executed &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 09:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140887#M1975961</guid>
      <dc:creator>former_member384574</dc:creator>
      <dc:date>2020-05-12T09:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with New task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140888#M1975962</link>
      <description>&lt;P&gt;Of course, that makes sense. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How about function CC_CALL_TRANSACTION_NEW_TASK called with a RFC destination?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CC_CALL_TRANSACTION_NEW_TASK'
  STARTING NEW TASK 'QM02'
  DESTINATION 'NONE'
  EXPORTING
    transaction = 'QM02'
    skip_first_screen = abap_true
  TABLES
    paramtab = lt_parameters
  EXCEPTIONS
    communication_failure = 97
    system_failure = 98
    OTHERS = 99.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mateusz&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 09:16:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140888#M1975962</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-05-12T09:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with New task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140889#M1975963</link>
      <description>&lt;P&gt;I don't see why CC_CALL_TRANSACTION_NEW_TASK should be better than ABAP4_CALL_TRANSACTION !? (they probably do the same CALL TRANSACTION - I think the issue is more related to memory not released between 2 calls)&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 09:27:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140889#M1975963</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-05-12T09:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with New task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140890#M1975964</link>
      <description>&lt;P&gt;Yesssssssss!!! That solve my problem!!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thank you so much!! I owe you a beer!!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 09:27:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140890#M1975964</guid>
      <dc:creator>former_member384574</dc:creator>
      <dc:date>2020-05-12T09:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with New task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140891#M1975965</link>
      <description>&lt;P&gt;Can you clarify if your current code is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
  STARTING NEW TASK 'ANYTHING'
  EXPORTING
    tcode                   = 'QM02'
    skip_screen             = abap_true
  TABLES
    using_tab               = using_tab
  EXCEPTIONS
    call_transaction_denied = 1
    tcode_invalid           = 2
    communication_failure   = 3
    system_failure          = 4
    OTHERS                  = 5.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Right? Or is it something else?&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 09:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140891#M1975965</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-05-12T09:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with New task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140892#M1975966</link>
      <description>&lt;P&gt;Hello Sandra,&lt;/P&gt;&lt;P&gt;I've tried to send you a direct message, but it is not working.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;The old code that we have was:&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL FUNCTION 'ZABAP4_CALL_TRANSACTION'
    STARTING NEW TASK 'MSC3N'
    EXPORTING
      tcode      = c_trans
      mode_val   = c_mode_e
      memory     = l_informe
    TABLES
      using_tab  = i_bdc_tab
      spagpa_tab = lt_spagpa.

The FM was an RFC, with the following code:

  SET PARAMETER ID 'ZABC' FIELD memory.

  CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
    EXPORTING
      tcode      = tcode
      mode_val   = mode_val
    TABLES
      using_tab  = using_tab
      spagpa_tab = spagpa_tab.

Does this is the same as you send me? Maybe it was for the RFC connection?&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 May 2020 09:44:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140892#M1975966</guid>
      <dc:creator>former_member384574</dc:creator>
      <dc:date>2020-05-12T09:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with New task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140893#M1975967</link>
      <description>&lt;P&gt;Can you explain what you did differently?&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 10:58:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140893#M1975967</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-05-12T10:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with New task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140894#M1975968</link>
      <description>&lt;P&gt;I don't understand why your code is so complex, but yes, I think your code could be simplified as follows, and that should work identically (and so, it corresponds to what I said, except SKIP_SCREEN, MODE_VAL and SPAGPA_TAB):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;lt_spagpa = VALUE #( BASE lt_spagpa ( parid = 'ZABC' parval = l_informe ) ).

CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
    STARTING NEW TASK 'WHATEVER'
    EXPORTING
      tcode      = c_trans
      mode_val   = c_mode_e
    TABLES
      using_tab  = i_bdc_tab
      spagpa_tab = lt_spagpa.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Anyway, it was just a question, so thank you for providing the code when you ask programming questions!&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 11:05:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140894#M1975968</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-05-12T11:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with New task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140895#M1975969</link>
      <description>&lt;P&gt;To clarify things, if you used STARTING NEW TASK, it's like opening a new SAP GUI window, it's a new user memory, this memory is not shared with other sessions (except SPA/GPA memory but your question doesn't let think that it's related), so there's no reason that in one case it "works", and in another case it "doesn't work". I think that if you call ABAP4_CALL_TRANSACTION twice, with exactly the same parameters, the problem doesn't occur (if it occurs, then you must have some custom code inside the transaction). The reason of the problem must be something else, but you should investigate a little bit further to give more details.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 11:31:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-new-task/m-p/12140895#M1975969</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-05-12T11:31:58Z</dc:date>
    </item>
  </channel>
</rss>

